POST api/Integration/Transaction/CreateTransaction

Request Information

URI Parameters

None.

Body Parameters

CreateTransactionView
NameDescriptionTypeAdditional information
internal_id

integer

None.

TransactionId

string

None.

Investor

string

None.

ToInvestor

string

None.

InvestorAccount

string

None.

ToInvestorAccount

string

None.

FromPrincipal

decimal number

None.

FromCosts

decimal number

None.

ToPrincipal

decimal number

None.

Currency

string

None.

ToCurrency

string

None.

Symbol

string

None.

AssetId

integer

None.

FXRate

decimal number

None.

TransactionDate

date

None.

SettlementDate

date

None.

CertificateIssueDate

date

None.

OriginalTradeDate

date

None.

ExecutionTime

date

None.

PriceDate

date

None.

FetchPrice

boolean

None.

Commission

decimal number

None.

Quantity

decimal number

None.

Price

decimal number

None.

Amount

decimal number

None.

OtherFees

decimal number

None.

CostBasis

decimal number

None.

NetTradePrice

decimal number

None.

AccruedInterest

decimal number

None.

Description

string

None.

TransactionType

string

None.

TransactionTypeDetail

string

None.

InstrumentType

string

None.

InternalSource

string

None.

Broker

string

None.

Exchange

string

None.

Note

string

None.

Tax1

decimal number

None.

Tax2

decimal number

None.

InterfaceCode

string

None.

AssetClass

string

None.

Index

string

None.

FuturePrice

decimal number

None.

ExpiryDate

date

None.

ToAmount

decimal number

None.

ToTradeDate

date

None.

ToPrice

decimal number

None.

ToQuantity

decimal number

None.

ToSymbol

string

None.

MasterInvestorAccountId

integer

None.

SettlementType

string

None.

FeeMethod

string

None.

RepoMethod

integer

None.

RepoFIncomeId

integer

None.

RepoDate

date

None.

RepoRate

decimal number

None.

RepoIndexId

integer

None.

PercentageRepoIndex

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "internal_id": 1,
  "TransactionId": "sample string 2",
  "Investor": "sample string 3",
  "ToInvestor": "sample string 4",
  "InvestorAccount": "sample string 5",
  "ToInvestorAccount": "sample string 6",
  "FromPrincipal": 7.0,
  "FromCosts": 8.0,
  "ToPrincipal": 9.0,
  "Currency": "sample string 10",
  "ToCurrency": "sample string 11",
  "Symbol": "sample string 12",
  "AssetId": 13,
  "FXRate": 14.0,
  "TransactionDate": "2025-12-06T13:00:11.8692528-06:00",
  "SettlementDate": "2025-12-06T13:00:11.8692528-06:00",
  "CertificateIssueDate": "2025-12-06T13:00:11.8692528-06:00",
  "OriginalTradeDate": "2025-12-06T13:00:11.8692528-06:00",
  "ExecutionTime": "2025-12-06T13:00:11.8692528-06:00",
  "PriceDate": "2025-12-06T13:00:11.8692528-06:00",
  "FetchPrice": true,
  "Commission": 22.0,
  "Quantity": 23.0,
  "Price": 24.0,
  "Amount": 25.0,
  "OtherFees": 26.0,
  "CostBasis": 27.0,
  "NetTradePrice": 28.0,
  "AccruedInterest": 29.0,
  "Description": "sample string 30",
  "TransactionType": "sample string 31",
  "TransactionTypeDetail": "sample string 32",
  "InstrumentType": "sample string 33",
  "InternalSource": "sample string 34",
  "Broker": "sample string 35",
  "Exchange": "sample string 36",
  "Note": "sample string 37",
  "Tax1": 38.0,
  "Tax2": 39.0,
  "InterfaceCode": "sample string 40",
  "AssetClass": "sample string 41",
  "Index": "sample string 42",
  "FuturePrice": 43.0,
  "ExpiryDate": "2025-12-06T13:00:11.8692528-06:00",
  "ToAmount": 45.0,
  "ToTradeDate": "2025-12-06T13:00:11.8692528-06:00",
  "ToPrice": 47.0,
  "ToQuantity": 48.0,
  "ToSymbol": "sample string 49",
  "MasterInvestorAccountId": 50,
  "SettlementType": "sample string 51",
  "FeeMethod": "sample string 52",
  "RepoMethod": 53,
  "RepoFIncomeId": 54,
  "RepoDate": "2025-12-06T13:00:11.8692528-06:00",
  "RepoRate": 56.0,
  "RepoIndexId": 57,
  "PercentageRepoIndex": 58.0
}

