POST api/MobileApp/GetAccessNumber_V1
Request Information
URI Parameters
None.
Body Parameters
GetAccessNumberRequestName | Description | Type | Additional information |
---|---|---|---|
PhoneNumber | string |
None. |
|
Pin | string |
None. |
|
LocationCountry | string |
None. |
|
DeviceId | string |
None. |
|
DeviceType | string |
None. |
|
DeviceName | string |
None. |
|
DeviceModel | string |
None. |
|
AppVersion | string |
None. |
|
AppType | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "PhoneNumber": "sample string 1", "Pin": "sample string 2", "LocationCountry": "sample string 3", "DeviceId": "sample string 4", "DeviceType": "sample string 5", "DeviceName": "sample string 6", "DeviceModel": "sample string 7", "AppVersion": "sample string 8", "AppType": "sample string 9" }
application/xml, text/xml
Sample:
<GetAccessNumberRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Raza.Web.Api.Models.MobileApp"> <AppType>sample string 9</AppType> <AppVersion>sample string 8</AppVersion> <DeviceId>sample string 4</DeviceId> <DeviceModel>sample string 7</DeviceModel> <DeviceName>sample string 6</DeviceName> <DeviceType>sample string 5</DeviceType> <LocationCountry>sample string 3</LocationCountry> <PhoneNumber>sample string 1</PhoneNumber> <Pin>sample string 2</Pin> </GetAccessNumberRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AccessNumbersResponseName | Description | Type | Additional information |
---|---|---|---|
ResponseCode | string |
None. |
|
ResponseMessage | string |
None. |
|
IsAssigned | boolean |
None. |
|
AssignedAccessNumber | string |
None. |
|
AccessNumbers | Collection of AccessNumber |
None. |
Response Formats
application/json, text/json
Sample:
{ "ResponseCode": "sample string 1", "ResponseMessage": "sample string 2", "IsAssigned": true, "AssignedAccessNumber": "sample string 4", "AccessNumbers": [ { "PhoneNumber": "sample string 1", "Location": "sample string 2" }, { "PhoneNumber": "sample string 1", "Location": "sample string 2" } ] }
application/xml, text/xml
Sample:
<AccessNumbersResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Raza.Web.Api.Models.MobileApp"> <AccessNumbers> <AccessNumber> <Location>sample string 2</Location> <PhoneNumber>sample string 1</PhoneNumber> </AccessNumber> <AccessNumber> <Location>sample string 2</Location> <PhoneNumber>sample string 1</PhoneNumber> </AccessNumber> </AccessNumbers> <AssignedAccessNumber>sample string 4</AssignedAccessNumber> <IsAssigned>true</IsAssigned> <ResponseCode>sample string 1</ResponseCode> <ResponseMessage>sample string 2</ResponseMessage> </AccessNumbersResponse>