Number Status
The Number Status request validates the status of the uploaded numbers.
URL
{{baseUrl}}/api/v2/oc/numbers/action/number-status
HTTP Method
POST
Request Body
|
Parameter |
Type |
Description |
||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
telephoneNumbers |
string list |
List of phone numbers that are uploaded to the customer. |
||||||||||||||||||
|
Phone number validation rules are in accordance with E.164 format:
Local telephone number or subscriber number. It has the following structure: [+][country code][area code][subscriber number]. Example of a number with E.164 format in the United States Telephone number: 415 123 1234 E.164 format number: +14151231234
Valid country code, per civic address and/or contact info of the given lead. See Country Dialing Codes.
|
||||||||||||||||||||
|
msTenantId |
string |
Microsoft Tenant ID of customer tenant for validation. |
||||||||||||||||||
Example Request-Single Number
{
"telephoneNumbers": [
"+18333998785"
],
"msTenantId": "f94238e5-4f2c-4e1b-8125-2d27122ca75f"
}
HTTP Responses
| ■ | 200 OK |
|
Parameter |
Type |
Description |
|||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
validationResult |
string |
Indicates if the validation execution is successful.
|
|||||||||
|
telephoneNumbers |
list array |
List array including the following values: telephoneNumber; validationResult, actionRequired, validationDetail, telephoneNumberDetail: numberFound, numberOffering and assignmentStatus |
|||||||||
|
telephoneNumber |
string |
Indicates the telephone number that was validated. |
|||||||||
|
validationResult |
string |
Indicates if the validation execution succeeded or failed. |
|||||||||
|
actionRequired |
string |
Indicates if any actions are required. |
|||||||||
|
validationDetail |
list array |
List array including the following values:
|
|||||||||
|
Level |
string |
Error or Information message |
|||||||||
|
Description |
string |
Description of the message (see examples below) |
|||||||||
|
telephoneNumberDetail |
list array |
list array including the following values:
|
|||||||||
|
numberFound |
boolean |
Indicates whether the number is found in the Customer inventory in the Live Platform database.
|
|||||||||
|
numberOffering |
string |
One of the following values:
|
|||||||||
|
assignmentStatus |
boolean |
Indicates whether the number has been assigned to the subscriber user in their Teams admin center. |