Create a new Statistics Assessment based on the Statistics Definition
Creates a new statistic assessment.
Authorizations
Path parameters
definitionIdstringRequiredExample:
Statistic Definition Identifier
000000000000000000000001
Body
idstringOptionalExample:
000000000000000000000001
definitionIdstringOptionalExample:
000000000000000000000001
policyIdstringOptionalExample:
000000000000000000000001
policyTopicIdstringOptionalExample:
0.0.1
policyInstanceTopicIdstringOptionalExample:
0.0.1
topicIdstringOptionalExample:
0.0.1
creatorstringOptionalExample:
#did:hedera:testnet:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA_0.0.0000001
ownerstringOptionalExample:
#did:hedera:testnet:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA_0.0.0000001
messageIdstringOptionalExample:
0000000000.000000001
targetstringOptionalExample:
0000000000.000000001
relationshipsstring[]OptionalExample:
["0000000000.000000001"]
documentobject | nullableOptional
Responses
200
Successful operation.
application/json
401
Unauthorized.
403
Forbidden.
500
Internal server error.
application/json
post
POST /api/v1/policy-statistics/{definitionId}/assessment HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 485
{
"id": "000000000000000000000001",
"definitionId": "000000000000000000000001",
"policyId": "000000000000000000000001",
"policyTopicId": "0.0.1",
"policyInstanceTopicId": "0.0.1",
"topicId": "0.0.1",
"creator": "#did:hedera:testnet:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA_0.0.0000001",
"owner": "#did:hedera:testnet:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA_0.0.0000001",
"messageId": "0000000000.000000001",
"target": "0000000000.000000001",
"relationships": [
"0000000000.000000001"
],
"document": {}
}
{
"id": "000000000000000000000001",
"definitionId": "000000000000000000000001",
"policyId": "000000000000000000000001",
"policyTopicId": "0.0.1",
"policyInstanceTopicId": "0.0.1",
"topicId": "0.0.1",
"creator": "#did:hedera:testnet:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA_0.0.0000001",
"owner": "#did:hedera:testnet:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA_0.0.0000001",
"messageId": "0000000000.000000001",
"target": "0000000000.000000001",
"relationships": [
"0000000000.000000001"
],
"document": {}
}
Last updated