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-04-27 10:05:48",
  "UpdateTimeEnd": "2024-04-27 10:05:48",
  "CategoryKeyword": "sample string 7",
  "PageIndex": 8,
  "PageSize": 9,
  "UsePager": true,
  "CurrUserSn": 11,
  "CanViewAllBill": true,
  "CanOpeAllWh": true,
  "OpeWhList": [
    1,
    2
  ],
  "DocumentDateType": 14,
  "DocumentDateArr": [
    "2024-04-27 10:05:48",
    "2024-04-27 10:05:48"
  ],
  "DeliveryDateType": 15,
  "DeliveryDateArr": [
    "2024-04-27 10:05:48",
    "2024-04-27 10:05:48"
  ],
  "OffDateType": 16,
  "OffDateArr": [
    "2024-04-27 10:05:48",
    "2024-04-27 10:05:48"
  ],
  "InventoryDateType": 17,
  "InventoryDateArr": [
    "2024-04-27 10:05:48",
    "2024-04-27 10:05:48"
  ]
}

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>