Previous Next JavaScript must be enabled to correctly display this content

## Retrieves the structure by ID

get

/service/lma/structure/accounts/{structureMasterId}

This endpoint is used to get the structure by ID.

### Request

Supported Media Types

- application/json
- application/xml

Path Parameters

- structureMasterId: string
  Id of the structure that needs to be fetched

Back to Top

### Response

Supported Media Types

- application/json
- application/xml

#### 200 Response

Returns the structure based on given id.
Body ()
Root Schema : AccountCollection
Type: `object`
Collection of account.
Show Source

- data(optional): array data

    {
        "description":"Collection of account.",
        "type":"object",
        "properties":{
            "data":{
                "type":"array",
                "items":{
                    "type":"string"
                }
            }
        }
    }

Nested Schema : data
Type: `array`
Show Source

- Array of: string

    {
        "type":"array",
        "items":{
            "type":"string"
        }
    }

#### 400 Response

Malformed syntax.

#### 401 Response

Request does not have sufficient credentials.

#### 403 Response

Request is not authorized.

#### 500 Response

Internal error
Back to Top