Assemble a flag
PATCH
/data/api/v1/contribution-management/contribution/flag/assemble
Checks the records to flag and answers with the unsigned flag transaction as hex. Nothing is changed. Sign the transaction with the signing key pair and send it to PATCH /data/api/v1/contribution-management/contribution/flag.
Name a record by the assetDefinitionId of a query or lookup answer, or by the definitionId of an upload answer. Up to 5000 records per request.
Authorizations
bearerAuth
The accessToken of a sign-in or refresh answer. Valid for 5 minutes.
Type
HTTP (bearer)
Request Body
application/json
JSON "assetDefinitionIds": [ "00000000-0000-7000-8000-000000000001" ]
{
}
Responses
The unsigned transaction to sign.
application/json
JSON "status": { "code": 0, "name": "Ok" }, "data": "04a1b2c3d4e5f60718293a4b5c6d7e8f"
{
}
PATCH
/data/api/v1/contribution-management/contribution/flag/assemble