idempotency-key header to make the request safelysummary.success andsummary.fail, and review failed_records for any entries that coulderror_code, error_message, and details.curl --location --request POST 'https://api.staging.vrtx.sa/whitelist/' \
--header 'idempotency-key;' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"users": [
{
"national_id": "1234567890",
"external_reference": "ext-ref-001"
}
]
}'{
"report_status": "PARTIAL_SUCCESS",
"message": "2 of 3 entries added successfully",
"summary": {
"total": 0,
"success": 0,
"fail": 0
},
"failed_records": [
{
"national_id": "string",
"external_reference": "string",
"error": "string"
}
]
}