POST api/Patient/PatientInsuranceAdd
Request Information
URI Parameters
None.
Body Parameters
PatientInsuranceAddRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| PatientInsuranceAdd | PatientInsuranceAdd |
None. |
|
| PatientID | globally unique identifier |
None. |
|
| WebApiVersion | integer |
None. |
|
| Language | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PatientInsuranceAdd": {
"CompanyName": "sample string 1",
"CompanyContact": "sample string 2",
"ContactNumber": "sample string 3",
"Employer": "sample string 4",
"PolicyNumber": "sample string 5",
"GroupNumber": "sample string 6",
"IDNumber": "sample string 7",
"OnlineAccessCode": "sample string 8",
"IssueDate": "2026-06-18T12:14:58.1405638+03:00",
"ExpiryDate": "2026-06-18T12:14:58.1405638+03:00"
},
"PatientID": "53cfb9be-e63b-4825-94dd-2c314fa8d15f",
"WebApiVersion": 2,
"Language": "sample string 3"
}
application/xml, text/xml
Sample:
<PatientInsuranceAddRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SehatukaAPI.DTO">
<Language>sample string 3</Language>
<PatientID>53cfb9be-e63b-4825-94dd-2c314fa8d15f</PatientID>
<WebApiVersion>2</WebApiVersion>
<PatientInsuranceAdd>
<CompanyContact>sample string 2</CompanyContact>
<CompanyName>sample string 1</CompanyName>
<ContactNumber>sample string 3</ContactNumber>
<Employer>sample string 4</Employer>
<ExpiryDate>2026-06-18T12:14:58.1405638+03:00</ExpiryDate>
<GroupNumber>sample string 6</GroupNumber>
<IDNumber>sample string 7</IDNumber>
<IssueDate>2026-06-18T12:14:58.1405638+03:00</IssueDate>
<OnlineAccessCode>sample string 8</OnlineAccessCode>
<PolicyNumber>sample string 5</PolicyNumber>
</PatientInsuranceAdd>
</PatientInsuranceAddRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PatientInsuranceResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| PatientInsurance | PatientInsurance |
None. |
|
| WebApiVersion | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"PatientInsurance": {
"PatientInsuranceID": "4d6d531a-1e17-44db-b8a7-1cfb9843d35c",
"CompanyName": "sample string 2",
"CompanyContact": "sample string 3",
"ContactNumber": "sample string 4",
"Employer": "sample string 5",
"PolicyNumber": "sample string 6",
"GroupNumber": "sample string 7",
"IDNumber": "sample string 8",
"OnlineAccessCode": "sample string 9",
"IssueDate": "2026-06-18T12:14:58.1561933+03:00",
"ExpiryDate": "2026-06-18T12:14:58.1561933+03:00"
},
"WebApiVersion": 1
}
application/xml, text/xml
Sample:
<PatientInsuranceResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SehatukaAPI.DTO">
<WebApiVersion>1</WebApiVersion>
<PatientInsurance>
<CompanyContact>sample string 3</CompanyContact>
<CompanyName>sample string 2</CompanyName>
<ContactNumber>sample string 4</ContactNumber>
<Employer>sample string 5</Employer>
<ExpiryDate>2026-06-18T12:14:58.1561933+03:00</ExpiryDate>
<GroupNumber>sample string 7</GroupNumber>
<IDNumber>sample string 8</IDNumber>
<IssueDate>2026-06-18T12:14:58.1561933+03:00</IssueDate>
<OnlineAccessCode>sample string 9</OnlineAccessCode>
<PatientInsuranceID>4d6d531a-1e17-44db-b8a7-1cfb9843d35c</PatientInsuranceID>
<PolicyNumber>sample string 6</PolicyNumber>
</PatientInsurance>
</PatientInsuranceResponse>