Skip to content

Commit 99c4063

Browse files
Merge pull request #196 from papinet/develop
papiNet API 3.0.0 is ready ;-) | Release
2 parents aa915df + a01e251 commit 99c4063

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+16452
-70
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ node_modules/
55
*.exe
66

77
*.internal.txt
8+
9+
~*.xlsx

2.0.0/master-data.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ The authenticated _customer_ sends an API request in order to retreive the UUID
541541

542542
```text
543543
curl --request GET \
544-
--URL http://localhost:3020/parties?partieIdentifier=ERP-P-NL-ACME-01 \
544+
--URL http://localhost:3020/parties?partyIdentifier=ERP-P-NL-ACME-01 \
545545
--header 'X-Provider-State: Master_Data_Interaction_1_of_Scenario_F' \
546546
--header 'Authorization: Bearer a4f071c3-fe1f-4a45-9eae-07ddcb5bed26'
547547
```

2.0.0/papiNet-API.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1040,7 +1040,7 @@ components:
10401040
- purchaseOrderTimestamp
10411041
- purchaseOrderStatus
10421042
- active
1043-
# supplierParty is not required
1043+
# supplierParty is not required, but it is of course unavoidable when multiple suppliers are using the same domain name.
10441044
# sellerParty is not required
10451045
# buyerParty is not required
10461046
# billToParty is not required
Lines changed: 205 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,205 @@
1+
{
2+
"id": "3aa556bb-7198-4107-8dd9-450845eb365b",
3+
"number": "GRIWMS-20240506-090833",
4+
"timestamp": "2024-05-18T11:16:49Z",
5+
"cancelled": false,
6+
"active": true,
7+
"acceptance": "WithVariance",
8+
"isComplete": true,
9+
"deliveryNoteNumber": "LDN12345",
10+
"deliveryNoteTimestamp": "2024-05-16T11:46:39Z",
11+
"arrivalDateTime": "2024-05-18T11:08:36",
12+
"unloadingDateTime": "2024-05-18T11:10:04",
13+
"lineItems": [
14+
{
15+
"number": 1,
16+
"acceptance": "WithVariance",
17+
"deliveryNoteLineItemNumber": 1,
18+
"supplierOrderNumber": "ABCD-476408",
19+
"supplierOrderLineItemNumber": 1,
20+
"packages": [
21+
{
22+
"type": "ReelPackage",
23+
"identifiers": [
24+
{
25+
"role": "Secondary",
26+
"type": "Barcode",
27+
"codeType": "UIC14",
28+
"value": "14780100131814"
29+
},
30+
{
31+
"role": "Primary",
32+
"type": "Number",
33+
"codeType": "Supplier",
34+
"value": "00001"
35+
}
36+
],
37+
"acceptance": "AsSpecified"
38+
},
39+
{
40+
"type": "ReelPackage",
41+
"identifiers": [
42+
{
43+
"role": "Secondary",
44+
"type": "Barcode",
45+
"codeType": "UIC14",
46+
"value": "14780200131814"
47+
},
48+
{
49+
"role": "Primary",
50+
"type": "Number",
51+
"codeType": "Supplier",
52+
"value": "00002"
53+
}
54+
],
55+
"acceptance": "AsSpecified"
56+
},
57+
{
58+
"type": "ReelPackage",
59+
"identifiers": [
60+
{
61+
"role": "Secondary",
62+
"type": "Barcode",
63+
"codeType": "UIC14",
64+
"value": "14780300131814"
65+
},
66+
{
67+
"role": "Primary",
68+
"type": "Number",
69+
"codeType": "Supplier",
70+
"value": "00003"
71+
}
72+
],
73+
"acceptance": "WithVariance",
74+
"varianceType": "NotReceived"
75+
},
76+
{
77+
"type": "ReelPackage",
78+
"identifiers": [
79+
{
80+
"role": "Secondary",
81+
"type": "Barcode",
82+
"codeType": "UIC14",
83+
"value": "14780400131814"
84+
},
85+
{
86+
"role": "Primary",
87+
"type": "Number",
88+
"codeType": "Supplier",
89+
"value": "00004"
90+
}
91+
],
92+
"acceptance": "AsSpecified"
93+
},
94+
{
95+
"type": "ReelPackage",
96+
"identifiers": [
97+
{
98+
"role": "Secondary",
99+
"type": "Barcode",
100+
"codeType": "UIC14",
101+
"value": "14780500131814"
102+
},
103+
{
104+
"role": "Primary",
105+
"type": "Number",
106+
"codeType": "Supplier",
107+
"value": "00005"
108+
}
109+
],
110+
"acceptance": "AsSpecified"
111+
},
112+
{
113+
"type": "ReelPackage",
114+
"identifiers": [
115+
{
116+
"role": "Secondary",
117+
"type": "Barcode",
118+
"codeType": "UIC14",
119+
"value": "14780600131814"
120+
},
121+
{
122+
"role": "Primary",
123+
"type": "Number",
124+
"codeType": "Supplier",
125+
"value": "00006"
126+
}
127+
],
128+
"acceptance": "AsSpecified"
129+
},
130+
{
131+
"type": "ReelPackage",
132+
"identifiers": [
133+
{
134+
"role": "Secondary",
135+
"type": "Barcode",
136+
"codeType": "UIC14",
137+
"value": "14780700131814"
138+
},
139+
{
140+
"role": "Primary",
141+
"type": "Number",
142+
"codeType": "Supplier",
143+
"value": "00007"
144+
}
145+
],
146+
"acceptance": "AsSpecified"
147+
},
148+
{
149+
"type": "ReelPackage",
150+
"identifiers": [
151+
{
152+
"role": "Secondary",
153+
"type": "Barcode",
154+
"codeType": "UIC14",
155+
"value": "14780800131814"
156+
},
157+
{
158+
"role": "Primary",
159+
"type": "Number",
160+
"codeType": "Supplier",
161+
"value": "00008"
162+
}
163+
],
164+
"acceptance": "AsSpecified"
165+
},
166+
{
167+
"type": "ReelPackage",
168+
"identifiers": [
169+
{
170+
"role": "Secondary",
171+
"type": "Barcode",
172+
"codeType": "UIC14",
173+
"value": "14780900131814"
174+
},
175+
{
176+
"role": "Primary",
177+
"type": "Number",
178+
"codeType": "Supplier",
179+
"value": "00009"
180+
}
181+
],
182+
"acceptance": "AsSpecified"
183+
},
184+
{
185+
"type": "ReelPackage",
186+
"identifiers": [
187+
{
188+
"role": "Secondary",
189+
"type": "Barcode",
190+
"codeType": "UIC14",
191+
"value": "14781000131814"
192+
},
193+
{
194+
"role": "Primary",
195+
"type": "Number",
196+
"codeType": "Supplier",
197+
"value": "00010"
198+
}
199+
],
200+
"acceptance": "AsSpecified"
201+
}
202+
]
203+
}
204+
]
205+
}
Lines changed: 148 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,148 @@
1+
{
2+
"id": "52c5caed-57c6-4a68-97ff-b2745a514af6",
3+
"number": "123456SE",
4+
"timestamp": "2024-05-19T11:47:41Z",
5+
"cancelled": false,
6+
"active": true,
7+
"sequences": [
8+
{
9+
"number": 1,
10+
"cancelled": false,
11+
"supplierParty": {
12+
"identifiers": [
13+
{
14+
"value": "AB",
15+
"assignedBy": "Supplier"
16+
}
17+
],
18+
"nameLines": [
19+
"Company",
20+
"MillName"
21+
],
22+
"address": {
23+
"addressLines": [
24+
"Mill Road 1"
25+
],
26+
"city": "CITY",
27+
"postalCode": "12345",
28+
"countryCode": "SE"
29+
}
30+
},
31+
"buyerParty": {
32+
"identifiers": [
33+
{
34+
"value": "CUSTOMER",
35+
"assignedBy": "Supplier"
36+
}
37+
],
38+
"nameLines": [
39+
"CustomerName"
40+
],
41+
"address": {
42+
"addressLines": [
43+
"Customer Road 1"
44+
],
45+
"city": "CITY",
46+
"postalCode": "23456",
47+
"countryCode": "BE"
48+
}
49+
},
50+
"deliveryLegs": [
51+
{
52+
"number": 1,
53+
"shipFromLocation": {
54+
"identifiers": [
55+
{
56+
"value": "TERM",
57+
"assignedBy": "Supplier"
58+
}
59+
],
60+
"nameLines": [
61+
"TermName"
62+
],
63+
"address": {
64+
"addressLines": [
65+
"Term Road 1"
66+
],
67+
"city": "CITY 2",
68+
"postalCode": "34567",
69+
"countryCode": "SE"
70+
}
71+
},
72+
"shipToLocation": {
73+
"identifiers": [
74+
{
75+
"value": "DEST1",
76+
"assignedBy": "Supplier"
77+
}
78+
],
79+
"nameLines": [
80+
"CustomerName"
81+
],
82+
"address": {
83+
"addressLines": [
84+
"Customer Road 1"
85+
],
86+
"city": "CITY",
87+
"postalCode": "23456",
88+
"countryCode": "BE"
89+
}
90+
},
91+
"termsOfDelivery": {
92+
"incoterms": {
93+
"location": "DEST1",
94+
"code": "DAP",
95+
"version": "2020"
96+
}
97+
},
98+
"mainCarrierParty": {
99+
"identifiers": [
100+
{
101+
"value": "TERM",
102+
"assignedBy": "Supplier"
103+
}
104+
]
105+
},
106+
"requestedArrivalDateTime": "2024-05-24T10:00",
107+
"transport": {
108+
"modeType": "Road"
109+
}
110+
}
111+
],
112+
"lineItems": [
113+
{
114+
"number": 1,
115+
"supplierOrderNumber": "ABCD-476408",
116+
"supplierOrderLineItemNumber": 1,
117+
"callOffNumber": "123456SE",
118+
"callOffLineItemNumber": 1,
119+
"quantities": [
120+
{
121+
"context": "Instructed",
122+
"type": "Count",
123+
"value": 9,
124+
"uom": "ReelPackage"
125+
},
126+
{
127+
"context": "Instructed",
128+
"type": "GrossWeight",
129+
"value": 18000,
130+
"uom": "Kilogram"
131+
}
132+
],
133+
"loadingCharacteristics": [
134+
{
135+
"type": "Standing",
136+
"labelOrientation": "BackEndSide"
137+
}
138+
],
139+
"unloadingCharacteristics": [
140+
{
141+
"text": "GBUNREAR*unloading from back of vehicle Book in - 72h before delivery"
142+
}
143+
]
144+
}
145+
]
146+
}
147+
]
148+
}

0 commit comments

Comments
 (0)