Migration Get Migration Gateways

Migration Get Migration Gateways

Returns the list of gateways

Privileges required:

READ GATEWAY_MIGRATION

Request
URI
POST
https://{api_host}/portal/rest/migration/getMigrationGateways
COPY
Request Body
{
    "gatewayId": 0,
    "enterpriseId": 0,
    "with": [
        "string"
    ]
}
integer
gatewayId
Optional

gatewayId

integer
enterpriseId
Optional

enterpriseId

array of string
with
Optional

with

Responses
200

Request was successfully processed

Returns Array of object of type(s) application/json
[
    {
        "original": {
            "id": 0,
            "name": "string",
            "ipAddress": "string",
            "nsdPortabilityEnabled": "string",
            "virtualIpv4AddressList": [
                "string"
            ],
            "virtualIpv6Prefix": "string",
            "state": "string",
            "site": {
                "id": 0,
                "created": "string",
                "name": "string",
                "logicalId": "string",
                "contactName": "string",
                "contactPhone": "string",
                "contactMobile": "string",
                "contactEmail": "string",
                "streetAddress": "string",
                "streetAddress2": "string",
                "city": "string",
                "state": "string",
                "postalCode": "string",
                "country": "string",
                "lat": "number",
                "lon": "number",
                "timezone": "string",
                "locale": "string",
                "shippingSameAsLocation": 0,
                "shippingContactName": "string",
                "shippingAddress": "string",
                "shippingAddress2": "string",
                "shippingCity": "string",
                "shippingState": "string",
                "shippingCountry": "string",
                "shippingPostalCode": "string",
                "modified": "string"
            }
        },
        "replacement": {
            "id": 0,
            "name": "string",
            "ipAddress": "string",
            "nsdPortabilityEnabled": "string",
            "virtualIpv4AddressList": "string",
            "virtualIpv6Prefix": "string",
            "site": {
                "id": 0,
                "created": "string",
                "name": "string",
                "logicalId": "string",
                "contactName": "string",
                "contactPhone": "string",
                "contactMobile": "string",
                "contactEmail": "string",
                "streetAddress": "string",
                "streetAddress2": "string",
                "city": "string",
                "state": "string",
                "postalCode": "string",
                "country": "string",
                "lat": "number",
                "lon": "number",
                "timezone": "string",
                "locale": "string",
                "shippingSameAsLocation": 0,
                "shippingContactName": "string",
                "shippingAddress": "string",
                "shippingAddress2": "string",
                "shippingCity": "string",
                "shippingState": "string",
                "shippingCountry": "string",
                "shippingPostalCode": "string",
                "modified": "string"
            }
        },
        "isSuperGateway": false,
        "status": "string",
        "migrationDate": 0
    }
]

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 '{}' https://{api_host}/portal/rest/migration/getMigrationGateways