POST /api/Relative/CreateRelative
application/json-patch+json
POST
/api/Relative/CreateRelative
cURL (application/json-patch+json)
curl \
-X POST http://api.example.com/api/Relative/CreateRelative \
-H "Authorization: $API_KEY" \
-H "Content-Type: application/json-patch+json"
curl \
-X POST http://api.example.com/api/Relative/CreateRelative \
-H "Authorization: $API_KEY" \
-H "Content-Type: application/json" \
-d '{"patientId":42,"firstName":"string","lastName":"string","ssn":"string"}'
curl \
-X POST http://api.example.com/api/Relative/CreateRelative \
-H "Authorization: $API_KEY" \
-H "Content-Type: text/json"
curl \
-X POST http://api.example.com/api/Relative/CreateRelative \
-H "Authorization: $API_KEY" \
-H "Content-Type: application/*+json"
Request examples
{
"patientId": 42,
"firstName": "string",
"lastName": "string",
"ssn": "string"
}
Request example
{
"patientId": 42,
"firstName": "string",
"lastName": "string",
"ssn": "string"
}
Request examples
{
"patientId": 42,
"firstName": "string",
"lastName": "string",
"ssn": "string"
}
Request examples
{
"patientId": 42,
"firstName": "string",
"lastName": "string",
"ssn": "string"
}
Response examples (200)
{
"patientId": 42,
"firstName": "string",
"lastName": "string",
"ssn": "string"
}
Response examples (200)
{
"patientId": 42,
"firstName": "string",
"lastName": "string",
"ssn": "string"
}