POST api/CallLog/CreateV1
Request Information
URI Parameters
None.
Body Parameters
CreateCallLogPostVm| Name | Description | Type | Additional information |
|---|---|---|---|
| LastCallLogSyncAt | integer |
None. |
|
| CallLogs | Collection of CreateCallLogVm |
None. |
Request Formats
application/json, text/json
Sample:
{
"LastCallLogSyncAt": 1,
"CallLogs": [
{
"Name": "sample string 1",
"Number": "sample string 2",
"Date": 3.1,
"Type": "sample string 4",
"Duration": 5.1,
"Imei": "sample string 6",
"Remark": "sample string 7",
"ContactId": 1,
"LeadId": 1,
"ChannelPartnerId": 1
},
{
"Name": "sample string 1",
"Number": "sample string 2",
"Date": 3.1,
"Type": "sample string 4",
"Duration": 5.1,
"Imei": "sample string 6",
"Remark": "sample string 7",
"ContactId": 1,
"LeadId": 1,
"ChannelPartnerId": 1
}
]
}
application/xml, text/xml
Sample:
<CreateCallLogPostVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BrokerServer.Services.CallLog">
<CallLogs>
<CreateCallLogVm>
<ChannelPartnerId>1</ChannelPartnerId>
<ContactId>1</ContactId>
<Date>3.1</Date>
<Duration>5.1</Duration>
<Imei>sample string 6</Imei>
<LeadId>1</LeadId>
<Name>sample string 1</Name>
<Number>sample string 2</Number>
<Remark>sample string 7</Remark>
<Type>sample string 4</Type>
</CreateCallLogVm>
<CreateCallLogVm>
<ChannelPartnerId>1</ChannelPartnerId>
<ContactId>1</ContactId>
<Date>3.1</Date>
<Duration>5.1</Duration>
<Imei>sample string 6</Imei>
<LeadId>1</LeadId>
<Name>sample string 1</Name>
<Number>sample string 2</Number>
<Remark>sample string 7</Remark>
<Type>sample string 4</Type>
</CreateCallLogVm>
</CallLogs>
<LastCallLogSyncAt>1</LastCallLogSyncAt>
</CreateCallLogPostVm>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Response| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Message | string |
None. |
|
| Description | string |
None. |
|
| Data | Object |
None. |
|
| Count | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Message": "sample string 2",
"Description": "sample string 3",
"Data": {},
"Count": 5
}
application/xml, text/xml
Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BrokerServer.Models"> <Count>5</Count> <Data /> <Description>sample string 3</Description> <Message>sample string 2</Message> <Success>true</Success> </Response>