Create a new Statistics Assessment based on the Statistics Definition
Creates a new statistic assessment.
Authorizations
Path parameters
definitionIdstringRequiredExample:
Statistic Definition Identifier
000000000000000000000001Body
idstringOptionalExample:
000000000000000000000001definitionIdstringOptionalExample:
000000000000000000000001policyIdstringOptionalExample:
000000000000000000000001policyTopicIdstringOptionalExample:
0.0.1policyInstanceTopicIdstringOptionalExample:
0.0.1topicIdstringOptionalExample:
0.0.1creatorstringOptionalExample:
#did:hedera:testnet:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA_0.0.0000001ownerstringOptionalExample:
#did:hedera:testnet:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA_0.0.0000001messageIdstringOptionalExample:
0000000000.000000001targetstringOptionalExample:
0000000000.000000001relationshipsstring[]OptionalExample:
["0000000000.000000001"]documentobject | nullableOptional
Responses
200
Successful operation.
application/json
401
Unauthorized.
403
Forbidden.
500
Internal server error.
application/json
post
/policy-statistics/{definitionId}/assessmentPOST /api/v1/policy-statistics/{definitionId}/assessment HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
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