POST jxc_api/SalesOrderSummary/Search

Request Information

URI Parameters

None.

Body Parameters

SalesOrderSummaryConditions
NameDescriptionTypeAdditional information
Start

date

None.

End

date

None.

AggregateCriteria

AggregateCriteria

None.

IsAp

boolean

None.

IsGrossProfit

boolean

None.

PageIndex

integer

None.

PageSize

integer

None.

UsePager

boolean

None.

KeyWord

string

None.

IsShowSubTotal

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Start": "2024-11-25 02:48:27",
  "End": "2024-11-25 02:48:27",
  "AggregateCriteria": 1010,
  "IsAp": true,
  "IsGrossProfit": true,
  "PageIndex": 5,
  "PageSize": 6,
  "UsePager": true,
  "KeyWord": "sample string 8",
  "IsShowSubTotal": true
}

application/xml, text/xml

Sample:
<SalesOrderSummaryConditions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Sell">
  <AggregateCriteria>Order</AggregateCriteria>
  <End>2024-11-25T02:48:27.0469185+08:00</End>
  <IsAp>true</IsAp>
  <IsGrossProfit>true</IsGrossProfit>
  <IsShowSubTotal>true</IsShowSubTotal>
  <KeyWord>sample string 8</KeyWord>
  <PageIndex>5</PageIndex>
  <PageSize>6</PageSize>
  <Start>2024-11-25T02:48:27.0469185+08:00</Start>
  <UsePager>true</UsePager>
</SalesOrderSummaryConditions>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

NewApiPagedListOfSalesOrderSummaryListModel
NameDescriptionTypeAdditional information
Items

Collection of SalesOrderSummaryListModel

None.

SumModel

SalesOrderSummaryListModel

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": [
    {
      "Id": 1,
      "SoeId": 2,
      "Date": "2024-11-25 02:48:27",
      "DateFmt": "2024-11-25",
      "No": "sample string 4",
      "CustId": 5,
      "CustNo": "sample string 6",
      "CustName": "sample string 7",
      "CustTypeName": "sample string 8",
      "AccountingItemId": 9,
      "AccountingItemNo": "sample string 10",
      "AccountingItemName": "sample string 11",
      "DepartmentId": 12,
      "DepartmentNo": "sample string 13",
      "DepartmentName": "sample string 14",
      "Sales": 15,
      "SalesNo": "sample string 16",
      "SalesName": "sample string 17",
      "ProdId": 18,
      "ProdNo": "sample string 19",
      "ProdName": "sample string 20",
      "CatName": "sample string 21",
      "Brand": "sample string 22",
      "ProdLocation": "sample string 23",
      "Spec": "sample string 24",
      "ApId": 25,
      "ApName": "sample string 26",
      "Rate": 27.0,
      "QTY": 28.0,
      "BaseUnitName": "sample string 29",
      "BaseQty": 30.0,
      "Price": 31.0,
      "Amount": 32.0,
      "Tax": 33.0,
      "AmountTax": 34.0,
      "PricePur": 35.0,
      "ReferenceCost": 36.0,
      "ReferenceGrossProfit": -4.0,
      "ReferenceGrossProfitMargin": -12.5,
      "SalesCost": 38.0,
      "GrossProfit": -6.0,
      "Expense": 40.0,
      "NetProfit": 41.0,
      "GrossProfitMargin": -18.75,
      "NetProfitMargin": 128.125,
      "IsCountRow": true
    },
    {
      "Id": 1,
      "SoeId": 2,
      "Date": "2024-11-25 02:48:27",
      "DateFmt": "2024-11-25",
      "No": "sample string 4",
      "CustId": 5,
      "CustNo": "sample string 6",
      "CustName": "sample string 7",
      "CustTypeName": "sample string 8",
      "AccountingItemId": 9,
      "AccountingItemNo": "sample string 10",
      "AccountingItemName": "sample string 11",
      "DepartmentId": 12,
      "DepartmentNo": "sample string 13",
      "DepartmentName": "sample string 14",
      "Sales": 15,
      "SalesNo": "sample string 16",
      "SalesName": "sample string 17",
      "ProdId": 18,
      "ProdNo": "sample string 19",
      "ProdName": "sample string 20",
      "CatName": "sample string 21",
      "Brand": "sample string 22",
      "ProdLocation": "sample string 23",
      "Spec": "sample string 24",
      "ApId": 25,
      "ApName": "sample string 26",
      "Rate": 27.0,
      "QTY": 28.0,
      "BaseUnitName": "sample string 29",
      "BaseQty": 30.0,
      "Price": 31.0,
      "Amount": 32.0,
      "Tax": 33.0,
      "AmountTax": 34.0,
      "PricePur": 35.0,
      "ReferenceCost": 36.0,
      "ReferenceGrossProfit": -4.0,
      "ReferenceGrossProfitMargin": -12.5,
      "SalesCost": 38.0,
      "GrossProfit": -6.0,
      "Expense": 40.0,
      "NetProfit": 41.0,
      "GrossProfitMargin": -18.75,
      "NetProfitMargin": 128.125,
      "IsCountRow": true
    }
  ],
  "SumModel": {
    "Id": 1,
    "SoeId": 2,
    "Date": "2024-11-25 02:48:27",
    "DateFmt": "2024-11-25",
    "No": "sample string 4",
    "CustId": 5,
    "CustNo": "sample string 6",
    "CustName": "sample string 7",
    "CustTypeName": "sample string 8",
    "AccountingItemId": 9,
    "AccountingItemNo": "sample string 10",
    "AccountingItemName": "sample string 11",
    "DepartmentId": 12,
    "DepartmentNo": "sample string 13",
    "DepartmentName": "sample string 14",
    "Sales": 15,
    "SalesNo": "sample string 16",
    "SalesName": "sample string 17",
    "ProdId": 18,
    "ProdNo": "sample string 19",
    "ProdName": "sample string 20",
    "CatName": "sample string 21",
    "Brand": "sample string 22",
    "ProdLocation": "sample string 23",
    "Spec": "sample string 24",
    "ApId": 25,
    "ApName": "sample string 26",
    "Rate": 27.0,
    "QTY": 28.0,
    "BaseUnitName": "sample string 29",
    "BaseQty": 30.0,
    "Price": 31.0,
    "Amount": 32.0,
    "Tax": 33.0,
    "AmountTax": 34.0,
    "PricePur": 35.0,
    "ReferenceCost": 36.0,
    "ReferenceGrossProfit": -4.0,
    "ReferenceGrossProfitMargin": -12.5,
    "SalesCost": 38.0,
    "GrossProfit": -6.0,
    "Expense": 40.0,
    "NetProfit": 41.0,
    "GrossProfitMargin": -18.75,
    "NetProfitMargin": 128.125,
    "IsCountRow": true
  },
  "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"
}