Skip to content

Commit f00611a

Browse files
bhaveshAnniranjan94
authored andcommitted
Fixes fossasia#4702 API doc update for List all taxes [GET]
1 parent a33cb71 commit f00611a

File tree

1 file changed

+41
-41
lines changed

1 file changed

+41
-41
lines changed

docs/api/api_blueprint.apib

+41-41
Original file line numberDiff line numberDiff line change
@@ -12871,47 +12871,47 @@ Get a list of Taxes
1287112871
+ Response 200 (application/vnd.api+json)
1287212872

1287312873
{
12874-
"meta": {
12875-
"count": 1
12876-
},
12877-
"data": [
12878-
{
12879-
"relationships": {
12880-
"event": {
12881-
"links": {
12882-
"self": "/v1/taxes/1/relationships/event",
12883-
"related": "/v1/tax/1/event"
12884-
}
12885-
}
12886-
},
12887-
"attributes": {
12888-
"city": "example",
12889-
"name": "Service Tax",
12890-
"zip": 123456,
12891-
"should-send-invoice": false,
12892-
"country": "IN",
12893-
"address": "example",
12894-
"state": "example",
12895-
"invoice-footer": "example",
12896-
"rate": 1.23456789,
12897-
"is-tax-included-in-price": false,
12898-
"registered-company": "fossasia",
12899-
"tax-id": "1"
12900-
},
12901-
"type": "tax",
12902-
"id": "1",
12903-
"links": {
12904-
"self": "/v1/taxes/1"
12905-
}
12906-
}
12907-
],
12908-
"jsonapi": {
12909-
"version": "1.0"
12910-
},
12911-
"links": {
12912-
"self": "/v1/taxes"
12913-
}
12914-
}
12874+
"meta": {
12875+
"count": 1
12876+
},
12877+
"data": [
12878+
{
12879+
"relationships": {
12880+
"event": {
12881+
"links": {
12882+
"self": "/v1/taxes/1/relationships/event",
12883+
"related": "/v1/tax/1/event"
12884+
}
12885+
}
12886+
},
12887+
"attributes": {
12888+
"city": "example",
12889+
"name": "Service Tax",
12890+
"zip": 123456,
12891+
"should-send-invoice": false,
12892+
"country": "IN",
12893+
"address": "example",
12894+
"state": "example",
12895+
"invoice-footer": "example",
12896+
"rate": 1.23456789,
12897+
"is-tax-included-in-price": false,
12898+
"registered-company": "fossasia",
12899+
"tax-id": "1"
12900+
},
12901+
"type": "tax",
12902+
"id": "1",
12903+
"links": {
12904+
"self": "/v1/taxes/1"
12905+
}
12906+
}
12907+
],
12908+
"jsonapi": {
12909+
"version": "1.0"
12910+
},
12911+
"links": {
12912+
"self": "/v1/taxes"
12913+
}
12914+
}
1291512915

1291612916

1291712917
### Create Tax [POST]

0 commit comments

Comments
 (0)