POST api/Transaction/End
No documentation available.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
transactionEndRequest | No documentation available. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "Security": { "Token": "sample string 1" }, "Transaction": { "TransactionId": "sample string 1", "MediaId": 2 }, "TotalPackageSize": 1, "FileName": "sample string 2", "TempFileName": "sample string 3", "TimeStamp": "sample string 4" }
application/xml, text/xml
Sample:
<TransactionEndRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Teos.Net.Media.Web.Service.Models"> <FileName>sample string 2</FileName> <Security> <Token>sample string 1</Token> </Security> <TempFileName>sample string 3</TempFileName> <TimeStamp>sample string 4</TimeStamp> <TotalPackageSize>1</TotalPackageSize> <Transaction> <MediaId>2</MediaId> <TransactionId>sample string 1</TransactionId> </Transaction> </TransactionEndRequest>
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 }, "Media": { "Id": 1, "FileName": "sample string 2", "FileMimeType": "sample string 3", "FileSize": 4, "FileUrl": "sample string 5" }, "IsSucccess": true }
application/xml, text/xml
Sample:
<TransactionEndResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Teos.Net.Media.Web.Service.Models"> <IsSucccess>true</IsSucccess> <Media> <FileMimeType>sample string 3</FileMimeType> <FileName>sample string 2</FileName> <FileSize>4</FileSize> <FileUrl>sample string 5</FileUrl> <Id>1</Id> </Media> <Transaction> <MediaId>2</MediaId> <TransactionId>sample string 1</TransactionId> </Transaction> </TransactionEndResponse>