GET /options/{id}

Retrieve a custom option by its ID.

Path parameters

  • id integer Required

Responses

  • 200 application/json

    Custom option details

    Hide response attributes Show response attributes object
    • id integer
    • optionTypeID integer
    • value string
    • description string
    • companyID integer
    • createdBy integer
    • updatedBy integer
  • 404

    Custom option not found

  • 500

    Error occurred while retrieving the custom option

GET /options/{id}
curl \
 -X GET http://api.example.com/options/{id}
Response examples (200)
{
  "id": 42,
  "optionTypeID": 42,
  "value": "string",
  "description": "string",
  "companyID": 42,
  "createdBy": 42,
  "updatedBy": 42
}