Previous Next JavaScript must be enabled to correctly display this content

## Get customer role to head mapping

get

/custRoleToHead

This endpoint is used to get customer role to head mapping.

### Request

Supported Media Types

- application/json
- application/xml

Query Parameters

- accountClass: string
- productCode(optional): string

Back to Top

### Response

Supported Media Types

- application/json
- application/xml

#### 200 Response

Returns message of success or failure
Body ()
Root Schema : CustAcclsDTOListWrapper
Type: `object`
Show Source

- data(optional): object data
- errors(optional): array errors
  Error Code List

    {
        "type":"object",
        "properties":{
            "data":{
                "type":"object",
                "properties":{
                    "IctTmCustAcclsRolemapMastDTO":{
                        "type":"array",
                        "items":{
                            "$ref":"#/definitions/IctTmCustAcclsRolemapMastDTO"
                        }
                    }
                }
            },
            "errors":{
                "description":"Error Code List",
                "type":"array",
                "items":{
                    "$ref":"#/definitions/ErrorCodeDTO"
                }
            }
        }
    }

Nested Schema : data
Type: `object`
Show Source

- IctTmCustAcclsRolemapMastDTO(optional): array IctTmCustAcclsRolemapMastDTO

    {
        "type":"object",
        "properties":{
            "IctTmCustAcclsRolemapMastDTO":{
                "type":"array",
                "items":{
                    "$ref":"#/definitions/IctTmCustAcclsRolemapMastDTO"
                }
            }
        }
    }

Nested Schema : errors
Type: `array`
Error Code List
Show Source

- Array of: object ErrorCodeDTO

    {
        "description":"Error Code List",
        "type":"array",
        "items":{
            "$ref":"#/definitions/ErrorCodeDTO"
        }
    }

Nested Schema : IctTmCustAcclsRolemapMastDTO
Type: `array`
Show Source

- Array of: object IctTmCustAcclsRolemapMastDTO

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

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

- object IctTmCustAcclsRolemapMastDTO-allOf[0]

    {
        "type":"object",
        "allOf":[
            {
                "type":"object",
                "properties":{
                    "accountClass":{
                        "type":"string",
                        "description":""
                    },
                    "customerNo":{
                        "type":"string",
                        "description":""
                    },
                    "sourceCode":{
                        "type":"string",
                        "description":""
                    },
                    "IctTmCustBrnPrdRolemapDTO":{
                        "type":"array",
                        "items":{
                            "$ref":"#/definitions/IctTmCustBrnPrdRolemapDTO"
                        }
                    }
                }
            }
        ]
    }

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

- accountClass(optional): string
- customerNo(optional): string
- IctTmCustBrnPrdRolemapDTO(optional): array IctTmCustBrnPrdRolemapDTO
- sourceCode(optional): string

    {
        "type":"object",
        "properties":{
            "accountClass":{
                "type":"string",
                "description":""
            },
            "customerNo":{
                "type":"string",
                "description":""
            },
            "sourceCode":{
                "type":"string",
                "description":""
            },
            "IctTmCustBrnPrdRolemapDTO":{
                "type":"array",
                "items":{
                    "$ref":"#/definitions/IctTmCustBrnPrdRolemapDTO"
                }
            }
        }
    }

Nested Schema : IctTmCustBrnPrdRolemapDTO
Type: `array`
Show Source

- Array of: object IctTmCustBrnPrdRolemapDTO

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

Nested Schema : IctTmCustBrnPrdRolemapDTO
Type: `object`
Show Source

- accountHead(optional): string
- accountHeadBrn(optional): string
- accountHeadCcy(optional): string
- accountRoleCode(optional): string
- productCode(optional): string
- txnCurrency(optional): string

    {
        "type":"object",
        "properties":{
            "productCode":{
                "type":"string",
                "description":""
            },
            "txnCurrency":{
                "type":"string",
                "description":""
            },
            "accountRoleCode":{
                "type":"string",
                "description":""
            },
            "accountHead":{
                "type":"string",
                "description":""
            },
            "accountHeadBrn":{
                "type":"string",
                "description":""
            },
            "accountHeadCcy":{
                "type":"string",
                "description":""
            }
        }
    }

Nested Schema : ErrorCodeDTO
Type: `object`
Show Source

- errorCode(optional): string
- errorDesc(optional): string

    {
        "type":"object",
        "properties":{
            "errorCode":{
                "type":"string"
            },
            "errorDesc":{
                "type":"string"
            }
        }
    }

#### 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