Get Audio Files


This request returns a list of audio files

Resource

GET /audiofiles

Parameters

Name Type Description

where

[String]

Additional search fields. The field category is supported: where=category=[category]

Payload

None

Context

Authorization

Administrator

Errors

Example

Request
GET https://xelion.nl/api/v1/master/audiofiles
Response
{
    "data": [
        {
            "object": {
                "category": "AutoAttendant1",
                "language": "natEnglish",
                "isSystemDefault": true,
                "commonName": "AutoAttendant1",
                "oid": "1206582",
                "objectType": "XCCAudioFile"
            },
            "links": [
                {
                    "rel": "self",
                    "href": "http://xelion.nl/api/v1/master/audiofiles/1206582",
                    "method": "GET"
                }
            ]
        },
        {
            "object": {
                "category": "DND1",
                "language": "natEnglish",
                "isSystemDefault": true,
                "commonName": "DND1",
                "oid": "1206584",
                "objectType": "XCCAudioFile"
            },
            "links": [
                {
                    "rel": "self",
                    "href": "http://xelion.nl/api/v1/master/audiofiles/1206584",
                    "method": "GET"
                }
            ]
        },
        {
            "object": {
                "category": "DND2",
                "language": "natEnglish",
                "isSystemDefault": true,
                "commonName": "DND2",
                "oid": "1206585",
                "objectType": "XCCAudioFile"
            },
            "links": [
                {
                    "rel": "self",
                    "href": "http://xelion.nl/api/v1/master/audiofiles/1206585",
                    "method": "GET"
                }
            ]
        },
        {
            "object": {
                "category": "Fallback1",
                "language": "natEnglish",
                "isSystemDefault": true,
                "commonName": "Fallback1",
                "oid": "1206586",
                "objectType": "XCCAudioFile"
            },
            "links": [
                {
                    "rel": "self",
                    "href": "http://xelion.nl/api/v1/master/audiofiles/1206586",
                    "method": "GET"
                }
            ]
        },
        {
            "object": {
                "category": "Fallback2",
                "language": "natEnglish",
                "isSystemDefault": true,
                "commonName": "Fallback2",
                "oid": "1206587",
                "objectType": "XCCAudioFile"
            },
            "links": [
                {
                    "rel": "self",
                    "href": "http://xelion.nl/api/v1/master/audiofiles/1206587",
                    "method": "GET"
                }
            ]
        }
    ],
    "meta": {
        "links": [
            {
                "rel": "refresh",
                "href": "http://xelion.nl/api/v1/master/audiofiles",
                "method": "GET"
            },
            {
                "rel": "next",
                "href": "http://xelion.nl/api/v1/master/audiofiles?after=1206597",
                "method": "GET"
            },
            {
                "rel": "previous",
                "href": "http://xelion.nl/api/v1/master/audiofiles?before=1206582",
                "method": "GET"
            }
        ],
        "paging": {
            "previousId": "1206582",
            "nextId": "1206597"
        }
    }
}