POST api/Records/{id}

Adds a recording fragment to an existing recording.

Request Information

Parameters

NameDescriptionAdditional information
id
The recording ID.

Define this parameter in the request URI.

recording
The recording data.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Size": 1,
  "TotalSize": 2,
  "Content": "sample string 3",
  "BinaryContent": "QEBA",
  "FragmentHash": "sample string 4",
  "ForceFragmentHash": true,
  "RecordHash": "sample string 6",
  "Fragment": 7,
  "TotalFragments": 8,
  "HasError": true,
  "FileName": "sample string 10"
}

application/xml, text/xml

Sample:
<Recording xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RecordiaIntegrationWS.Models">
  <BinaryContent>QEBA</BinaryContent>
  <Content>sample string 3</Content>
  <FileName>sample string 10</FileName>
  <ForceFragmentHash>true</ForceFragmentHash>
  <Fragment>7</Fragment>
  <FragmentHash>sample string 4</FragmentHash>
  <HasError>true</HasError>
  <RecordHash>sample string 6</RecordHash>
  <Size>1</Size>
  <TotalFragments>8</TotalFragments>
  <TotalSize>2</TotalSize>
</Recording>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'FormUrlEncodedMediaTypeFormatterTracer' to write type 'Recording'.

multipart/form-data

Sample:

Failed to generate the sample for media type 'multipart/form-data'. Cannot use formatter 'MediaTypeFormatterTracer' to write type 'Recording'.

Response Information

Response body formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>