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": "2025-12-11T14:41:11.4566984+03:00",
"ExpiryDate": "2025-12-11T14:41:11.4566984+03:00"
},
"PatientID": "56d0f757-80ba-4ed7-978d-5426cea890ba",
"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>56d0f757-80ba-4ed7-978d-5426cea890ba</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>2025-12-11T14:41:11.4566984+03:00</ExpiryDate>
<GroupNumber>sample string 6</GroupNumber>
<IDNumber>sample string 7</IDNumber>
<IssueDate>2025-12-11T14:41:11.4566984+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": "8f54c546-7b8d-4253-9085-29779af0c450",
"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": "2025-12-11T14:41:11.4636567+03:00",
"ExpiryDate": "2025-12-11T14:41:11.4636567+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>2025-12-11T14:41:11.4636567+03:00</ExpiryDate>
<GroupNumber>sample string 7</GroupNumber>
<IDNumber>sample string 8</IDNumber>
<IssueDate>2025-12-11T14:41:11.4636567+03:00</IssueDate>
<OnlineAccessCode>sample string 9</OnlineAccessCode>
<PatientInsuranceID>8f54c546-7b8d-4253-9085-29779af0c450</PatientInsuranceID>
<PolicyNumber>sample string 6</PolicyNumber>
</PatientInsurance>
</PatientInsuranceResponse>