POST api/Transaction/StopTransaction

Request Information

URI Parameters

None.

Body Parameters

StopOrCancelTransactionModel
NameDescriptionTypeAdditional information
TransactionID

globally unique identifier

None.

UserID

globally unique identifier

None.

CustomerID

globally unique identifier

None.

Platform

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TransactionID": "3b6f041f-894b-470d-a327-8e144154177c",
  "UserID": "046b27fd-9d58-4955-9c40-ae4c8b3e7c26",
  "CustomerID": "7b55d7a0-6cea-42b2-9308-5dc7b4da7045",
  "Platform": "sample string 4"
}

text/html, multipart/form-data

Sample:
{"TransactionID":"3b6f041f-894b-470d-a327-8e144154177c","UserID":"046b27fd-9d58-4955-9c40-ae4c8b3e7c26","CustomerID":"7b55d7a0-6cea-42b2-9308-5dc7b4da7045","Platform":"sample string 4"}

application/xml, text/xml

Sample:
<StopOrCancelTransactionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VarCharge.MobilApi.Models.Transaction">
  <CustomerID>7b55d7a0-6cea-42b2-9308-5dc7b4da7045</CustomerID>
  <Platform>sample string 4</Platform>
  <TransactionID>3b6f041f-894b-470d-a327-8e144154177c</TransactionID>
  <UserID>046b27fd-9d58-4955-9c40-ae4c8b3e7c26</UserID>
</StopOrCancelTransactionModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

StopTransactionResultModel
NameDescriptionTypeAdditional information
TransactionID

string

None.

Description

string

None.

TransactionStoped

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "TransactionID": "sample string 1",
  "Description": "sample string 2",
  "TransactionStoped": true
}

text/html, multipart/form-data

Sample:
{"TransactionID":"sample string 1","Description":"sample string 2","TransactionStoped":true}

application/xml, text/xml

Sample:
<StopTransactionResultModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VarCharge.MobilApi.Models.Transaction">
  <Description>sample string 2</Description>
  <TransactionID>sample string 1</TransactionID>
  <TransactionStoped>true</TransactionStoped>
</StopTransactionResultModel>