Margin Service API - Transaction - Update



Request

XPath

Name

Type

Required

Notes

XPath

Name

Type

Required

Notes

/transactionReq@reqUserId

Requesting User ID

String

No



/transactionReq@processingMode

Processing Mode

Processing Mode

No



/transactionReq/transaction@id

ID

String

Yes



/transactionReq/transaction@portfolioId

Portfolio ID

String 

Yes



/transactionReq/transaction@type

Transaction Type

Transaction Type

Yes



/transactionReq/transaction/payload@encoding

Payload Encoding

Transaction Encoding

Yes



/transactionReq/transaction/payload@format

Payload Format

Transaction Format

Yes



/transactionReq/transaction/payload/string

String Payload

String 

Yes



Response

XPath

Name

Type

Required

Notes

XPath

Name

Type

Required

Notes

/transactionRpt@status

Status

Sync Report Status

Yes



/transactionRpt/error@code

Error Code

String 

No



/transactionRpt/error@msg

Error Message

String 

No



/transactionRpt/transaction@createTime

Create Time

Date/Time

Yes



/transactionRpt/transaction@id

ID

String 

Yes



/transactionRpt/transaction@portfolioId

Portfolio ID

String 

Yes



/transactionRpt/transaction@status

Entity Status

Entity Status

Yes



/transactionRpt/transaction@type

Transaction Type

Transaction Type

Yes



/transactionRpt/transaction@updateTime

Update Time

Date/Time 

Yes



/transactionRpt/transaction/error@code

Error Code

String

No



/transactionRpt/transaction/error@msg

Error Message

String

No



/transactionRpt/transaction/payload@encoding

Payload Encoding

Transaction Encoding

Yes



/transactionRpt/transaction/payload@format

Payload Format

Transaction Format

Yes



/transactionRpt/transaction/payload/string

String Payload

String 

Yes



Errors

Code

Description

Code

Description

403

Returned if the user does not have permission to access the specified transaction.

404

Returned if the requested transaction could not be found.

500

The server was not able to process the request. More information (if available) will be provided in the error message.

Examples

Basic
Request
PUT /transactions/{transaction id}



<transactionReq> <transaction id="123" portfolioId="1234" type="TRADE"> <payload encoding="STRING" format="FIXML"> <string><![CDATA[<FIXML><!-- TrdCaptRpt goes here --></FIXML>]]></string> </payload> </transaction> </transactionReq>
Response
<transactionRpt> <transaction id="123" portfolioId="1234" type="TRADE" createTime="2013-01-09 10:01:02" updateTime="2013-01-09 10:02:10" status="UPDATED"> <payload encoding="STRING" format="FIXML"> <string><![CDATA[<FIXML><!-- TrdCaptRpt goes here --></FIXML>]]></string> </payload> </transaction> </trsansactionRpt>






How was your Client Systems Wiki Experience? Submit Feedback

Copyright © 2024 CME Group Inc. All rights reserved.