Skip to end of metadata
Go to start of metadata

Description

The ONC External Web Services are listed below. The default response is in the JSON format. See the optional parameter "responseType" in the table below for different responses.

 In order to access these Web Services, the following parameters apply:

Parameter

Type

Description

Example

Required

method

string

Each Web Service has 1 or more methods outlined in the documentation. The method name is case sensitive.

method=getList

token

string

All Web Services require a token. This can be generated at http://dmas.uvic.ca/Profile. Click on the "Web Services" tab and click "Generate Token"

token=YOUR-TOKEN

Optional

responseType

string

Valid values are "json" and "jsonp". Defaults to "json".

responseType =jsonp

Example

http://dmas.uvic.ca/api/sample?method=methodName&token=YOUR-TOKEN

If you are planning to use our API with the Python programming language please have a look at pyONC to get some ideas.

  • No labels