POST api/Eligibility/AddPatient
Add a patient to the specified provider ID.
Request Information
URI Parameters
None.
Body Parameters
Binding model of patient where the patient information is available.
PatientBindingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ProviderId | string |
Required |
|
| BirthDate | string |
Required |
|
| FirstName | string |
Required String length: inclusive between 1 and 25 |
|
| LastName | string |
Required String length: inclusive between 1 and 25 |
|
| MemberId | string |
Required String length: inclusive between 6 and 80 |
|
| Gender | string |
Required |
Request Formats
application/json, text/json
Sample:
{
"ProviderId": "sample string 1",
"BirthDate": "sample string 2",
"FirstName": "sample string 3",
"LastName": "sample string 4",
"MemberId": "sample string 5",
"Gender": "sample string 6"
}
application/xml, text/xml
Sample:
<PatientBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MediProvider.Models"> <BirthDate>sample string 2</BirthDate> <FirstName>sample string 3</FirstName> <Gender>sample string 6</Gender> <LastName>sample string 4</LastName> <MemberId>sample string 5</MemberId> <ProviderId>sample string 1</ProviderId> </PatientBindingModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>