Get Single Match Sector

GET /sectors/{id}

This API retrieves the Match sector for the specified sector id.

Path parameters

  • id integer Required

    Sector ID.

Responses

  • 200 application/json

    Successful Response

    Hide response attributes Show response attributes object
    • id string

      The sector id.

    • name string

      The sector name.

  • 401 application/json

    Authentication Error. Invalid credentials.

    Hide response attributes Show response attributes object
  • Authorization Error. Invalid role for request.

GET /sectors/{id}
curl \
 --request GET 'https://localhost:8080/sectors/1' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "id": 1,
  "name": "APAC"
}
Response examples (401)
{
  "code": "900901",
  "message": "Invalid Credentials",
  "description": "Access failure for API: /api/admin/v1.1.0, version: v1.1.0 status: (900901) - Invalid Credentials. Make sure you have provided the correct security credentials"
}