GET
/document-types/{code}
curl \
-X GET https://soget-api-integration.azure-api.net/api-referential-unitary/v1/document-types/{code} \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Ocp-Apim-Subscription-Key: $API_KEY"
Response examples (200)
{
"code": 705,
"name": "Bill of lading",
"description": "Negotiable document/message which evidences a contract of carriage by sea and the taking over or loading of goods by carrier, and by which carrier undertakes to deliver goods against surrender of the document A provision in the document that goods are to be delivered to the order of a named person, or to order, or to bearer, constitutes such an undertaking"
}
Response examples (400)
{
"status": "400",
"timestamp": "2022-10-18T14:53:52.239Z",
"code": "R001",
"message": "Information not found."
}