Get Company ID - Manual - Industrial Edge - Industrial Edge - Industrial Edge - Documentation of Industrial Edge APIs - CLI tools - Industrial Edge - References - APIs

Industrial Edge Platform Operation - APIs & References

Product
Industrial Edge
Edition
12/2024
Language
en-US (original)

Use this request to list all the companies owned by a user:

curl -i -X GET \
-H "Authorization:<your-authorization-token>" \
'https://<your-iem-url>/portal/api/v1/companies'

A successful response looks like this:

{
    "companies": [
        {
            "companyId": "c536d7f53d144978a4b1020c418f2008",
            "userId": "88b0d08729b94a949ad8f4ae1abf60c7",
            "name": "testz",
            "address": "string",
            "city": "string",
            "state": "string",
            "country": "string",
            "postalCode": "string",
            "webAddress": "http://j6kqdu-75clfkpzty8xvztmko-su2npqvwfphwg7fyr-kzjl4hcebx3x4-ypnab72l0cz599f7q0mzwe6mlohdxj3udbk",
            "phone": "1231231",
            "email": "test@siemens.com"
        }
    ]
}