-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DT-1821-Updated the request json examples from the latest API spec #184
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,7 @@ | |
"cargoMovementTypeAtDestination": "FCL", | ||
"issueDate": "2020-12-12", | ||
"serviceContractReference": "HHL51800000", | ||
"contractQuotationReference": "12345", | ||
"contractQuotationReference": "HHL1401", | ||
"declaredValue": 1231.1, | ||
"declaredValueCurrency": "DKK", | ||
"carrierCode": "MMCU", | ||
|
@@ -87,70 +87,86 @@ | |
"UNLocationCode": "NLAMS" | ||
}, | ||
"invoicePayableAt": { | ||
"UNLocationCode": "DKAAR" | ||
"UNLocationCode": "NLAMS" | ||
}, | ||
"partyContactDetails": [ | ||
{ | ||
"name": "DCSA test person", | ||
"email": "[email protected]" | ||
"name": "Henrik", | ||
"phone": "+45 51801234" | ||
}, | ||
{ | ||
"name": "Henrik", | ||
"phone": "+45 51801234" | ||
} | ||
], | ||
"documentParties": { | ||
"shipper": { | ||
"partyName": "DCSA CTK", | ||
"partyName": "IKEA Denmark", | ||
"partyContactDetails": [ | ||
{ | ||
"name": "DCSA test person", | ||
"email": "[email protected]" | ||
"name": "Henrik", | ||
"phone": "+45 51801234" | ||
}, | ||
{ | ||
"name": "Henrik", | ||
"phone": "+45 51801234" | ||
} | ||
] | ||
}, | ||
"consignee": { | ||
"partyName": "CONSIGNEE_LEGAL_NAME_PLACEHOLDER", | ||
"identifyingCodes": [ | ||
{ | ||
"codeListProvider": "EPUI", | ||
"codeListProvider": "W3C", | ||
"partyCode": "CONSIGNEE_PARTY_CODE_PLACEHOLDER", | ||
"codeListName": "CONSIGNEE_CODE_LIST_NAME_PLACEHOLDER" | ||
} | ||
], | ||
"partyContactDetails": [ | ||
{ | ||
"name": "DCSA test person", | ||
"email": "[email protected]" | ||
"name": "Henrik", | ||
"phone": "+45 51801234" | ||
}, | ||
{ | ||
"name": "Henrik", | ||
"phone": "+45 51801234" | ||
} | ||
] | ||
}, | ||
"issuingParty": { | ||
"partyName": "Hyundai", | ||
"address": { | ||
"street": "The street name would be here", | ||
"city": "... and here the city", | ||
"countryCode": "KR" | ||
"street": "Ruijggoordweg", | ||
"city": "Amsterdam", | ||
"countryCode": "NL" | ||
}, | ||
"identifyingCodes": [ | ||
{ | ||
"codeListProvider": "SMDG", | ||
"codeListName": "LCL", | ||
"partyCode": "HMM" | ||
"codeListProvider": "W3C", | ||
"partyCode": "MSK", | ||
"codeListName": "DID" | ||
} | ||
Comment on lines
137
to
148
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The party code is for MSK (and should probably not use I assume the original example is wrong. Probably the issuing party should be made a placeholder that the issuer can provide. |
||
] | ||
}, | ||
"notifyParties": [ | ||
{ | ||
"partyName": "DCSA CTK", | ||
"partyName": "IKEA Denmark", | ||
"partyContactDetails": [ | ||
{ | ||
"name": "DCSA test person", | ||
"email": "[email protected]" | ||
"name": "Henrik", | ||
"phone": "+45 51801234" | ||
}, | ||
{ | ||
"name": "Henrik", | ||
"phone": "+45 51801234" | ||
} | ||
] | ||
} | ||
], | ||
"other": [ | ||
{ | ||
"party": { | ||
"partyName": "DCSA CTK Service Contract Owner" | ||
"partyName": "Asseco Denmark" | ||
}, | ||
"partyFunction": "SCO" | ||
} | ||
|
@@ -188,7 +204,7 @@ | |
"isShipperOwned": false, | ||
"seals": [ | ||
{ | ||
"number": "DCSA-CTK-1234" | ||
"number": "VET123" | ||
} | ||
] | ||
} | ||
|
@@ -199,7 +215,7 @@ | |
"sendToPlatform": "SEND_TO_PLATFORM_PLACEHOLDER", | ||
"identifyingCodes": [ | ||
{ | ||
"codeListProvider": "EPUI", | ||
"codeListProvider": "W3C", | ||
"partyCode": "ISSUE_TO_PARTY_CODE_PLACEHOLDER", | ||
"codeListName": "ISSUE_TO_CODE_LIST_NAME_PLACEHOLDER" | ||
} | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think these need to be turned into a placeholder objects. It is exceedingly likely that the parties do not have a fixed
codeListProvider
for this party.I feel this basically applies to all parties with placeholders in them.