This operation returns a list of Orientations.
GET
/v1/lists/getOrientations
Property | Type | Description |
---|---|---|
This operation does not accept any parameters. |
This endpoint is using the HTTP GET method.
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.
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.
https://api-sandbox.adultwork.com/v1/lists/getOrientations
?apiKey={your-api-key}
Property | Type | Description |
---|---|---|
Array of aws:Orientation | List of Orientations. |
The following example shows a typical response from this method.
[
{
"OrientationID": "1",
"OrienationName": "Straight"
},
{
"OrientationID": "2",
"OrienationName": "Bi-sexual"
},
{
"OrientationID": "3",
"OrienationName": "Gay"
},
{
"OrientationID": "4",
"OrienationName": "Bi-curious"
}
]
<ArrayOfOrientation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Orientation>
<OrientationID>1</OrientationID>
<OrienationName>Straight</OrienationName>
</Orientation>
<Orientation>
<OrientationID>2</OrientationID>
<OrienationName>Bi-sexual</OrienationName>
</Orientation>
<Orientation>
<OrientationID>3</OrientationID>
<OrienationName>Gay</OrienationName>
</Orientation>
<Orientation>
<OrientationID>4</OrientationID>
<OrienationName>Bi-curious</OrienationName>
</Orientation>
</ArrayOfOrientation>