GET api/CustomerInvoices?custId={custId}&invoiceNo={invoiceNo}&isByPassErrorEmail={isByPassErrorEmail}

Gets the invoices for the specified customer identifier and optional invoice number.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
custId

The customer identifier.

string

Required

invoiceNo

The invoice number.

string

Required

isByPassErrorEmail

A value indicating whether or not to bypass the full email group and only email programmers

boolean

Default value is False

Body Parameters

None.

Request Formats

text/plain

Sample:
api/CustomerInvoices?custId=005762&invoiceNo=I01804205

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":21,
    "Result":[
        {
            "DivisionName":"Dixon Valve & Coupling Company",
            "Address1":"800 High Street",
            "Address2":null,
            "City":"Chestertown",
            "State":"MD",
            "Zip":"21620",
            "Phone":"4107782000",
            "Fax":"4107784702",
            "Invoice#":"I00011827",
            "InvoiceDate":"2017-04-07T00:00:00",
            "Sold To":"Flotran Pneudraulics",
            "SoldToAddress1":"9320 Pulaski Hwy",
            "SoldToAddress2":"",
            "SoldToCity":"Baltimore",
            "SoldToState":"MD",
            "SoldToZip":"212202418",
            "SoldToCountry":"US",
            "Ship To":"Flotran Pneudraulics",
            "ShipToAddress1":"3527 W 9th St",
            "ShipToAddress2":"",
            "ShipToCity":"Trainer",
            "ShipToState":"PA",
            "ShipToZip":"190615201",
            "ShipToCountry":"US",
            "FactoryRegister":"FA3431965ORD",
            "OrderDate":"2017-04-06T16:24:33",
            "CustId":"001717",
            "ShipBranch":"WH",
            "PoNumber":"497889",
            "Method":"UPS - Collect 292463",
            "Prepaid":false,
            "Freight":"0.00",
            "SaleAmount":597.1400,
            "MiscCharges":0.0000,
            "LineNumber":10,
            "PartNumber":"125-A-AL",
            "QtyOrdered":4,
            "QtyShipped":4,
            "PartDescription":"1-1/4\" Fem NPT x Male Adapter",
            "ListPrice":17.2000,
            "Multiplier":0.3000,
            "LineAmount":20.6400,
            "Surcharge":0.0000,
            "InvoiceTotal":597.1400,
            "CC":"US",
            "HTS":"7609000000",
            "TrackingNumber":"1Z2762900370702610"
        }, ...
    ]
}

text/json

Sample:

Sample not available.