Gets the practice a number at once with an earlier application's approved details (the number application read's reusable): a new application, approved straight away, then the number bought. The details cannot be changed; a change is a fresh application. agreedToCosts must be true, as for a fresh application. 409 billing_mandate_required without a Direct Debit; 409 unless the practice is awaiting a number and the details are still approved; 404 for an application the practice does not have.
Requires: Admin on Messaging.
Parameters
| Name | Type | Description |
|---|---|---|
| tenant* | path string | The Tenant.Code |
The Tenant.Code |
||
Request Body*
{
"applicationId": 1,
"requestedPhoneNumber": "string",
"agreedToCosts": false
}
Responses
201 Created
400 Bad Request
401 Unauthorized – Invalid or missing API key
403 Forbidden – the caller lacks the permissions this endpoint requires; the detail lists every one missing
application/problem+json
404 Not Found
409 Conflict
503 Service Unavailable