GET api/Gender/List

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Gender
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Name

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": "89c9b297-8826-4289-bc54-d9c60005855d",
    "Name": "sample string 2"
  },
  {
    "Id": "89c9b297-8826-4289-bc54-d9c60005855d",
    "Name": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfGender xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tss.Eitr.Customer.Agria.WebApi.Models">
  <Gender>
    <Id>89c9b297-8826-4289-bc54-d9c60005855d</Id>
    <Name>sample string 2</Name>
  </Gender>
  <Gender>
    <Id>89c9b297-8826-4289-bc54-d9c60005855d</Id>
    <Name>sample string 2</Name>
  </Gender>
</ArrayOfGender>