CME AMS API Inline Credit Controls Specifications
These specifications are for Inline Credit Controls. CME Direct and CME ClearPort specifications are located here.
Contents
User Firms and ServicesÂ
Returns results for all clearing firms, and Account management services that the customer has access to.
Method | GET |
---|---|
URL | _/v#/myFirms/ |
URL Parameters | None |
Pagination Enabled? | No |
HATOAS Links | Links to retrieve permissioned accounts by service:
|
Example Return Message for ICC
{
"entitlements": [
{
"service": "CPC",
"clearingFirms": [
{
"firmName": "GREENTEA_API_CLEARING2",
"firmLongName": "GREENTEA_API_CLEARING2",
"clearingId": "780"
}
]
},
{
"service": "CMED",
"clearingFirms": [
{
"firmName": "GREENTEA_API_CLEARING2",
"firmLongName": "GREENTEA_API_CLEARING2",
"clearingId": "780"
}
]
},
{
"service": "ICC",
"clearingFirms": [
{
"firmName": "GREENTEA_API_CLEARING2",
"firmLongName": "GREENTEA_API_CLEARING2",
"clearingId": "780"
}
]
}
],
"links": [
{
"rel": "Retrieve CMED Accounts",
"href": "Eligible Products and Permissioned Products for an Account/v#/accounts/clearing/CMED/GREENTEA_API_CLEARING2"
},
{
"rel": "Retrieve CPC Accounts",
"href": "_/v#/accounts/clearing/CPC/GREENTEA_API_CLEARING2"
},
{
"rel": "Retrieve ICC Accounts",
"href": "_/v#/accounts/clearing/ICC/GREENTEA_API_CLEARING2"
}
]
}
Output Parameters
Retrieve All Accounts
Retrieves all the accounts the user has access to for a specific service (venue), type (clearing) and clearing firm. Account owner and number are optional.
Method | GET |
---|---|
URL | _/v#/accounts/[Type]/[Service]/[Clearing Firm]/[Account Owner]/[Account Number] |
Pagination Enabled? | Yes |
HATEOAS Links | Links to retrieve all other account-related details:
|
Input Parameters
Example Return
{
"service": "ICC",
"counts": 31,
"clearingAccounts": [
{
"clearingFirm": "GREENTEA_API_CLEARING1",
"accountNumber": "CPCICCCOPY",
"owner": "GREENTEA_API_TRADINGFIRM1",
"segType": "C",
"status": "Active",
"ownerLongName": "GREENTEA_API_TRADINGFIRM1",
"executionFirms": [
{
"efId": "XX0",
"suspended": "N"
}
],
"links": [
{
"rel": "self",
"href": "https://amsapinr.cmegroup.com/rest/v2/accounts/clearing/ICC/GREENTEA_API_CLEARING1?accountNumber=CPCICCCOPY"
},
{
"rel": "get accountLimitsUtilization",
"href": "https://amsapinr.cmegroup.com/rest/v2/accountLimitsUtilization/clearing/ICC/GREENTEA_API_CLEARING1/CPCICCCOPY"
},
{
"rel": "get eligibleProducts",
"href": "https://amsapinr.cmegroup.com/rest/v2/eligibleProducts/clearing/ICC/GREENTEA_API_CLEARING1/CPCICCCOPY"
},
{
"rel": "get efStatus",
"href": "https://amsapinr.cmegroup.com/rest/v2/efStatus/clearing/ICC/GREENTEA_API_CLEARING1/CPCICCCOPY"
}
]
}
]
Output Parameters
Retrieve Eligible Products for an Account
 Retrieve all eligible products for a specific account, by venue.
Method | GET |
---|---|
URL | _/v#/eligibleProducts/[Type]/[Service]/[Clearing Firm]/[Account Number] |
Pagination Enabled? | Yes |
HATEOAS Links | Links to available from Eligible Products call:
|
Calls to the ICC service return eligible products per execution firm.
Input Parameters
Example Return Message
Supports products listed by execution firm.
{
"service": "ICC",
"clearingFirm": "GREENTEA_API_CLEARING2",
"accountNumber": "DV10121801A",
"products": [
{
"executionFirm": "XX0",
"productList": [
{
"product": "GLB.FUT.CME",
"productFullName": "ONE-MONTH SOFR FUTURES"
},
{
"product": "L0A.OOC.CME",
"productFullName": "1st contract back Live Cattle CSO"
},
{
"product": "6Z.FUT.CME",
"productFullName": "ZAR/USD FUTURES"
},
{
"product": "RO.OOF.CME",
"productFullName": "ZAR/USD OPTIONS AMER-STYLE"
}
]
}
],
"links": [
{
"rel": "get/update accountLimitsUtilization",
"href": "_/v#/accountLimitsUtilization/clearing/ICC/GREENTEA_API_CLEARING2/DV10121801A"
},
{
"rel": "delete accountLimitsUtilization",
"href": "_/v#/accountLimitsUtilization/clearing/ICC/GREENTEA_API_CLEARING2/DV10121801A?delete=true"
}
],
"limit": 50,
"offset": 1,
"availableOffsets": 1
}
Output Parameters
Limits and Utilization for an Account
GET CallÂ
Retrieves all limits and utilization for a specific account, by venue.
Method | GET |
---|---|
URL | _/v#/accountLimitsUtilization/[Type]/[Service]/[Clearing Firm]/[Account Number] |
Pagination Enabled? | Yes |
HATOAS Links | Links available from an Account Limits Utilization call:
|
Notes |
|
Input Parameters
Example Return Messages
Output Parameters
POST CallÂ
Update, add or delete account limits using the accountsLimitsUtilization POST call.
To post a delete, append the call with ?delete=true
When Request body is submitted for Limits Update (Post) or Delete - usage field is ignored, it cannot be updated
Method | POST |
---|---|
Function | Update or Delete Limits for an Account |
URL | _/v#/accountLimitsUtilization/[Type]/[Service]/[Clearing Firm]/[Account Number] |
Pagination Enabled? | No |
HATOAS Links | Links available from an Account Limits Utilization query::
|
Input Parameters
Examples
POST calls require a body that contains the update information. A request call can be used to retrieve related information, and then the return can be modified and used as the body for the POST call.
Updating and deleting account limits are permitted for Inline Credit Controls.Â
Example call and return for an update
This example shows an update to the limits utilization for a product.Â
1) GET Call:Â /_/v#/accountLimitsUtilization/[Type]/[Service]/[Clearing Firm]/[Account Number]
Query used: /_/v#/accountLimitsUtilization/clearing/ICC/77777/TESTPOST
   Return message from call:
