Required parameters | Type | Description |
isActive | Boolean | Status of the Referrer – True, False
True – Get list of Active Referrers False – Get list of Inactive Referrers |
hasActiveLocations | Boolean | Referrer with locations – True, False
True – Get list of Referrers who is assigned to a location False – Get list of Referrers who is not assigned to a location |
Optional parameters | Type | Description |
Search | String | Get list of Referrers with name matching the search term |
orderBy | String | Order the list of Referrers using – firstname or surname |
orderByDirection | String | Order the list of Referrers either ascending or descending – Asc, Desc |
pageNumber | Int | Used for paging the list of Referrers – identify what page to get (default = 1) |
pageSize | Int | Used for paging the list of Referrers – identify the number of results per page (default = 10) |
Example request | URL: /Referrer/?isActive=&hasActiveLocations=&search=&orderBy=surname&orderByDirection=Asc&pageNumber=1&pageSize=2 |
Example response |
|