Create a test company
POST https://test-data-sandbox.company-information.service.gov.uk/test-data/company
The request body takes a complete createTestCompanyRequestBody resource, containing the following writable properties:
{
"accounts_due_status": "string",
"company_status": "string",
"company_status_detail": "string",
"company_type": "string",
"filing_history": [
{
"category": "string",
"description": "string",
"original_description": "string",
"type": "string"
}
],
"has_super_secure_pscs": "boolean",
"jurisdiction": "string",
"number_of_appointments": "integer",
"officer_roles": [
"string"
],
"registers": [
{
"register_moved_to": "string",
"register_type": "string"
}
],
"sub_type": "string"
}
Name | Type | Description | Additional |
---|---|---|---|
accounts_due_status | string |
The accounts due status of the test company to generate. Defaults to Possible values are:
|
Optional |
company_status | string |
The company_status of the test company to generate. Defaults to Possible values are:
|
Optional |
company_status_detail | string |
The company status detail of the test company to generate. Defaults to Possible values are:
|
Optional |
company_type | string |
The company type of the test company to generate. Defaults to Possible values are:
|
Optional |
filing_history[] | array |
The filing history of the test company to generate. Defaults to |
Optional |
filing_history[].category | string |
The category of the filing history |
Optional |
filing_history[].description | string |
The description of the filing history |
Optional |
filing_history[].original_description | string |
The original description of the filing history |
Optional |
filing_history[].type | string |
The type of the filing history |
Optional |
has_super_secure_pscs | boolean |
Whether the test company has super secure PSCs. Defaults to not having super secure PSCs |
Optional |
jurisdiction | string |
The jurisdiction of the test company to generate. Defaults to Possible values are:
|
Optional |
number_of_appointments | integer |
The number of appointments for the test company to generate. Defaults to |
Optional |
officer_roles[] | array of string |
Possible values are:
|
Optional |
registers[] | array | Optional | |
registers[].register_moved_to | string |
Where the register has been moved to |
Optional |
registers[].register_type | string |
The type of the register |
Optional |
sub_type | string |
The company sub type of the test company to generate. Defaults to Possible values are:
|
Optional |
This request requires the use of one of following authorisation methods:
API key
.
The following HTTP status codes may be returned, optionally with a response resource.
Status code | Description | Resource |
---|---|---|
201 | Created Test company created |
createTestCompanyResponse |
401 | Unauthorized Not authorised to create a test company |