UpdateExternalId
https://[domain]/ws/eca/update
- 
                                                Update the ExternalId for an existing account. 
 Who is this applicable for?
Who is this applicable for?
                                            - All customer types.
 Processing Time
Processing Time
                                            - 
                                                        Request will be processed immediately. 
 Request Parameters
Request Parameters
                                            | Name | Type | Description | 
|---|---|---|
| reference_account_id | String | IBKR account ID of the advisor/broker client account permissions are being requested for. | 
| new_external_id | String | New external ID to be assigned to the account. 
 | 
XSD
<xsd:complexType name="UpdateExternalId" maxOccurs="1" />
<xsd:sequence>
 <xsd:attribute name="reference_account_id" type="xsd:string" use="required">
 <xsd:attribute name="new_external_id" type="xsd:string" " use="required">
</xsd:sequence>Sample
<?xml version="1.0" encoding="us-ascii" standalone="yes"?>
<AcctMgmtRequests xmlns="http://www.interactivebrokers.com/schemas/IBCust_import">
<UpdateExternalId reference_account_id="U1234567" new_external_id="tester123456"/>
</AcctMgmtRequests>
 Response Parameters
Response Parameters
                                            | Name | Type | Description | 
|---|---|---|
| Execution_Date | YYYY/MM/DD HH:MM:SS | Date/Time which the file was processed by IBKR. | 
| Process_File | FirmName_YYYY-MM-DD_######.xml | File name of the request file. | 
| Client | FirmName | Name of the Counterparty | 
| Client_Master_Acct | String | Master account number | 
| UpdateExternalId | String | Status of the request | 
| reference_account_id | String | IBKR account ID of the advisor/broker client account which the request is being submitted for | 
| request_status | PROCESSED ERROR PENDING | Status of the request | 
| message | String | Status of the request. | 
| request_id | Non-negative integer | Unique ID which IBKR assigns to the request. The ID can be used to query status request at a later time using /getAmRequestStatus endpoint | 
| message | String | Includes details on the status of the request IF status=”PENDING" or "PROCESSED " | 
| Pending_Tasks | <Tasks> | Includes pending tasks associated with the info change request IF status=”PENDING" | 
| Errors | String | Includes error message if status=”ERROR” | 
Sample
<?xml version='1.0' encoding='UTF-8'?>
<Process>
  <Execution ECA_XML_Schema_Version="15-Nov-2018">
    <Execution_Date>2020/02/20 00:44:38</Execution_Date>
    <Process_File>TesterFA_2020-02-20_124438885_761126.xml</Process_File>
    <Client>TesterFA</Client>
    <Client_Master_Acct>F1234567</Client_Master_Acct>
  </Execution>
   <UpdateExternalId reference_account_id="U2088007" request_status="PROCESSED" message="External id updated" request_id="50813"/>
</Process>
<?xml version='1.0' encoding='UTF-8'?>
<Process>
  <Execution ECA_XML_Schema_Version="15-Nov-2018">
    <Execution_Date>2020/02/20 00:44:38</Execution_Date>
    <Process_File>TesterFA_2020-02-20_124438885_761126.xml</Process_File>
    <Client>TesterFA</Client>
    <Client_Master_Acct>F1234567</Client_Master_Acct>
  </Execution>
   <UpdateExternalId reference_account_id="U2088007" request_status="ERROR" request_id="50813">
    <Error>External ID Already Exists</Error>
  </UpdateExternalId>
</Process>





