Created
October 17, 2022 21:06
-
-
Save aleksa-krolls/576a2c21ac1d67f011f6fe47d6c17578 to your computer and use it in GitHub Desktop.
fails with 422 error: data: '{"external_id":"1a20d411-efda-4ad5-82f5-53b891f96ca8","message":"Record was found.","errors":{"global_id":"global_id must exist.","referral_status":"referral_status must be present."}}'
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"organization": { | |
"external_id": "1a20d411-efda-4ad5-82f5-53b891f96ca8", | |
"external_id_display": "1f96ca8", | |
"level_of_risk": "medium", | |
"mosvy_number": "", | |
"given_name": "two", | |
"family_name": "referrals", | |
"gender": "female", | |
"date_of_birth": "2013-01-01", | |
"location_current_village_code": "1704", | |
"address_current_village_code": "1704", | |
"reason_for_referral": "", | |
"external_case_worker_name": "openfn_cp_user", | |
"external_case_worker_id": "", | |
"external_case_worker_mobile": "000000000", | |
"resource": "Primero", | |
"is_referred": true, | |
"organization_name": "cif", | |
"organization_id": "cif", | |
"services": [ | |
{ | |
"uuid": "4e57101d-9d8b-40cc-8f86-8ee8dd831262", | |
"name": "Long term foster care" | |
} | |
], | |
"date_of_referral": "2022-10-17" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment