POST jxc_api/BaseDataSearch/SearchAccound

Request Information

URI Parameters

None.

Body Parameters

AccountCondition
NameDescriptionTypeAdditional information
SearchText

string

None.

Status

boolean

None.

SelectedIds

Collection of integer

None.

PageIndex

integer

None.

PageSize

integer

None.

UsePager

boolean

None.

CurrUserSn

integer

None.

CanViewAllBill

boolean

None.

CanOpeAllWh

boolean

None.

OpeWhList

Collection of integer

None.

DocumentDateType

integer

None.

DocumentDateArr

Collection of date

None.

DeliveryDateType

integer

None.

DeliveryDateArr

Collection of date

None.

OffDateType

integer

None.

OffDateArr

Collection of date

None.

InventoryDateType

integer

None.

InventoryDateArr

Collection of date

None.

Request Formats

application/json, text/json

Sample:
{
  "SearchText": "sample string 1",
  "Status": true,
  "SelectedIds": [
    1,
    2
  ],
  "PageIndex": 3,
  "PageSize": 4,
  "UsePager": true,
  "CurrUserSn": 6,
  "CanViewAllBill": true,
  "CanOpeAllWh": true,
  "OpeWhList": [
    1,
    2
  ],
  "DocumentDateType": 9,
  "DocumentDateArr": [
    "2024-05-03 15:29:57",
    "2024-05-03 15:29:57"
  ],
  "DeliveryDateType": 10,
  "DeliveryDateArr": [
    "2024-05-03 15:29:57",
    "2024-05-03 15:29:57"
  ],
  "OffDateType": 11,
  "OffDateArr": [
    "2024-05-03 15:29:57",
    "2024-05-03 15:29:57"
  ],
  "InventoryDateType": 12,
  "InventoryDateArr": [
    "2024-05-03 15:29:57",
    "2024-05-03 15:29:57"
  ]
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AccountSearchModel
NameDescriptionTypeAdditional information
Total

integer

None.

Price

decimal number

None.

Items

Collection of AccountListModel

None.

Response Formats

application/json, text/json

Sample:
{
  "Total": 1,
  "Price": 2.0,
  "Items": [
    {
      "SysId": 1,
      "AsId": 2,
      "Id": 3,
      "No": "sample string 4",
      "Name": "sample string 5",
      "InitAccount": 6.0,
      "price": 7.0,
      "InitDate": "2024-05-03 15:29:57",
      "AccountType": 9,
      "Note": "sample string 10",
      "Status": true,
      "CreatedBy": 12,
      "CreatedDate": "2024-05-03 15:29:57",
      "ModifiedBy": 14,
      "ModifiedDate": "2024-05-03 15:29:57"
    },
    {
      "SysId": 1,
      "AsId": 2,
      "Id": 3,
      "No": "sample string 4",
      "Name": "sample string 5",
      "InitAccount": 6.0,
      "price": 7.0,
      "InitDate": "2024-05-03 15:29:57",
      "AccountType": 9,
      "Note": "sample string 10",
      "Status": true,
      "CreatedBy": 12,
      "CreatedDate": "2024-05-03 15:29:57",
      "ModifiedBy": 14,
      "ModifiedDate": "2024-05-03 15:29:57"
    }
  ]
}

application/xml, text/xml

Sample:
<AccountSearchModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.BaseData.Models.Account">
  <Items>
    <AccountListModel>
      <AccountType>9</AccountType>
      <AsId>2</AsId>
      <CreatedBy>12</CreatedBy>
      <CreatedDate>2024-05-03T15:29:57.1033+08:00</CreatedDate>
      <Id>3</Id>
      <InitAccount>6</InitAccount>
      <InitDate>2024-05-03T15:29:57.1033+08:00</InitDate>
      <ModifiedBy>14</ModifiedBy>
      <ModifiedDate>2024-05-03T15:29:57.1033+08:00</ModifiedDate>
      <Name>sample string 5</Name>
      <No>sample string 4</No>
      <Note>sample string 10</Note>
      <Status>true</Status>
      <SysId>1</SysId>
      <price>7</price>
    </AccountListModel>
    <AccountListModel>
      <AccountType>9</AccountType>
      <AsId>2</AsId>
      <CreatedBy>12</CreatedBy>
      <CreatedDate>2024-05-03T15:29:57.1033+08:00</CreatedDate>
      <Id>3</Id>
      <InitAccount>6</InitAccount>
      <InitDate>2024-05-03T15:29:57.1033+08:00</InitDate>
      <ModifiedBy>14</ModifiedBy>
      <ModifiedDate>2024-05-03T15:29:57.1033+08:00</ModifiedDate>
      <Name>sample string 5</Name>
      <No>sample string 4</No>
      <Note>sample string 10</Note>
      <Status>true</Status>
      <SysId>1</SysId>
      <price>7</price>
    </AccountListModel>
  </Items>
  <Price>2</Price>
  <Total>1</Total>
</AccountSearchModel>