Skip to content

Commit 4f671c8

Browse files
committed
CCM-11602: Update sandbox
1 parent f30b190 commit 4f671c8

File tree

8 files changed

+85
-385
lines changed

8 files changed

+85
-385
lines changed

sandbox/api/openapi.yaml

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -44,40 +44,6 @@ paths:
4444
schema:
4545
type: string
4646
style: simple
47-
- description: Status of a letter
48-
explode: true
49-
in: query
50-
name: status
51-
required: true
52-
schema:
53-
default: PENDING
54-
description: The supplier status of an individual letter
55-
enum:
56-
- PENDING
57-
- ACCEPTED
58-
- REJECTED
59-
- PRINTED
60-
- ENCLOSED
61-
- CANCELLED
62-
- DISPATCHED
63-
- DELIVERED
64-
- FAILED
65-
- RETURNED
66-
- DESTROYED
67-
- FORWARDED
68-
type: string
69-
style: form
70-
- description: |-
71-
Cursor pointing at the last Letter ID from the previous page. Use the links section in the response
72-
body to determine whether any further pages of results exist.
73-
explode: true
74-
in: query
75-
name: cursor
76-
required: false
77-
schema:
78-
example: 1756720614483_00003
79-
type: string
80-
style: form
8147
- description: |-
8248
Size of the page to fetched.
8349
explode: true
@@ -97,7 +63,6 @@ paths:
9763
value:
9864
data:
9965
- attributes:
100-
requestedProductionStatus: ACTIVE
10166
specificationId: 2WL5eYSWGzCHlGmzNxuqVusPxDg
10267
status: PENDING
10368
id: 2WL5eYSWGzCHlGmzNxuqVusPxDg

