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": "03dfddff-7696-4c75-8bf8-545f54ef0961",
"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>03dfddff-7696-4c75-8bf8-545f54ef0961</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": "dbf192d4-1d8d-4699-b635-837bb03b0230",
"DoctorID": "56a3a3fe-912e-42e5-88c6-645437494920",
"DoctorEmail": "sample string 3",
"Period": 4,
"PeriodTypeID": "254f99a6-3ac6-4b03-b2a7-5d560278dbf9",
"ExpiresAt": "2026-08-12T11:43:56.6306328+03:00",
"Note": "sample string 7"
},
{
"PatientShareID": "dbf192d4-1d8d-4699-b635-837bb03b0230",
"DoctorID": "56a3a3fe-912e-42e5-88c6-645437494920",
"DoctorEmail": "sample string 3",
"Period": 4,
"PeriodTypeID": "254f99a6-3ac6-4b03-b2a7-5d560278dbf9",
"ExpiresAt": "2026-08-12T11:43:56.6306328+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>56a3a3fe-912e-42e5-88c6-645437494920</DoctorID>
<ExpiresAt>2026-08-12T11:43:56.6306328+03:00</ExpiresAt>
<Note>sample string 7</Note>
<PatientShareID>dbf192d4-1d8d-4699-b635-837bb03b0230</PatientShareID>
<Period>4</Period>
<PeriodTypeID>254f99a6-3ac6-4b03-b2a7-5d560278dbf9</PeriodTypeID>
</PatientShare>
<PatientShare>
<DoctorEmail>sample string 3</DoctorEmail>
<DoctorID>56a3a3fe-912e-42e5-88c6-645437494920</DoctorID>
<ExpiresAt>2026-08-12T11:43:56.6306328+03:00</ExpiresAt>
<Note>sample string 7</Note>
<PatientShareID>dbf192d4-1d8d-4699-b635-837bb03b0230</PatientShareID>
<Period>4</Period>
<PeriodTypeID>254f99a6-3ac6-4b03-b2a7-5d560278dbf9</PeriodTypeID>
</PatientShare>
</PatientShare>
</GetPatientShareResponse>