curl --location --request POST '/clients//actions/' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"metadata": {
"userId": "TestUser"
},
"action": {
"documentNo": "88776655",
"regenerate": "documentCopy",
"emailAddress": [
"owea@testarmrest.no"
]
}
}'{
"status": "PROCESSED",
"result": "CREATED",
"message": "Action resenddocument created and accepted for processing",
"clientNo": 2218,
"accountNo": 500002,
"referenceNo": 35078,
"customerNo": "543210",
"documentNo": "88776655"
}