Retrieve last evaluation context
POST/api/management/policy/evaluation/:transferId/evaluate
Retrieve last evaluation context of the specified transfer ID.
Request
Path Parameters
transferId stringrequired
- application/json
Body
required
transferIdstring
localParticipantstringrequired
remoteParticipantstringrequired
targetstringrequired
actionstringrequired
verifiableCredentials
objectrequired
object
evaluationTimedate-timerequired
Responses
- 200
- 403
- 404
- application/json
- Schema
- Example (from schema)
Schema
decisionstringrequired
reasonstring
permissionsstring[]
prohibitionsstring[]
obligationsstring[]
context
object
transferIdstring
localParticipantstringrequired
remoteParticipantstringrequired
targetstringrequired
actionstringrequired
verifiableCredentials
object
required
object
evaluationTimedate-timerequired
{
"decision": "string",
"reason": "string",
"permissions": [
"string"
],
"prohibitions": [
"string"
],
"obligations": [
"string"
],
"context": {
"transferId": "string",
"localParticipant": "string",
"remoteParticipant": "string",
"target": "string",
"action": "string",
"verifiableCredentials": {},
"evaluationTime": "2024-07-29T15:51:28.071Z"
}
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
namestringrequired
statusstringrequired
codenumberrequired
messageobject
errorstring
{
"name": "string",
"status": "string",
"code": 0,
"message": {},
"error": "string"
}
Resource not found
- application/json
- Schema
- Example (from schema)
Schema
namestringrequired
statusstringrequired
codenumberrequired
messageobject
errorstring
{
"name": "string",
"status": "string",
"code": 0,
"message": {},
"error": "string"
}