Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section


Column


Excerpt

The get margin request returns the transaction the transaction by its identifier. 

Table of Contents
maxLevel4
 



Column
width300px


Align
alignright


EntityTransaction
ActionGet
URL/transactions/{id}
HTTP MethodGET
Parameter InputYes
XML InputNo
Multiple OutputNo
SynchronousYes




Description

The request allows the Client to retrieve the contents of a transaction which was already added to CORE (Add Transaction and Update Transaction). The must submit the unique CORE-assigned internal transaction identifier in the request URL. If the requested transaction does not exist with the identifier or if the client is not authorized to get the transaction then an error is returned. The server will return the requested transaction to the Client if valid and if the transaction is found.  

Request

ParameterNameTypeRequiredNotes
encodingEncodingTransaction EncodingNoDefaults to STRING
reqUserIdRequesting User IDStringNo
 

Response

XPathNameTypeRequiredNotes
/transactionRpt/error@codeError CodeStringNo
 

/transactionRpt/error@msgError MessageStringNo
 

/transactionRpt/transaction@idIDStringYes
 

/transactionRpt/transaction@createTimeCreate TimeDate/TimeYes
 

/transactionRpt/transaction@portfolioIdPortfolio IDString Yes
 

/transactionRpt/transaction@statusStatusEntity StatusYes
 

/transactionRpt/transaction@typeTransaction TypeTransaction Type Yes
 

/transactionRpt/transaction@updateTimeUpdate TimeDate/Time Yes
 

/transactionRpt/transaction/payload@encodingPayload EncodingTransaction EncodingYes
 

/transactionRpt/transaction/payload@formatPayload FormatTransaction FormatYes
 

/transactionRpt/transaction/payload/stringString PayloadString No
 

Errors

CodeDescription
403Returned if the user does not have permission to access the specified portfolio.
404Returned if the requested transaction could not be found.
500The server was not able to process the request. More information (if available) will be provided in the error message.

Examples

Basic
Request
Code Block
languagenone
GET /transactions/123?encoding=STRING

...