POST api/CreateCallLog

Request Information

URI Parameters

None.

Body Parameters

Collection of CreateCallLogVm
NameDescriptionTypeAdditional information
Name

string

None.

Number

string

None.

Date

decimal number

None.

Type

string

None.

Duration

decimal number

None.

Imei

string

None.

Remark

string

None.

ContactId

integer

None.

LeadId

integer

None.

ChannelPartnerId

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "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:
<ArrayOfCreateCallLogVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BrokerServer.Services.CallLog">
  <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>
</ArrayOfCreateCallLogVm>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.

Response Information

Resource Description

Response
NameDescriptionTypeAdditional 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>