GET api/SalesOrder?companyCode={companyCode}

Get Sales Order List

Request Information

URI Parameters

NameDescriptionTypeAdditional information
companyCode

Company Identifier

string

Required

Body Parameters

None.

Response Information

Resource Description

Response message with a list of all SO's. HttpStatusCode.Conflict when user isn't connected to Company

GetSalesOrderListMessageResponse
NameDescriptionTypeAdditional information
Header

Header item

MessageHeader

None.

SalesOrderIdentifiers

Sales Order Identifier

Collection of string

None.

Footer

Footer item

MessageFooter

None.

Response Formats

application/json, text/json

Sample:
{
  "Header": {
    "Version": "string 1",
    "Identification": "string 2",
    "Sender": "string 3"
  },
  "SalesOrderIdentifiers": [
    "string 1",
    "string 2"
  ],
  "Footer": {
    "TotalRecords": 1,
    "Records": 2
  }
}

application/xml, text/xml

Sample:
<GetSalesOrderListMessageResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Header>
    <Version>string 1</Version>
    <Identification>string 2</Identification>
    <Sender>string 3</Sender>
  </Header>
  <SalesOrderIdentifiers>
    <string>string 1</string>
    <string>string 2</string>
  </SalesOrderIdentifiers>
  <Footer>
    <TotalRecords>1</TotalRecords>
    <Records>2</Records>
  </Footer>
</GetSalesOrderListMessageResponse>