POST api/orders/postSimple/{programid}
Place an order into the veritas system
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| programid | Programid from veritas |
Define this parameter in the request URI. |
| value | Order info to be placed into system in json format
Example:
{"orderId":null,"orderType":null,"producerId":null,"orderedBy":{"name":null,"companyName":null,"address1":"913
Commerce Ct","address2":null,"address3":null,"city":"Buffalo
Grove","state":"IL","country":"US","zip":null,"phone":"5555555","email":"josh.d.kofoot@rrd.comm","comments":null},"shipTo":{"name":null,"companyName":null,"address1":"913
Commerce Ct","address2":null,"address3":null,"city":"Buffalo
Grove","state":"IL","country":"US","zip":null,"phone":"5555555","email":"josh.d.kofoot@rrd.comm","comments":null},"shipper":{"freightCode":"UPS
Ground","freightCodeDescription":null,"shipComments":null,"deliveryDate":null},"orderItems":[{"CartID":null,"InventoryID":392635,"Quantity":1,"UnitFulfillmentCost":null,"ModUser":null,"CreateUser":null,"ParentID":null}]} |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
Sample not available.
Response Information
New orderId returned in message
Response body formats
application/json, text/json
Sample:
{
"success": true,
"message": "sample string 2",
"data": [
{},
{},
{}
]
}