Previous Next JavaScript must be enabled to correctly display this content

## Adds a new withholding tax

post

/withholdingtax

This endpoint is used to add a new withholding tax.

### Request

Supported Media Types

- application/json
- application/xml

Body ()
Request Body that contains data required for creating a new withholdingtax
Root Schema : LmxTmInterestmapDTO
Type: `object`
Match All
Show Source

- allOf GenericDto
- object LmxTmInterestmapDTO-allOf[1]

    {
        "type":"object",
        "allOf":[
            {
                "$ref":"#/definitions/GenericDto"
            },
            {
                "type":"object",
                "properties":{
                    "headerAc":{
                        "type":"string",
                        "description":"",
                        "maxLength":20
                    },
                    "headerAcIcgrp":{
                        "type":"string",
                        "description":"",
                        "maxLength":5
                    },
                    "internalIcgrp":{
                        "type":"string",
                        "description":"",
                        "maxLength":5
                    },
                    "structureId":{
                        "type":"string",
                        "description":"",
                        "pattern":"[A-Z0-9]{1,30}"
                    },
                    "LmxTmInterestmapDetDTO":{
                        "type":"array",
                        "items":{
                            "$ref":"#/definitions/LmxTmInterestmapDetDTO"
                        }
                    }
                }
            }
        ]
    }

Nested Schema : GenericDto
Match All
Show Source

- object GenericDto-allOf[0]
  Discriminator: `resource_type`

    {
        "allOf":[
            {
                "type":"object",
                "discriminator":"resource_type"
            }
        ]
    }

Nested Schema : GenericDto-allOf[0]
Type: `object`
Discriminator: `resource_type`
Nested Schema : LmxTmInterestmapDTO-allOf[1]
Type: `object`
Show Source

- headerAc(optional): string
  Maximum Length: `20`
- headerAcIcgrp(optional): string
  Maximum Length: `5`
- internalIcgrp(optional): string
  Maximum Length: `5`
- LmxTmInterestmapDetDTO(optional): array LmxTmInterestmapDetDTO
- structureId(optional): string
  Pattern: `[A-Z0-9]{1,30}`

    {
        "type":"object",
        "properties":{
            "headerAc":{
                "type":"string",
                "description":"",
                "maxLength":20
            },
            "headerAcIcgrp":{
                "type":"string",
                "description":"",
                "maxLength":5
            },
            "internalIcgrp":{
                "type":"string",
                "description":"",
                "maxLength":5
            },
            "structureId":{
                "type":"string",
                "description":"",
                "pattern":"[A-Z0-9]{1,30}"
            },
            "LmxTmInterestmapDetDTO":{
                "type":"array",
                "items":{
                    "$ref":"#/definitions/LmxTmInterestmapDetDTO"
                }
            }
        }
    }

Nested Schema : LmxTmInterestmapDetDTO
Type: `array`
Show Source

- Array of: object LmxTmInterestmapDetDTO

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

Nested Schema : LmxTmInterestmapDetDTO
Type: `object`
Show Source

- childAccountNo(optional): string
  Maximum Length: `20`
- childAcIcprd(optional): string
  Maximum Length: `5`
- childFormulaNo(optional): number
- drcr(optional): string
  Maximum Length: `5`
- headerAcIcprd(optional): string
  Maximum Length: `20`
- headerFormulaNo(optional): number
- id(optional): string
  Maximum Length: `36`
- interestmapMasterId(optional): string
  Maximum Length: `36`

    {
        "type":"object",
        "properties":{
            "childAcIcprd":{
                "type":"string",
                "description":"",
                "maxLength":5
            },
            "childFormulaNo":{
                "type":"number",
                "description":""
            },
            "drcr":{
                "type":"string",
                "description":"",
                "maxLength":5
            },
            "headerAcIcprd":{
                "type":"string",
                "description":"",
                "maxLength":20
            },
            "headerFormulaNo":{
                "type":"number",
                "description":""
            },
            "id":{
                "type":"string",
                "description":"",
                "maxLength":36
            },
            "interestmapMasterId":{
                "type":"string",
                "description":"",
                "maxLength":36
            },
            "childAccountNo":{
                "type":"string",
                "description":"",
                "maxLength":20
            }
        }
    }

Back to Top

### Response

Supported Media Types

- application/json
- application/xml

#### 201 Response

Returns message of succes or failure
Headers

- Location: string
  URL of newly created withholdingtax

Body ()
Root Schema : ResponseDtoWrapper
Type: `object`
Show Source

- data(optional): object ResponseResourceSupport
- messages(optional): object ResponseDto

    {
        "type":"object",
        "properties":{
            "messages":{
                "$ref":"#/definitions/ResponseDto"
            },
            "data":{
                "$ref":"#/definitions/ResponseResourceSupport"
            }
        }
    }

Nested Schema : ResponseResourceSupport
Type: `object`
Nested Schema : ResponseDto
Type: `object`
Show Source

- codes(optional): array codes
- id(optional): string
- requestId(optional): string
- status(optional): string

    {
        "type":"object",
        "properties":{
            "id":{
                "type":"string"
            },
            "status":{
                "type":"string"
            },
            "codes":{
                "type":"array",
                "items":{
                    "$ref":"#/definitions/ResponseCode"
                }
            },
            "requestId":{
                "type":"string"
            }
        }
    }

Nested Schema : codes
Type: `array`
Show Source

- Array of: object ResponseCode

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

Nested Schema : ResponseCode
Type: `object`
Show Source

- arg(optional): string
- args(optional): array args
- Code(optional): string
- Desc(optional): string
- Language(optional): string
- Type(optional): string

    {
        "type":"object",
        "properties":{
            "Code":{
                "type":"string"
            },
            "Desc":{
                "type":"string"
            },
            "Type":{
                "type":"string"
            },
            "Language":{
                "type":"string"
            },
            "args":{
                "type":"array",
                "items":{
                    "type":"object"
                }
            },
            "arg":{
                "type":"string"
            }
        }
    }

Nested Schema : args
Type: `array`
Show Source

- Array of: object items

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

Nested Schema : items
Type: `object`

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