POST api/IsNumberAvailable

Request Information

URI Parameters

None.

Body Parameters

IsNumberAvailable
NameDescriptionTypeAdditional information
Number

string

None.

UserType

integer

None.

CompanyId

integer

None.

ForWhat

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Number": "sample string 1",
  "UserType": 2,
  "CompanyId": 3,
  "ForWhat": 4
}

application/xml, text/xml

Sample:
<IsNumberAvailable xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cabie.API.Models">
  <CompanyId>3</CompanyId>
  <ForWhat>4</ForWhat>
  <Number>sample string 1</Number>
  <UserType>2</UserType>
</IsNumberAvailable>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IsNumberAvailableResponse
NameDescriptionTypeAdditional information
IsAvailable

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "IsAvailable": true
}

application/xml, text/xml

Sample:
<IsNumberAvailableResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cabie.API.Models">
  <IsAvailable>true</IsAvailable>
</IsNumberAvailableResponse>