Skip to content

Commit 77e3512

Browse files
Chandrashekhar KoriviChandrashekhar Korivi
authored andcommitted
[MTDSA-1171] [CK] Update documentation.
1 parent bf07dbb commit 77e3512

File tree

2 files changed

+15
-13
lines changed

2 files changed

+15
-13
lines changed

public/api/conf/1.0/application.raml

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
---
33

44
title: VAT (MTD)
5-
version: 0.1
5+
version: 1.0
66
protocols: [ HTTPS ]
77
baseUri: https://api.service.hmrc.gov.uk/
88
mediaType: application/json
@@ -39,14 +39,15 @@ traits:
3939
type: string
4040
example: "123456789"
4141
/obligations:
42-
displayName: Retrieve all VAT obligations 1
43-
description: Retrieve all VAT obligations 2
44-
(annotations.sandboxData): !include scenarios/vat-obligation-scenarios.md
45-
is: [headers.acceptHeader, contentType, testScenarioHeader]
46-
(annotations.scope): "read:vat"
47-
securedBy: [ sec.oauth_2_0: { scopes: [ "read:vat" ] } ]
42+
displayName: Retrieve all VAT obligations.
43+
description: Retrieve all VAT obligations.
4844
get:
45+
displayName: Retrieve all VAT obligations.
4946
description: Retrieve all VAT obligations.
47+
(annotations.sandboxData): !include scenarios/vat-obligation-scenarios.md
48+
is: [headers.acceptHeader, contentType, testScenarioHeader]
49+
(annotations.scope): "read:vat"
50+
securedBy: [ sec.oauth_2_0: { scopes: [ "read:vat" ] } ]
5051
queryParameters:
5152
from:
5253
description: Obligations to return from date
@@ -99,18 +100,19 @@ traits:
99100
value:
100101
code: INVALID_STATUS
101102
/periods/{periodKey}:
102-
displayName: Submit VAT return for period 3.
103-
description: Submit VAT return for period 4.
104-
is: [headers.acceptHeader, contentType, testScenarioHeader]
105-
(annotations.scope): "write:vat"
106-
securedBy: [ sec.oauth_2_0: { scopes: [ "write:vat" ] } ]
103+
displayName: Submit VAT return for period.
104+
description: Submit VAT return for period.
107105
uriParameters:
108106
periodKey:
109107
description: Identifier for the period of the VAT return
110108
type: string
111109
example: "#001"
112110
post:
111+
displayName: Submit VAT return for period.
113112
description: Submit VAT return for period.
113+
is: [headers.acceptHeader, contentType, testScenarioHeader]
114+
(annotations.scope): "write:vat"
115+
securedBy: [ sec.oauth_2_0: { scopes: [ "write:vat" ] } ]
114116
body:
115117
application/json:
116118
type: !include schemas/submitVatReturn.json

public/api/conf/1.0/scenarios/vat-obligation-scenarios.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<p>Scenario simulations using _Gov-Test-Scenario_ headers is only available in sandbox environment</p>
1+
<p>Scenario simulations using <b> Gov-Test-Scenario </b> headers is only available in sandbox environment</p>
22
<table>
33
<thead>
44
<tr>

0 commit comments

Comments
 (0)