Assess multiple cases
post
https://{your_site_interface}/determinations-server/project/v2/{project-name}/{project-version}/batch
This operation assesses multiple cases of data through the decision service of a deployed Intelligent Advisor project, and returns the results.
Request
Path Parameters
-
project-name(required): string
Name of the project
-
project-version(required): string
The version of the project to use. Use 'draftOrLatest' for the draft (if there is one) or latest version, or specify a version number.
Supported Media Types
- application/json
Root Schema : schema
Type:
array
An array of decision assessment request objects.
Show Source
-
Array of:
object schema
The JSON object containing the required input as described by the OpenAPI 2.0 specification.
Nested Schema : schema
Type:
object
The JSON object containing the required input as described by the OpenAPI 2.0 specification.
Security
-
Authorization: apiKey
Type:
apiKey
Description:Obtain a bearer token from https://{your_site_interface}/opa-hub/api/12.2.17/auth and use it in the Authorization header as: Bearer {token}.
-
oauth2_opa: oauth2
Type:
oauth2
Description:POST the OAuth2 Client Credentials parameters to https://{your_site_interface}/opa-hub/api/12.2.17/auth and use the access token from the response in the Authorization header.
Response
Supported Media Types
- application/json
200 Response
Multiple completed decision assessments. Refer to the project version's OpenAPI 2.0 specification for expected output.
Root Schema : decisionResponseObjectArray
Type:
array
An array of decision assessment response objects.
Show Source
-
Array of:
object decisionResponseObject
The JSON object representing the decision assessment as described by the OpenAPI 2.0 specification.
Nested Schema : decisionResponseObject
Type:
object
The JSON object representing the decision assessment as described by the OpenAPI 2.0 specification.
404 Response
The requested resource does not exist.