Margin Service API - Portfolio - Get
Description
The request allows the Client to get or retrieve the contents of a portfolio which has been added to CME CORE (Add Portfolio and Update Portfolio). The client must submit the unique CME CORE-assigned portfolio identifier in the URL request. If no portfolio is found with the identifier, an error is returned. an error is also returned when the user is not authorized to delete the portfolio. If the portfolio is found, it is returned. Only portfolios are returned, does not include transactions or other data.  Â
Request
Parameter | Name | Type | Required | Notes |
---|---|---|---|---|
| Requesting User ID | No |
Response
XPath | Name | Type | Required | Notes |
---|---|---|---|---|
| Error Code | No | ||
| Error Message | No | ||
| Create Time | Yes | ||
| Description | No | ||
| Portfolio ID | Yes | ||
| Name | No | ||
| Reporting Currency | No | ||
| Update Time | Yes | ||
| Clearing Member Firm ID | Yes | ||
| Customer Account ID | Yes |
Errors
Code | Description |
---|---|
| Returned if the user does not have permission to access the specified portfolio. |
| Returned if the requested portfolio could not be found. |
| The server was not able to process the request. More information (if available) will be provided in the error message. |
Examples
Valid
A portfolio with IDÂ 12
exists in the CORE database.
Request
GET /portfolios/12
Response
<portfolioRpt status="SUCCESS">
<portfolio id="12" name="My Name" desc="My Desc" rptCcy="USD" createTime="2012-12-20 13:12:01" updateTime="2012-12-20 13:14:22">
<entities clrMbrFirmId="ABC" custAcctId="123" />
</portfolio>
</portfolioRpt>
Invalid
Request
The request is invalid because no portfolio with IDÂ 12
exists.
GET /portfolios/12
Response
How was your Client Systems Wiki Experience? Submit Feedback
Copyright © 2024 CME Group Inc. All rights reserved.