POST api/Upload/CreateSession

Request Information

URI Parameters

None.

Body Parameters

SessionCreationRequestModel
NameDescriptionTypeAdditional information
MobileDeviceID

globally unique identifier

None.

ShowID

globally unique identifier

None.

StartTime

date

Required

EndTime

date

Required

MediaLength

time interval

Required

FileSizeInBytes

integer

Required

Request Formats

application/json, text/json

Sample:
{
  "MobileDeviceID": "838604f1-c460-4b47-aed1-6d3a1e3292ef",
  "ShowID": "a5bdee06-7752-4164-8aa3-9dac441c24e9",
  "StartTime": "2020-10-24T22:16:09.9054095+00:00",
  "EndTime": "2020-10-24T22:16:09.9054095+00:00",
  "MediaLength": "00:00:00.1234567",
  "FileSizeInBytes": 4
}

text/xml

Sample:
<SessionCreationRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ClipAisle.Api.Models">
  <EndTime>2020-10-24T22:16:09.9054095+00:00</EndTime>
  <FileSizeInBytes>4</FileSizeInBytes>
  <MediaLength>PT0.1234567S</MediaLength>
  <MobileDeviceID>838604f1-c460-4b47-aed1-6d3a1e3292ef</MobileDeviceID>
  <ShowID>a5bdee06-7752-4164-8aa3-9dac441c24e9</ShowID>
  <StartTime>2020-10-24T22:16:09.9054095+00:00</StartTime>
</SessionCreationRequestModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/xml

Sample:

Sample not available.