GET PlanCare2Api/Relations/CountriesOfBirth

Gets countries of birth

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

List of RelationCountryOfBirth

Collection of RelationCountryOfBirth
NameDescriptionTypeAdditional information
Id

Id of the country of birth

integer

None.

Name

Name of the country of birth

string

None.

Response Formats

application/json, text/json

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

application/xml, text/xml

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