GET api/GetCallLogs?jsonData={jsonData}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| jsonData | string |
Required |
Body Parameters
None.
Response Information
Resource Description
GetCallLogsVm| Name | Description | Type | Additional information |
|---|---|---|---|
| Count | integer |
None. |
|
| OutgoingAnswered | integer |
None. |
|
| OutgoingUnAnswered | integer |
None. |
|
| IncomingAnswered | integer |
None. |
|
| IncomingUnAnswered | integer |
None. |
|
| IncomingDuration | string |
None. |
|
| OutgoingDuration | string |
None. |
|
| CallLogs | Collection of GetAllCallLogVm |
None. |
|
| CallTypeData | Collection of GetCallLogTypeDataVm |
None. |
Response Formats
application/json, text/json
Sample:
{
"Count": 1,
"OutgoingAnswered": 2,
"OutgoingUnAnswered": 3,
"IncomingAnswered": 4,
"IncomingUnAnswered": 5,
"IncomingDuration": "sample string 6",
"OutgoingDuration": "sample string 7",
"CallLogs": [
{
"Count": 1,
"Id": 2,
"Name": "sample string 3",
"Type": "sample string 4",
"TypeId": "sample string 5",
"Number": "sample string 6",
"Duration": "sample string 7",
"DateTime": "sample string 8",
"ProjectId": 1,
"ProjectName": "sample string 9",
"UserId": 1,
"UserName": "sample string 10",
"LeadId": 1,
"ContactId": 1,
"ChannelPartnerId": 1,
"InitiatedVia": "sample string 11",
"IsMapped": true,
"IsConvertedFromContact": true
},
{
"Count": 1,
"Id": 2,
"Name": "sample string 3",
"Type": "sample string 4",
"TypeId": "sample string 5",
"Number": "sample string 6",
"Duration": "sample string 7",
"DateTime": "sample string 8",
"ProjectId": 1,
"ProjectName": "sample string 9",
"UserId": 1,
"UserName": "sample string 10",
"LeadId": 1,
"ContactId": 1,
"ChannelPartnerId": 1,
"InitiatedVia": "sample string 11",
"IsMapped": true,
"IsConvertedFromContact": true
}
],
"CallTypeData": [
{
"Type": "sample string 1",
"Count": 2
},
{
"Type": "sample string 1",
"Count": 2
}
]
}
application/xml, text/xml
Sample:
<GetCallLogsVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BrokerServer.Services.CallLog">
<CallLogs>
<GetAllCallLogVm>
<ChannelPartnerId>1</ChannelPartnerId>
<ContactId>1</ContactId>
<Count>1</Count>
<DateTime>sample string 8</DateTime>
<Duration>sample string 7</Duration>
<Id>2</Id>
<InitiatedVia>sample string 11</InitiatedVia>
<IsConvertedFromContact>true</IsConvertedFromContact>
<IsMapped>true</IsMapped>
<LeadId>1</LeadId>
<Name>sample string 3</Name>
<Number>sample string 6</Number>
<ProjectId>1</ProjectId>
<ProjectName>sample string 9</ProjectName>
<Type>sample string 4</Type>
<TypeId>sample string 5</TypeId>
<UserId>1</UserId>
<UserName>sample string 10</UserName>
</GetAllCallLogVm>
<GetAllCallLogVm>
<ChannelPartnerId>1</ChannelPartnerId>
<ContactId>1</ContactId>
<Count>1</Count>
<DateTime>sample string 8</DateTime>
<Duration>sample string 7</Duration>
<Id>2</Id>
<InitiatedVia>sample string 11</InitiatedVia>
<IsConvertedFromContact>true</IsConvertedFromContact>
<IsMapped>true</IsMapped>
<LeadId>1</LeadId>
<Name>sample string 3</Name>
<Number>sample string 6</Number>
<ProjectId>1</ProjectId>
<ProjectName>sample string 9</ProjectName>
<Type>sample string 4</Type>
<TypeId>sample string 5</TypeId>
<UserId>1</UserId>
<UserName>sample string 10</UserName>
</GetAllCallLogVm>
</CallLogs>
<CallTypeData>
<GetCallLogTypeDataVm>
<Count>2</Count>
<Type>sample string 1</Type>
</GetCallLogTypeDataVm>
<GetCallLogTypeDataVm>
<Count>2</Count>
<Type>sample string 1</Type>
</GetCallLogTypeDataVm>
</CallTypeData>
<Count>1</Count>
<IncomingAnswered>4</IncomingAnswered>
<IncomingDuration>sample string 6</IncomingDuration>
<IncomingUnAnswered>5</IncomingUnAnswered>
<OutgoingAnswered>2</OutgoingAnswered>
<OutgoingDuration>sample string 7</OutgoingDuration>
<OutgoingUnAnswered>3</OutgoingUnAnswered>
</GetCallLogsVm>