PUT api/Patients/Put
Request Information
URI Parameters
None.
Body Parameters
Patient| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
String length: inclusive between 0 and 50 |
|
| LastName | string |
String length: inclusive between 0 and 50 |
|
| MotherLastName | string |
String length: inclusive between 0 and 50 |
|
| Birthdate | date |
None. |
|
| Gender | string |
String length: inclusive between 0 and 50 |
|
| Phone | string |
None. |
|
| user_id | integer |
None. |
|
| string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Name": "sample string 1",
"LastName": "sample string 2",
"MotherLastName": "sample string 3",
"Birthdate": "2025-10-27T07:43:55.6809453-07:00",
"Gender": "sample string 5",
"Phone": "sample string 6",
"user_id": 7,
"Email": "sample string 8"
}
application/xml, text/xml
Sample:
<Patient xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MedicalSoftware.Service"> <Birthdate>2025-10-27T07:43:55.6809453-07:00</Birthdate> <Email>sample string 8</Email> <Gender>sample string 5</Gender> <LastName>sample string 2</LastName> <MotherLastName>sample string 3</MotherLastName> <Name>sample string 1</Name> <Phone>sample string 6</Phone> <user_id>7</user_id> </Patient>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Response| Name | Description | Type | Additional information |
|---|---|---|---|
| Result | Result |
None. |
|
| Data | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Result": 0,
"Data": "sample string 1"
}
application/xml, text/xml
Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MedicalSoftware.Data"> <Data>sample string 1</Data> <Result>OK</Result> </Response>