GET api/RequestHistory/search?createdOperator={createdOperator}&created1={created1}&created2={created2}&page={page}&itemsPerPage={itemsPerPage}
Gets a list of patient update histories.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
createdOperator |
Operator used to filter the list based on the created date of the appointment. Possible values: NotCompare (equals to empty string ""), Equals, GreaterThan, LessThan, GreaterThanOrEqual, LessThanOrEqual, Between, DifferentThan, Contains, StartsWith. |
string |
Default value is NotCompare |
created1 |
Used to filter the list based on the created date of the appointment. |
date |
None. |
created2 |
Used to filter the list based on the created date of the appointment(only when comparison operator is Between). |
date |
None. |
page |
Page number requested (search results are paginated). |
integer |
Default value is 1 |
itemsPerPage |
Items to return on each page. See page parameter above. Pass 0 to get all records. |
integer |
Default value is 10 |
Body Parameters
None.
Response Information
Resource Description
ListModelOfRequestHistoryModelName | Description | Type | Additional information |
---|---|---|---|
TotalItems | integer |
None. |
|
ItemsPerPage | integer |
None. |
|
CurrentPage | integer |
None. |
|
TotalPages | integer |
None. |
|
FirstRowOnPage | integer |
None. |
|
LastRowOnPage | integer |
None. |
|
Rows | Collection of RequestHistoryModel |
None. |
Response Formats
application/json, text/json
{ "TotalItems": 1, "ItemsPerPage": 2, "CurrentPage": 3, "TotalPages": 4, "FirstRowOnPage": 5, "LastRowOnPage": 6, "Rows": [ { "PghdUpdateRequestId": 1, "Created": "sample string 2", "AlreadySent": true, "SentOn": "sample string 4" }, { "PghdUpdateRequestId": 1, "Created": "sample string 2", "AlreadySent": true, "SentOn": "sample string 4" } ] }
application/xml, text/xml
<ListModelOfRequestHistoryModeljcwbLtWB xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GlobalPortal.Mobile.Api.Models"> <CurrentPage>3</CurrentPage> <FirstRowOnPage>5</FirstRowOnPage> <ItemsPerPage>2</ItemsPerPage> <LastRowOnPage>6</LastRowOnPage> <Rows xmlns:d2p1="http://schemas.datacontract.org/2004/07/GlobalPortal.Mobile.Api.Models.RequestHistories"> <d2p1:RequestHistoryModel> <d2p1:AlreadySent>true</d2p1:AlreadySent> <d2p1:Created>sample string 2</d2p1:Created> <d2p1:PghdUpdateRequestId>1</d2p1:PghdUpdateRequestId> <d2p1:SentOn>sample string 4</d2p1:SentOn> </d2p1:RequestHistoryModel> <d2p1:RequestHistoryModel> <d2p1:AlreadySent>true</d2p1:AlreadySent> <d2p1:Created>sample string 2</d2p1:Created> <d2p1:PghdUpdateRequestId>1</d2p1:PghdUpdateRequestId> <d2p1:SentOn>sample string 4</d2p1:SentOn> </d2p1:RequestHistoryModel> </Rows> <TotalItems>1</TotalItems> <TotalPages>4</TotalPages> </ListModelOfRequestHistoryModeljcwbLtWB>