POST api/Trading

Request Information

URI Parameters

None.

Body Parameters

Trading
NameDescriptionTypeAdditional information
op

string

None.

isDemo

boolean

None.

customer

string

None.

ExpiryDate

string

None.

product

string

None.

strike

string

None.

delta

string

None.

days

string

None.

minutes

string

None.

fromDate

string

None.

toDate

string

None.

useTradeDate

boolean

None.

token

string

None.

Tenors

string

None.

otherTenors

boolean

None.

noCoreRate

boolean

None.

useCache

boolean

None.

IncludeOvernightInterest

boolean

None.

POSTAccessCode

string

None.

POSTAccessPassword

string

None.

ForcePostResponse

string

None.

Message

string

None.

username

string

None.

password

string

None.

decryptPassword

boolean

None.

isBase64

boolean

None.

scope

string

None.

productType

string

None.

sessionType

string

None.

country

string

None.

office

string

None.

type

string

None.

category

string

None.

email

string

None.

whiteLabel

string

None.

maxToClose

string

None.

ApiUsername

string

None.

ApiPassword

string

None.

reportName

string

None.

date_Coverage

string

None.

TraceDisplayFormat

TraceFormat

None.

Year

string

None.

Month

string

None.

OnBehalfOf

string

None.

includeDefault

integer

None.

orderNumber

string

None.

newPrice

string

None.

newQty

string

None.

newTimeInForce

string

None.

forceStop

boolean

None.

onlyCancel

boolean

None.

op_test

string

None.

account

string

None.

amount

string

None.

currency

string

None.

authUsername

string

None.

authPassword

string

None.

customerFill

string

None.

Comment

string

None.

fileContent

string

None.

TimeSent

date

None.

clientOrderID

string

None.

isPersonLight

boolean

None.

newBuyOrSell

string

None.

newPriceTP

string

None.

newPriceSL

string

None.

requestedBy

string

None.

NotifyURI

string

None.

groupNumber

string

None.

retVal

returnValues

None.

Request Formats

application/json, text/json

Sample:
{
  "op": "sample string 1",
  "isDemo": true,
  "customer": "sample string 3",
  "ExpiryDate": "sample string 4",
  "product": "sample string 5",
  "strike": "sample string 6",
  "delta": "sample string 7",
  "days": "sample string 8",
  "minutes": "sample string 9",
  "fromDate": "sample string 10",
  "toDate": "sample string 11",
  "useTradeDate": true,
  "token": "sample string 13",
  "Tenors": "sample string 14",
  "otherTenors": true,
  "noCoreRate": true,
  "useCache": true,
  "IncludeOvernightInterest": true,
  "POSTAccessCode": "sample string 19",
  "POSTAccessPassword": "sample string 20",
  "ForcePostResponse": "sample string 21",
  "Message": "sample string 22",
  "username": "sample string 23",
  "password": "sample string 24",
  "decryptPassword": true,
  "isBase64": true,
  "scope": "sample string 27",
  "productType": "sample string 28",
  "sessionType": "sample string 29",
  "country": "sample string 30",
  "office": "sample string 31",
  "type": "sample string 32",
  "category": "sample string 33",
  "email": "sample string 34",
  "whiteLabel": "sample string 35",
  "maxToClose": "sample string 36",
  "ApiUsername": "sample string 37",
  "ApiPassword": "sample string 38",
  "reportName": "sample string 39",
  "date_Coverage": "sample string 40",
  "TraceDisplayFormat": 0,
  "Year": "sample string 41",
  "Month": "sample string 42",
  "OnBehalfOf": "sample string 43",
  "includeDefault": 44,
  "orderNumber": "sample string 45",
  "newPrice": "sample string 46",
  "newQty": "sample string 47",
  "newTimeInForce": "sample string 48",
  "forceStop": true,
  "onlyCancel": true,
  "op_test": "sample string 51",
  "account": "sample string 52",
  "amount": "sample string 53",
  "currency": "sample string 54",
  "authUsername": "sample string 55",
  "authPassword": "sample string 56",
  "customerFill": "sample string 57",
  "Comment": "sample string 58",
  "fileContent": "sample string 59",
  "TimeSent": "2026-10-20T09:07:04.8782055+00:00",
  "clientOrderID": "sample string 61",
  "isPersonLight": true,
  "newBuyOrSell": "sample string 63",
  "newPriceTP": "sample string 64",
  "newPriceSL": "sample string 65",
  "requestedBy": "sample string 66",
  "NotifyURI": "sample string 67",
  "groupNumber": "sample string 68",
  "retVal": null
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Type 'ExportToAvaCustomer.returnValues' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Type 'ExportToAvaCustomer.returnValues' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.