POST api/CreateIvrLeads

Request Information

URI Parameters

None.

Body Parameters

Collection of IvrLeadPostVm
NameDescriptionTypeAdditional information
Id

integer

None.

CallType

string

None.

BusinessCallType

string

None.

CallId

string

None.

Caller

string

None.

Caller_User

string

None.

Caller_UserId

integer

None.

Caller_Lead

string

None.

Caller_LeadId

integer

None.

Receiver

string

None.

Receiver_User

string

None.

Receiver_UserId

integer

None.

Receiver_Lead

string

None.

Receiver_LeadId

integer

None.

IsMapped

boolean

None.

Source

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "CallType": "sample string 2",
    "BusinessCallType": "sample string 3",
    "CallId": "sample string 4",
    "Caller": "sample string 5",
    "Caller_User": "sample string 6",
    "Caller_UserId": 1,
    "Caller_Lead": "sample string 7",
    "Caller_LeadId": 1,
    "Receiver": "sample string 8",
    "Receiver_User": "sample string 9",
    "Receiver_UserId": 1,
    "Receiver_Lead": "sample string 10",
    "Receiver_LeadId": 1,
    "IsMapped": true,
    "Source": "sample string 12"
  },
  {
    "Id": 1,
    "CallType": "sample string 2",
    "BusinessCallType": "sample string 3",
    "CallId": "sample string 4",
    "Caller": "sample string 5",
    "Caller_User": "sample string 6",
    "Caller_UserId": 1,
    "Caller_Lead": "sample string 7",
    "Caller_LeadId": 1,
    "Receiver": "sample string 8",
    "Receiver_User": "sample string 9",
    "Receiver_UserId": 1,
    "Receiver_Lead": "sample string 10",
    "Receiver_LeadId": 1,
    "IsMapped": true,
    "Source": "sample string 12"
  }
]

application/xml, text/xml

Sample:
<ArrayOfIvrLeadPostVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BrokerServer.Services.Lead">
  <IvrLeadPostVm>
    <BusinessCallType>sample string 3</BusinessCallType>
    <CallId>sample string 4</CallId>
    <CallType>sample string 2</CallType>
    <Caller>sample string 5</Caller>
    <Caller_Lead>sample string 7</Caller_Lead>
    <Caller_LeadId>1</Caller_LeadId>
    <Caller_User>sample string 6</Caller_User>
    <Caller_UserId>1</Caller_UserId>
    <Id>1</Id>
    <IsMapped>true</IsMapped>
    <Receiver>sample string 8</Receiver>
    <Receiver_Lead>sample string 10</Receiver_Lead>
    <Receiver_LeadId>1</Receiver_LeadId>
    <Receiver_User>sample string 9</Receiver_User>
    <Receiver_UserId>1</Receiver_UserId>
    <Source>sample string 12</Source>
  </IvrLeadPostVm>
  <IvrLeadPostVm>
    <BusinessCallType>sample string 3</BusinessCallType>
    <CallId>sample string 4</CallId>
    <CallType>sample string 2</CallType>
    <Caller>sample string 5</Caller>
    <Caller_Lead>sample string 7</Caller_Lead>
    <Caller_LeadId>1</Caller_LeadId>
    <Caller_User>sample string 6</Caller_User>
    <Caller_UserId>1</Caller_UserId>
    <Id>1</Id>
    <IsMapped>true</IsMapped>
    <Receiver>sample string 8</Receiver>
    <Receiver_Lead>sample string 10</Receiver_Lead>
    <Receiver_LeadId>1</Receiver_LeadId>
    <Receiver_User>sample string 9</Receiver_User>
    <Receiver_UserId>1</Receiver_UserId>
    <Source>sample string 12</Source>
  </IvrLeadPostVm>
</ArrayOfIvrLeadPostVm>

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>