Request Format
The following URL identifies the generic structure of all API requests.
http://domain/format/entity/param/?token=application-token&secret=client-secret
- domain
-
- All API requests point to a single endpoint, api.activecalendar.com, for processing.
- format
-
-
Value: xmlThe API response format will be XML.
-
Value: jsonThe API response format will be JSON.
-
- entity
-
-
Value: events/event
- Refer to the event search documentation for more information.
- Refer to event lookup documentation for more information.
- Refer to event add documentation for more information.
-
Value: categories
- Refer to the categories documentation for more information.
-
Value: locations
- Refer to the locations documentation for more information.
-
- param
-
- Optional URL parameters used to further define an API request. A param value always acts on an API entity. When used with events the a param value might be a key that identifies a default date range to find events or the unique route used to find a single event.
- Refer to the API entity sections for explanations of param values that can be used with each entity.
- query
-
-
Value: tokenRequired 96 character application identiferThe token value is similar to a user name used for authentication and can be known by anyone.
-
Value: secretRequired 96 character secret client identiferThe client value is similar to a password used for authentication and should be kept secret.The client secret is optional when an application is in debug mode for easier testing.
- Refer to the API entity sections for explanations of query values that can be used with each entity.
-