CreationUnsuccessful event data

The customs shipment creation unsuccessful model is an object with following fields:

Property Cardinality Type Description
id 1x string A unique key that identifies the event
tenantId 1x string Tenant Id of the tenant for which this event applies
plantId 1x string Plant Id of the tenant for which this event applies
eventTime 1x timestamp The exact time in UTC that the event occurred in CAS
eventType 1x string Type of the event. CustomsShipmentInformationPayload for this event
eventSubType 1x string Subtype of the event. A list of possible event subtypes for this event can be found here.
data.tenantId 1x string Tenant Id of the tenant for which this event applies
data.ingestionReferences 1x [string] all ingestion references linked to the ingest file
data.businessReference 1x string The customs shipment external reference
data.traderReference 1x string The trader reference
data.direction 1x string The direction of the declaration
data.company 1x string The company of the declaration
data.errorDescriptions 1x [string] All errors that occured while creating the shipment.

Example

{
    "id": "434513a3-0305-4639-baf6-c85235b965b3",
    "tenantId": "yourTenantId",
    "plantId": "yourPlantId",
    "eventTime": "2017-06-26T18:41:00.9584103Z",
    "eventType": "CustomsShipmentInformation",
    "eventSubType": "CreationUnsuccessful",
    "data": {
        "tenantId": "yourTenantId",
        "ingestionReferences": [
            "ingestionReference1",
            "ingestionReference2"
        ],
        "businessReference": "yourExternalReference",
        "traderReference": "yourTraderReference",
        "direction": "IN",
        "company": "contoso.com",
        "errorDescriptions":[
            "1/10 Commodity code is not allowed"
        ]
    }
}