POST jxc_api/SellOrderDetail/Search

Request Information

URI Parameters

None.

Body Parameters

SoDetailSearchCondition
NameDescriptionTypeAdditional information
BillStart

string

None.

BillEnd

string

None.

CustIds

Collection of integer

None.

CustType

Collection of integer

None.

Sales

Collection of integer

None.

TypeIds

Collection of integer

None.

ProdIds

Collection of integer

None.

ProdType

Collection of integer

None.

WhId

Collection of integer

None.

WhType

Collection of integer

None.

Keywords

string

None.

WithGrossProfit

boolean

None.

AccountingItemId

Collection of integer

None.

DepartmentId

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:
{
  "BillStart": "sample string 1",
  "BillEnd": "sample string 2",
  "CustIds": [
    1,
    2
  ],
  "CustType": [
    1,
    2
  ],
  "Sales": [
    1,
    2
  ],
  "TypeIds": [
    1,
    2
  ],
  "ProdIds": [
    1,
    2
  ],
  "ProdType": [
    1,
    2
  ],
  "WhId": [
    1,
    2
  ],
  "WhType": [
    1,
    2
  ],
  "Keywords": "sample string 3",
  "WithGrossProfit": true,
  "AccountingItemId": [
    1,
    2
  ],
  "DepartmentId": [
    1,
    2
  ],
  "PageIndex": 5,
  "PageSize": 6,
  "UsePager": true,
  "CurrUserSn": 8,
  "CanViewAllBill": true,
  "CanOpeAllWh": true,
  "OpeWhList": [
    1,
    2
  ],
  "DocumentDateType": 11,
  "DocumentDateArr": [
    "2024-11-25 02:46:57",
    "2024-11-25 02:46:57"
  ],
  "DeliveryDateType": 12,
  "DeliveryDateArr": [
    "2024-11-25 02:46:57",
    "2024-11-25 02:46:57"
  ],
  "OffDateType": 13,
  "OffDateArr": [
    "2024-11-25 02:46:57",
    "2024-11-25 02:46:57"
  ],
  "InventoryDateType": 14,
  "InventoryDateArr": [
    "2024-11-25 02:46:57",
    "2024-11-25 02:46:57"
  ]
}

application/xml, text/xml

Sample:
<SoDetailSearchCondition xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Sell">
  <_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-25T02:46:57.2638432+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:46:57.2638432+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">12</_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-25T02:46:57.2638432+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:46:57.2638432+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">11</_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-25T02:46:57.2638432+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:46:57.2638432+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">14</_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-25T02:46:57.2638432+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:46:57.2638432+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">13</_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">8</_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_AccountingItemId_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_AccountingItemId_x003E_k__BackingField>
  <_x003C_BillEnd_x003E_k__BackingField>sample string 2</_x003C_BillEnd_x003E_k__BackingField>
  <_x003C_BillStart_x003E_k__BackingField>sample string 1</_x003C_BillStart_x003E_k__BackingField>
  <_x003C_CustIds_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_CustIds_x003E_k__BackingField>
  <_x003C_CustType_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_CustType_x003E_k__BackingField>
  <_x003C_DepartmentId_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_DepartmentId_x003E_k__BackingField>
  <_x003C_Keywords_x003E_k__BackingField>sample string 3</_x003C_Keywords_x003E_k__BackingField>
  <_x003C_PageIndex_x003E_k__BackingField>5</_x003C_PageIndex_x003E_k__BackingField>
  <_x003C_PageSize_x003E_k__BackingField>6</_x003C_PageSize_x003E_k__BackingField>
  <_x003C_ProdIds_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_ProdIds_x003E_k__BackingField>
  <_x003C_ProdType_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_ProdType_x003E_k__BackingField>
  <_x003C_Sales_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_Sales_x003E_k__BackingField>
  <_x003C_TypeIds_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_TypeIds_x003E_k__BackingField>
  <_x003C_UsePager_x003E_k__BackingField>true</_x003C_UsePager_x003E_k__BackingField>
  <_x003C_WhId_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_WhId_x003E_k__BackingField>
  <_x003C_WhType_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_WhType_x003E_k__BackingField>
  <_x003C_WithGrossProfit_x003E_k__BackingField>true</_x003C_WithGrossProfit_x003E_k__BackingField>
</SoDetailSearchCondition>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ReportResultOfSDetailsModel
NameDescriptionTypeAdditional information
DataList

Collection of SDetailsModel

None.

TotalRow

SDetailsModel

None.

PageIndex

integer

None.

PageSize

integer

None.

Total

integer

