PUT api/CustomerOrder?SessionID={SessionID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
SessionID

string

Required

Body Parameters

CustomerOrderAddObject
NameDescriptionTypeAdditional information
CustomerID

string

None.

LocationID

string

None.

OrderDate

date

None.

UserID

string

None.

PlacedByMethod

string

None.

PaymentTerms

string

None.

InvoiceNumber

string

None.

DeliveryDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerID": "sample string 1",
  "LocationID": "sample string 2",
  "OrderDate": "2025-12-09T18:47:31.7558962-08:00",
  "UserID": "sample string 4",
  "PlacedByMethod": "sample string 5",
  "PaymentTerms": "sample string 6",
  "InvoiceNumber": "sample string 7",
  "DeliveryDate": "2025-12-09T18:47:31.7558962-08:00"
}

application/xml, text/xml

Sample:
<CustomerOrderController.CustomerOrderAddObject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MobileAPI">
  <CustomerID>sample string 1</CustomerID>
  <DeliveryDate>2025-12-09T18:47:31.7558962-08:00</DeliveryDate>
  <InvoiceNumber>sample string 7</InvoiceNumber>
  <LocationID>sample string 2</LocationID>
  <OrderDate>2025-12-09T18:47:31.7558962-08:00</OrderDate>
  <PaymentTerms>sample string 6</PaymentTerms>
  <PlacedByMethod>sample string 5</PlacedByMethod>
  <UserID>sample string 4</UserID>
</CustomerOrderController.CustomerOrderAddObject>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CustomerOrderNewReturnObj
NameDescriptionTypeAdditional information
ReturnCode

integer

None.

ReturnMessage

string

None.

CustomerOrderID

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ReturnCode": 1,
  "ReturnMessage": "sample string 2",
  "CustomerOrderID": "sample string 3"
}

application/xml, text/xml

Sample:
<CustomerOrderController.CustomerOrderNewReturnObj xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MobileAPI">
  <CustomerOrderID>sample string 3</CustomerOrderID>
  <ReturnCode>1</ReturnCode>
  <ReturnMessage>sample string 2</ReturnMessage>
</CustomerOrderController.CustomerOrderNewReturnObj>