POST api/OutPatients
Request Information
URI Parameters
None.
Body Parameters
OutPatient| Name | Description | Type | Additional information |
|---|---|---|---|
| F_Id | integer |
None. |
|
| OP_Id | string |
None. |
|
| DOB | date |
None. |
|
| Name | string |
None. |
|
| Mobile_Number | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"F_Id": 1,
"OP_Id": "sample string 2",
"DOB": "2026-04-22T15:56:25.4206648+05:30",
"Name": "sample string 3",
"Mobile_Number": "sample string 4"
}
application/xml, text/xml
Sample:
<OutPatient xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Parihaar.Repositories.Core.Model"> <DOB>2026-04-22T15:56:25.4206648+05:30</DOB> <F_Id>1</F_Id> <Mobile_Number>sample string 4</Mobile_Number> <Name>sample string 3</Name> <OP_Id>sample string 2</OP_Id> </OutPatient>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
OutPatient| Name | Description | Type | Additional information |
|---|---|---|---|
| F_Id | integer |
None. |
|
| OP_Id | string |
None. |
|
| DOB | date |
None. |
|
| Name | string |
None. |
|
| Mobile_Number | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"F_Id": 1,
"OP_Id": "sample string 2",
"DOB": "2026-04-22T15:56:25.4206648+05:30",
"Name": "sample string 3",
"Mobile_Number": "sample string 4"
}
application/xml, text/xml
Sample:
<OutPatient xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Parihaar.Repositories.Core.Model"> <DOB>2026-04-22T15:56:25.4206648+05:30</DOB> <F_Id>1</F_Id> <Mobile_Number>sample string 4</Mobile_Number> <Name>sample string 3</Name> <OP_Id>sample string 2</OP_Id> </OutPatient>