curl --request GET \
--url http://localhost/api/api/subjects/{client_subject_id} \
--header 'Authorization: Bearer <token>'{
"client_subject_id": "<string>",
"subject_name": "<string>",
"unique_identification_number": "<string>",
"account_holder": true,
"address": "<string>",
"customer_segment": "<string>",
"date_and_place_of_birth": "<string>",
"country_of_birth_or_incorporation": "<string>",
"nationality": "<string>",
"account_type": "<string>",
"account_type_ii": "<string>",
"account_opening_date": "<string>",
"account_opening_date_ii": "<string>",
"customer_aml_risk_rating": "<string>",
"customer_account": "<string>",
"customer_account_ii": "<string>",
"customer_opening_date": "<string>",
"source_of_funds": "<string>",
"average_monthly_income": "<string>",
"cif_status": "<string>",
"occupation": "<string>",
"industry": "<string>",
"purpose_of_account": "<string>",
"contact_number": "<string>",
"email_address": "<string>",
"risk_assessment_score": "<string>",
"created_by": 123,
"modified_by": 123
}Retrieve a specific subject by its client subject ID.
curl --request GET \
--url http://localhost/api/api/subjects/{client_subject_id} \
--header 'Authorization: Bearer <token>'{
"client_subject_id": "<string>",
"subject_name": "<string>",
"unique_identification_number": "<string>",
"account_holder": true,
"address": "<string>",
"customer_segment": "<string>",
"date_and_place_of_birth": "<string>",
"country_of_birth_or_incorporation": "<string>",
"nationality": "<string>",
"account_type": "<string>",
"account_type_ii": "<string>",
"account_opening_date": "<string>",
"account_opening_date_ii": "<string>",
"customer_aml_risk_rating": "<string>",
"customer_account": "<string>",
"customer_account_ii": "<string>",
"customer_opening_date": "<string>",
"source_of_funds": "<string>",
"average_monthly_income": "<string>",
"cif_status": "<string>",
"occupation": "<string>",
"industry": "<string>",
"purpose_of_account": "<string>",
"contact_number": "<string>",
"email_address": "<string>",
"risk_assessment_score": "<string>",
"created_by": 123,
"modified_by": 123
}Expected Response Code: 404
Response Body: JSON Object
e.g
{
"detail": "Not found."
}
JWT token obtained from AWS Cognito or custom authentication service
Client subject ID.
Subject retrieved successfully.
25525525525525525525560255255255255255255255255255255255255255255255255^-?\d{0,3}(?:\.\d{0,2})?$