SendOrder
Manually send an Order of the current business date to kitchen at the location.
Request Parameters
- OrderId
long— Specify the Id of the Order you would like to manual send.
Response Parameters
- Message
string— Returns a PAR POS Error message if the request did not go through. Otherwise, this field will be null. - ResultCode
int— Returns one of the following:- 0 — Success
- 1 — Unknown Error
- 2 — Invalid Request
- 3 — Server Unavailable
- 4 — Access Denied
- 101 — Order sent
- 102 — Order not found
- 103 — Order is not flagged for Manual Send
- 104 — The store did not respond, please try again.
Headers
- Type: stringS
O A P Action required
Body
required
application/json
SOAP envelope containing the SendOrder request with OrderId.
Responses
- text/xml; charset=utf-8
Request Example for post/SendOrder
cURL
curl --request POST \
--url 'https://{server_name_goes_here}.parpos.com/Ordering.svc?SendOrder' \
--header 'Content-Type: text/xml; charset=utf-8' \
--header 'AccessToken: your-access-token' \
--header 'LocationToken: your-location-token' \
--header 'SOAPAction: "http://www.brinksoftware.com/webservices/ordering/20140219/IOrderingWebService/SendOrder"' \
--data '<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://www.brinksoftware.com/webservices/ordering/20140219">
<soapenv:Header/>
<soapenv:Body>
<ns:SendOrder>
<ns:request>
<ns:OrderId>12345</ns:OrderId>
</ns:request>
</ns:SendOrder>
</soapenv:Body>
</soapenv:Envelope>'
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body>
<SendOrderResponse xmlns="http://www.brinksoftware.com/webservices/ordering/20140219">
<SendOrderResult>
<Message>Success</Message>
<ResultCode>0</ResultCode>
</SendOrderResult>
</SendOrderResponse>
</s:Body>
</s:Envelope>