POST jxc_api/CustomerCode/Search

Request Information

URI Parameters

None.

Body Parameters

CustomerCodeCondition
NameDescriptionTypeAdditional information
SearchText

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",
  "PageIndex": 2,
  "PageSize": 3,
  "UsePager": true,
  "CurrUserSn": 5,
  "CanViewAllBill": true,
  "CanOpeAllWh": true,
  "OpeWhList": [
    1,
    2
  ],
  "DocumentDateType": 8,
  "DocumentDateArr": [
    "2024-04-18 09:34:07",
    "2024-04-18 09:34:07"
  ],
  "DeliveryDateType": 9,
  "DeliveryDateArr": [
    "2024-04-18 09:34:07",
    "2024-04-18 09:34:07"
  ],
  "OffDateType": 10,
  "OffDateArr": [
    "2024-04-18 09:34:07",
    "2024-04-18 09:34:07"
  ],
  "InventoryDateType": 11,
  "InventoryDateArr": [
    "2024-04-18 09:34:07",
    "2024-04-18 09:34:07"
  ]
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

NewApiPagedListOfCustomerCodeListModel
NameDescriptionTypeAdditional information
Items

Collection of CustomerCodeListModel

None.

SumModel

CustomerCodeListModel

None.

PageIndex

integer

None.

PageSize

integer

None.

Total

integer

None.

UsePager

boolean

None.

CategoriesFounded

Collection of integer

None.

RDocumentStartDate

string

None.

RDocumentEndDate

string

None.

RDeliveryStartDate

string

None.

RDeliveryEndDate

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Items": [
    {
      "SysId": 1,
      "AsId": 2,
      "CustId": 3,
      "CustNo": "sample string 4",
      "CustName": "sample string 5",
      "ProdId": 6,
      "ProdNo": "sample string 7",
      "ProdName": "sample string 8",
      "Spec": "sample string 9",
      "UnitId": 10,
      "UnitIt": "sample string 11",
      "tempId": "sample string 12",
      "CreatedBy": 13,
      "CreatedDate": "2024-04-18 09:34:07",
      "ModifiedBy": 15,
      "ModifiedDate": "2024-04-18 09:34:07"
    },
    {
      "SysId": 1,
      "AsId": 2,
      "CustId": 3,
      "CustNo": "sample string 4",
      "CustName": "sample string 5",
      "ProdId": 6,
      "ProdNo": "sample string 7",
      "ProdName": "sample string 8",
      "Spec": "sample string 9",
      "UnitId": 10,
      "UnitIt": "sample string 11",
      "tempId": "sample string 12",
      "CreatedBy": 13,
      "CreatedDate": "2024-04-18 09:34:07",
      "ModifiedBy": 15,
      "ModifiedDate": "2024-04-18 09:34:07"
    }
  ],
  "SumModel": {
    "SysId": 1,
    "AsId": 2,
    "CustId": 3,
    "CustNo": "sample string 4",
    "CustName": "sample string 5",
    "ProdId": 6,
    "ProdNo": "sample string 7",
    "ProdName": "sample string 8",
    "Spec": "sample string 9",
    "UnitId": 10,
    "UnitIt": "sample string 11",
    "tempId": "sample string 12",
    "CreatedBy": 13,
    "CreatedDate": "2024-04-18 09:34:07",
    "ModifiedBy": 15,
    "ModifiedDate": "2024-04-18 09:34:07"
  },
  "PageIndex": 1,
  "PageSize": 2,
  "Total": 3,
  "UsePager": true,
  "CategoriesFounded": [
    1,
    2
  ],
  "RDocumentStartDate": "sample string 5",
  "RDocumentEndDate": "sample string 6",
  "RDeliveryStartDate": "sample string 7",
  "RDeliveryEndDate": "sample string 8"
}