Skip to content

Instantly share code, notes, and snippets.

@devwuxus
Last active October 29, 2024 14:55
Show Gist options
  • Save devwuxus/7cd1323a7049ecc571035da20b9ae47a to your computer and use it in GitHub Desktop.
Save devwuxus/7cd1323a7049ecc571035da20b9ae47a to your computer and use it in GitHub Desktop.
{
"version": "1.0",
"data": [
{
"contractKey": "21f739cf-be43-4311-b7b3-a6e06f8d6952",
"order": {
"orderNumber": "TEST-ORDER-NUMBER-10",
"orderReference": "TEST-ORDER-REFERENCE-10",
"requisition": "TEST_REQUISITION",
"orderType": "adhoc",
"pickuped": false,
"price": {
"amount": 100
},
"paidBy": "Wuxus A/S",
"origin": {
"companyName": "Example Sender A/S",
"attention": "John Doe",
"address": "Klausdalsbrovej 601",
"extraInfo": "Gate 5",
"zipCode": "2750",
"city": "Ballerup",
"countryCode": "DK",
"email": "john.doe@example.com",
"phone": {
"prefix": 45,
"number": 123456789
},
"timeWindow": {
"start": "2017-08-11T10:00:00.000Z",
"end": "2017-08-11T12:00:00.000Z",
"timeType": "between",
"lock": true
},
"comments": "Just walk in and to the second floor. We'll be there",
"commentsFiles": [
{
"url": "https://example.com/photo.jpeg",
"fileName": "image1",
"description": "test description"
}
],
"commentsSpecial": true
"coordinates": {
"lat": 55.736411,
"lng": 12.397759
},
"sendPod": true,
"sendSMS": true,
"smsSettings": {
"driveNow": true,
"taskStatus": true
}
},
"destination": {
"companyName": "Example Production A/S",
"attention": "Mike",
"address": "Gammel Lyngvej 2",
"extraInfo": "Delivery Entrance",
"zipCode": "4600",
"city": "Køge",
"countryCode": "DK",
"email": "jane.doe@example.com",
"phone": {
"prefix": 45,
"number": 234567894
},
"timeWindow": {
"start": "2017-08-11T10:00:00.000Z",
"end": "2017-08-11T12:00:00.000Z",
"timeType": "between",
"lock": true
},
"comments": "We're in the middle of the building",
"commentsFiles": [
{
"url": "https://example.com/video.mp4",
"fileName": "video1",
"description": "test description"
}
],
"commentsSpecial": true
"coordinates": {
"lat": 55.483026,
"lng": 12.184790
},
"sendPod": true
"sendSMS": true,
"smsSettings": {
"driveNow": true,
"taskStatus": true,
"deliverOrder": true,
"deliverOrderFailed": true
}
},
"sender": {
"companyName": "Example Sender A/S",
"attention": "John Roe",
"address": "Klausdalsbrovej 615",
"extraInfo": "The Camp",
"zipCode": "4600",
"city": "Køge",
"countryCode": "DK",
"email": "john.roe@example.com",
"phone": {
"prefix": 45,
"number": 345678901
},
"comments": "Contact John if there are any problems"
},
"receiver": {
"companyName": "Example Production A/S",
"attention": "Jane Roe",
"address": "Galoche Alle 15",
"extraInfo": "Den hvide by",
"zipCode": "4600",
"city": "Køge",
"countryCode": "DK",
"email": "jane.roe@example.com",
"phone": {
"prefix": 45,
"number": 456789012
},
"comments": "If door closed, just put it in front of the door"
},
"cargo": [
{
"cargoReference": "CARGO-BIG",
"cargoNr": "10000#12345",
"description": "A little big box",
"type": "box",
"amount": 1,
"weight": 10,
"volume": 0.001,
"dimensions": {
"height": 10,
"width": 10,
"length": 10
},
"barcode": "BARCODE#SCAN#1",
"services": [
{
"serviceId": "588ef7efccf9b6fd26e38941"
},
{
"serviceId": "5912f89202bdd2626ba7ebf9"
}
]
},
{
"cargoReference": "CARGO-SMALL",
"cargoNr": "20000#12345",
"description": "A little small box",
"type": "box",
"amount": 2,
"barcode": "BARCODE#SCAN#11",
"services": [
{
"serviceId": "5912f89202bdd2626ba7ebf9"
}
]
}
],
"routingTags": ["TAG1", "TAG2"],
"customFields": {
"stringExample": "string",
"dateExample": "2018-04-17T14:00:00.000Z",
"numberExample": 1337,
"checkboxExample": true
}
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment