GET api/Environment/CheckByIPAddress/{phoneNumber}/{requestedFrom}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| phoneNumber | string |
Required |
|
| requestedFrom | string |
Required |
Body Parameters
None.
Response Information
Resource Description
CheckByIPResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| IPCountryISOCode | string |
None. |
|
| IPCountryName | string |
None. |
|
| AllowSipCalling | boolean |
None. |
|
| AllowRazaOutCalling | boolean |
None. |
|
| ForceLogOut | boolean |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"IPCountryISOCode": "sample string 1",
"IPCountryName": "sample string 2",
"AllowSipCalling": true,
"AllowRazaOutCalling": true,
"ForceLogOut": true,
"Message": "sample string 6"
}
application/xml, text/xml
Sample:
<CheckByIPResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Raza.Objects.Business.Common"> <AllowRazaOutCalling>true</AllowRazaOutCalling> <AllowSipCalling>true</AllowSipCalling> <ForceLogOut>true</ForceLogOut> <IPCountryISOCode>sample string 1</IPCountryISOCode> <IPCountryName>sample string 2</IPCountryName> <Message>sample string 6</Message> </CheckByIPResponse>