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": "b3696881-91af-472f-a439-6ecae6547273",
"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>b3696881-91af-472f-a439-6ecae6547273</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": "efb1efa6-38ed-4ced-b92c-b88db52b2bed",
"DoctorID": "da36f599-cebb-47b6-8694-706595e14e86",
"DoctorEmail": "sample string 3",
"Period": 4,
"PeriodTypeID": "6477f9b8-d985-4cd2-91da-676a139a5495",
"ExpiresAt": "2026-02-28T15:36:52.4215626+03:00",
"Note": "sample string 7"
},
{
"PatientShareID": "efb1efa6-38ed-4ced-b92c-b88db52b2bed",
"DoctorID": "da36f599-cebb-47b6-8694-706595e14e86",
"DoctorEmail": "sample string 3",
"Period": 4,
"PeriodTypeID": "6477f9b8-d985-4cd2-91da-676a139a5495",
"ExpiresAt": "2026-02-28T15:36:52.4215626+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>da36f599-cebb-47b6-8694-706595e14e86</DoctorID>
<ExpiresAt>2026-02-28T15:36:52.4215626+03:00</ExpiresAt>
<Note>sample string 7</Note>
<PatientShareID>efb1efa6-38ed-4ced-b92c-b88db52b2bed</PatientShareID>
<Period>4</Period>
<PeriodTypeID>6477f9b8-d985-4cd2-91da-676a139a5495</PeriodTypeID>
</PatientShare>
<PatientShare>
<DoctorEmail>sample string 3</DoctorEmail>
<DoctorID>da36f599-cebb-47b6-8694-706595e14e86</DoctorID>
<ExpiresAt>2026-02-28T15:36:52.4215626+03:00</ExpiresAt>
<Note>sample string 7</Note>
<PatientShareID>efb1efa6-38ed-4ced-b92c-b88db52b2bed</PatientShareID>
<Period>4</Period>
<PeriodTypeID>6477f9b8-d985-4cd2-91da-676a139a5495</PeriodTypeID>
</PatientShare>
</PatientShare>
</GetPatientShareResponse>