songs/keys/getAll

Get a list of keys within an arrangement. The fields listed here will be returned when this method is called.

POST https://api.elvanto.com/v1/songs/keys/getAll.{json|xml|php}

Parameters

Name Type Description
page integer The results page to retrieve. Default: 1
page_size integer The number of records to retrieve per results page. Default: 1000
arrangement_id Required string The ID of the arrangement to find keys within.
files boolean Return attached files.
Expected request JSON HTTP POST
{
    "page": 1,
    "page_size": 100,
    "arrangement_id": "84937df8-e993-11e2-b739-a20c5589acc5",
    "files": true
}
Expected response JSON XML PHP
{
    "generated_in": "0.021",
    "status": "ok",
    "keys": {
        "on_this_page": 100,
        "page": 1,
        "per_page": 100,
        "total": 668,
        "key": [
            {
                "id": "73847df8-e993-11e2-b739-a20c5589acc5",
                "date_added": "2016-02-24 11:56:22",
                "date_modified": "2016-08-27 16:17:57",
                "name": "",
                "key_starting": "E",
                "key_ending": "",
                "arrangement_id": "84937df8-e993-11e2-b739-a20c5589acc5"
            }
        ]
    }
}
Error responses:

Please see our response status codes documentation for details of potential error responses for any API request.

  • 250: Invalid page number The page number you have provided is invalid.
  • 250: Invalid page size The page size must be between 10 and 1000.
  • 401: No Arrangement ID provided You need to specify the ID of the arrangement.
  • 404: No keys match your criteria The system could not find any keys based on your criteria.