Skip to main content

InspectionListResponse

data object[]
  • Array [
  • inspectionIduuid

    Inspection UUID. bookingId equals inspectionId.

    caseNumberstring
    statusstring

    Aggregated inspection status (single enum string).

    reasonCodeReasonCodenullable

    Inspection reason code, formatted as <Action> - <reason> where Action is one of Aborted / Waived / Rejected / Split / Reset. Resolved from the configured reason option answer when present, otherwise the free-text reason. null when no reason code applies to the inspection.

    Example: Aborted - Order not ready
    createdDatedate-timenullable
    updatedDatedate-timenullable
    actualInspectionDatedate-timenullable
    expectedDate object
    inspectionDatedate-timenullable

    Expected inspection date (ISO-8601).

    shipmentDatedate-timenullable

    Expected shipment date (ISO-8601).

    confirmedBystringnullable
    confirmedDatedate-timenullable

    Computed from the confirm activity timestamp; absent when there is no confirm activity.

    createdBystringnullable

    Inspection creator (creator name).

    fromOrganizationIdstringnullable
    fromOrganizationNamestringnullable
    toOrganizationIdstringnullable
    toOrganizationNamestringnullable
    assignedToOrganization objectnullable

    The organization the inspection is assigned to. Null/absent when there is no assignment.

    idstringnullable
    namestringnullable
    localOrganizationIdsstring[]nullable
    assignedToInspector objectnullable

    The inspector the inspection is assigned to. Null/absent when there is no assignment.

    systemIdintegernullable
    namestringnullable
    emailstringnullable
    employeeIdstringnullable
    clientInformation object
    organizationIdstringnullable
    localOrganizationIdstringnullable
    localOrganizationIdsstring[]nullable
    namestringnullable
    addressstringnullable
    citystringnullable
    countrystringnullable

    ISO alpha-2 country code.

    contact object
    namestringnullable
    emailstringnullable
    mobileNumberstringnullable
    telephoneNumberstringnullable
    vendorInformation object
    organizationIdstringnullable
    localOrganizationIdstringnullable
    localOrganizationIdsstring[]nullable
    namestringnullable
    addressstringnullable
    citystringnullable
    countrystringnullable

    ISO alpha-2 country code.

    contact object
    namestringnullable
    emailstringnullable
    mobileNumberstringnullable
    telephoneNumberstringnullable
    factoryInformation object
    organizationIdstringnullable
    localOrganizationIdstringnullable
    localOrganizationIdsstring[]nullable
    namestringnullable
    addressstringnullable
    citystringnullable
    countrystringnullable

    ISO alpha-2 country code.

    contact object
    namestringnullable
    emailstringnullable
    mobileNumberstringnullable
    telephoneNumberstringnullable
    locationPicker object
    addressstringnullable
    gpsLocation object
    latitudestringnullable
    longitudestringnullable
    inspectionFormstringnullable
    workflowNamestringnullable
    inspectionInformation object
    typeOfInspectionstringnullable
    typeOfInspectionNamestringnullable
    tagsstring[]
  • ]
  • totalinteger
    offsetinteger
    limitinteger
    InspectionListResponse
    {
    "data": [
    {
    "inspectionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "caseNumber": "string",
    "status": "string",
    "reasonCode": "Aborted - Order not ready",
    "createdDate": "2024-07-29T15:51:28.071Z",
    "updatedDate": "2024-07-29T15:51:28.071Z",
    "actualInspectionDate": "2024-07-29T15:51:28.071Z",
    "expectedDate": {
    "inspectionDate": "2024-07-29T15:51:28.071Z",
    "shipmentDate": "2024-07-29T15:51:28.071Z"
    },
    "confirmedBy": "string",
    "confirmedDate": "2024-07-29T15:51:28.071Z",
    "createdBy": "string",
    "fromOrganizationId": "string",
    "fromOrganizationName": "string",
    "toOrganizationId": "string",
    "toOrganizationName": "string",
    "assignedToOrganization": {
    "id": "string",
    "name": "string",
    "localOrganizationIds": [
    "string"
    ]
    },
    "assignedToInspector": {
    "systemId": 0,
    "name": "string",
    "email": "string",
    "employeeId": "string"
    },
    "clientInformation": {
    "organizationId": "string",
    "localOrganizationId": "string",
    "localOrganizationIds": [
    "string"
    ],
    "name": "string",
    "address": "string",
    "city": "string",
    "country": "string",
    "contact": {
    "name": "string",
    "email": "string",
    "mobileNumber": "string",
    "telephoneNumber": "string"
    }
    },
    "vendorInformation": {
    "organizationId": "string",
    "localOrganizationId": "string",
    "localOrganizationIds": [
    "string"
    ],
    "name": "string",
    "address": "string",
    "city": "string",
    "country": "string",
    "contact": {
    "name": "string",
    "email": "string",
    "mobileNumber": "string",
    "telephoneNumber": "string"
    }
    },
    "factoryInformation": {
    "organizationId": "string",
    "localOrganizationId": "string",
    "localOrganizationIds": [
    "string"
    ],
    "name": "string",
    "address": "string",
    "city": "string",
    "country": "string",
    "contact": {
    "name": "string",
    "email": "string",
    "mobileNumber": "string",
    "telephoneNumber": "string"
    }
    },
    "locationPicker": {
    "address": "string",
    "gpsLocation": {
    "latitude": "string",
    "longitude": "string"
    }
    },
    "inspectionForm": "string",
    "workflowName": "string",
    "inspectionInformation": {
    "typeOfInspection": "string",
    "typeOfInspectionName": "string"
    },
    "tags": [
    "string"
    ]
    }
    ],
    "total": 0,
    "offset": 0,
    "limit": 0
    }