GET api/patients/{patientid}/sessions
Retrieves the sessions for the specified patient. Must have a valid Authorization header.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| patientid |
The patient id |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Retrieves the sessions for the patient.
Collection of Session| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
The ID of the Session |
integer |
None. |
| CreateDate |
The date of Creation. (Format yyyy-MM-ddTHH:mm:ssZ)")] |
string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"CreateDate": "sample string 2"
},
{
"Id": 1,
"CreateDate": "sample string 2"
}
]
application/xml, text/xml
Sample:
<ArrayOfSession xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Himsa.Noah.Public.Model">
<Session>
<CreateDate>sample string 2</CreateDate>
<Id>1</Id>
</Session>
<Session>
<CreateDate>sample string 2</CreateDate>
<Id>1</Id>
</Session>
</ArrayOfSession>