GET api/ClosedOrders?custId={custId}&poNumber={poNumber}&minLastChange={minLastChange}&isByPassErrorEmail={isByPassErrorEmail}
Gets the closed purchase orders for the specified customer identifier and optional purchase order number.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
custId |
The customer identifier. |
string |
Required |
poNumber |
The po number. |
string |
None. |
minLastChange |
The minimum date for which a record has last been changed or entered. Note: Defaults to 30 days if only custId is provided. |
date |
None. |
isByPassErrorEmail | boolean |
Default value is False |
Body Parameters
None.
Request Formats
text/plain
Sample:
api/ClosedOrders?custId=000757&minLastChange=2020-01-01
Response Information
Resource Description
JsonResultOfReturnDataName | Description | Type | Additional information |
---|---|---|---|
Content | ReturnData |
None. |
|
SerializerSettings | JsonSerializerSettings |
None. |
|
Encoding | Encoding |
None. |
|
Request | HttpRequestMessage |
None. |
Response Formats
application/json
Sample:
{ "IsSucceeded":true, "State":"Succeeded", "Message":"", "Count":9, "Result":[ { "CustId":"001717", "InvoiceNo":"I01762108", "OrderNumber":"FA3952899B01", "PoNumber":"0085080", "Sold To":"Colliflower Inc", "ShipTo":"Colliflower Inc", "ShipToAddress1":"3527 W 9Th St", "ShipToAddress2":"", "ShipToCity":"Trainer", "ShipToState":"PA", "ShipToZip":"190615201", "ShipBranch":"MD", "ShipBranch1":"CHESTERTOWN, MD", "ShippingMethod":"UPS", "OrderDate":"2020 -01-24T13:44:55.007", "InvoiceDate":"2020 -01-30T00:00:00", "TrackingNumber":"1Z2762900357937759 ", "PartNumber":"BFW975", "PartDescription":"Brass Ferrule for Fluid (Only)", "QtyShipped":25, "LineAmount":10.2500, "TrackingNumber1":"1Z2762900357937759" }, ... ] }
text/json
Sample:
Sample not available.