Action Type
  • 16 Jun 2022
  • 1 Minute to read
  • Dark
    Light

Action Type

  • Dark
    Light

Article Summary

Action Type

Action Type JSON Format

Action Type is represented as simple flat JSON objects with the following keys:

NameTypeDescription
idintegerId of action type.
moduleIdstringId of the module.
namestringName of action type.

Get the list of Action Types

GET global/actionTypes

  • Parameters:

No Parameters

  • Response:

An array of Action Type

  • Example

Sample Request:

curl https://api11.comm100.io/v4/global/actionTypes \ 
    -X 'GET' \ 
    -H 'Authorization: Bearer {access_token}' \ 

Response:

HTTP/1.1 200 OK

[
  {
      "id": 1,
      "moduleId": "Global",
      "name": "Agent Role Management"
  }
] 

Get a single Action Type

GET global/actionTypes/{id}

  • Parameters:

No Parameters

  • Response:

Action Type

  • Example

Sample Request:

curl https://api11.comm100.io/v4/global/actionTypes/1 \ 
    -X 'GET' \ 
    -H 'Authorization: Bearer {access_token}' \ 

Response:

HTTP/1.1 200 OK

{
  "id": 1,
  "moduleId": "Global",
  "name": "Agent Role Management"
} 

Was this article helpful?

What's Next