Retrieves the collection of ITOrder resources.
ITOrder collection
{- "hydra:member": [
- {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "uuid": "string",
- "direction": "outgoing",
- "format": "UBL 2.1 XML",
- "number": "string",
- "date": "string",
- "sender": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "name": "string",
- "identifier": "string"
}, - "recipient": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "name": "string",
- "identifier": "string"
}, - "createdAt": "string",
- "downloaded": true,
- "peppolMessage": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "uuid": "string",
- "createdAt": "string",
- "requestSentAt": "string",
- "responseReceivedAt": "string",
- "success": true,
- "errorCode": "string"
}, - "processType": "order only",
- "processInformation": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "documentType": "initial",
- "orderStatus": "revised",
- "documentReference": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "uuid": "string",
- "direction": "outgoing",
- "format": "UBL 2.1 XML",
- "number": "string",
- "date": "string",
- "sender": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "name": "string",
- "identifier": "string"
}, - "recipient": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "name": "string",
- "identifier": "string"
}, - "createdAt": "string",
- "downloaded": true,
- "peppolMessage": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "uuid": "string",
- "createdAt": "string",
- "requestSentAt": "string",
- "responseReceivedAt": "string",
- "success": true,
- "errorCode": "string"
}, - "processType": "order only",
- "processInformation": { },
- "responses": [
- {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "uuid": "string",
- "direction": "outgoing",
- "format": "UBL 2.1 XML",
- "number": "string",
- "date": "string",
- "sender": {
- "@context": null,
- "@id": null,
- "@type": null,
- "name": null,
- "identifier": null
}, - "recipient": {
- "@context": null,
- "@id": null,
- "@type": null,
- "name": null,
- "identifier": null
}, - "createdAt": "string",
- "downloaded": true,
- "peppolMessage": {
- "@context": null,
- "@id": null,
- "@type": null,
- "uuid": null,
- "createdAt": null,
- "requestSentAt": null,
- "responseReceivedAt": null,
- "success": null,
- "errorCode": null
}, - "processType": "order only",
- "processInformation": {
- "@context": null,
- "@id": null,
- "@type": null,
- "documentType": null,
- "responseCode": null,
- "orderResponseStatus": null
}, - "order": { }
}
]
}
}, - "responses": [
- {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "uuid": "string",
- "direction": "outgoing",
- "format": "UBL 2.1 XML",
- "number": "string",
- "date": "string",
- "sender": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "name": "string",
- "identifier": "string"
}, - "recipient": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "name": "string",
- "identifier": "string"
}, - "createdAt": "string",
- "downloaded": true,
- "peppolMessage": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "uuid": "string",
- "createdAt": "string",
- "requestSentAt": "string",
- "responseReceivedAt": "string",
- "success": true,
- "errorCode": "string"
}, - "processType": "order only",
- "processInformation": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "documentType": "order received",
- "responseCode": "AB",
- "orderResponseStatus": "accepted"
}, - "order": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "uuid": "string",
- "direction": "outgoing",
- "format": "UBL 2.1 XML",
- "number": "string",
- "date": "string",
- "sender": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "name": "string",
- "identifier": "string"
}, - "recipient": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "name": "string",
- "identifier": "string"
}, - "createdAt": "string",
- "downloaded": true,
- "peppolMessage": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "uuid": "string",
- "createdAt": "string",
- "requestSentAt": "string",
- "responseReceivedAt": "string",
- "success": true,
- "errorCode": "string"
}, - "processType": "order only",
- "processInformation": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "documentType": "initial",
- "orderStatus": "revised",
- "documentReference": { }
}, - "responses": [
- { }
]
}
}
]
}
], - "hydra:totalItems": 0,
- "hydra:view": {
- "@id": "/entity/1",
- "@type": "string",
- "hydra:first": "/entity/1",
- "hydra:last": "/entity/1",
- "hydra:previous": "/entity/1",
- "hydra:next": "/entity/1"
}, - "hydra:search": {
- "@type": "string",
- "hydra:template": "string",
- "hydra:variableRepresentation": "string",
- "hydra:mapping": [
- {
- "@type": "string",
- "variable": "string",
- "property": "string",
- "required": true
}
]
}
}
Mark the order as downloaded. This is useful to keep track of the document that have been received by the user.
ITOrder resource created
Invalid input
Unprocessable entity
{- "downloaded": true,
- "uuids": [
- "string"
]
}
null
Import a received NSO order in either the original XML format or the JSON transposition.
You must send the XML or JSON as the request body along with the right Content-Type
header (application/xml
or application/json
).
The new ITOrder resource
ITOrder resource created
Invalid input
Unprocessable entity
null
{- "uuid": "string",
- "direction": "outgoing",
- "format": "UBL 2.1 XML",
- "number": "string",
- "date": "string",
- "sender": {
- "name": "string",
- "identifier": "string"
}, - "recipient": {
- "name": "string",
- "identifier": "string"
}, - "createdAt": "string",
- "downloaded": true,
- "peppolMessage": {
- "uuid": "string",
- "createdAt": "string",
- "requestSentAt": "string",
- "responseReceivedAt": "string",
- "success": true,
- "errorCode": "string"
}, - "processType": "order only",
- "processInformation": {
- "documentType": "initial",
- "orderStatus": "revised",
- "documentReference": {
- "uuid": "string",
- "direction": "outgoing",
- "format": "UBL 2.1 XML",
- "number": "string",
- "date": "string",
- "sender": {
- "name": "string",
- "identifier": "string"
}, - "recipient": {
- "name": "string",
- "identifier": "string"
}, - "createdAt": "string",
- "downloaded": true,
- "peppolMessage": {
- "uuid": "string",
- "createdAt": "string",
- "requestSentAt": "string",
- "responseReceivedAt": "string",
- "success": true,
- "errorCode": "string"
}, - "processType": "order only",
- "processInformation": { },
- "responses": [
- {
- "uuid": "string",
- "direction": "outgoing",
- "format": "UBL 2.1 XML",
- "number": "string",
- "date": "string",
- "sender": {
- "name": "string",
- "identifier": "string"
}, - "recipient": {
- "name": "string",
- "identifier": "string"
}, - "createdAt": "string",
- "downloaded": true,
- "peppolMessage": {
- "uuid": "string",
- "createdAt": "string",
- "requestSentAt": "string",
- "responseReceivedAt": "string",
- "success": true,
- "errorCode": "string"
}, - "processType": "order only",
- "processInformation": {
- "documentType": "order received",
- "responseCode": "AB",
- "orderResponseStatus": "accepted"
}, - "order": { }
}
]
}
}, - "responses": [
- {
- "uuid": "string",
- "direction": "outgoing",
- "format": "UBL 2.1 XML",
- "number": "string",
- "date": "string",
- "sender": {
- "name": "string",
- "identifier": "string"
}, - "recipient": {
- "name": "string",
- "identifier": "string"
}, - "createdAt": "string",
- "downloaded": true,
- "peppolMessage": {
- "uuid": "string",
- "createdAt": "string",
- "requestSentAt": "string",
- "responseReceivedAt": "string",
- "success": true,
- "errorCode": "string"
}, - "processType": "order only",
- "processInformation": {
- "documentType": "order received",
- "responseCode": "AB",
- "orderResponseStatus": "accepted"
}, - "order": {
- "uuid": "string",
- "direction": "outgoing",
- "format": "UBL 2.1 XML",
- "number": "string",
- "date": "string",
- "sender": {
- "name": "string",
- "identifier": "string"
}, - "recipient": {
- "name": "string",
- "identifier": "string"
}, - "createdAt": "string",
- "downloaded": true,
- "peppolMessage": {
- "uuid": "string",
- "createdAt": "string",
- "requestSentAt": "string",
- "responseReceivedAt": "string",
- "success": true,
- "errorCode": "string"
}, - "processType": "order only",
- "processInformation": {
- "documentType": "initial",
- "orderStatus": "revised",
- "documentReference": { }
}, - "responses": [
- { }
]
}
}
]
}
Send a NSO order in either the original XML format or the JSON transposition.
You must send the XML or JSON as the request body along with the right Content-Type
header (application/xml
or application/json
).
Optionally you can send the X-Validation-Rule: {validation-rule-code}
where {validation-rule-code}
is one of the available validation rules you can use.
You can retrieve a list of the available validation rules using the API GET /validation-rules
.
By default the validation rule is autodetected using the latest rule available for the given document.
The new ITOrder resource
ITOrder resource created
Invalid input
Unprocessable entity
null
{- "uuid": "string",
- "direction": "outgoing",
- "format": "UBL 2.1 XML",
- "number": "string",
- "date": "string",
- "sender": {
- "name": "string",
- "identifier": "string"
}, - "recipient": {
- "name": "string",
- "identifier": "string"
}, - "createdAt": "string",
- "downloaded": true,
- "peppolMessage": {
- "uuid": "string",
- "createdAt": "string",
- "requestSentAt": "string",
- "responseReceivedAt": "string",
- "success": true,
- "errorCode": "string"
}, - "processType": "order only",
- "processInformation": {
- "documentType": "initial",
- "orderStatus": "revised",
- "documentReference": {
- "uuid": "string",
- "direction": "outgoing",
- "format": "UBL 2.1 XML",
- "number": "string",
- "date": "string",
- "sender": {
- "name": "string",
- "identifier": "string"
}, - "recipient": {
- "name": "string",
- "identifier": "string"
}, - "createdAt": "string",
- "downloaded": true,
- "peppolMessage": {
- "uuid": "string",
- "createdAt": "string",
- "requestSentAt": "string",
- "responseReceivedAt": "string",
- "success": true,
- "errorCode": "string"
}, - "processType": "order only",
- "processInformation": { },
- "responses": [
- {
- "uuid": "string",
- "direction": "outgoing",
- "format": "UBL 2.1 XML",
- "number": "string",
- "date": "string",
- "sender": {
- "name": "string",
- "identifier": "string"
}, - "recipient": {
- "name": "string",
- "identifier": "string"
}, - "createdAt": "string",
- "downloaded": true,
- "peppolMessage": {
- "uuid": "string",
- "createdAt": "string",
- "requestSentAt": "string",
- "responseReceivedAt": "string",
- "success": true,
- "errorCode": "string"
}, - "processType": "order only",
- "processInformation": {
- "documentType": "order received",
- "responseCode": "AB",
- "orderResponseStatus": "accepted"
}, - "order": { }
}
]
}
}, - "responses": [
- {
- "uuid": "string",
- "direction": "outgoing",
- "format": "UBL 2.1 XML",
- "number": "string",
- "date": "string",
- "sender": {
- "name": "string",
- "identifier": "string"
}, - "recipient": {
- "name": "string",
- "identifier": "string"
}, - "createdAt": "string",
- "downloaded": true,
- "peppolMessage": {
- "uuid": "string",
- "createdAt": "string",
- "requestSentAt": "string",
- "responseReceivedAt": "string",
- "success": true,
- "errorCode": "string"
}, - "processType": "order only",
- "processInformation": {
- "documentType": "order received",
- "responseCode": "AB",
- "orderResponseStatus": "accepted"
}, - "order": {
- "uuid": "string",
- "direction": "outgoing",
- "format": "UBL 2.1 XML",
- "number": "string",
- "date": "string",
- "sender": {
- "name": "string",
- "identifier": "string"
}, - "recipient": {
- "name": "string",
- "identifier": "string"
}, - "createdAt": "string",
- "downloaded": true,
- "peppolMessage": {
- "uuid": "string",
- "createdAt": "string",
- "requestSentAt": "string",
- "responseReceivedAt": "string",
- "success": true,
- "errorCode": "string"
}, - "processType": "order only",
- "processInformation": {
- "documentType": "initial",
- "orderStatus": "revised",
- "documentReference": { }
}, - "responses": [
- { }
]
}
}
]
}
Retrieves a ITOrder resource.
ITOrder resource
Resource not found
{- "@context": "string",
- "@id": "string",
- "@type": "string",
- "uuid": "string",
- "direction": "outgoing",
- "format": "UBL 2.1 XML",
- "number": "string",
- "date": "string",
- "sender": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "name": "string",
- "identifier": "string"
}, - "recipient": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "name": "string",
- "identifier": "string"
}, - "createdAt": "string",
- "downloaded": true,
- "peppolMessage": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "uuid": "string",
- "createdAt": "string",
- "requestSentAt": "string",
- "responseReceivedAt": "string",
- "success": true,
- "errorCode": "string"
}, - "processType": "order only",
- "processInformation": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "documentType": "initial",
- "orderStatus": "revised",
- "documentReference": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "uuid": "string",
- "direction": "outgoing",
- "format": "UBL 2.1 XML",
- "number": "string",
- "date": "string",
- "sender": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "name": "string",
- "identifier": "string"
}, - "recipient": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "name": "string",
- "identifier": "string"
}, - "createdAt": "string",
- "downloaded": true,
- "peppolMessage": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "uuid": "string",
- "createdAt": "string",
- "requestSentAt": "string",
- "responseReceivedAt": "string",
- "success": true,
- "errorCode": "string"
}, - "processType": "order only",
- "processInformation": { },
- "responses": [
- {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "uuid": "string",
- "direction": "outgoing",
- "format": "UBL 2.1 XML",
- "number": "string",
- "date": "string",
- "sender": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "name": "string",
- "identifier": "string"
}, - "recipient": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "name": "string",
- "identifier": "string"
}, - "createdAt": "string",
- "downloaded": true,
- "peppolMessage": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "uuid": "string",
- "createdAt": "string",
- "requestSentAt": "string",
- "responseReceivedAt": "string",
- "success": true,
- "errorCode": "string"
}, - "processType": "order only",
- "processInformation": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "documentType": "order received",
- "responseCode": "AB",
- "orderResponseStatus": "accepted"
}, - "order": { }
}
]
}
}, - "responses": [
- {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "uuid": "string",
- "direction": "outgoing",
- "format": "UBL 2.1 XML",
- "number": "string",
- "date": "string",
- "sender": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "name": "string",
- "identifier": "string"
}, - "recipient": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "name": "string",
- "identifier": "string"
}, - "createdAt": "string",
- "downloaded": true,
- "peppolMessage": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "uuid": "string",
- "createdAt": "string",
- "requestSentAt": "string",
- "responseReceivedAt": "string",
- "success": true,
- "errorCode": "string"
}, - "processType": "order only",
- "processInformation": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "documentType": "order received",
- "responseCode": "AB",
- "orderResponseStatus": "accepted"
}, - "order": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "uuid": "string",
- "direction": "outgoing",
- "format": "UBL 2.1 XML",
- "number": "string",
- "date": "string",
- "sender": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "name": "string",
- "identifier": "string"
}, - "recipient": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "name": "string",
- "identifier": "string"
}, - "createdAt": "string",
- "downloaded": true,
- "peppolMessage": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "uuid": "string",
- "createdAt": "string",
- "requestSentAt": "string",
- "responseReceivedAt": "string",
- "success": true,
- "errorCode": "string"
}, - "processType": "order only",
- "processInformation": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "documentType": "initial",
- "orderStatus": "revised",
- "documentReference": { }
}, - "responses": [
- { }
]
}
}
]
}
You will receive a 302 redirect response with the Location header pointing to the downloadable file. Additionally you get the URL to the downloaded file in the JSON response body.
You can ask for the HTML or the PDF version of the printed document by sending header Accept: text/html
or Accept: application/pdf
.
You can avoid the 302 redirect response by sending header X-WithRedirect: false
ITOrder resource
Resource not found