Skip to content

Get a PO

Request

Gets the PO details for the given poNumber

Security
Bearer
Path
poNumberstringrequired
curl -i -X GET \
  'https://developer.sustainabilitymaster.ai/_mock/openapi/api/DueDiligence/Po/{poNumber}' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

OK

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.

ponumberstring or null

Gets the purchase-order number.

documentStatusstring or null

Gets the document status.

podatetimestring or null, (date-time)

Gets the purchase-order date and time.

edddatetimestring or null, (date-time)

Gets the expected delivery date and time.

deliveryLocationstring or null

Gets the delivery location.

poItemsArray of objects or null(PurchaseOrderItemResponse)

Gets the purchase-order line items.

<property name>anyadditional property
Response
{
  "senderId": "string",
  "senderName": "string",
  "recipientId": "string",
  "recipientName": "string",
  "ponumber": "string",
  "documentStatus": "string",
  "podatetime": "2019-08-24T14:15:22Z",
  "edddatetime": "2019-08-24T14:15:22Z",
  "deliveryLocation": "string",
  "poItems": [
    {
      "ponumber": "string",
      "itemHsncode": "string",
      "itemGtincode": "string",
      "quantity": 0.1,
      "polineNo": "string",
      "itemDesc": "string",
      "unit": "string",
      "tranId": "string",
      "skuid": "string",
      "id": 0,
      "property1": null,
      "property2": null
    }
  ],
  "property1": null,
  "property2": null
}