POST api/Calls/recordingStatus/{tonumber}/{callid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
tonumber

string

Required

callid

integer

Required

Body Parameters

CallRecording
NameDescriptionTypeAdditional information
AccountSid

string

None.

ApiVersion

string

None.

CallSid

string

None.

DateCreated

date

None.

DateUpdated

date

None.

RecordingDuration

integer

None.

Price

decimal number

None.

RecordingSid

string

None.

RecordingUrl

string

None.

FullRecordingUrl

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AccountSid": "sample string 1",
  "ApiVersion": "sample string 2",
  "CallSid": "sample string 3",
  "DateCreated": "2019-05-25T21:00:46.4799717+00:00",
  "DateUpdated": "2019-05-25T21:00:46.4799717+00:00",
  "RecordingDuration": 6,
  "Price": 1.0,
  "RecordingSid": "sample string 7",
  "RecordingUrl": "sample string 8",
  "FullRecordingUrl": "https://api.twilio.com/2010-04-01/Accounts/sample string 1/Recordings/sample string 7.wav"
}

application/xml, text/xml

Sample:
<CallRecording xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GaleMessaging.Models">
  <AccountSid>sample string 1</AccountSid>
  <ApiVersion>sample string 2</ApiVersion>
  <CallSid>sample string 3</CallSid>
  <DateCreated>2019-05-25T21:00:46.4799717+00:00</DateCreated>
  <DateUpdated>2019-05-25T21:00:46.4799717+00:00</DateUpdated>
  <Price>1</Price>
  <RecordingDuration>6</RecordingDuration>
  <RecordingSid>sample string 7</RecordingSid>
  <RecordingUrl>sample string 8</RecordingUrl>
</CallRecording>

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

Response Information

Resource Description

None.