NOT FOR PUBLIC DISTRIBUTION: 2020-09-23

Retrieve list of gateway traffic directions

get

/spms/v1/configurations/trafficDirections

This is to retrieve a list of all gateway traffic directions

Request

There are no request parameters for this operation.

Back to Top

Response

Supported Media Types

200 Response

Successful Response
Body ()
Root Schema : schema
Type: array
Show Source
Nested Schema : trafficDirections
Type: object
Title: trafficDirections
Show Source
Example Response (application/json)
[
    {
        "id":1.234567891E10,
        "name":"Both Ways",
        "code":0
    },
    {
        "id":1.2345678911E10,
        "name":"Outwards",
        "code":1
    },
    {
        "id":1.2345678912E10,
        "name":"Inwards",
        "code":2
    }
]

204 Response

No data is available

401 Response

Full authentication is required to access this resource
Body ()
Root Schema : Error Response
Type: object
Title: Error Response
Error Response returned when encountered error
Show Source

403 Response

You are forbidden to use this API
Body ()
Root Schema : Error Response
Type: object
Title: Error Response
Error Response returned when encountered error
Show Source

500 Response

Error occured while processing this request
Body ()
Root Schema : Error Response
Type: object
Title: Error Response
Error Response returned when encountered error
Show Source

502 Response

Bad Gateway

503 Response

Service not available
Back to Top