POST api/Patient/GetPatientShare
Request Information
URI Parameters
None.
Body Parameters
PageRequestBase| Name | Description | Type | Additional information |
|---|---|---|---|
| PageNumber | integer |
None. |
|
| PageCount | integer |
None. |
|
| PatientID | globally unique identifier |
None. |
|
| WebApiVersion | integer |
None. |
|
| Language | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PageNumber": 1,
"PageCount": 2,
"PatientID": "d0a2105b-9701-4cd9-87f7-410dc7c6a29d",
"WebApiVersion": 4,
"Language": "sample string 5"
}
application/xml, text/xml
Sample:
<PageRequestBase xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SehatukaAPI.DTO"> <Language>sample string 5</Language> <PatientID>d0a2105b-9701-4cd9-87f7-410dc7c6a29d</PatientID> <WebApiVersion>4</WebApiVersion> <PageCount>2</PageCount> <PageNumber>1</PageNumber> </PageRequestBase>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GetPatientShareResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| PatientShare | Collection of PatientShare |
None. |
|
| PageNumber | integer |
None. |
|
| PageCount | integer |
None. |
|
| TotalCount | integer |
None. |
|
| WebApiVersion | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"PatientShare": [
{
"PatientShareID": "854fc9c7-bc57-4dad-823e-de4001716b5e",
"DoctorID": "657ed6b9-8ae8-4f9e-a64e-0bf8e4673094",
"DoctorEmail": "sample string 3",
"Period": 4,
"PeriodTypeID": "a0dda4ad-0e2a-4ad9-9260-22049052528f",
"ExpiresAt": "2026-04-24T14:24:39.0557585+03:00",
"Note": "sample string 7"
},
{
"PatientShareID": "854fc9c7-bc57-4dad-823e-de4001716b5e",
"DoctorID": "657ed6b9-8ae8-4f9e-a64e-0bf8e4673094",
"DoctorEmail": "sample string 3",
"Period": 4,
"PeriodTypeID": "a0dda4ad-0e2a-4ad9-9260-22049052528f",
"ExpiresAt": "2026-04-24T14:24:39.0557585+03:00",
"Note": "sample string 7"
}
],
"PageNumber": 1,
"PageCount": 2,
"TotalCount": 3,
"WebApiVersion": 4
}
application/xml, text/xml
Sample:
<GetPatientShareResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SehatukaAPI.DTO">
<WebApiVersion>4</WebApiVersion>
<PageCount>2</PageCount>
<PageNumber>1</PageNumber>
<TotalCount>3</TotalCount>
<PatientShare>
<PatientShare>
<DoctorEmail>sample string 3</DoctorEmail>
<DoctorID>657ed6b9-8ae8-4f9e-a64e-0bf8e4673094</DoctorID>
<ExpiresAt>2026-04-24T14:24:39.0557585+03:00</ExpiresAt>
<Note>sample string 7</Note>
<PatientShareID>854fc9c7-bc57-4dad-823e-de4001716b5e</PatientShareID>
<Period>4</Period>
<PeriodTypeID>a0dda4ad-0e2a-4ad9-9260-22049052528f</PeriodTypeID>
</PatientShare>
<PatientShare>
<DoctorEmail>sample string 3</DoctorEmail>
<DoctorID>657ed6b9-8ae8-4f9e-a64e-0bf8e4673094</DoctorID>
<ExpiresAt>2026-04-24T14:24:39.0557585+03:00</ExpiresAt>
<Note>sample string 7</Note>
<PatientShareID>854fc9c7-bc57-4dad-823e-de4001716b5e</PatientShareID>
<Period>4</Period>
<PeriodTypeID>a0dda4ad-0e2a-4ad9-9260-22049052528f</PeriodTypeID>
</PatientShare>
</PatientShare>
</GetPatientShareResponse>