POST api/MobileApp/GetCallHistory
Request Information
URI Parameters
None.
Body Parameters
CallHistoryRequestName | Description | Type | Additional information |
---|---|---|---|
PhoneNumber | string |
None. |
|
Pin | string |
None. |
|
GetAllRecords | boolean |
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", "GetAllRecords": true, "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:
<CallHistoryRequest 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> <GetAllRecords>true</GetAllRecords> <PhoneNumber>sample string 1</PhoneNumber> <Pin>sample string 2</Pin> </CallHistoryRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CallHistoryResponseName | Description | Type | Additional information |
---|---|---|---|
ResponseCode | string |
None. |
|
ResponseMessage | string |
None. |
|
CallsDetail | Collection of EachCallDetail |
None. |
Response Formats
application/json, text/json
Sample:
{ "ResponseCode": "sample string 1", "ResponseMessage": "sample string 2", "CallsDetail": [ { "CallDate": "2024-11-27T18:25:27.3118136-05:00", "Destination": "sample string 2", "Duration": 3, "Amount": 4.1 }, { "CallDate": "2024-11-27T18:25:27.3118136-05:00", "Destination": "sample string 2", "Duration": 3, "Amount": 4.1 } ] }
application/xml, text/xml
Sample:
<CallHistoryResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Raza.Web.Api.Models.MobileApp"> <CallsDetail> <EachCallDetail> <Amount>4.1</Amount> <CallDate>2024-11-27T18:25:27.3118136-05:00</CallDate> <Destination>sample string 2</Destination> <Duration>3</Duration> </EachCallDetail> <EachCallDetail> <Amount>4.1</Amount> <CallDate>2024-11-27T18:25:27.3118136-05:00</CallDate> <Destination>sample string 2</Destination> <Duration>3</Duration> </EachCallDetail> </CallsDetail> <ResponseCode>sample string 1</ResponseCode> <ResponseMessage>sample string 2</ResponseMessage> </CallHistoryResponse>