Ethnicity

method: getEthnicity

This API operation returns the ethnicities used in AdultWork.com.

URL / Endpoint

GET /v1/lists/getEthnicity

Request

PropertyTypeDescription
This operation does not accept any parameters.

Request Information

HTTP Method / Verb

Parameters can be passed to this operation using the HTTP GET method by passing parameters over the query string of the URI.

Headers

The REST API uses HTTP request headers to determine what data type is returned or to authenticate the developer's API key. More information can be found in the overview section.

Authentication

Your API-Key is required with every request and can be passed in as a header or a query-string parameter. Don't have an API-Key? Get one now.

Samples

GET method

https://api-sandbox.adultwork.com/v1/lists/getEthnicity
  ?apiKey={your-api-key}

Response

PropertyTypeDescription
Ethnicity Array of aws:Ethnicity List of Ethnicity.

Response Sample

The following example returns the ethnicities used in AdultWork.com.

[
{
"Ethnicity": "White"
},
{
"Ethnicity": "Mixed"
},
{
"Ethnicity": "Asian or Asian British"
},
{
"Ethnicity": "Black or Black British"
},
{
"Ethnicity": "Chinese"
}
]
<ArrayOfEthnicityModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.Ethnicity">
<EthnicityModel>
<Ethnicity>White</Ethnicity>
</EthnicityModel>
<EthnicityModel>
<Ethnicity>Mixed</Ethnicity>
</EthnicityModel>
<EthnicityModel>
<Ethnicity>Asian or Asian British</Ethnicity>
</EthnicityModel>
<EthnicityModel>
<Ethnicity>Black or Black British</Ethnicity>
</EthnicityModel>
<EthnicityModel>
<Ethnicity>Chinese</Ethnicity>
</EthnicityModel>
</ArrayOfEthnicityModel>