Previous Next JavaScript must be enabled to correctly display this content

## Get Account Role

get

/getAccrole

This endpoint is used to get account role details.

### Request

Supported Media Types

- application/json
- application/xml

Query Parameters

- limit(optional): integer
  limit is maximum no of records to be fetched
- offset(optional): integer
  offset is starting no of records to be fetched
- roleCode(optional): string

Back to Top

### Response

Supported Media Types

- application/json
- application/xml

#### 200 Response

Returns message of success or failure
Body ()
Root Schema : IctmAccroleCollection
Type: `object`
Collection of accrole.
Show Source

- data(optional): array data
- paging(optional): object PagingDto

    {
        "description":"Collection of accrole.",
        "type":"object",
        "properties":{
            "data":{
                "type":"array",
                "items":{
                    "$ref":"#/definitions/IctmAccroleDTO"
                }
            },
            "paging":{
                "$ref":"#/definitions/PagingDto"
            }
        }
    }

Nested Schema : data
Type: `array`
Show Source

- Array of: object IctmAccroleDTO

    {
        "type":"array",
        "items":{
            "$ref":"#/definitions/IctmAccroleDTO"
        }
    }

Nested Schema : PagingDto
Type: `object`
Show Source

- totalResults(optional): integer

    {
        "type":"object",
        "properties":{
            "totalResults":{
                "type":"integer"
            }
        }
    }

Nested Schema : IctmAccroleDTO
Type: `object`
Match All
Show Source

- object IctmAccroleDTO-allOf[0]

    {
        "type":"object",
        "allOf":[
            {
                "type":"object",
                "properties":{
                    "roleCode":{
                        "type":"string",
                        "description":""
                    },
                    "roleDescription":{
                        "type":"string",
                        "description":""
                    }
                }
            }
        ]
    }

Nested Schema : IctmAccroleDTO-allOf[0]
Type: `object`
Show Source

- roleCode(optional): string
- roleDescription(optional): string

    {
        "type":"object",
        "properties":{
            "roleCode":{
                "type":"string",
                "description":""
            },
            "roleDescription":{
                "type":"string",
                "description":""
            }
        }
    }

#### 400 Response

Malformed syntax.

#### 401 Response

Request does not have sufficient credentials.

#### 403 Response

Request is not authorized.

#### 405 Response

Invalid input

#### 500 Response

Internal error
Back to Top