...
XPath | Name | Type | Required | Notes | |
---|---|---|---|---|---|
/portfolioReq@reqUserId | Requesting User ID | String | No | ||
/portfolioReq/portfolio@desc | Description | String | No | ||
/portfolioReq/portfolio@name | Name | String | No | ||
/portfolioReq/portfolio@rptCcy | Reporting Currency | Currency | No | Defaults to USD | |
/portfolioReq/portfolio/entities@clrMbrFirmId | Clearing Member Firm ID | String | No | ||
/portfolioReq/portfolio/entities@custAcctId | Customer Account ID | String | No |
Note: If No Clearing Member Firm ID and Customer Account ID is supplied, these fields will be supplied with default values.
...
XPath | Name | Type | Required | Notes | |
---|---|---|---|---|---|
/portfolioRpt/error@code | Error Code | String | No | ||
/portfolioRpt/error@msg | Error Message | String | No | ||
/portfolioRpt/portfolio@createTime | Create Time | Date/Time | Yes | ||
/portfolioRpt/portfolio@desc | Description | String | No | ||
/portfolioRpt/portfolio@id | Portfolio ID | String | Yes | ||
/portfolioRpt/portfolio@name | Name | String | No | ||
/portfolioRpt/portfolio@rptCcy | Reporting Currency | Currency | Yes | ||
/portfolioRpt/portfolio@updateTime | Update Time | Date/Time | Yes | ||
/portfolioRpt/portfolio/entities@clrMbrFirmId | Clearing Member Firm ID | String | Yes | ||
/portfolioRpt/portfolio/entities@custAcctId | Customer Account ID | String | No |
Errors
Code | Description |
---|---|
400 | Bad XML syntax or missing content. More information will be provided in the error message. |
403 | Returned if the user does not have permission to add a portfolio. |
500 | The server was not able to process the request. More information (if available) will be provided in the error message. |
...
Code Block | ||||
---|---|---|---|---|
| ||||
<?xml version="1.1" encoding="UTF-8" standalone="yes"?><ns2> <ns2:portfolioReq xmlns:ns2="http://cmegroup.com/schema/core/1.1"><portfolio> <portfolio desc="My Desc" name="My Name" rptCcy="AUD" id="0"><entities clrMbrFirmId="My Firm" custAcctId="My Account"/></portfolio></ns2:portfolioReq> |
...