Skip to main content

Get consignment as JSON-LD

GET /tlip-connector/consignments

Responses:

StatusMeaningDescriptionSchema
200OKConsignment get response.JsonLdObject
400Bad RequestSomething went wrong with the request, see the error field for more details.BadRequestResponse
401UnauthorizedYou are not authorized to use the API or no credentials were supplied.UnauthorizedResponse
404Not FoundThe resource you tried to access does not exist, see the error field for more details.NotFoundResponse

Note: To perform this operation, you must be authenticated by means of one of the following methods: apiKeyQueryAuthScheme, apiKeyHeaderAuthScheme, jwtBearerAuthScheme, jwtCookieAuthScheme.

Code Sample:

const fetch = require('node-fetch');
const headers = {
'Accept':'application/json'
};

fetch('/tlip-connector/consignments',
{
method: 'GET',

headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});

Example responses 200 Response

{
"@context": "string",
"type": [
"string"
],
"id": "string",
"property1": null,
"property2": null
}