POST /options

Add a new custom option.

application/json

Body Required

  • id integer
  • optionTypeID integer
  • value string
  • description string
  • companyID integer
  • createdBy integer
  • updatedBy integer

Responses

  • 201

    Custom option created successfully

  • 500

    Error occurred while creating custom option

POST /options
curl \
 -X POST http://api.example.com/options \
 -H "Content-Type: application/json" \
 -d '{"id":42,"optionTypeID":42,"value":"string","description":"string","companyID":42,"createdBy":42,"updatedBy":42}'
Request example
{
  "id": 42,
  "optionTypeID": 42,
  "value": "string",
  "description": "string",
  "companyID": 42,
  "createdBy": 42,
  "updatedBy": 42
}