Consolidation of Next Generation Consumer API services - Driver for simpler mobile apps API calls
The following services are exposed from the micro-service.
Please note it is mandatory to supply an Accept HTTP header to all below services with the value application/vnd.hmrc.1.0+json
.
Task | Supported Methods | Description |
---|---|---|
/native-app/preflight-check |
POST | Return pre-flight information. The cookie named mdtpapi will be returned from this service and must be supplied to the startup service. More... |
/native-app/:nino/startup |
POST | Initiate an async service call to return personal tax data. The cookie named mdtpapi will be returned from this service and must be supplied to the poll service. More... |
/native-app/:nino/poll |
GET | Poll the status of the async task which was initiated from startup. The cookie named mdtpapi must be supplied to this service. More... |
Feedback /native-app/:nino/startup |
POST | Initiate an async service to submit feedback. The cookie named mdtpapi will be returned from this service and must be supplied to the poll service. More... |
Feedback /native-app/:nino/poll |
GET | Poll the status of the async feedback task which was initiated from startup. The cookie named mdtpapi must be supplied to this service. More... |
All the above endpoints are accessible on sandbox with /sandbox
prefix on each endpoint, e.g.
GET /sandbox/native-app/preflight-check
Version of API need to be provided in Accept
request header
Accept: application/vnd.hmrc.v1.0+json
This code is open source software licensed under the Apache 2.0 License