File tree Expand file tree Collapse file tree 4 files changed +38
-30
lines changed
specification/api/components Expand file tree Collapse file tree 4 files changed +38
-30
lines changed Original file line number Diff line number Diff line change 11{
22 "data" : {
33 "attributes" : {
4- "cost" : 10.25 ,
54 "groupId" : " abc123" ,
6- "lineItem" : " Letter " ,
5+ "lineItem" : " envelope-business-standard " ,
76 "quantity" : 22 ,
87 "specificationId" : " da0b1495-c7cb-468c-9d81-07dee089d728" ,
98 "stockRemaining" : 2000 ,
Original file line number Diff line number Diff line change 11{
22 "data" : {
33 "attributes" : {
4- "cost" : 10.25 ,
54 "groupId" : " abc123" ,
6- "lineItem" : " Letter " ,
5+ "lineItem" : " envelope-business-standard " ,
76 "quantity" : 22 ,
87 "specificationId" : " da0b1495-c7cb-468c-9d81-07dee089d728" ,
98 "stockRemaining" : 2000 ,
Original file line number Diff line number Diff line change @@ -9,27 +9,32 @@ properties:
99 attributes :
1010 type : object
1111 properties :
12- specificationId :
13- type : string
14- example : 2WL5eYSWGzCHlGmzNxuqVusPxDg
15- groupId :
12+ lineItem :
13+ description : " A line item reference that should match an invoice line item"
1614 type : string
17- example : abc123
15+ example : envelope-business-standard
1816 timestamp :
17+ description : " The effective date of the activity being reported"
1918 type : string
2019 format : date-time
2120 example : " 2023-11-17T14:27:51.413Z"
22- lineItem :
23- type : string
24- example : Letter
2521 quantity :
22+ description : " The quantity of the line item being reported"
2623 type : number
2724 example : 22
28- cost :
29- type : number
30- description : " Total Amount"
31- example : 10.25
25+ specificationId :
26+ description : " A specification ID provided in the Letter request that this MI relates to"
27+ type : string
28+ example : da0b1495-c7cb-468c-9d81-07dee089d728
29+ groupId :
30+ description : " A group ID provided in the Letter request that this MI relates to"
31+ type : string
32+ example : abc123
3233 stockRemaining :
34+ description : " Stock remaining for this line item, where applicable"
3335 type : number
34- description : " Stock remaining for this line item"
3536 example : 20000
37+ required :
38+ - lineItem
39+ - timestamp
40+ - quantity
Original file line number Diff line number Diff line change @@ -9,27 +9,32 @@ properties:
99 attributes :
1010 type : object
1111 properties :
12- specificationId :
13- type : string
14- example : da0b1495-c7cb-468c-9d81-07dee089d728
15- groupId :
12+ lineItem :
13+ description : " A line item reference that should match an invoice line item"
1614 type : string
17- example : abc123
15+ example : envelope-business-standard
1816 timestamp :
17+ description : " The effective date of the activity being reported"
1918 type : string
2019 format : date-time
2120 example : " 2023-11-17T14:27:51.413Z"
22- lineItem :
23- type : string
24- example : Letter
2521 quantity :
22+ description : " The quantity of the line item being reported"
2623 type : number
2724 example : 22
28- cost :
29- type : number
30- description : " Total Amount"
31- example : 10.25
25+ specificationId :
26+ description : " A specification ID provided in the Letter request that this MI relates to"
27+ type : string
28+ example : da0b1495-c7cb-468c-9d81-07dee089d728
29+ groupId :
30+ description : " A group ID provided in the Letter request that this MI relates to"
31+ type : string
32+ example : abc123
3233 stockRemaining :
34+ description : " Stock remaining for this line item, where applicable"
3335 type : number
34- description : " Stock remaining for this line item"
3536 example : 20000
37+ required :
38+ - lineItem
39+ - timestamp
40+ - quantity
You can’t perform that action at this time.
0 commit comments