GET api/CustomerOrders?custId={custId}&poNumber={poNumber}&minLastChange={minLastChange}&isByPassErrorEmail={isByPassErrorEmail}

Gets the purchase orders for the specified customer identifier and optional purchase order number.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
custId

The customer identifier.

string

Required

poNumber

The po number (optional).

string

None.

minLastChange

The minimum date for which a record has last been changed or entered. Note: Optional.

date

None.

isByPassErrorEmail

boolean

Default value is False

Body Parameters

None.

Request Formats

text/plain

Sample:
api/CustomerOrders?custId=005672&poNumber=85659-B

Response Information

Resource Description

JsonResultOfReturnData
NameDescriptionTypeAdditional 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":"I01839826",
            "OrderNumber":"FA3951155B01",
            "PoNumber":"00083956",
            "Sold To":"Colliflower Inc",
            "ShipTo":"Colliflower Inc",
            "ShipToAddress1":"3527 W 9Th St",
            "ShipToAddress2":"",
            "ShipToCity":"Trainer",
            "ShipToState":"PA",
            "ShipToZip":"190615201",
            "ShipBranch2":"MD",
            "ShipBranch21":"CHESTERTOWN, MD",
            "ShippingMethod":"UPS - Collect 165822",
            "OrderDate":"2020-01-21T14:25:23.253",
            "InvoiceDate":"2020-02-17T00:00:00",
            "TrackingNumber":"1Z2762900351811707",
            "PartNumber":"LCLD",
            "PartDescription":"Fluorescent Yellow Leak Detector",
            "QtyShipped":1,
            "LineAmount":4.1300
        }, ...
    ]
}

text/json

Sample:

Sample not available.