GET contact_information/configuration/industries/list

This method returns the industries that are allowed to be used in the system. Multiple industries are returned by each call

Resource URL

Parameters

Name

Type

Description

token

String

The token retrieved from the login method

fields_set

(optional)

List of Strings, comma separated 

A list of fields that should be included in the results. If not specified then all the available fields will be returned

Response Data

Name

Type

Description

id

String

The id of the retrieved industry

name

String

The name of the retrieved industry

code

String

The code of the retrieved industry

descriptionStringThe description of the retrieved industry
parent_idStringThe id of the retrieved category's parent industry

Examples

 Example 1

HTTP Method: GET

 

Request:

Response:

 

{
    "status":
    {
        "message": null,
        "description": null,
        "code": "OK"
    },
    "data":
    [
        {
            "parent_id": null,
            "name": "11",
            "id": "13A6500EE14BFB80DE59D2222E31D20E",
            "description": "111",
            "code": "1"
        },
        {
            "parent_id": null,
            "name": "44",
            "id": "8F148E091AFB212A00F94343A6AFBA84",
            "description": "444",
            "code": "4"
        },
        {
            "parent_id": "8F148E091AFB212A00F94343A6AFBA84",
            "name": "22",
            "id": "18FE715A036DFC34218BCB8F9CBD138D",
            "description": "222",
            "code": "2"
        },
        {
            "parent_id": "18FE715A036DFC34218BCB8F9CBD138D",
            "name": "33",
            "id": "52FD913D655A168B1463E785A8F7931C",
            "description": "333",
            "code": "3"
        },
        {
            "parent_id": null,
            "name": "55",
            "id": "8180503BCC5188F90B642D86BB4B9157",
            "description": "555",
            "code": "5"
        },
        {
            "parent_id": null,
            "name": "Test",
            "id": "DBF1D9EF62A168C98B599A577ECA31E9",
            "description": "Myria Test",
            "code": "T"
        },
        {
            "parent_id": null,
            "name": "IndustryTest",
            "id": "D65E1F283AE9FED5A572F817DE23EDD1",
            "description": "Industry Test",
            "code": "IndTest"
        },
        {
            "parent_id": "D65E1F283AE9FED5A572F817DE23EDD1",
            "name": "IndustryChildTest",
            "id": "4178F46E1EF9DDEE44179BF464FE4295",
            "description": "Industry Child Test",
            "code": "IndChTest"
        },
        {
            "parent_id": null,
            "name": "asdasd",
            "id": "B3D6A3AE8907CED75AF1B78E57064170",
            "description": null,
            "code": "dddd"
        },
        {
            "parent_id": "B3D6A3AE8907CED75AF1B78E57064170",
            "name": "dsadsa",
            "id": "E4A69BCDE7681C8E6E44780E67B6A8A2",
            "description": null,
            "code": "dsadsa"
        },
        {
            "parent_id": null,
            "name": "Industry1",
            "id": "31BC2070C79EAE5455BFAD41599C5190",
            "description": "Test",
            "code": "In"
        },
        {
            "parent_id": "31BC2070C79EAE5455BFAD41599C5190",
            "name": "Industry2",
            "id": "F95BF6D2E8C7F364D6BCE93C5F79E1A3",
            "description": "test",
            "code": "In2"
        },
        {
            "parent_id": null,
            "name": "Interior Design",
            "id": "06B638258885DA26FA2BD40D9128D04E",
            "description": "Interior Design",
            "code": "INTDS"
        }
    ]
}