application/xml, text/xml

Sample:
<CreateTransactionView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApiLMD.Models.ClassModel.Integration">
  <AccruedInterest>29</AccruedInterest>
  <Amount>25</Amount>
  <AssetClass>sample string 41</AssetClass>
  <AssetId>13</AssetId>
  <Broker>sample string 35</Broker>
  <CertificateIssueDate>2025-12-06T13:00:11.8692528-06:00</CertificateIssueDate>
  <Commission>22</Commission>
  <CostBasis>27</CostBasis>
  <Currency>sample string 10</Currency>
  <Description>sample string 30</Description>
  <Exchange>sample string 36</Exchange>
  <ExecutionTime>2025-12-06T13:00:11.8692528-06:00</ExecutionTime>
  <ExpiryDate>2025-12-06T13:00:11.8692528-06:00</ExpiryDate>
  <FXRate>14</FXRate>
  <FeeMethod>sample string 52</FeeMethod>
  <FetchPrice>true</FetchPrice>
  <FromCosts>8</FromCosts>
  <FromPrincipal>7</FromPrincipal>
  <FuturePrice>43</FuturePrice>
  <Index>sample string 42</Index>
  <InstrumentType>sample string 33</InstrumentType>
  <InterfaceCode>sample string 40</InterfaceCode>
  <InternalSource>sample string 34</InternalSource>
  <Investor>sample string 3</Investor>
  <InvestorAccount>sample string 5</InvestorAccount>
  <MasterInvestorAccountId>50</MasterInvestorAccountId>
  <NetTradePrice>28</NetTradePrice>
  <Note>sample string 37</Note>
  <OriginalTradeDate>2025-12-06T13:00:11.8692528-06:00</OriginalTradeDate>
  <OtherFees>26</OtherFees>
  <PercentageRepoIndex>58</PercentageRepoIndex>
  <Price>24</Price>
  <PriceDate>2025-12-06T13:00:11.8692528-06:00</PriceDate>
  <Quantity>23</Quantity>
  <RepoDate>2025-12-06T13:00:11.8692528-06:00</RepoDate>
  <RepoFIncomeId>54</RepoFIncomeId>
  <RepoIndexId>57</RepoIndexId>
  <RepoMethod>53</RepoMethod>
  <RepoRate>56</RepoRate>
  <SettlementDate>2025-12-06T13:00:11.8692528-06:00</SettlementDate>
  <SettlementType>sample string 51</SettlementType>
  <Symbol>sample string 12</Symbol>
  <Tax1>38</Tax1>
  <Tax2>39</Tax2>
  <ToAmount>45</ToAmount>
  <ToCurrency>sample string 11</ToCurrency>
  <ToInvestor>sample string 4</ToInvestor>
  <ToInvestorAccount>sample string 6</ToInvestorAccount>
  <ToPrice>47</ToPrice>
  <ToPrincipal>9</ToPrincipal>
  <ToQuantity>48</ToQuantity>
  <ToSymbol>sample string 49</ToSymbol>
  <ToTradeDate>2025-12-06T13:00:11.8692528-06:00</ToTradeDate>
  <TransactionDate>2025-12-06T13:00:11.8692528-06:00</TransactionDate>
  <TransactionId>sample string 2</TransactionId>
  <TransactionType>sample string 31</TransactionType>
  <TransactionTypeDetail>sample string 32</TransactionTypeDetail>
  <internal_id>1</internal_id>
</CreateTransactionView>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.