Webservice-test.Printservice
Hollandridderkerk©
home | SendOrder | SendFile | uStore SSO
Title sendorder
URL /api/sendorder/[api_token]
Method POST
URL Params Required: (The API-token will be provided by Hollandridderkerk)
API_token: [string]
Example: 1BoUxzfPVTweOK86yx1FlFjdaBWnhAsS69yxfZoCt1xEE9QWF7IK0ZuNiW4R
Data Params Information: The data format and content must be submitted in consultation with Hollandridderkerk
Example:
[{
  "ordernumber": "1234561",
  "orderdate": "2018-07-12",
  "company": "Hollandridderkerk",
  "name": "Dhr. J. Janssen",
  "address": "Kolenbranderstraat 14",
  "zipcode": "2982 AT",
  "city": "Ridderkerk",
  "country": "Nederland",
  "products": [{
                "productcode": "9789401440776 ",
                "amount": "1",
                "description": "The Bucketlist"
              }]
}]
Success Response Type: JSON
Code: 201
Content: ok
Example:
{
  "data": "ok",
  "status": 201
}
Error Response Type: JSON
Code: 403
Content: Unauthorized
Example:
{
  "data": "Unauthorized",
  "status": 403
}
Error Response Type: JSON
Code: 500
Content: Database error
Example:
{
  "data": "Database error",
  "status": 500
}