|-
/orders
Veldspecificaties
24 items| Veld | Beschrijving | Type | Verplicht | Beperkingen |
|---|---|---|---|---|
response.400 |
response 400
Functional status code and status message. |
Object | Nee | - |
response.400.status |
status
See functional status codes within the Documentation. |
Geheel getal | Ja | - |
response.400.statusMessage |
statusMessage
See functional status messages within the Documentation. |
Tekenreeks | Nee | - |
response.401 |
response 401
Functional status code and status message. |
Object | Nee | - |
response.401.status |
status
See functional status codes within the Documentation. |
Geheel getal | Ja | - |
response.401.statusMessage |
statusMessage
See functional status messages within the Documentation. |
Tekenreeks | Nee | - |
response.403 |
response 403
Functional status code and status message. |
Object | Nee | - |
response.403.status |
status
See functional status codes within the Documentation. |
Geheel getal | Ja | - |
response.403.statusMessage |
statusMessage
See functional status messages within the Documentation. |
Tekenreeks | Nee | - |
response.405 |
response 405
|
Object | Nee | - |
response.405.requestReferenceId |
requestReferenceId
Unique requestReferenceId for this request. This referenceId is used by the Event Mediator of the |
Tekenreeks | Ja | - |
response.405.purchaseOrderId |
purchaseOrderId
Purchase order number as defined by the |
Tekenreeks | Ja | - |
response.405.purchaseOrderType |
purchaseOrderType
Optional orderType field which can be used by suppliers to optimize processing of requests and confirmations. |
Tekenreeks | Nee | - |
response.405.contractId |
contractId
An optional unique identifier for a contract between |
Tekenreeks | Nee | - |
response.405.deliveryLocation |
deliveryLocation
An optional address at which warehouse location the Product (physical learning materials) should be delivered |
Object | Nee | - |
response.405.name |
name
To the attention of... |
Tekenreeks | Nee | - |
response.405.street |
street
|
Tekenreeks | Ja | - |
response.405.houseNumber |
houseNumber
the house number |
Geheel getal | Ja | - |
response.405.houseNumberSuffix |
houseNumberSuffix
additions to the house number, e.g. A or -104 |
Tekenreeks | Nee | - |
response.405.zipCode |
zipCode
|
Tekenreeks | Ja | - |
response.405.city |
city
|
Tekenreeks | Ja | - |
response.405.countryCode |
countryCode
According to Alpha-2 code from ISO 3166, e.g. NL |
Tekenreeks | Nee | - |
response.405.country |
country
|
Tekenreeks | Ja | - |
response.405.country |
country
|
Tekenreeks | Ja | - |
Verwachte statuscodes
5 items| Code | Betekenis | Uitkomst |
|---|---|---|
202 |
Accepted | Succes |
400 |
Bad Request | Fout |
401 |
Unauthorized | Fout |
403 |
Forbidden | Fout |
405 |
Method Not Allowed - Ordersysteem leermiddelen is provider of this endpoint | Fout |
Bronspecificatie (YAML)
Ruwe definitie uit het afsprakenstelsel.
/orders:
put:
summary: Accept order request
operationId: accept-order-request
tags:
- Ordersysteem leermiddelen
x-tags:
- Order
description: |-
As a `Bestelomgeving leermiddelen` place an OrderRequest at the `Ordersysteem leermiddelen` to purchase learning materials.
The `Ordersysteem leermiddelen` is the provider of this endpoint.
The `Bestelomgeving leermiddelen` should give a 405 HTTP status as result when called.
responses:
'202':
description: Accepted
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/StatusResponse'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/StatusResponse'
'403':
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/StatusResponse'
'405':
description: Method Not Allowed - Ordersysteem leermiddelen is provider of this endpoint
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/OrderRequest'
security:
- OAuth2:
- eduv.order