POST api/order/history

Request Information

URI Parameters

None.

Body Parameters

ReportPara
NameDescriptionTypeAdditional information
UserSeq

integer

None.

TokenNo

string

None.

ReportType

string

None.

SubType

string

None.

FromDate

date

None.

ToDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "UserSeq": 1,
  "TokenNo": "sample string 2",
  "ReportType": "sample string 3",
  "SubType": "sample string 4",
  "FromDate": "2024-11-21T03:44:36.5065522-05:00",
  "ToDate": "2024-11-21T03:44:36.5065522-05:00"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ReportPara'.

Response Information

Resource Description

OrderData
NameDescriptionTypeAdditional information
PendingOrderCount

integer

None.

ConfirmedOrderCount

integer

None.

NotInPartyLocationCount

integer

None.

ReadyForPickupCount

integer

None.

CompletedOrderCount

integer

None.

InvListTitle

string

None.

ListTitle

string

None.

ListSubTitle

string

None.

InvList

Collection of InvList

None.

OrderStones

Collection of OrderStone

None.

Columns

Collection of ORDER_HISTORY_COLUMN

None.

Status

string

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "PendingOrderCount": 1,
  "ConfirmedOrderCount": 2,
  "NotInPartyLocationCount": 3,
  "ReadyForPickupCount": 4,
  "CompletedOrderCount": 5,
  "InvListTitle": "sample string 6",
  "ListTitle": "sample string 7",
  "ListSubTitle": "sample string 8",
  "InvList": [
    {
      "MasSeq": 1,
      "SeqNo": 2,
      "TransNo": "sample string 3",
      "TransDate": "2024-11-21T03:44:36.5065522-05:00",
      "DueDate": "2024-11-21T03:44:36.5065522-05:00",
      "Location": "sample string 4",
      "Amount": 1.0,
      "TotalStone": 1,
      "NameSeq": 1,
      "ConfirmBy": "sample string 5",
      "Curreny": "sample string 6",
      "Name": "sample string 7",
      "OutstandingStatus": 8.0,
      "CompletedStone": 9,
      "IsCancel": true,
      "CompletedOrder": true,
      "ClosedOrder": true,
      "TermsName": "sample string 10",
      "TermsSeq": 1,
      "InvLocked": "sample string 11",
      "Status": "sample string 12"
    },
    {
      "MasSeq": 1,
      "SeqNo": 2,
      "TransNo": "sample string 3",
      "TransDate": "2024-11-21T03:44:36.5065522-05:00",
      "DueDate": "2024-11-21T03:44:36.5065522-05:00",
      "Location": "sample string 4",
      "Amount": 1.0,
      "TotalStone": 1,
      "NameSeq": 1,
      "ConfirmBy": "sample string 5",
      "Curreny": "sample string 6",
      "Name": "sample string 7",
      "OutstandingStatus": 8.0,
      "CompletedStone": 9,
      "IsCancel": true,
      "CompletedOrder": true,
      "ClosedOrder": true,
      "TermsName": "sample string 10",
      "TermsSeq": 1,
      "InvLocked": "sample string 11",
      "Status": "sample string 12"
    }
  ],
  "OrderStones": [
    {
      "SEQ_NO": 1,
      "IS_SELECT": true,
      "TRANS_NO": "sample string 2",
      "DELIVERY_NO": 1,
      "TRANS_DATE": "2024-11-21T03:44:36.5221768-05:00",
      "USER_SEQ": 1,
      "COMP_NAME": "sample string 3",
      "LOCATION": "sample string 4",
      "DELIVERY_LOCATION": "sample string 5",
      "PACKET_NO": "sample string 6",
      "REPORT_NO": "sample string 7",
      "LAB": "sample string 8",
      "SHAPE": "sample string 9",
      "CARAT": 1.0,
      "COLOR": "sample string 10",
      "CLARITY": "sample string 11",
      "CUT": "sample string 12",
      "POLISH": "sample string 13",
      "SYMM": "sample string 14",
      "FLS": "sample string 15",
      "RATE": 1.0,
      "DISCOUNT": 1.0,
      "NET_RATE": 1.0,
      "NET_VALUE": 1.0,
      "FINAL_DISCOUNT": 1.0,
      "PAYABLE_AMT": 1.0,
      "PICKUP_DATE": "2024-11-21T03:44:36.5221768-05:00",
      "IS_CANCEL": true,
      "SALE_DET_SEQ": 1,
      "TERMS_SEQ": 1,
      "TERMS_NAME": "sample string 16",
      "ORDER_STATUS": "sample string 17",
      "STATUS": "sample string 18",
      "SALE_TRANS_NO": "sample string 19"
    },
    {
      "SEQ_NO": 1,
      "IS_SELECT": true,
      "TRANS_NO": "sample string 2",
      "DELIVERY_NO": 1,
      "TRANS_DATE": "2024-11-21T03:44:36.5221768-05:00",
      "USER_SEQ": 1,
      "COMP_NAME": "sample string 3",
      "LOCATION": "sample string 4",
      "DELIVERY_LOCATION": "sample string 5",
      "PACKET_NO": "sample string 6",
      "REPORT_NO": "sample string 7",
      "LAB": "sample string 8",
      "SHAPE": "sample string 9",
      "CARAT": 1.0,
      "COLOR": "sample string 10",
      "CLARITY": "sample string 11",
      "CUT": "sample string 12",
      "POLISH": "sample string 13",
      "SYMM": "sample string 14",
      "FLS": "sample string 15",
      "RATE": 1.0,
      "DISCOUNT": 1.0,
      "NET_RATE": 1.0,
      "NET_VALUE": 1.0,
      "FINAL_DISCOUNT": 1.0,
      "PAYABLE_AMT": 1.0,
      "PICKUP_DATE": "2024-11-21T03:44:36.5221768-05:00",
      "IS_CANCEL": true,
      "SALE_DET_SEQ": 1,
      "TERMS_SEQ": 1,
      "TERMS_NAME": "sample string 16",
      "ORDER_STATUS": "sample string 17",
      "STATUS": "sample string 18",
      "SALE_TRANS_NO": "sample string 19"
    }
  ],
  "Columns": [
    {
      "SEQ_NO": 1,
      "COLUMN_NAME": "sample string 2",
      "CAPTION": "sample string 3",
      "WIDTH": 1,
      "VISIBLE": true,
      "DISPLAY_INDEX": 1,
      "COL_TYPE": "sample string 4"
    },
    {
      "SEQ_NO": 1,
      "COLUMN_NAME": "sample string 2",
      "CAPTION": "sample string 3",
      "WIDTH": 1,
      "VISIBLE": true,
      "DISPLAY_INDEX": 1,
      "COL_TYPE": "sample string 4"
    }
  ],
  "Status": "sample string 9",
  "Message": "sample string 10"
}