This shows you the differences between two versions of the page.
api_downloading_child_accounts [2014/06/18 17:00] ybarajas created |
api_downloading_child_accounts [2014/06/18 17:00] (current) ybarajas created |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ======How to Download Child Account IDs===== | ||
+ | <note important>This call requires cookies from a Login API call. Please refer to the [[:api_login|How to Log In]] help page for more information.</note> | ||
+ | |||
+ | The URL below will allow you to retrieve a list of your Child Accounts, along with ID, name, and status. Paste the URL into the address bar while logged into the Open Mobile Portal. | ||
+ | |||
+ | **Resource URL**: | ||
+ | |||
+ | <code> | ||
+ | /moservices/rest/api/ipass/{COMPANY_ID}/mo/omapi/findAllChildCompanies | ||
+ | </code> | ||
+ | |||
+ | **Result**: | ||
+ | |||
+ | <code> | ||
+ | <?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
+ | <companies> | ||
+ | <company> | ||
+ | <id>1234567</id> | ||
+ | <name>XXXXX</name> | ||
+ | <isActive>true</isActive> | ||
+ | </company> | ||
+ | <company> | ||
+ | <id>1212121</id> | ||
+ | <name>XXXXX</name> | ||
+ | <isActive>true</isActive> | ||
+ | </company> | ||
+ | <company> | ||
+ | <id>1231231</id> | ||
+ | <name>XXXXX</name> | ||
+ | <isActive>true</isActive> | ||
+ | </code> | ||
+ | |||
+ | |||
+ | Go to: **[[:start|Portal Home]]** > **[[:api_documentation|REST API Overview]]** |