Programmatically retrieve the account information from Micello.com including keys, products and maps purchased

Resource

maccount/<account_id>

*note that the <account_id> accepts a wildcard "*" which will retrieve the information about all accounts associated to the user making the API call

Protocol

GET

Headers

Header and session information are required

Expected Return

This return includes an array of Account objects with each object including the following information:

  • Account ID - the account ID
  • Account Name - the account name¬†
  • Keys - an array of key objects are returned outlining what products and maps the key can access
  • Products - a list of the products each key can access. Each product object is indexed by the unique "service" name assigned to identify each product (i.e. SERVICE_V5_MAP_JSON in the example below). Within each product object is the human readable product name and the maps array which includes an array of maps the key has access to for this product. Each map is listed with the map ID and map name.
[
  {
    "account_id": <account_id>,
    "account_name": <account_name>,
    "keys": [
      {
        "key": <key>,
        "products": {
          "SERVICE_V5_MAP_JSON": {
            "prod_name": "SDK Files",
            "maps": [
              [
                "78",
                "Valley Fair Mall 7"
              ],
              [
                "824",
                "San Francisco Airport"
              ],
              [
                "2425",
                "14Th Street Market"
              ]
            ]
          }
        }
      }
    ]
  }
]

Example

Account Retrieval Example