POST api/Calls/Outbound

Request Information

URI Parameters

None.

Body Parameters

Calls
NameDescriptionTypeAdditional information
CallId

integer

None.

ContactID

string

None.

InternalID

string

None.

ContactType

string

None.

IsInbound

boolean

None.

Status

string

None.

FromNumber

string

None.

FromName

string

None.

ToNumber

string

None.

ToName

string

None.

TwilioNumber

string

None.

CallerLocation

string

None.

CallSid

string

None.

DurationSeconds

integer

None.

RecordingUrl

string

None.

DateUpdated

date

None.

DateCreated

date

None.

Request Formats

application/json, text/json

Sample:
{
  "CallId": 1,
  "ContactID": "sample string 2",
  "InternalID": "sample string 3",
  "ContactType": "sample string 4",
  "IsInbound": true,
  "Status": "sample string 6",
  "FromNumber": "sample string 7",
  "FromName": "sample string 8",
  "ToNumber": "sample string 9",
  "ToName": "sample string 10",
  "TwilioNumber": "sample string 11",
  "CallerLocation": "sample string 12",
  "CallSid": "sample string 13",
  "DurationSeconds": 1,
  "RecordingUrl": "sample string 14",
  "DateUpdated": "2019-05-25T21:50:44.4621964+00:00",
  "DateCreated": "2019-05-25T21:50:44.4621964+00:00"
}

application/xml, text/xml

Sample:
<Calls xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GaleMessaging.Models">
  <CallId>1</CallId>
  <CallSid>sample string 13</CallSid>
  <CallerLocation>sample string 12</CallerLocation>
  <ContactID>sample string 2</ContactID>
  <ContactType>sample string 4</ContactType>
  <DateCreated>2019-05-25T21:50:44.4621964+00:00</DateCreated>
  <DateUpdated>2019-05-25T21:50:44.4621964+00:00</DateUpdated>
  <DurationSeconds>1</DurationSeconds>
  <FromName>sample string 8</FromName>
  <FromNumber>sample string 7</FromNumber>
  <InternalID>sample string 3</InternalID>
  <IsInbound>true</IsInbound>
  <RecordingUrl>sample string 14</RecordingUrl>
  <Status>sample string 6</Status>
  <ToName>sample string 10</ToName>
  <ToNumber>sample string 9</ToNumber>
  <TwilioNumber>sample string 11</TwilioNumber>
</Calls>

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

Response Information

Resource Description

None.