Sirportly

Toggle Menu

Brands

This method will list all the brands which are configured within your account. The outputted data will include an array of all departments within the brand.

URL

/api/v2/objects/brands

Example JSON

[
  {
    "id": 4,
    "name": "Appli",
    "url": "http://www.applihq.com",
    "phone": null,
    "departments": [
      {
        "id": 11,
        "name": "Accounts & Billing",
        "private": false
      },
      {
        "id": 10,
        "name": "Sales",
        "private": false
      },
      {
        "id": 9,
        "name": "Technical Support",
        "private": false
      }
    ]
  },
  {
    "id": 2,
    "name": "Codebase",
    "url": "http://www.codebasehq.com",
    "phone": null,
    "departments": [
      {
        "id": 5,
        "name": "Accounts & Billing",
        "private": false
      },
      {
        "id": 4,
        "name": "Sales",
        "private": false
      },
      {
        "id": 3,
        "name": "Technical Support",
        "private": false
      }
    ]
  },
  {
    "id": 5,
    "name": "Dial 9",
    "url": "http://www.dial9.co.uk",
    "phone": null,
    "departments": [
      {
        "id": 13,
        "name": "Porting Desk",
        "private": false
      },
      {
        "id": 12,
        "name": "Technical Support",
        "private": false
      }
    ]
  },
  {
    "id": 3,
    "name": "Point",
    "url": "http://www.pointhq.com",
    "phone": null,
    "departments": [
      {
        "id": 8,
        "name": "Accounts & Billing",
        "private": false
      },
      {
        "id": 7,
        "name": "Sales",
        "private": false
      },
      {
        "id": 6,
        "name": "Technical Support",
        "private": false
      }
    ]
  }
]