POST api/Report/GetPreOrderDetailHistoryReportDetailsOnly
Request Information
URI Parameters
None.
Body Parameters
RequestIDModelName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
Required |
|
RequestedUserID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "ID": 1, "RequestedUserID": 1 }
application/xml, text/xml
Sample:
<RequestIDModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.Request"> <RequestedUserID>1</RequestedUserID> <ID>1</ID> </RequestIDModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GetPreOrderHistoryReportResponseName | Description | Type | Additional information |
---|---|---|---|
Purchases | Collection of PurchaseListModel |
None. |
|
Details | Collection of OpenPurchaseDetailListModel |
None. |
|
Supplier | string |
None. |
|
PurchaseQuantity | integer |
None. |
|
PurchaseDate | string |
None. |
|
ReceivedQuantity | integer |
None. |
|
Status | string |
None. |
|
ResponseCode | integer |
None. |
|
ResponseText | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Purchases": [ { "ID": 1, "Supplier": "sample string 2", "Date": "2025-01-22T20:58:48.5183773-06:00", "Quantity": 4 }, { "ID": 1, "Supplier": "sample string 2", "Date": "2025-01-22T20:58:48.5183773-06:00", "Quantity": 4 } ], "Details": [ { "Product": "sample string 1", "Quantity": 2, "Received": 3 }, { "Product": "sample string 1", "Quantity": 2, "Received": 3 } ], "Supplier": "sample string 1", "PurchaseQuantity": 2, "PurchaseDate": "sample string 3", "ReceivedQuantity": 4, "Status": "sample string 5", "ResponseCode": 6, "ResponseText": "sample string 7" }
application/xml, text/xml
Sample:
<GetPreOrderHistoryReportResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.Response"> <ResponseCode xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel">6</ResponseCode> <ResponseText xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel">sample string 7</ResponseText> <Details> <OpenPurchaseDetailListModel> <Product>sample string 1</Product> <Quantity>2</Quantity> <Received>3</Received> </OpenPurchaseDetailListModel> <OpenPurchaseDetailListModel> <Product>sample string 1</Product> <Quantity>2</Quantity> <Received>3</Received> </OpenPurchaseDetailListModel> </Details> <PurchaseDate>sample string 3</PurchaseDate> <PurchaseQuantity>2</PurchaseQuantity> <Purchases> <PurchaseListModel> <Date>2025-01-22T20:58:48.5183773-06:00</Date> <ID>1</ID> <Quantity>4</Quantity> <Supplier>sample string 2</Supplier> </PurchaseListModel> <PurchaseListModel> <Date>2025-01-22T20:58:48.5183773-06:00</Date> <ID>1</ID> <Quantity>4</Quantity> <Supplier>sample string 2</Supplier> </PurchaseListModel> </Purchases> <ReceivedQuantity>4</ReceivedQuantity> <Status>sample string 5</Status> <Supplier>sample string 1</Supplier> </GetPreOrderHistoryReportResponse>