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": "4866a90f-8bca-4c86-8e10-de4f338ca374",
"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>4866a90f-8bca-4c86-8e10-de4f338ca374</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": "b17c03e4-90bd-4545-9842-0c7c6b01ca59",
"DoctorID": "bd7fe3c3-ef33-4975-bb9d-22bf0f460fad",
"DoctorEmail": "sample string 3",
"Period": 4,
"PeriodTypeID": "8b3adfd2-220a-4a6e-96cd-ba27d99a124a",
"ExpiresAt": "2026-06-18T12:18:07.0837753+03:00",
"Note": "sample string 7"
},
{
"PatientShareID": "b17c03e4-90bd-4545-9842-0c7c6b01ca59",
"DoctorID": "bd7fe3c3-ef33-4975-bb9d-22bf0f460fad",
"DoctorEmail": "sample string 3",
"Period": 4,
"PeriodTypeID": "8b3adfd2-220a-4a6e-96cd-ba27d99a124a",
"ExpiresAt": "2026-06-18T12:18:07.0837753+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>bd7fe3c3-ef33-4975-bb9d-22bf0f460fad</DoctorID>
<ExpiresAt>2026-06-18T12:18:07.0837753+03:00</ExpiresAt>
<Note>sample string 7</Note>
<PatientShareID>b17c03e4-90bd-4545-9842-0c7c6b01ca59</PatientShareID>
<Period>4</Period>
<PeriodTypeID>8b3adfd2-220a-4a6e-96cd-ba27d99a124a</PeriodTypeID>
</PatientShare>
<PatientShare>
<DoctorEmail>sample string 3</DoctorEmail>
<DoctorID>bd7fe3c3-ef33-4975-bb9d-22bf0f460fad</DoctorID>
<ExpiresAt>2026-06-18T12:18:07.0837753+03:00</ExpiresAt>
<Note>sample string 7</Note>
<PatientShareID>b17c03e4-90bd-4545-9842-0c7c6b01ca59</PatientShareID>
<Period>4</Period>
<PeriodTypeID>8b3adfd2-220a-4a6e-96cd-ba27d99a124a</PeriodTypeID>
</PatientShare>
</PatientShare>
</GetPatientShareResponse>