Last updated 3 months ago
Imports new statistic definition from the provided zip file into the local DB.
Policy Id
000000000000000000000001
POST /api/v1/policy-statistics/{policyId}/import/file HTTP/1.1 Host: Authorization: Bearer JWT Content-Type: application/json Accept: */* Content-Length: 6 "text"
Successful operation.
{ "id": "000000000000000000000001", "uuid": "00000000-0000-0000-0000-000000000000", "name": "Tool name", "description": "Description", "creator": "#did:hedera:testnet:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA_0.0.0000001", "owner": "#did:hedera:testnet:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA_0.0.0000001", "topicId": "0.0.1", "messageId": "0000000000.000000001", "policyId": "000000000000000000000001", "policyTopicId": "0.0.1", "policyInstanceTopicId": "0.0.1", "status": "DRAFT", "config": {} }