GET api/Gender/{index}/{rows}/{field}/{order}

Returns all genders

Request Information

URI Parameters

NameDescriptionTypeAdditional information
index

string

None.

rows

string

None.

field

string

None.

order

string

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Gender
NameDescriptionTypeAdditional information
Name

string

None.

Ordinal

integer

None.

Id

integer

None.

LastUpdatedTimestamp

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Name": "sample string 1",
    "Ordinal": 1,
    "Id": 2,
    "LastUpdatedTimestamp": "2018-11-15T06:56:22.4572911+00:00"
  },
  {
    "Name": "sample string 1",
    "Ordinal": 1,
    "Id": 2,
    "LastUpdatedTimestamp": "2018-11-15T06:56:22.4572911+00:00"
  }
]

text/xml

Sample:
<ArrayOfGender xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataLayer2.Models">
  <Gender>
    <Id xmlns="http://schemas.datacontract.org/2004/07/DataLayer2.Core">2</Id>
    <LastUpdatedTimestamp xmlns="http://schemas.datacontract.org/2004/07/DataLayer2.Core">2018-11-15T06:56:22.4572911+00:00</LastUpdatedTimestamp>
    <Ordinal xmlns="http://schemas.datacontract.org/2004/07/DataLayer2.Core">1</Ordinal>
    <Name>sample string 1</Name>
  </Gender>
  <Gender>
    <Id xmlns="http://schemas.datacontract.org/2004/07/DataLayer2.Core">2</Id>
    <LastUpdatedTimestamp xmlns="http://schemas.datacontract.org/2004/07/DataLayer2.Core">2018-11-15T06:56:22.4572911+00:00</LastUpdatedTimestamp>
    <Ordinal xmlns="http://schemas.datacontract.org/2004/07/DataLayer2.Core">1</Ordinal>
    <Name>sample string 1</Name>
  </Gender>
</ArrayOfGender>