Skip to content

Get list of Holder Gender

This method returns list of Holder Gender

URL test:

https://dev.lightcms.io/cms/v1/enumeration/sex

URL live:

https://fat.lightcms.io/cms/v1/enumeration/sex

Method:

GET

Path items:

/enumeration (Method name)

/sex (Type of enumeration)

Parameters:

No parameters

Example:

curl -X 'GET' \
  'https://dev.lightcms.io/cms/v1/enumeration/sex' \
  -H 'accept: */*'

Responses:

200 - OK

Status Code: 200 OK

[
{
    "code": "MALE",
    "description": "Male"
},
{
    "code": "FEMALE",
    "description": "Female"
}
]

Parameter Type Example Description
code string MALE
description string Male
500 - Internal error

Status Code: 500 Internal error