None.

RDocumentStartDate

string

None.

RDocumentEndDate

string

None.

RDeliveryStartDate

string

None.

RDeliveryEndDate

string

None.

Response Formats

application/json, text/json

Sample:
{
  "DataList": [
    null,
    {
      "Date": "sample string 1",
      "Id": 2,
      "No": "sample string 3",
      "BusinessType": "sample string 4",
      "SalesName": "sample string 5",
      "CustName": "sample string 6",
      "CustNo": "sample string 7",
      "CustType": "sample string 8",
      "CustId": 9,
      "ProdNo": "sample string 10",
      "ProdName": "sample string 11",
      "CatName": "sample string 12",
      "Brand": "sample string 13",
      "ProdLocation": "sample string 14",
      "Spec": "sample string 15",
      "ApName": "sample string 16",
      "UnitName": "sample string 17",
      "BaseUnitName": "sample string 18",
      "MunitName": "sample string 19",
      "WhName": "sample string 20",
      "WhType": "sample string 21",
      "QTY": 22.0,
      "BaseUnitQTY": 23.0,
      "MunitQty": "sample string 24",
      "Price": 25.0,
      "PriceTax": 26.0,
      "DisRate": 27.0,
      "DisAmount": 28.0,
      "Amount": 29.0,
      "TaxRate": 30.0,
      "Tax": 31.0,
      "AmountTax": 32.0,
      "UnitCost": 33.0,
      "SalesCost": 34.0,
      "GrossProfit": 35.0,
      "GrossProfitRate": "120.69%",
      "Note": "sample string 36",
      "StrValue1": "sample string 37",
      "StrValue2": "sample string 38",
      "StrValue3": "sample string 39",
      "StrValue4": "sample string 40",
      "StrValue5": "sample string 41",
      "StrValue6": "sample string 42",
      "StrValue7": "sample string 43",
      "StrValue8": "sample string 44",
      "BatchNo": "sample string 45",
      "ProductionDate": "",
      "LifeTime": 0,
      "LifeTimeUnit": 0,
      "LifeTimeUnitName": "",
      "ExpirationDate": "",
      "AccountingItemId": 0,
      "AccountingItemName": null,
      "DepartmentId": 0,
      "DepartmentName": null
    }
  ],
  "TotalRow": {
    "Date": "sample string 1",
    "Id": 2,
    "No": "sample string 3",
    "BusinessType": "sample string 4",
    "SalesName": "sample string 5",
    "CustName": "sample string 6",
    "CustNo": "sample string 7",
    "CustType": "sample string 8",
    "CustId": 9,
    "ProdNo": "sample string 10",
    "ProdName": "sample string 11",
    "CatName": "sample string 12",
    "Brand": "sample string 13",
    "ProdLocation": "sample string 14",
    "Spec": "sample string 15",
    "ApName": "sample string 16",
    "UnitName": "sample string 17",
    "BaseUnitName": "sample string 18",
    "MunitName": "sample string 19",
    "WhName": "sample string 20",
    "WhType": "sample string 21",
    "QTY": 22.0,
    "BaseUnitQTY": 23.0,
    "MunitQty": "sample string 24",
    "Price": 25.0,
    "PriceTax": 26.0,
    "DisRate": 27.0,
    "DisAmount": 28.0,
    "Amount": 29.0,
    "TaxRate": 30.0,
    "Tax": 31.0,
    "AmountTax": 32.0,
    "UnitCost": 33.0,
    "SalesCost": 34.0,
    "GrossProfit": 35.0,
    "GrossProfitRate": "120.69%",
    "Note": "sample string 36",
    "StrValue1": "sample string 37",
    "StrValue2": "sample string 38",
    "StrValue3": "sample string 39",
    "StrValue4": "sample string 40",
    "StrValue5": "sample string 41",
    "StrValue6": "sample string 42",
    "StrValue7": "sample string 43",
    "StrValue8": "sample string 44",
    "BatchNo": "sample string 45",
    "ProductionDate": "",
    "LifeTime": 0,
    "LifeTimeUnit": 0,
    "LifeTimeUnitName": "",
    "ExpirationDate": "",
    "AccountingItemId": 0,
    "AccountingItemName": null,
    "DepartmentId": 0,
    "DepartmentName": null
  },
  "PageIndex": 1,
  "PageSize": 2,
  "Total": 3,
  "RDocumentStartDate": "sample string 4",
  "RDocumentEndDate": "sample string 5",
  "RDeliveryStartDate": "sample string 6",
  "RDeliveryEndDate": "sample string 7"
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.