Previous Next JavaScript must be enabled to correctly display this content

## Adds a new currency cutoff

post

/service/ccycutoff

This endpoint is used to add a new currency cutoff.

### Request

Supported Media Types

- application/json
- application/xml

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

- allOf GenericDto
- object LmmTmCurrencyCutoffDTO-allOf[1]

    {
        "type":"object",
        "allOf":[
            {
                "$ref":"#/definitions/GenericDto"
            },
            {
                "type":"object",
                "properties":{
                    "bicCode":{
                        "type":"string",
                        "description":"",
                        "maxLength":15
                    },
                    "LmmTmCurrencyCutoffDetailsDTO":{
                        "type":"array",
                        "items":{
                            "$ref":"#/definitions/LmmTmCurrencyCutoffDetailsDTO"
                        }
                    }
                },
                "required":[
                    "bicCode"
                ]
            }
        ]
    }

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 : LmmTmCurrencyCutoffDTO-allOf[1]
Type: `object`
Show Source

- bicCode: string
  Maximum Length: `15`
- LmmTmCurrencyCutoffDetailsDTO(optional): array LmmTmCurrencyCutoffDetailsDTO

    {
        "type":"object",
        "properties":{
            "bicCode":{
                "type":"string",
                "description":"",
                "maxLength":15
            },
            "LmmTmCurrencyCutoffDetailsDTO":{
                "type":"array",
                "items":{
                    "$ref":"#/definitions/LmmTmCurrencyCutoffDetailsDTO"
                }
            }
        },
        "required":[
            "bicCode"
        ]
    }

Nested Schema : LmmTmCurrencyCutoffDetailsDTO
Type: `array`
Show Source

- Array of: object LmmTmCurrencyCutoffDetailsDTO

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

Nested Schema : LmmTmCurrencyCutoffDetailsDTO
Type: `object`
Show Source

- currencyCode(optional): string
  Maximum Length: `3`
- currencyCutoffId(optional): string
  Maximum Length: `36`
- id(optional): string
  Maximum Length: `36`
- incomingCutoffHr(optional): number
- incomingCutoffMin(optional): number
- messageType(optional): string
  Maximum Length: `50`
- outgoingCutoffHr(optional): number
- outgoingCutoffMin(optional): number

    {
        "type":"object",
        "properties":{
            "currencyCode":{
                "type":"string",
                "description":"",
                "maxLength":3
            },
            "currencyCutoffId":{
                "type":"string",
                "description":"",
                "maxLength":36
            },
            "id":{
                "type":"string",
                "description":"",
                "maxLength":36
            },
            "incomingCutoffHr":{
                "type":"number",
                "description":""
            },
            "incomingCutoffMin":{
                "type":"number",
                "description":""
            },
            "messageType":{
                "type":"string",
                "description":"",
                "maxLength":50
            },
            "outgoingCutoffHr":{
                "type":"number",
                "description":""
            },
            "outgoingCutoffMin":{
                "type":"number",
                "description":""
            }
        }
    }

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 ccycutoff

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

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

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

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

- allOf GenericDto
- object LmmTmCurrencyCutoffDTO-allOf[1]

    {
        "type":"object",
        "allOf":[
            {
                "$ref":"#/definitions/GenericDto"
            },
            {
                "type":"object",
                "properties":{
                    "bicCode":{
                        "type":"string",
                        "description":"",
                        "maxLength":15
                    },
                    "LmmTmCurrencyCutoffDetailsDTO":{
                        "type":"array",
                        "items":{
                            "$ref":"#/definitions/LmmTmCurrencyCutoffDetailsDTO"
                        }
                    }
                },
                "required":[
                    "bicCode"
                ]
            }
        ]
    }

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 : 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 : LmmTmCurrencyCutoffDTO-allOf[1]
Type: `object`
Show Source

- bicCode: string
  Maximum Length: `15`
- LmmTmCurrencyCutoffDetailsDTO(optional): array LmmTmCurrencyCutoffDetailsDTO

    {
        "type":"object",
        "properties":{
            "bicCode":{
                "type":"string",
                "description":"",
                "maxLength":15
            },
            "LmmTmCurrencyCutoffDetailsDTO":{
                "type":"array",
                "items":{
                    "$ref":"#/definitions/LmmTmCurrencyCutoffDetailsDTO"
                }
            }
        },
        "required":[
            "bicCode"
        ]
    }

Nested Schema : LmmTmCurrencyCutoffDetailsDTO
Type: `array`
Show Source

- Array of: object LmmTmCurrencyCutoffDetailsDTO

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

Nested Schema : LmmTmCurrencyCutoffDetailsDTO
Type: `object`
Show Source

- currencyCode(optional): string
  Maximum Length: `3`
- currencyCutoffId(optional): string
  Maximum Length: `36`
- id(optional): string
  Maximum Length: `36`
- incomingCutoffHr(optional): number
- incomingCutoffMin(optional): number
- messageType(optional): string
  Maximum Length: `50`
- outgoingCutoffHr(optional): number
- outgoingCutoffMin(optional): number

    {
        "type":"object",
        "properties":{
            "currencyCode":{
                "type":"string",
                "description":"",
                "maxLength":3
            },
            "currencyCutoffId":{
                "type":"string",
                "description":"",
                "maxLength":36
            },
            "id":{
                "type":"string",
                "description":"",
                "maxLength":36
            },
            "incomingCutoffHr":{
                "type":"number",
                "description":""
            },
            "incomingCutoffMin":{
                "type":"number",
                "description":""
            },
            "messageType":{
                "type":"string",
                "description":"",
                "maxLength":50
            },
            "outgoingCutoffHr":{
                "type":"number",
                "description":""
            },
            "outgoingCutoffMin":{
                "type":"number",
                "description":""
            }
        }
    }

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