GET PlanCare2Api/Relations/Genders

Get genders

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

List of RelationGender.

Collection of RelationGender
Name Description Type Additional information
Id

Id of the gender

integer

-

Name

Name of the gender

string

-

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "Id": 1,
    "Name": "sample string 2"
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfRelationGender xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.Relation">
  <RelationGender>
    <Id>1</Id>
    <Name>sample string 2</Name>
  </RelationGender>
  <RelationGender>
    <Id>1</Id>
    <Name>sample string 2</Name>
  </RelationGender>
</ArrayOfRelationGender>