POST api/Transaction/Start

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
transactionStartRequest
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Security": {
    "Token": "sample string 1"
  },
  "MediaDetails": {
    "Name": "sample string 1",
    "Size": 2,
    "MimeType": "sample string 3"
  }
}

application/xml, text/xml

Sample:
<TransactionStartRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Teos.Net.Media.Web.Service.Models">
  <MediaDetails>
    <MimeType>sample string 3</MimeType>
    <Name>sample string 1</Name>
    <Size>2</Size>
  </MediaDetails>
  <Security>
    <Token>sample string 1</Token>
  </Security>
</TransactionStartRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{
  "Transaction": {
    "TransactionId": "sample string 1",
    "MediaId": 2
  },
  "ChunkDetails": {
    "StartOffset": 1,
    "ChunkSize": 2,
    "PartSize": 3,
    "LastPackageBytes": 4
  },
  "StartOffset": 1,
  "EndOffset": 2,
  "MediaType": "sample string 3",
  "MediaName": "sample string 4",
  "TimeStamp": "sample string 5",
  "Error": "sample string 6"
}

application/xml, text/xml

Sample:
<TransactionStartResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Teos.Net.Media.Web.Service.Models">
  <ChunkDetails>
    <ChunkSize>2</ChunkSize>
    <LastPackageBytes>4</LastPackageBytes>
    <PartSize>3</PartSize>
    <StartOffset>1</StartOffset>
  </ChunkDetails>
  <EndOffset>2</EndOffset>
  <Error>sample string 6</Error>
  <MediaName>sample string 4</MediaName>
  <MediaType>sample string 3</MediaType>
  <StartOffset>1</StartOffset>
  <TimeStamp>sample string 5</TimeStamp>
  <Transaction>
    <MediaId>2</MediaId>
    <TransactionId>sample string 1</TransactionId>
  </Transaction>
</TransactionStartResponse>