Network Set Replacement Gateway

Network Set Replacement Gateway

Insert/Update replacement gateway along with migrationDeadLineDate.

Privileges required:

UPDATE GATEWAY

Request
URI
POST
https://{api_host}/portal/rest/gatewayProperty/setReplacementGateway
COPY
Request Body
{
    "gatewayId": 0,
    "replacementGatewayId": 0,
    "migrationDeadline": "number"
}
integer
gatewayId
Required

gatewayId

integer
replacementGatewayId
Required

replacementGatewayId

number
migrationDeadline
Required

migrationDeadline

Responses
200

Request was successfully processed

Returns Array of rows_modified_confirmation of type(s) application/json
[
    {
        "rows": 1
    }
]

400
Returns generic_400 of type(s) application/json
Operation doesn't return any data structure

500
Returns generic_500 of type(s) application/json
Operation doesn't return any data structure

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"gatewayId:"integer","replacementGatewayId:"integer","migrationDeadline:"number"}' https://{api_host}/portal/rest/gatewayProperty/setReplacementGateway