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

EventApiRequestobject
events6 fieldsarray[object]

An array of events objects. An Event API request can contain multiple events associated with the specified user. At least one events object must be specified

user8 fieldsobject

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

POST /api/1.1/events/{endpointOwnerId}/{clientId}
Copy
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

EventApiRequestobject
events6 fieldsarray[object]

An array of events objects. An Event API request can contain multiple events associated with the specified user. At least one events object must be specified

user8 fieldsobject

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

POST /api/events/{endpointOwnerId}/{clientId}
Copy
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

ApiRequestobject
data_requestedarray[string]

Listof signal code identifiers. At least one item is required

Enum: ACS_SU_1

user8 fieldsobject

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

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

OK

ApiResponseobject
response1 fieldobject

Container for the response information

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

ApiRequestobject
data_requestedarray[string]

Listof signal code identifiers. At least one item is required

Enum: ACS_SU_1

user8 fieldsobject

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

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

OK

ApiResponseobject
response1 fieldobject

Container for the response information

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