POST jxc_api/SimpleResource/GetSimpleCustomers

Request Information

URI Parameters

None.

Body Parameters

CustomerCondition
NameDescriptionTypeAdditional information
SearchText

string

None.

Status

boolean

None.

CategroryIds

Collection of integer

None.

AppAsId

string

None.

AccAsId

integer

None.

Ftype

integer

None.

UpdateTimeStart

date

None.

UpdateTimeEnd

date

None.

CategoryKeyword

string

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,
  "CategroryIds": [
    1,
    2
  ],
  "AppAsId": "sample string 3",
  "AccAsId": 4,
  "Ftype": 1010,
  "UpdateTimeStart": "2024-11-24 17:26:05",
  "UpdateTimeEnd": "2024-11-24 17:26:05",
  "CategoryKeyword": "sample string 7",
  "PageIndex": 8,
  "PageSize": 9,
  "UsePager": true,
  "CurrUserSn": 11,
  "CanViewAllBill": true,
  "CanOpeAllWh": true,
  "OpeWhList": [
    1,
    2
  ],
  "DocumentDateType": 14,
  "DocumentDateArr": [
    "2024-11-24 17:26:05",
    "2024-11-24 17:26:05"
  ],
  "DeliveryDateType": 15,
  "DeliveryDateArr": [
    "2024-11-24 17:26:05",
    "2024-11-24 17:26:05"
  ],
  "OffDateType": 16,
  "OffDateArr": [
    "2024-11-24 17:26:05",
    "2024-11-24 17:26:05"
  ],
  "InventoryDateType": 17,
  "InventoryDateArr": [
    "2024-11-24 17:26:05",
    "2024-11-24 17:26:05"
  ]
}

application/xml, text/xml

Sample:
<CustomerCondition 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-24T17:26:05.3310469+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-24T17:26:05.3310469+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">15</_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-24T17:26:05.3310469+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-24T17:26:05.3310469+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">14</_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-24T17:26:05.3310469+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-24T17:26:05.3310469+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">17</_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-24T17:26:05.3310469+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-24T17:26:05.3310469+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">16</_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">11</_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>8</_x003C_PageIndex_x003E_k__BackingField>
  <_x003C_PageSize_x003E_k__BackingField>9</_x003C_PageSize_x003E_k__BackingField>
  <_x003C_UsePager_x003E_k__BackingField>true</_x003C_UsePager_x003E_k__BackingField>
  <_x003C_CategoryKeyword_x003E_k__BackingField>sample string 7</_x003C_CategoryKeyword_x003E_k__BackingField>
  <_x003C_Ftype_x003E_k__BackingField>0</_x003C_Ftype_x003E_k__BackingField>
  <_x003C_AccAsId_x003E_k__BackingField>4</_x003C_AccAsId_x003E_k__BackingField>
  <_x003C_AppAsId_x003E_k__BackingField>sample string 3</_x003C_AppAsId_x003E_k__BackingField>
  <_x003C_CategroryIds_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_CategroryIds_x003E_k__BackingField>
  <_x003C_SearchText_x003E_k__BackingField>sample string 1</_x003C_SearchText_x003E_k__BackingField>
  <_x003C_Status_x003E_k__BackingField>true</_x003C_Status_x003E_k__BackingField>
  <_x003C_UpdateTimeEnd_x003E_k__BackingField>2024-11-24T17:26:05.3310469+08:00</_x003C_UpdateTimeEnd_x003E_k__BackingField>
  <_x003C_UpdateTimeStart_x003E_k__BackingField>2024-11-24T17:26:05.3310469+08:00</_x003C_UpdateTimeStart_x003E_k__BackingField>
</CustomerCondition>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of SimpleCustomer
NameDescriptionTypeAdditional information
CustId

integer

None.

CustNo

string

None.

CustName

string

None.

CatId

integer

None.

CatName

string

None.

ContactId

integer

None.

ContactName

string

None.

Phone

string

None.

SaleId

integer

None.

SaleName

string

None.

LevelId

integer

None.

Receiver

string

None.

ReceiverMobile

string

None.

ReceiverAddress

string

None.

SettlePeriodId

integer

None.

SettlePeriodType

integer

None.

SettlePeriodValue

integer

None.

SettlePeriodName

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CustId": 1,
    "CustNo": "sample string 2",
    "CustName": "sample string 3",
    "CatId": 4,
    "CatName": "sample string 5",
    "ContactId": 6,
    "ContactName": "sample string 7",
    "Phone": "sample string 8",
    "SaleId": 9,
    "SaleName": "sample string 10",
    "LevelId": 11,
    "Receiver": "sample string 12",
    "ReceiverMobile": "sample string 13",
    "ReceiverAddress": "sample string 14",
    "SettlePeriodId": 15,
    "SettlePeriodType": 16,
    "SettlePeriodValue": 17,
    "SettlePeriodName": "sample string 18"
  },
  {
    "CustId": 1,
    "CustNo": "sample string 2",
    "CustName": "sample string 3",
    "CatId": 4,
    "CatName": "sample string 5",
    "ContactId": 6,
    "ContactName": "sample string 7",
    "Phone": "sample string 8",
    "SaleId": 9,
    "SaleName": "sample string 10",
    "LevelId": 11,
    "Receiver": "sample string 12",
    "ReceiverMobile": "sample string 13",
    "ReceiverAddress": "sample string 14",
    "SettlePeriodId": 15,
    "SettlePeriodType": 16,
    "SettlePeriodValue": 17,
    "SettlePeriodName": "sample string 18"
  }
]

application/xml, text/xml

Sample:
<ArrayOfSimpleCustomer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.Framework.Models">
  <SimpleCustomer>
    <CatId>4</CatId>
    <CatName>sample string 5</CatName>
    <ContactId>6</ContactId>
    <ContactName>sample string 7</ContactName>
    <CustId>1</CustId>
    <CustName>sample string 3</CustName>
    <CustNo>sample string 2</CustNo>
    <LevelId>11</LevelId>
    <Phone>sample string 8</Phone>
    <Receiver>sample string 12</Receiver>
    <ReceiverAddress>sample string 14</ReceiverAddress>
    <ReceiverMobile>sample string 13</ReceiverMobile>
    <SaleId>9</SaleId>
    <SaleName>sample string 10</SaleName>
    <SettlePeriodId>15</SettlePeriodId>
    <SettlePeriodName>sample string 18</SettlePeriodName>
    <SettlePeriodType>16</SettlePeriodType>
    <SettlePeriodValue>17</SettlePeriodValue>
  </SimpleCustomer>
  <SimpleCustomer>
    <CatId>4</CatId>
    <CatName>sample string 5</CatName>
    <ContactId>6</ContactId>
    <ContactName>sample string 7</ContactName>
    <CustId>1</CustId>
    <CustName>sample string 3</CustName>
    <CustNo>sample string 2</CustNo>
    <LevelId>11</LevelId>
    <Phone>sample string 8</Phone>
    <Receiver>sample string 12</Receiver>
    <ReceiverAddress>sample string 14</ReceiverAddress>
    <ReceiverMobile>sample string 13</ReceiverMobile>
    <SaleId>9</SaleId>
    <SaleName>sample string 10</SaleName>
    <SettlePeriodId>15</SettlePeriodId>
    <SettlePeriodName>sample string 18</SettlePeriodName>
    <SettlePeriodType>16</SettlePeriodType>
    <SettlePeriodValue>17</SettlePeriodValue>
  </SimpleCustomer>
</ArrayOfSimpleCustomer>