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-11-25 03:06:04",
    "2024-11-25 03:06:04"
  ],
  "DeliveryDateType": 10,
  "DeliveryDateArr": [
    "2024-11-25 03:06:04",
    "2024-11-25 03:06:04"
  ],
  "OffDateType": 11,
  "OffDateArr": [
    "2024-11-25 03:06:04",
    "2024-11-25 03:06:04"
  ],
  "InventoryDateType": 12,
  "InventoryDateArr": [
    "2024-11-25 03:06:04",
    "2024-11-25 03:06:04"
  ]
}

application/xml, text/xml

Sample:
<AccountCondition xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.NewApi">
  <_x003C_DeliveryDateArr_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">
    <d2p1:dateTime>2024-11-25T03:06:04.1928522+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T03:06:04.1928522+08:00</d2p1:dateTime>
  </_x003C_DeliveryDateArr_x003E_k__BackingField>
  <_x003C_DeliveryDateType_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">10</_x003C_DeliveryDateType_x003E_k__BackingField>
  <_x003C_DocumentDateArr_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">
    <d2p1:dateTime>2024-11-25T03:06:04.1928522+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T03:06:04.1928522+08:00</d2p1:dateTime>
  </_x003C_DocumentDateArr_x003E_k__BackingField>
  <_x003C_DocumentDateType_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">9</_x003C_DocumentDateType_x003E_k__BackingField>
  <_x003C_InventoryDateArr_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">
    <d2p1:dateTime>2024-11-25T03:06:04.1928522+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T03:06:04.1928522+08:00</d2p1:dateTime>
  </_x003C_InventoryDateArr_x003E_k__BackingField>
  <_x003C_InventoryDateType_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">12</_x003C_InventoryDateType_x003E_k__BackingField>
  <_x003C_OffDateArr_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">
    <d2p1:dateTime>2024-11-25T03:06:04.1928522+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T03:06:04.1928522+08:00</d2p1:dateTime>
  </_x003C_OffDateArr_x003E_k__BackingField>
  <_x003C_OffDateType_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">11</_x003C_OffDateType_x003E_k__BackingField>
  <_x003C_CanOpeAllWh_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Setting">true</_x003C_CanOpeAllWh_x003E_k__BackingField>
  <_x003C_CanViewAllBill_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Setting">true</_x003C_CanViewAllBill_x003E_k__BackingField>
  <_x003C_CurrUserSn_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Setting">6</_x003C_CurrUserSn_x003E_k__BackingField>
  <_x003C_OpeWhList_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Setting">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_OpeWhList_x003E_k__BackingField>
  <_x003C_PageIndex_x003E_k__BackingField>3</_x003C_PageIndex_x003E_k__BackingField>
  <_x003C_PageSize_x003E_k__BackingField>4</_x003C_PageSize_x003E_k__BackingField>
  <_x003C_UsePager_x003E_k__BackingField>true</_x003C_UsePager_x003E_k__BackingField>
  <_x003C_SearchText_x003E_k__BackingField>sample string 1</_x003C_SearchText_x003E_k__BackingField>
  <_x003C_SelectedIds_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_SelectedIds_x003E_k__BackingField>
  <_x003C_Status_x003E_k__BackingField>true</_x003C_Status_x003E_k__BackingField>
</AccountCondition>

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-11-25 03:06:04",
      "AccountType": 9,
      "Note": "sample string 10",
      "Status": true,
      "CreatedBy": 12,
      "CreatedDate": "2024-11-25 03:06:04",
      "ModifiedBy": 14,
      "ModifiedDate": "2024-11-25 03:06:04"
    },
    {
      "SysId": 1,
      "AsId": 2,
      "Id": 3,
      "No": "sample string 4",
      "Name": "sample string 5",
      "InitAccount": 6.0,
      "price": 7.0,
      "InitDate": "2024-11-25 03:06:04",
      "AccountType": 9,
      "Note": "sample string 10",
      "Status": true,
      "CreatedBy": 12,
      "CreatedDate": "2024-11-25 03:06:04",
      "ModifiedBy": 14,
      "ModifiedDate": "2024-11-25 03:06:04"
    }
  ]
}

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-11-25T03:06:04.1928522+08:00</CreatedDate>
      <Id>3</Id>
      <InitAccount>6</InitAccount>
      <InitDate>2024-11-25T03:06:04.1928522+08:00</InitDate>
      <ModifiedBy>14</ModifiedBy>
      <ModifiedDate>2024-11-25T03:06:04.1928522+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-11-25T03:06:04.1928522+08:00</CreatedDate>
      <Id>3</Id>
      <InitAccount>6</InitAccount>
      <InitDate>2024-11-25T03:06:04.1928522+08:00</InitDate>
      <ModifiedBy>14</ModifiedBy>
      <ModifiedDate>2024-11-25T03:06:04.1928522+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>