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": "a2a13fcf-1baf-4574-b1fd-a7b67cdbc493",
"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>a2a13fcf-1baf-4574-b1fd-a7b67cdbc493</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": "7a9048d8-6ee5-4ddd-97f7-8f7591739164",
"DoctorID": "ba9dc8b7-59a4-4bde-a757-cf19c32c7f0b",
"DoctorEmail": "sample string 3",
"Period": 4,
"PeriodTypeID": "2a2d42c2-090a-4127-83ce-47a638932a0b",
"ExpiresAt": "2025-12-11T14:41:11.6616093+03:00",
"Note": "sample string 7"
},
{
"PatientShareID": "7a9048d8-6ee5-4ddd-97f7-8f7591739164",
"DoctorID": "ba9dc8b7-59a4-4bde-a757-cf19c32c7f0b",
"DoctorEmail": "sample string 3",
"Period": 4,
"PeriodTypeID": "2a2d42c2-090a-4127-83ce-47a638932a0b",
"ExpiresAt": "2025-12-11T14:41:11.6616093+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>ba9dc8b7-59a4-4bde-a757-cf19c32c7f0b</DoctorID>
<ExpiresAt>2025-12-11T14:41:11.6616093+03:00</ExpiresAt>
<Note>sample string 7</Note>
<PatientShareID>7a9048d8-6ee5-4ddd-97f7-8f7591739164</PatientShareID>
<Period>4</Period>
<PeriodTypeID>2a2d42c2-090a-4127-83ce-47a638932a0b</PeriodTypeID>
</PatientShare>
<PatientShare>
<DoctorEmail>sample string 3</DoctorEmail>
<DoctorID>ba9dc8b7-59a4-4bde-a757-cf19c32c7f0b</DoctorID>
<ExpiresAt>2025-12-11T14:41:11.6616093+03:00</ExpiresAt>
<Note>sample string 7</Note>
<PatientShareID>7a9048d8-6ee5-4ddd-97f7-8f7591739164</PatientShareID>
<Period>4</Period>
<PeriodTypeID>2a2d42c2-090a-4127-83ce-47a638932a0b</PeriodTypeID>
</PatientShare>
</PatientShare>
</GetPatientShareResponse>