POST pabx/makeOutboundCall

Request Information

URI Parameters

None.

Body Parameters

OutboundCallInfo
NameDescriptionTypeAdditional information
CustId

integer

None.

ContactId

integer

None.

PhoneNumber

string

None.

UserId

integer

None.

TenantId

integer

None.

TicketId

integer

None.

ObjectTypeId

integer

None.

ObjectId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CustId": 1,
  "ContactId": 2,
  "PhoneNumber": "sample string 3",
  "UserId": 4,
  "TenantId": 5,
  "TicketId": 1,
  "ObjectTypeId": 1,
  "ObjectId": 1
}

text/html

Sample:
{"CustId":1,"ContactId":2,"PhoneNumber":"sample string 3","UserId":4,"TenantId":5,"TicketId":1,"ObjectTypeId":1,"ObjectId":1}

application/xml, text/xml

Sample:
<OutboundCallInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.PABX">
  <ContactId>2</ContactId>
  <CustId>1</CustId>
  <ObjectId>1</ObjectId>
  <ObjectTypeId>1</ObjectTypeId>
  <PhoneNumber>sample string 3</PhoneNumber>
  <TenantId>5</TenantId>
  <TicketId>1</TicketId>
  <UserId>4</UserId>
</OutboundCallInfo>

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 'OutboundCallInfo'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.