No description, website, or topics provided.
Scala
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.github
app
conf
it
project
test
.gitignore
.travis.yml
LICENSE
README.md
export-versions-for-it-tests
repository.yaml
scalastyle-config.xml

README.md

company-registration

Build Status Download

Microservice supporting the company registration and corporation tax aspects of the Streamline Company Registration Legislation.

License

This code is open source software licensed under the Apache 2.0 License

API

Path Supported Methods Description
/corporation-tax-registration/:registrationId/accounts-preparation-date PUT Update the accounting end dates for the user associated with the supplied registrationId

###PUT /corporation-tax-registration/:registrationID/accounts-preparation-date

Responds with:
Status Message
200 OK
403 Forbidden
404 Not found

####Example of usage

PUT /corporation-tax-registration/:registrationID/accounts-preparation-date

with header:

Authorization Bearer fNAao9C4kTby8cqa6g75emw1DZIyA5B72nr9oKHHetE=

Request body

No request body required.

Response body

A 200 success response:

{
    "businessEndDateChoice": "COMPANY_DEFINED",
    "businessEndDate": "2222-12-12",
}

The error scenarios will return an error document, for example:

{
    "statusCode": 404,
    "message":"An existing Corporation Tax Registration record was not found"
}