Authorization: Bearer ********************{
"id": 7032,
"externalId": 1,
"firstName": "Jhon",
"middleName": "Albert",
"lastName": "Doe",
"mother": "Test Zscan Software",
"father": "Test Zscan Software",
"birthDate": "1992-10-10",
"gender": {
"id": 1
},
"maritalStatus": {
"id": 3
},
"defaultHealthPlan": -1,
"physicianRequester": null,
"companions": [],
"occupation": [],
"unit": {
"id": null
},
"screening": [],
"contacts": {
"id": 19,
"city": {"id": "3474"}
},
"documents": [
{
"id": 15,
"number": "12345678910",
"type": {
"id": 8
}
}
],
"insurance": [],
"ilaudoAccess": null,
"userCreated": {
"id": -1
},
"userChanged": {
"id": null
},
"userDeleted": {
"id": null
},
"dateHourCreated": "2018-12-14T18:06:19.000Z",
"dateHourChanged": "2024-10-31T12:06:19.024Z",
"dateHourDeleted": null
}curl --location --request PUT 'https://prod.your-api-server.com/api/v1/patient' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 7032,
"externalId": 1,
"firstName": "Jhon",
"middleName": "Albert",
"lastName": "Doe",
"mother": "Test Zscan Software",
"father": "Test Zscan Software",
"birthDate": "1992-10-10",
"gender": {
"id": 1
},
"maritalStatus": {
"id": 3
},
"defaultHealthPlan": -1,
"physicianRequester": null,
"companions": [],
"occupation": [],
"unit": {
"id": null
},
"screening": [],
"contacts": {
"id": 19,
"city": {"id": "3474"}
},
"documents": [
{
"id": 15,
"number": "12345678910",
"type": {
"id": 8
}
}
],
"insurance": [],
"ilaudoAccess": null,
"userCreated": {
"id": -1
},
"userChanged": {
"id": null
},
"userDeleted": {
"id": null
},
"dateHourCreated": "2018-12-14T18:06:19.000Z",
"dateHourChanged": "2024-10-31T12:06:19.024Z",
"dateHourDeleted": null
}'{}