API documentation for Signal & Event

Server
https://qa3-ao.adara.com
https://ao.adara.com
Server Variables
apiKey apiKey

Fields
KeyIn
AuthorizationHeader

Authenticates user based on client and endpoint id provided, returns authorization code on success

Auth
Request Body

authRequest

AuthRequestobject

Authorization Model

userobject

Container for user identifiers fora single request. At least one user ID is required

client_idint32

This required ID uniquely identifies each Client of the Integrating Partner. The identifier(s) will be generated and provided by ADARA

endpoint_ownerint32

This required ID uniquely identifies each Integrating Partner.The identifier will be generated and provided by ADARA

POST /api/1.1/auth
Copy
Responses
200

OK

stringstring
201

Created

401

Unauthorized

403

Forbidden

404

Not Found

Response
Copy

Authenticates user based on client and endpoint id provided, returns authorization code on success

Auth
Request Body

authRequest

AuthRequestobject

Authorization Model

userobject

Container for user identifiers fora single request. At least one user ID is required

client_idint32

This required ID uniquely identifies each Client of the Integrating Partner. The identifier(s) will be generated and provided by ADARA

endpoint_ownerint32

This required ID uniquely identifies each Integrating Partner.The identifier will be generated and provided by ADARA

POST /api/auth
Copy
Responses
200

OK

stringstring
201

Created

401

Unauthorized

403

Forbidden

404

Not Found

Response
Copy

Records event(feedback) provided by customer

Auth
Path Params
clientIdinteger

clientId

endpointOwnerIdinteger

endpointOwnerId

Request Body

eventRequest

POST /api/1.1/events/{endpointOwnerId}/{clientId}
Responses
200

OK

No response body
201

Created

400

{"status": "EINVALID", "error": { "message": "Invalid Request" } }

401

{ "status": "ENOAUTH", "error": { "message": "Not Authenticated" } }

403

Forbidden

404

Not Found

Response
Copy

Records event(feedback) provided by customer

Auth
Path Params
clientIdinteger

clientId

endpointOwnerIdinteger

endpointOwnerId

Request Body

eventRequest

POST /api/events/{endpointOwnerId}/{clientId}
Responses
200

OK

No response body
201

Created

400

{"status": "EINVALID", "error": { "message": "Invalid Request" } }

401

{ "status": "ENOAUTH", "error": { "message": "Not Authenticated" } }

403

Forbidden

404

Not Found

Response
Copy

Provides score value for the requested signal(s)

Auth
Path Params
clientIdinteger

clientId

endpointOwnerIdinteger

endpointOwnerId

Request Body

APIRequest

POST /api/1.1/req/{endpointOwnerId}/{clientId}
Copy
Responses
200

OK

ApiResponseobject
responseobject

Container for the response information

signalsarray[object]

Array of signal code data for the requested signal(s)

signal_codestring

Signal code identifier for the requested signal

valuestring

Returned signal value for the specified user identifier. Depending on the signal code, the valuecan be an integer (such as 1 to 5 for a quintile form)or a raw decimal number

statusstring

Indicates status of the response

201

Created

400

{"status": "EINVALID", "error": { "message": "Invalid Request" } }

401

{ "status": "ENOAUTH", "error": { "message": "Not Authenticated" } }

403

Forbidden

404

Not Found

Response
Copy

Provides score value for the requested signal(s)

Auth
Path Params
clientIdinteger

clientId

endpointOwnerIdinteger

endpointOwnerId

Request Body

APIRequest

POST /api/req/{endpointOwnerId}/{clientId}
Copy
Responses
200

OK

ApiResponseobject
responseobject

Container for the response information

signalsarray[object]

Array of signal code data for the requested signal(s)

signal_codestring

Signal code identifier for the requested signal

valuestring

Returned signal value for the specified user identifier. Depending on the signal code, the valuecan be an integer (such as 1 to 5 for a quintile form)or a raw decimal number

statusstring

Indicates status of the response

201

Created

400

{"status": "EINVALID", "error": { "message": "Invalid Request" } }

401

{ "status": "ENOAUTH", "error": { "message": "Not Authenticated" } }

403

Forbidden

404

Not Found

Response
Copy