NOT FOR PUBLIC DISTRIBUTION: 2020-09-23

Retrieve nation record by using code

get

/spms/v1/configurations/nations/{code}

This is to retrieve a nation record by using code

Request

Supported Media Types
Path Parameters
Back to Top

Response

Supported Media Types

200 Response

Returns a nation by code
Body ()
Root Schema : Nations
Type: object
Title: Nations
Nationality
Show Source

400 Response

The supplied parameter(s) is not valid
Body ()
Root Schema : Error Response
Type: object
Title: Error Response
Error Response returned when encountered error
Show Source

401 Response

You are not authorized to use this API
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

404 Response

The nation does not exist
Body ()
Root Schema : Error Response
Type: object
Title: Error Response
Error Response returned when encountered error
Show Source

405 Response

This method is not available
Body ()
Root Schema : Error Response
Type: object
Title: Error Response
Error Response returned when encountered error
Show Source

415 Response

The media supplied is not supported
Body ()
Root Schema : Error Response
Type: object
Title: Error Response
Error Response returned when encountered error
Show Source

500 Response

Error occurred 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