Skip to main content

Create Master Data

POST 

https://sight.inspectorio.com/api/v1/master-data

Create a new master data entry

Request​

Bodyrequired

    uidstringrequired

    Unique identifier for the master data entry

    Example: UID_ABC_123
    rawDataobjectrequired

    Raw data content in any valid JSON format

    Example: {"purchaseOrderNumber":"PO_123456","vendorSubmitDate":"2024-04-09","estimatedCargoReadyDate":"2024-04-11","shipmentLoadType":"CY","shipmentBookingId":"SB_ABC_123","shipmentBookingStatus":"PackageBookingStatusAcceptedEvent","targetOrgId":"custom_01"}
    versionstringnullable

    Optional version identifier for the data format

    Example: shipment-booking-v1.0.0

Responses​

Master data created successfully

Schema
    data object
    updatedDatedate-time
    Example: 2025-02-14T06:52:42.073326+00:00
    versionstring
    Example: shipment-booking-v1.0.0
    uidstring
    Example: UID_ABC_123
    rawDataobject

    Raw data content in any valid JSON format

    Example: {"purchaseOrderNumber":"PO_123456","vendorSubmitDate":"2024-04-09","estimatedCargoReadyDate":"2024-04-11","shipmentLoadType":"CY","shipmentBookingId":"SB_ABC_123","shipmentBookingStatus":"PackageBookingStatusAcceptedEvent","targetOrgId":"custom_01"}
    createdDatedate-time
    Example: 2025-02-14T06:52:42.073319+00:00

Authorization: apiKey

name: apiKeytype: apiKeyin: header
curl -L 'https://sight.inspectorio.com/api/v1/master-data' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'apiKey: <apiKey>' \
-d '{
"uid": "UID_ABC_123",
"rawData": {
"purchaseOrderNumber": "PO_123456",
"vendorSubmitDate": "2024-04-09",
"estimatedCargoReadyDate": "2024-04-11",
"shipmentLoadType": "CY",
"shipmentBookingId": "SB_ABC_123",
"shipmentBookingStatus": "PackageBookingStatusAcceptedEvent",
"targetOrgId": "custom_01"
},
"version": "shipment-booking-v1.0.0"
}'
Request Collapse all
Base URL
https://sight.inspectorio.com
Auth
Body required
{
  "uid": "UID_ABC_123",
  "rawData": {
    "purchaseOrderNumber": "PO_123456",
    "vendorSubmitDate": "2024-04-09",
    "estimatedCargoReadyDate": "2024-04-11",
    "shipmentLoadType": "CY",
    "shipmentBookingId": "SB_ABC_123",
    "shipmentBookingStatus": "PackageBookingStatusAcceptedEvent",
    "targetOrgId": "custom_01"
  },
  "version": "shipment-booking-v1.0.0"
}
ResponseClear

Click the Send API Request button above and see the response here!