Skip to content

Create a DESADV

Request

Creates a DESADV with its party, address and items. Pass centerId to map it to a center.

Security
Bearer
Body
senderIdstring or null

Gets the sender identifier.

senderNamestring or null

Gets the sender name.

recipientIdstring or null

Gets the recipient identifier.

recipientNamestring or null

Gets the recipient name.

documentStatusstring or null

Gets the document status.

poNumberRefstring or null

Gets the referenced purchase-order number.

shipmentDatestring, (date-time)

Gets the shipment date.

latestDeliveryDatestring, (date-time)

Gets the latest delivery date.

partyobject(DesadvPartyRequest)

Represents the parties of a DESADV.

addressobject(DesadvAddressRequest)

Represents the party addresses of a DESADV.

desadvItemsArray of objects or null(DesadvItemRequest)

Gets the DESADV line items. On update, items are matched by Id (Id 0 adds a new item) and never deleted.

desadvNumberstring, [ 0 .. 50 ] charactersrequired

Gets the DESADV number.

centerIdstring or null, (uuid)

Gets the optional center to map the DESADV to, so it appears in center-filtered lists.

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"
  }'

Responses

Created

Response
No content