GET SalesOrder/GetNextSalesOrderNumber?Location={Location}
Returns the next available sales order number.
Request Information
URI Parameters
| Name | Description | Type | Additional Information |
|---|---|---|---|
| Location |
Location logged into or the location the sales order will be created in. |
string |
Required |
Body Parameters
Response Information
Resource Description
Returns the next available sales order number.
AgvSalesOrderMisc| Name | Description | Type | Additional Information |
|---|---|---|---|
| Status |
Status of the API call. |
string | |
| Message |
Message of the API call. |
string | |
| NextSalesOrderNumber | integer |
Response Formats
application/json, text/json
Sample:
{
"Status": "sample string 1",
"Message": "sample string 2",
"NextSalesOrderNumber": 3
}
application/xml, text/xml
Sample:
<AgvSalesOrderMisc xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgvWebAPICSharp.Models.Inventory.SalesOrder"> <Message>sample string 2</Message> <NextSalesOrderNumber>3</NextSalesOrderNumber> <Status>sample string 1</Status> </AgvSalesOrderMisc>