diff --git a/booking/src/main/resources/standards/booking/messages/booking-api-v20-request-dg.json b/booking/src/main/resources/standards/booking/messages/booking-api-v20-request-dg.json new file mode 100644 index 00000000..51213d7e --- /dev/null +++ b/booking/src/main/resources/standards/booking/messages/booking-api-v20-request-dg.json @@ -0,0 +1,79 @@ +{ + "receiptTypeAtOrigin": "CY", + "deliveryTypeAtDestination": "CY", + "cargoMovementTypeAtOrigin": "FCL", + "cargoMovementTypeAtDestination": "FCL", + "contractQuotationReference": "CONTRACT_QUOTATION_REFERENCE_PLACEHOLDER", + "carrierExportVoyageNumber": "CARRIER_EXPORT_VOYAGE_NUMBER_PLACEHOLDER", + "carrierServiceName": "CARRIER_SERVICE_NAME_PLACEHOLDER", + "isPartialLoadAllowed": false, + "isExportDeclarationRequired": false, + "isImportLicenseRequired": false, + "communicationChannelCode": "AO", + "isEquipmentSubstitutionAllowed": true, + "requestedEquipments": [ + { + "ISOEquipmentCode": "22GP", + "units": 1, + "isShipperOwned": false, + "commodities": [ + { + "HSCodes": ["COMMODITY_HS_CODE"], + "commodityType": "COMMODITY_TYPE_PLACEHOLDER", + "cargoGrossWeight": 323.32, + "cargoGrossWeightUnit": "KGM", + "outerPackaging": { + "packageCode": "1A", + "numberOfPackages": 5, + "description": "Drum, Steel", + "dangerousGoods": [ + { + // Provide DG-PLACEHOLDER for all attributes + } + ] + } + } + ] + } + ], + "documentParties": [ + { + "party": { + "partyName": "DCSA Conformance Toolkit", + "address": { + "name": "TODO", + "street": "TODO", + "streetNumber": "54", + "floor": "5. sal", + "postCode": "1306", + "city": "København", + "country": "Denmark" + }, + "partyContactDetails": [ + { + "name": "Henrik", + "phone": "+31611444666" + } + ] + }, + "partyFunction": "BA", + "isToBeNotified": false + } + ], + "shipmentLocations": [ + { + "location": { + "locationType": "UNLO", + "UNLocationCode": "POL_UNLOCATION_CODE_PLACEHOLDER" + }, + "locationTypeCode": "POL" + }, + { + "location": { + "locationType": "UNLO", + "UNLocationCode": "POD_UNLOCATION_CODE_PLACEHOLDER" + }, + "locationTypeCode": "POD" + } + ] +} diff --git a/booking/src/main/resources/standards/booking/messages/booking-api-v20-request-reefer.json b/booking/src/main/resources/standards/booking/messages/booking-api-v20-request-reefer.json new file mode 100644 index 00000000..73fcb33d --- /dev/null +++ b/booking/src/main/resources/standards/booking/messages/booking-api-v20-request-reefer.json @@ -0,0 +1,74 @@ +{ + "receiptTypeAtOrigin": "CY", + "deliveryTypeAtDestination": "CY", + "cargoMovementTypeAtOrigin": "FCL", + "cargoMovementTypeAtDestination": "FCL", + "contractQuotationReference": "CONTRACT_QUOTATION_REFERENCE_PLACEHOLDER", + "carrierExportVoyageNumber": "CARRIER_EXPORT_VOYAGE_NUMBER_PLACEHOLDER", + "carrierServiceName": "CARRIER_SERVICE_NAME_PLACEHOLDER", + "isPartialLoadAllowed": false, + "isExportDeclarationRequired": false, + "isImportLicenseRequired": false, + "communicationChannelCode": "AO", + "isEquipmentSubstitutionAllowed": true, + "requestedEquipments": [ + { + "ISOEquipmentCode": "22RT", + "units": 1, + "isShipperOwned": false, + "commodities": [ + { + "HSCodes": ["COMMODITY_HS_CODE"], + "commodityType": "COMMODITY_TYPE_PLACEHOLDER", + "cargoGrossWeight": 323.32, + "cargoGrossWeightUnit": "KGM" + } + ], + "isNonOperatingReefer": false, + "activeReeferSettings": { + "temperatureSetpoint": -18, + "temperatureUnit": "CEL" + } + } + ], + "documentParties": [ + { + "party": { + "partyName": "DCSA Conformance Toolkit", + "address": { + "name": "TODO", + "street": "TODO", + "streetNumber": "54", + "floor": "5. sal", + "postCode": "1306", + "city": "København", + "country": "Denmark" + }, + "partyContactDetails": [ + { + "name": "Henrik", + "phone": "+31611444666" + } + ] + }, + "partyFunction": "BA", + "isToBeNotified": false + } + ], + "shipmentLocations": [ + { + "location": { + "locationType": "UNLO", + "UNLocationCode": "POL_UNLOCATION_CODE_PLACEHOLDER" + }, + "locationTypeCode": "POL" + }, + { + "location": { + "locationType": "UNLO", + "UNLocationCode": "POD_UNLOCATION_CODE_PLACEHOLDER" + }, + "locationTypeCode": "POD" + } + ] +} diff --git a/booking/src/main/resources/standards/booking/messages/booking-api-v20-request.json b/booking/src/main/resources/standards/booking/messages/booking-api-v20-request.json index 0d14dc69..d8476bbb 100644 --- a/booking/src/main/resources/standards/booking/messages/booking-api-v20-request.json +++ b/booking/src/main/resources/standards/booking/messages/booking-api-v20-request.json @@ -3,81 +3,36 @@ "deliveryTypeAtDestination": "CY", "cargoMovementTypeAtOrigin": "FCL", "cargoMovementTypeAtDestination": "FCL", - "vessel": { - "name": "King of the Seas", - "vesselIMONumber": "VESSEL_IMO_NUMBER_PLACEHOLDER" - }, - "serviceContractReference": "serviceRef", - "carrierExportVoyageNumber": "2106W", + "contractQuotationReference": "CONTRACT_QUOTATION_REFERENCE_PLACEHOLDER", + "carrierExportVoyageNumber": "CARRIER_EXPORT_VOYAGE_NUMBER_PLACEHOLDER", "carrierServiceName": "CARRIER_SERVICE_NAME_PLACEHOLDER", - "declaredValue": 3.14, - "declaredValueCurrency": "DKK", - "isPartialLoadAllowed": true, - "isExportDeclarationRequired": true, - "exportDeclarationReference": "exportDeclarationRef", - "isImportLicenseRequired": true, - "importLicenseReference": "importLicenseRef", - "expectedDepartureDate": "2052-11-15", - "expectedArrivalAtPlaceOfDeliveryStartDate": "2052-11-15", - "expectedArrivalAtPlaceOfDeliveryEndDate": "2052-11-15", - "transportDocumentTypeCode": "BOL", - "transportDocumentReference": "transportDocumentRef", - "bookingChannelReference": "bookingChannelRef", - "incoTerms": "FOB", + "isPartialLoadAllowed": false, + "isExportDeclarationRequired": false, + "isImportLicenseRequired": false, "communicationChannelCode": "AO", "isEquipmentSubstitutionAllowed": true, - "placeOfBLIssue": { - "locationName": "Asseco DK office", - "locationType": "ADDR", - "address": { - "name": "Asseco DK", - "street": "Kronprinsessegade", - "streetNumber": "54", - "floor": "5. sal", - "postCode": "1306", - "city": "København", - "country": "Denmark" - } - }, "requestedEquipments": [ { - "ISOEquipmentCode": "22G1", + "ISOEquipmentCode": "22GP", "units": 1, "isShipperOwned": false, "commodities": [ { - "HSCodes": ["411510"], - "commodityType": "commodity type", + "HSCodes": ["COMMODITY_HS_CODE"], + "commodityType": "COMMODITY_TYPE_PLACEHOLDER", "cargoGrossWeight": 323.32, - "cargoGrossWeightUnit": "KGM", - "cargoGrossVolume": 100.0, - "cargoGrossVolumeUnit": "MTQ", - "outerPackaging": { - "packageCode" : "1A", - "imoPackagingCode": "A1222", - "numberOfPackages": 1, - "description": "steel" - - }, - "exportLicenseIssueDate": "2022-11-15", - "exportLicenseExpiryDate": "2023-05-15" + "cargoGrossWeightUnit": "KGM" } ] } ], - "references": [ - { - "type": "AAO", - "value": "ref value" - } - ], "documentParties": [ { "party": { - "partyName": "boring party", + "partyName": "DCSA Conformance Toolkit", "address": { - "name": "Asseco DK", - "street": "Kronprinsessegade", + "name": "TODO", + "street": "TODO", "streetNumber": "54", "floor": "5. sal", "postCode": "1306", @@ -89,39 +44,26 @@ "name": "Henrik", "phone": "+31611444666" } - ], - "identifyingCodes": [ - { - "DCSAResponsibleAgencyCode": "DCSA", - "partyCode": "reponsible fun", - "codeListName": "irreponsible fun" - } ] }, "partyFunction": "BA", - "displayedAddress": [ - "line1", - "line2" - ], - "isToBeNotified": true + "isToBeNotified": false } ], "shipmentLocations": [ { "location": { "locationType": "UNLO", - "UNLocationCode": "NLRTM" + "UNLocationCode": "POL_UNLOCATION_CODE_PLACEHOLDER" }, - "locationTypeCode": "POL", - "eventDateTime": "2022-11-15T10:34:41.99631016+01:00" + "locationTypeCode": "POL" }, { "location": { "locationType": "UNLO", - "UNLocationCode": "USMIA" + "UNLocationCode": "POD_UNLOCATION_CODE_PLACEHOLDER" }, - "locationTypeCode": "POD", - "eventDateTime": "2022-11-15T10:34:41.99631016+01:00" + "locationTypeCode": "POD" } ] }