2) Utilize the return as the body for the Post call. For example, for product "CJ.FUT.NYME", update EF short limit from 567 to 600.
Only the modified record is required:
Sample Post Body:
3) POSTÂ Call: Use the same URL as in (1), and use the modified request as the POST body, in JSON format.
 Return message from post call should include all information:
Update an Account to Active or Inactive
Method | POST |
---|---|
URL | _/v#/status/[Type]/[Clearing Firm] |
Pagination Enabled? | No |
Input Parameters
Example: Update an Account to Active or Inactive
Account Information Before Update
Clearing Firm account information only, as shown in a "Retrieve all Accounts" call.
Input body for POST to update status to Active or Inactive
Successful Return Message
Account information after update
Output parameters will be account parameters with updated status. Status is now "Inactive."Â
Execution Firm Status
GET Call
Retrieve status (suspended = "Y" or "N") for a Clearing Firm's execution firms.
Method | GET |
---|---|
URL | _/v#/efStatus/[Type]/[Service]/[Clearing Firm]/[Account Number] |
Pagination Enabled? | Yes |
HATEOAS Links | Links to available from Execution Firm Status call:
|
Input Parameters
Example Return Message
Supports execution firm status.
Output Parameters
POST Call
Update status (suspended = "Y" or "N") for one or more of a Clearing Firm's execution firms. If suspended, an account cannot trade.
Method | POST |
---|---|
URL | _/v#/efStatus/[Type]/[Service]/[Clearing Firm]/[Account Number] |
Pagination Enabled? | Yes |
HATEOAS Links | Links to available from Execution Firm Status call:
|
Input Parameters
Â
Account Information Before Update
Return with Execution Firms and suspended status.
Input body for POST to update status to Active or Inactive
Successful Return Message
How was your Client Systems Wiki Experience? Submit Feedback
Copyright © 2024 CME Group Inc. All rights reserved.