-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from dcsaorg/DT-607-Booking-conformance-UC1-shi…
…pper-submit-booking-request DT-607 added sample request and booking schema.
- Loading branch information
Showing
11 changed files
with
7,911 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
127 changes: 127 additions & 0 deletions
127
booking/src/main/resources/standards/booking/messages/booking-api-v20-request.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,127 @@ | ||
{ | ||
"receiptTypeAtOrigin": "CY", | ||
"deliveryTypeAtDestination": "CY", | ||
"cargoMovementTypeAtOrigin": "FCL", | ||
"cargoMovementTypeAtDestination": "FCL", | ||
"vessel": { | ||
"name": "King of the Seas", | ||
"vesselIMONumber": "VESSEL_IMO_NUMBER_PLACEHOLDER" | ||
}, | ||
"serviceContractReference": "serviceRef", | ||
"carrierExportVoyageNumber": "2106W", | ||
"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", | ||
"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", | ||
"units": 1, | ||
"isShipperOwned": false, | ||
"commodities": [ | ||
{ | ||
"HSCodes": ["411510"], | ||
"commodityType": "commodity type", | ||
"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" | ||
} | ||
] | ||
} | ||
], | ||
"references": [ | ||
{ | ||
"type": "AAO", | ||
"value": "ref value" | ||
} | ||
], | ||
"documentParties": [ | ||
{ | ||
"party": { | ||
"partyName": "boring party", | ||
"address": { | ||
"name": "Asseco DK", | ||
"street": "Kronprinsessegade", | ||
"streetNumber": "54", | ||
"floor": "5. sal", | ||
"postCode": "1306", | ||
"city": "København", | ||
"country": "Denmark" | ||
}, | ||
"partyContactDetails": [ | ||
{ | ||
"name": "Henrik", | ||
"phone": "+31611444666" | ||
} | ||
], | ||
"identifyingCodes": [ | ||
{ | ||
"DCSAResponsibleAgencyCode": "DCSA", | ||
"partyCode": "reponsible fun", | ||
"codeListName": "irreponsible fun" | ||
} | ||
] | ||
}, | ||
"partyFunction": "BA", | ||
"displayedAddress": [ | ||
"line1", | ||
"line2" | ||
], | ||
"isToBeNotified": true | ||
} | ||
], | ||
"shipmentLocations": [ | ||
{ | ||
"location": { | ||
"locationType": "UNLO", | ||
"UNLocationCode": "NLRTM" | ||
}, | ||
"shipmentLocationTypeCode": "POL", | ||
"eventDateTime": "2022-11-15T10:34:41.99631016+01:00" | ||
}, | ||
{ | ||
"location": { | ||
"locationType": "UNLO", | ||
"UNLocationCode": "USMIA" | ||
}, | ||
"shipmentLocationTypeCode": "POD", | ||
"eventDateTime": "2022-11-15T10:34:41.99631016+01:00" | ||
} | ||
] | ||
} |
127 changes: 127 additions & 0 deletions
127
booking/src/main/resources/standards/booking/messages/booking-notification-v20-request.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,127 @@ | ||
{ | ||
"receiptTypeAtOrigin": "CY", | ||
"deliveryTypeAtDestination": "CY", | ||
"cargoMovementTypeAtOrigin": "FCL", | ||
"cargoMovementTypeAtDestination": "FCL", | ||
"vessel": { | ||
"name": "King of the Seas", | ||
"vesselIMONumber": "VESSEL_IMO_NUMBER_PLACEHOLDER" | ||
}, | ||
"serviceContractReference": "serviceRef", | ||
"carrierExportVoyageNumber": "2106W", | ||
"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", | ||
"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", | ||
"units": 1, | ||
"isShipperOwned": false, | ||
"commodities": [ | ||
{ | ||
"HSCodes": ["411510"], | ||
"commodityType": "commodity type", | ||
"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" | ||
} | ||
] | ||
} | ||
], | ||
"references": [ | ||
{ | ||
"type": "AAO", | ||
"value": "ref value" | ||
} | ||
], | ||
"documentParties": [ | ||
{ | ||
"party": { | ||
"partyName": "boring party", | ||
"address": { | ||
"name": "Asseco DK", | ||
"street": "Kronprinsessegade", | ||
"streetNumber": "54", | ||
"floor": "5. sal", | ||
"postCode": "1306", | ||
"city": "København", | ||
"country": "Denmark" | ||
}, | ||
"partyContactDetails": [ | ||
{ | ||
"name": "Henrik", | ||
"phone": "+31611444666" | ||
} | ||
], | ||
"identifyingCodes": [ | ||
{ | ||
"DCSAResponsibleAgencyCode": "DCSA", | ||
"partyCode": "reponsible fun", | ||
"codeListName": "irreponsible fun" | ||
} | ||
] | ||
}, | ||
"partyFunction": "BA", | ||
"displayedAddress": [ | ||
"line1", | ||
"line2" | ||
], | ||
"isToBeNotified": true | ||
} | ||
], | ||
"shipmentLocations": [ | ||
{ | ||
"location": { | ||
"locationType": "UNLO", | ||
"UNLocationCode": "NLRTM" | ||
}, | ||
"shipmentLocationTypeCode": "POL", | ||
"eventDateTime": "2022-11-15T10:34:41.99631016+01:00" | ||
}, | ||
{ | ||
"location": { | ||
"locationType": "UNLO", | ||
"UNLocationCode": "USMIA" | ||
}, | ||
"shipmentLocationTypeCode": "POD", | ||
"eventDateTime": "2022-11-15T10:34:41.99631016+01:00" | ||
} | ||
] | ||
} |
7 changes: 0 additions & 7 deletions
7
booking/src/main/resources/standards/booking/messages/booking-v20-request.json
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.