CoOPDFCreated event data

The certificate of origin PDF created 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. CoOPDFCreated for this event
eventSubType 1x string Subtype of the event. A list of possible event subtypes for this event can be found here.
data.certificateOfOriginId 1x string Identification of the certificate of origin
data.customsShipmentReference 1x string The customs shipment external reference
data.storageLocation 1x string The storage location reference
data.declarationReference 1x string The declaration reference
data.url 1x string Tokenized URL to download the PDF related to the certificate of origin.

Example

{
    "id": "434513a3-0305-4639-baf6-c85235b965b3",
    "tenantId": "yourTenantId",
    "plantId": "yourPlantId",
    "eventTime": "2017-06-26T18:41:00.9584103Z",
    "eventType": "CoOPDFCreated",
    "eventSubType": "CertificateOfOrigin",
    "data": {
        "certificateOfOriginId": "123456789",
        "customsShipmentReference": "FQB1XH5TPU",
        "storageLocation": "yourStorageLocation",
        "declarationReference": "HYRRMAWYRH",
        "url": "https://cas-documents-api.customs4trade.com/v1/yourTenantId/certificates-of-origin/123456789/3a6bbfc80b0849e39c91eca269767366"
    }
}