Skip to content

Get POs

Request

Returns the list of PO when none of the parameters are submitted. Returns the center related PO when the centerId is provided. Returns the Inboundoutbound PO for the provided centerId

Security
Bearer
Query
centerIdstring
directionstring
curl -i -X GET \
  'https://developer.sustainabilitymaster.ai/_mock/openapi/api/DueDiligence/Po?centerId=string&direction=string' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

OK

Body
Array [
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
  }
]