Get Orientations

method: getOrientations

This operation returns a list of Orientations.

URL / Endpoint

GET /v1/lists/getOrientations

Request

PropertyTypeDescription
This operation does not accept any parameters.

Request Information

HTTP Method / Verb

Parameters can only 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.

Sample

GET method

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

Response

PropertyTypeDescription
Array of aws:Orientation List of Orientations.

Response Sample

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>