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,
- "processType": "order only",
- "peppolMessage": { },
- "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": { },
- "processType": "order only",
- "processInformation": { },
- "order": { }
}
]
}
], - "hydra:totalItems": 0,
- "hydra:view": {
- "@id": "string",
- "type": "string",
- "hydra:first": "string",
- "hydra:last": "string",
- "hydra:previous": "string",
- "hydra:next": "string"
}, - "hydra:search": {
- "@type": "string",
- "hydra:template": "string",
- "hydra:variableRepresentation": "string",
- "hydra:mapping": [
- {
- "@type": "string",
- "variable": "string",
- "property": "string",
- "required": true
}
]
}
}
This is useful to keep track of the document that have been received by the user.
ITOrder resource created
Invalid input
An error occurred
{- "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
An error occurred
{- "ownerId": 0,
- "direction": 0,
- "payloadPathXml": "string",
- "payloadPathJson": "string",
- "payloadFormat": "string",
- "documentNumber": "string",
- "documentDate": "2019-08-24T14:15:22Z",
- "senderId": "string",
- "senderName": "string",
- "recipientId": "string",
- "recipientName": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "peppolMessage": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "ownerId": 0,
- "documentType": "string",
- "direction": 0,
- "senderParticipantId": "string",
- "receiverParticipantId": "string",
- "success": false,
- "as4MessageId": "string",
- "as4ErrorCode": "string",
- "destinationAccessPointUrl": "string",
- "rawRequestPath": "string",
- "rawResponsePath": "string",
- "requestAt": "2019-08-24T14:15:22Z",
- "responseAt": "2019-08-24T14:15:22Z",
- "c2Id": "string",
- "c3Id": "string",
- "docTypeIdScheme": "string",
- "docTypeIdValue": "string",
- "processIdScheme": "string",
- "processIdValue": "string",
- "transportProfile": "string",
- "c1CountryCode": "string",
- "c4CountryCode": "string",
- "tenantIdentifier": "BE"
}, - "processType": "string",
- "orderDocumentType": "string",
- "acl": [
- {
- "document": {
- "peppolMessage": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "ownerId": 0,
- "documentType": "string",
- "direction": 0,
- "senderParticipantId": "string",
- "receiverParticipantId": "string",
- "success": false,
- "as4MessageId": "string",
- "as4ErrorCode": "string",
- "destinationAccessPointUrl": "string",
- "rawRequestPath": "string",
- "rawResponsePath": "string",
- "requestAt": "2019-08-24T14:15:22Z",
- "responseAt": "2019-08-24T14:15:22Z",
- "c2Id": "string",
- "c3Id": "string",
- "docTypeIdScheme": "string",
- "docTypeIdValue": "string",
- "processIdScheme": "string",
- "processIdValue": "string",
- "transportProfile": "string",
- "c1CountryCode": "string",
- "c4CountryCode": "string",
- "tenantIdentifier": "BE"
}, - "downloaded": true,
- "downloadedAt": "2019-08-24T14:15:22Z",
- "tenantIdentifier": "BE"
}
}
], - "orderStatus": "string",
- "downloadedAt": "2019-08-24T14:15:22Z",
- "downloaded": false,
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "tenantIdentifier": "BE"
}
{- "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,
- "processType": "order only",
- "peppolMessage": { },
- "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": { },
- "processType": "order only",
- "processInformation": { },
- "order": { }
}
]
}
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.
ITOrder resource created
Invalid input
An error occurred
{- "@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,
- "processType": "order only",
- "peppolMessage": { },
- "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": { },
- "processType": "order only",
- "processInformation": { },
- "order": { }
}
]
}
Retrieves a ITOrder resource.
ITOrder 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,
- "processType": "order only",
- "peppolMessage": { },
- "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": { },
- "processType": "order only",
- "processInformation": { },
- "order": { }
}
]
}
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
Not found
{- "@context": "string",
- "@id": "string",
- "@type": "string",
- "title": "string",
- "detail": "string",
- "status": 404,
- "instance": "string",
- "type": "string",
- "description": "string"
}