Numbers

List numbers

GET /api/v1/tenants/(string: tenant_id)/numbers/
The API is mapped to ServiceProviderDnGetAvailableListRequest for the ‘available’ parameter.
The API is mapped to ServiceProviderDnGetSummaryListRequest for the ‘assignement’ parameter.

Add numbers

POST /api/v1/tenants/(string: tenant_id)/numbers/
The API is implemented using the ServiceProviderDnAddListRequest

There is no partial success possible: it is a all or nothing
If a number already exists, the addition of that number is considered as a success. In that case there is a ‘warning’ additional attribute with more details

Remove numbers

DELETE /api/v1/tenants/(string: tenant)/numbers/
The API is implemented using the ServiceProviderDnDeleteListRequest

There is no partial success possible: it is a all or nothing
If a number does not exist, the delete is considered as a success