sandbox/data/examples/getLetters/responses/getLetters_accepted.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"data": [
33
{
44
"attributes": {
5-
"requestedProductionStatus": "ACTIVE",
65
"specificationId": "2WL5eYSWGzCHlGmzNxuqVusPxDg",
76
"status": "ACCEPTED"
87
},
Lines changed: 81 additions & 102 deletions
Original file line numberDiff line numberDiff line change
@@ -1,105 +1,84 @@
11
{
2-
"data": {
3-
"attributes": {
4-
"letters": [
5-
{
6-
"createdAt": "2025-09-01T09:56:54.483053",
7-
"groupId": "45dcd4b9-f649-4315-ac49-2d9350d9305a",
8-
"id": "1756720614483_00003",
9-
"specificationId": "bb389023-8865-4a1e-b4da-049ae6bdca59",
10-
"status": "PENDING",
11-
"updatedAt": "2025-09-01T09:56:54.483070",
12-
"url": "https://someurl.com"
13-
},
14-
{
15-
"createdAt": "2025-09-01T09:56:54.502664",
16-
"groupId": "9189c721-0f71-4cc2-bd07-d81592c3ce00",
17-
"id": "1756720614502_00004",
18-
"specificationId": "bfdb03e8-52a8-497d-b737-02f13ec0a245",
19-
"status": "PENDING",
20-
"updatedAt": "2025-09-01T09:56:54.502679",
21-
"url": "https://someurl.com"
22-
},
23-
{
24-
"createdAt": "2025-09-01T09:56:54.581557",
25-
"groupId": "2583ef04-8613-4b4a-993a-35b9cbdfc6a8",
26-
"id": "1756720614581_00008",
27-
"specificationId": "7a7795ed-6594-4e3a-82d4-7c468534c71c",
28-
"status": "PENDING",
29-
"updatedAt": "2025-09-01T09:56:54.581573",
30-
"url": "https://someurl.com"
31-
},
32-
{
33-
"createdAt": "2025-09-01T09:56:54.600503",
34-
"groupId": "d96966ec-04b3-4050-9430-b6b508770569",
35-
"id": "1756720614600_00009",
36-
"specificationId": "c8ed344c-24df-4a9c-a8f2-6878710f5690",
37-
"status": "PENDING",
38-
"updatedAt": "2025-09-01T09:56:54.600518",
39-
"url": "https://someurl.com"
40-
},
41-
{
42-
"createdAt": "2025-09-01T09:56:54.619032",
43-
"groupId": "a3c4fcbc-a372-4969-929b-e1f114ebaaff",
44-
"id": "1756720614619_00010",
45-
"specificationId": "c8e7adcb-a8b9-416f-9f81-dc7943fdb52a",
46-
"status": "PENDING",
47-
"updatedAt": "2025-09-01T09:56:54.619045",
48-
"url": "https://someurl.com"
49-
},
50-
{
51-
"createdAt": "2025-09-01T09:56:54.659383",
52-
"groupId": "3c51f68c-8907-4f3f-9391-2fb6ee44fd97",
53-
"id": "1756720614659_00012",
54-
"specificationId": "08e7781b-f483-4a0d-b595-50eefec2c262",
55-
"status": "PENDING",
56-
"updatedAt": "2025-09-01T09:56:54.659408",
57-
"url": "https://someurl.com"
58-
},
59-
{
60-
"createdAt": "2025-09-01T09:56:54.698009",
61-
"groupId": "0bf3515d-4ed1-41d0-8227-ac189e7539f5",
62-
"id": "1756720614698_00014",
63-
"specificationId": "3041fbeb-bf2d-44c2-a531-3695e44fd431",
64-
"status": "PENDING",
65-
"updatedAt": "2025-09-01T09:56:54.698025",
66-
"url": "https://someurl.com"
67-
},
68-
{
69-
"createdAt": "2025-09-01T09:56:54.717251",
70-
"groupId": "aff49848-c4ce-43ce-abab-782f1d9f2803",
71-
"id": "1756720614717_00015",
72-
"specificationId": "36361100-ce83-4008-b566-c16f0b2138e4",
73-
"status": "PENDING",
74-
"updatedAt": "2025-09-01T09:56:54.717267",
75-
"url": "https://someurl.com"
76-
},
77-
{
78-
"createdAt": "2025-09-01T09:56:54.830848",
79-
"groupId": "08529964-e25a-42ea-a3ea-8bf85ab51b8b",
80-
"id": "1756720614830_00021",
81-
"specificationId": "3e34ce6e-a309-48d4-b5d8-23a0b9469e72",
82-
"status": "PENDING",
83-
"updatedAt": "2025-09-01T09:56:54.830866",
84-
"url": "https://someurl.com"
85-
},
86-
{
87-
"createdAt": "2025-09-01T09:56:54.851174",
88-
"groupId": "0bae37d7-6e47-4bf1-b17d-2e31aea55ea1",
89-
"id": "1756720614851_00022",
90-
"specificationId": "851862de-162a-481d-b224-0510e1bb9d71",
91-
"status": "PENDING",
92-
"updatedAt": "2025-09-01T09:56:54.851196",
93-
"url": "https://someurl.com"
94-
}
95-
]
2+
"data": [
3+
{
4+
"attributes": {
5+
"specificationId": "05464f16-24fa-4e63-84f0-4a86b08d906d",
6+
"status": "PENDING"
7+
},
8+
"id": "fcfd849ceec940e8832b41f4fc161e09",
9+
"type": "Letter"
9610
},
97-
"supplierId": "70735ec9-3ba5-4fb0-bb01-b56d2df24ebb",
98-
"type": "Letters"
99-
},
100-
"links": {
101-
"first": "/letters?status=PENDING&size=10",
102-
"next": "/letters?status=PENDING&size=10&cursor=1756720614851_00022",
103-
"self": "/letters?status=PENDING&size=10"
104-
}
11+
{
12+
"attributes": {
13+
"specificationId": "b3893282-1efc-484e-b35b-7150440eeefe",
14+
"status": "PENDING"
15+
},
16+
"id": "7d64bd6a49e14213b47abbf6357eba0c",
17+
"type": "Letter"
18+
},
19+
{
20+
"attributes": {
21+
"specificationId": "8612a482-1f0f-4cab-8f79-d17c4bed740b",
22+
"status": "PENDING"
23+
},
24+
"id": "2c06e7e32db4445fbbf56e7af223e0a2",
25+
"type": "Letter"
26+
},
27+
{
28+
"attributes": {
29+
"specificationId": "b05cb6f8-6f22-4a2f-8e37-5697d893a592",
30+
"status": "PENDING"
31+
},
32+
"id": "3b302a6122854695b5c514a4d28d18d5",
33+
"type": "Letter"
34+
},
35+
{
36+
"attributes": {
37+
"specificationId": "2188b8ea-7767-49ae-8c29-dc72b15d21dd",
38+
"status": "PENDING"
39+
},
40+
"id": "fbe3a53aac764a17a834699b8779958c",
41+
"type": "Letter"
42+
},
43+
{
44+
"attributes": {
45+
"specificationId": "b2e72958-6369-41bf-8cc9-2e1cfbb5eb27",
46+
"status": "PENDING"
47+
},
48+
"id": "393056c7cdc649deb29ee8d2651f29dd",
49+
"type": "Letter"
50+
},
51+
{
52+
"attributes": {
53+
"specificationId": "d18b3be7-bebc-448c-9621-13fc8e046a8c",
54+
"status": "PENDING"
55+
},
56+
"id": "c6d0d4243f004b4e844003fbf80a9105",
57+
"type": "Letter"
58+
},
59+
{
60+
"attributes": {
61+
"specificationId": "853817f0-d797-4eb2-bf40-2879a9b58117",
62+
"status": "PENDING"
63+
},
64+
"id": "03aa3fb76d544ad483984bdd7fcd900b",
65+
"type": "Letter"
66+
},
67+
{
68+
"attributes": {
69+
"specificationId": "9e5d5da7-5991-4ac9-9cee-559769912ca5",
70+
"status": "PENDING"
71+
},
72+
"id": "7c9b698bf434479cabd0af946cc93f95",
73+
"type": "Letter"
74+
},
75+
{
76+
"attributes": {
77+
"specificationId": "634bcc87-fcc3-41fe-b6f9-c6a2125758e6",
78+
"status": "PENDING"
79+
},
80+
"id": "987276fd0dc94ddbab607d4a24693db2",
81+
"type": "Letter"
82+
}
83+
]
10584
}

sandbox/data/examples/getLetters/responses/getLetters_pending_1756720614851_00022.json

Lines changed: 0 additions & 105 deletions
This file was deleted.

0 commit comments

Comments
 (0)