POST api/batchapi/medistreamstate

Request Information

URI Parameters

None.

Body Parameters

MedistreamStateViewModel
NameDescriptionTypeAdditional information
medistream_id

globally unique identifier

None.

batch_id

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "medistream_id": "1e300be9-6659-4f68-b5a9-312ec78ecb5d",
  "batch_id": "8663f8a1-a80c-44b7-a199-bd4856f4cd6b"
}

application/xml, text/xml

Sample:
<medistream_state xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EntityModel">
  <batch_id>8663f8a1-a80c-44b7-a199-bd4856f4cd6b</batch_id>
  <medistream_id>1e300be9-6659-4f68-b5a9-312ec78ecb5d</medistream_id>
</medistream_state>

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

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

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