POST register/SavePurchaseOrder
Request Information
URI Parameters
None.
Body Parameters
PurchaseOrder| Name | Description | Type | Additional information |
|---|---|---|---|
| PurchaseOrderID | string |
None. |
|
| Reference | string |
None. |
|
| VendorID | string |
None. |
|
| Cost | decimal number |
None. |
|
| CostReceived | decimal number |
None. |
|
| Terms | string |
None. |
|
| ShipVia | string |
None. |
|
| ShipTo1 | string |
None. |
|
| ShipTo2 | string |
None. |
|
| ShipTo3 | string |
None. |
|
| ShipTo4 | string |
None. |
|
| ShipTo5 | string |
None. |
|
| Instructions | string |
None. |
|
| Status | string |
None. |
|
| StatusLong | string |
None. |
|
| Items | Collection of PurchaseOrderItem |
None. |
Request Formats
application/json, text/json
Sample:
{
"PurchaseOrderID": "sample string 1",
"OrderDate": "10-31-2026 00:09:00",
"Reference": "sample string 3",
"VendorID": "sample string 4",
"Cost": 5.0,
"CostReceived": 6.0,
"Terms": "sample string 7",
"DueDate": "10-31-2026 00:09:00",
"ShipVia": "sample string 9",
"ShipTo1": "sample string 10",
"ShipTo2": "sample string 11",
"ShipTo3": "sample string 12",
"ShipTo4": "sample string 13",
"ShipTo5": "sample string 14",
"Instructions": "sample string 15",
"Status": "sample string 16",
"StatusLong": "sample string 17",
"LastModified": "10-31-2026 00:09:00",
"Items": [
{
"PurchaseOrderID": "sample string 1",
"ItemID": "sample string 2",
"ItemID2": "sample string 3",
"ItemID3": "sample string 4",
"Name": "sample string 5",
"Description": "sample string 6",
"DepartmentID": "sample string 7",
"CategoryID": "sample string 8",
"Location": "sample string 9",
"Line": 10,
"QuantityOrdered": 11,
"QuantityReceived": 12,
"CostPer": 13.0,
"ExtendedCost": 143.0,
"VendorPartNumber": "sample string 14",
"Used": true,
"Price": 16.0,
"CurrentStock": 17,
"ProjectedStock": 18
},
{
"PurchaseOrderID": "sample string 1",
"ItemID": "sample string 2",
"ItemID2": "sample string 3",
"ItemID3": "sample string 4",
"Name": "sample string 5",
"Description": "sample string 6",
"DepartmentID": "sample string 7",
"CategoryID": "sample string 8",
"Location": "sample string 9",
"Line": 10,
"QuantityOrdered": 11,
"QuantityReceived": 12,
"CostPer": 13.0,
"ExtendedCost": 143.0,
"VendorPartNumber": "sample string 14",
"Used": true,
"Price": 16.0,
"CurrentStock": 17,
"ProjectedStock": 18
}
]
}
application/xml
Sample:
text/xml
Sample:
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
JsonResultOfPurchaseOrder| Name | Description | Type | Additional information |
|---|---|---|---|
| Content | PurchaseOrder |
None. |
|
| SerializerSettings | JsonSerializerSettings |
None. |
|
| Encoding | Encoding |
None. |
|
| Request | HttpRequestMessage |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.