Creates a DESADV with its party, address and items. Pass centerId to map it to a center.
Security
Bearer
Gets the DESADV line items. On update, items are matched by Id (Id 0 adds a new item) and never deleted.
- Mock serverhttps://developer.sustainabilitymaster.ai/_mock/openapi/api/DueDiligence/Desadv
- https://developer.sustainabilitymaster.ai/apiportalhttps://developer.sustainabilitymaster.ai/apiportal/api/DueDiligence/Desadv
curl -i -X POST \
https://developer.sustainabilitymaster.ai/_mock/openapi/api/DueDiligence/Desadv \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"senderId": "string",
"senderName": "string",
"recipientId": "string",
"recipientName": "string",
"documentStatus": "string",
"poNumberRef": "string",
"shipmentDate": "2019-08-24T14:15:22Z",
"latestDeliveryDate": "2019-08-24T14:15:22Z",
"party": {
"buyerId": "string",
"supplierGlnid": "string",
"consigneeId": "string",
"carrierId": "string",
"buyerName": "string",
"supplierName": "string",
"consigneeName": "string",
"carrierName": "string"
},
"address": {
"buyerStAddrs": "string",
"supplierStAddrs": "string",
"consigneeStAddrs": "string",
"carrierStAddrs": "string",
"buyerCity": "string",
"supplierCity": "string",
"consigneeCity": "string",
"carrierCity": "string",
"buyerZipCode": "string",
"supplierZipCode": "string",
"consigneeZipCode": "string",
"carrierStZipCode": "string",
"buyerCountry": "string",
"supplierCountry": "string",
"consigneeCountry": "string",
"carrierStCountry": "string"
},
"desadvItems": [
{
"id": 0,
"desadvItemId": "string",
"poNumberRef": "string",
"itemHsnCode": "string",
"itemGtinCode": "string",
"unit": "string",
"dispatchQuantity": 0.1,
"eutracesReferenceId": "string",
"eutracesVerificationNumber": "string",
"carrierCode": "string",
"ssccode": "string",
"containerId": "string",
"packageId": "string"
}
],
"desadvNumber": "string",
"centerId": "282cb687-20cd-4f37-9b5b-b30c06eb5b1b"
}'