GET api/utils/gendercodes Authentication required

Use this method to fetch all the gender codes available.

Request

No URI or Body Parameter required

Response

Returns all the gender codes

Output : array of objects (See Model)

Ouput Sample

  • application/json, text/json :
  • [ { "code": 10, "gender": "Female" }, { "code": 10, "gender": "Female" } ]
  • application/xml, text/xml :
  • <ArrayOfGenderCode xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Kapitol.Registered.API.Models"> <GenderCode> <Code>10</Code> <Gender>Female</Gender> </GenderCode> <GenderCode> <Code>10</Code> <Gender>Female</Gender> </GenderCode> </ArrayOfGenderCode>