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-02-28T15:32:26.096601+03:00",
"ExpiryDate": "2026-02-28T15:32:26.096601+03:00"
},
"PatientID": "dcffc1fb-8859-4926-991c-be43af0521a9",
"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>dcffc1fb-8859-4926-991c-be43af0521a9</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-02-28T15:32:26.096601+03:00</ExpiryDate>
<GroupNumber>sample string 6</GroupNumber>
<IDNumber>sample string 7</IDNumber>
<IssueDate>2026-02-28T15:32:26.096601+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": "c47077bb-70be-4258-80fe-d4ca91f528f3",
"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-02-28T15:32:26.1122286+03:00",
"ExpiryDate": "2026-02-28T15:32:26.1122286+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-02-28T15:32:26.1122286+03:00</ExpiryDate>
<GroupNumber>sample string 7</GroupNumber>
<IDNumber>sample string 8</IDNumber>
<IssueDate>2026-02-28T15:32:26.1122286+03:00</IssueDate>
<OnlineAccessCode>sample string 9</OnlineAccessCode>
<PatientInsuranceID>c47077bb-70be-4258-80fe-d4ca91f528f3</PatientInsuranceID>
<PolicyNumber>sample string 6</PolicyNumber>
</PatientInsurance>
</PatientInsuranceResponse>