Previous Next JavaScript must be enabled to correctly display this content

## Update the structures priorities upon customer hierarchy change

post

/service/lma/structure/priority/updateCustIds

This endpoint is used to update the structures priorities upon customer hierarchy change

### Request

Supported Media Types

- application/json
- application/xml

Body ()
Request Body that contains data required for updating an existing structure priorities customer ids
Root Schema : CustomerHierarchyChangeDTO
Type: `object`
Show Source

- action(optional): string
- currentParentId(optional): string
- currentTopMostCustId(optional): string
- customerHierarchyList(optional): array customerHierarchyList
- customerId(optional): string
- flexible1(optional): string
- flexible2(optional): string
- flexible3(optional): string
- flexible4(optional): string
- previousParentId(optional): string
- previousTopMostCustId(optional): string

    {
        "type":"object",
        "properties":{
            "customerId":{
                "type":"string",
                "description":""
            },
            "previousParentId":{
                "type":"string",
                "description":""
            },
            "currentParentId":{
                "type":"string",
                "description":""
            },
            "previousTopMostCustId":{
                "type":"string",
                "description":""
            },
            "currentTopMostCustId":{
                "type":"string",
                "description":""
            },
            "action":{
                "type":"string",
                "description":""
            },
            "customerHierarchyList":{
                "type":"array",
                "items":{
                    "type":"string"
                }
            },
            "flexible1":{
                "type":"string",
                "description":""
            },
            "flexible2":{
                "type":"string",
                "description":""
            },
            "flexible3":{
                "type":"string",
                "description":""
            },
            "flexible4":{
                "type":"string",
                "description":""
            }
        }
    }

Nested Schema : customerHierarchyList
Type: `array`
Show Source

- Array of: string

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

Back to Top

### Response

Supported Media Types

- application/json
- application/xml

#### 201 Response

Returns message of success or failure
Body ()
Root Schema : schema
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