GET EventTracks?SystemAPIKey={SystemAPIKey}&SiteAPIKey={SiteAPIKey}&EventExternalID={EventExternalID}
Returns a list of Tracks for a specific event
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| SystemAPIKey |
API Key provided by Wesley to identify your event management system |
string |
Required |
| SiteAPIKey |
API Key specific to the site in which your event management system is being used |
string |
Required |
| EventExternalID |
Your system identifier for the event in which to find tracks |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
EventTracksResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Tracks |
All tracks requested for the event |
Collection of EventTrack |
None. |
| Successful |
False = API Call failed, True = API was called successfully and data passed validation |
boolean |
None. |
| ErrorMessage |
Contains the description of the error e.g. Invalid API Key |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Tracks": [
{
"TrackID": 1,
"TrackName": "sample string 2",
"ArtistName": "sample string 3",
"TrackLength": "sample string 4",
"HymnVerses": 1,
"HymnSelectedVerses": "sample string 5",
"HymnOrcestraOrChoir": "sample string 6",
"Type": "sample string 7",
"Note": "sample string 8",
"OrderNo": 1
},
{
"TrackID": 1,
"TrackName": "sample string 2",
"ArtistName": "sample string 3",
"TrackLength": "sample string 4",
"HymnVerses": 1,
"HymnSelectedVerses": "sample string 5",
"HymnOrcestraOrChoir": "sample string 6",
"Type": "sample string 7",
"Note": "sample string 8",
"OrderNo": 1
}
],
"Successful": true,
"ErrorMessage": "sample string 2"
}
application/xml, text/xml
Sample:
<EventTracksResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WesleyAPI.Models">
<ErrorMessage>sample string 2</ErrorMessage>
<Successful>true</Successful>
<Tracks>
<EventTrack>
<ArtistName>sample string 3</ArtistName>
<HymnOrcestraOrChoir>sample string 6</HymnOrcestraOrChoir>
<HymnSelectedVerses>sample string 5</HymnSelectedVerses>
<HymnVerses>1</HymnVerses>
<Note>sample string 8</Note>
<OrderNo>1</OrderNo>
<TrackID>1</TrackID>
<TrackLength>sample string 4</TrackLength>
<TrackName>sample string 2</TrackName>
<Type>sample string 7</Type>
</EventTrack>
<EventTrack>
<ArtistName>sample string 3</ArtistName>
<HymnOrcestraOrChoir>sample string 6</HymnOrcestraOrChoir>
<HymnSelectedVerses>sample string 5</HymnSelectedVerses>
<HymnVerses>1</HymnVerses>
<Note>sample string 8</Note>
<OrderNo>1</OrderNo>
<TrackID>1</TrackID>
<TrackLength>sample string 4</TrackLength>
<TrackName>sample string 2</TrackName>
<Type>sample string 7</Type>
</EventTrack>
</Tracks>
</EventTracksResponse>