Contains functionality related to authenticating an event director.
Authenticate
Authenticates an event director..
Endpoint
POST https://basketball.exposureevents.com/api/v1/authenticate
Parameters
Name | Type | Default | Required | Description |
---|---|---|---|---|
username | string (50) | The username of the event director account. | ||
password | string (50) | The password of the event director account. |
{
"Username": "username",
"Password": "password"
}
<Request xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<Password>password</Password>
<Username>username</Username>
</Request>
API Keys are base64 encoded in the response and will need to be base64 decoded before being used in API calls.
{
"Id": 4,
"ApiKey": "YXBpa2V5Zm9yYWNjb3VudA==",
"ApiSecretKey": "YXBpc2VjcmV0a2V5Zm9yYWNjb3VudA==",
"Email": "info@exposureevents.com"
}
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<ApiKey>YXBpa2V5Zm9yYWNjb3VudA==</ApiKey>
<ApiSecretKey>YXBpc2VjcmV0a2V5Zm9yYWNjb3VudA==</ApiSecretKey>
<Email>info@exposureevents.com</Email>
<Id>4</Id>
</Response>