curl --request POST \
--url https://wfa-team-tool-v1.bubbleapps.io/version-test/api/1.1/wf/rwa_update \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"assessmentId": "YOUR_TEST_ASSESSMENT_ID",
"status": "Compliance Approved",
"complianceTeamMemberId": "COMPLIANCE-001",
"note": "Reviewed by the compliance team",
"externalEventId": "decision-001"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
assessmentId: 'YOUR_TEST_ASSESSMENT_ID',
status: 'Compliance Approved',
complianceTeamMemberId: 'COMPLIANCE-001',
note: 'Reviewed by the compliance team',
externalEventId: 'decision-001'
})
};
fetch('https://wfa-team-tool-v1.bubbleapps.io/version-test/api/1.1/wf/rwa_update', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://wfa-team-tool-v1.bubbleapps.io/version-test/api/1.1/wf/rwa_update"
payload = {
"assessmentId": "YOUR_TEST_ASSESSMENT_ID",
"status": "Compliance Approved",
"complianceTeamMemberId": "COMPLIANCE-001",
"note": "Reviewed by the compliance team",
"externalEventId": "decision-001"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"status": "success",
"success": true,
"message": "RWA decision and note updated"
}Update a decision
Record an approval, rejection, cancellation or pending decision.
curl --request POST \
--url https://wfa-team-tool-v1.bubbleapps.io/version-test/api/1.1/wf/rwa_update \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"assessmentId": "YOUR_TEST_ASSESSMENT_ID",
"status": "Compliance Approved",
"complianceTeamMemberId": "COMPLIANCE-001",
"note": "Reviewed by the compliance team",
"externalEventId": "decision-001"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
assessmentId: 'YOUR_TEST_ASSESSMENT_ID',
status: 'Compliance Approved',
complianceTeamMemberId: 'COMPLIANCE-001',
note: 'Reviewed by the compliance team',
externalEventId: 'decision-001'
})
};
fetch('https://wfa-team-tool-v1.bubbleapps.io/version-test/api/1.1/wf/rwa_update', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://wfa-team-tool-v1.bubbleapps.io/version-test/api/1.1/wf/rwa_update"
payload = {
"assessmentId": "YOUR_TEST_ASSESSMENT_ID",
"status": "Compliance Approved",
"complianceTeamMemberId": "COMPLIANCE-001",
"note": "Reviewed by the compliance team",
"externalEventId": "decision-001"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"status": "success",
"success": true,
"message": "RWA decision and note updated"
}Authorizations
Your company API token. Keep it on your server.
Body
Assessment identifier returned by the create endpoint.
"YOUR_TEST_ASSESSMENT_ID"
Decision status. Approved is a legacy alias for Compliance Approved.
Pending, Manager Approved, Compliance Approved, Rejected, Canceled "Compliance Approved"
Registered, activated compliance Staff ID in the token’s company. Required for Compliance Approved.
"COMPLIANCE-001"
Note to accompany the decision.
"Reviewed by the compliance team"
Your event identifier. Required by the current test client; upstream requirement and retry deduplication need verification.
"decision-001"
External manager Staff ID. Required for Manager Approved, or can identify the actor for Rejected.
Company Staff ID of the person cancelling the assessment. Required for Canceled.
.avif?fit=max&auto=format&n=D14pPx7nwaebT2G5&q=85&s=4c6d67fe3600ae0af1af440b290c4e21)