The Inactivate API is used to get practitioners previously returned to a Client through the Search API that have been inactivated since a give date / time value.
Root/Version/Request&Security
Within that structure, this section documents how the Request portion is used for inactivate requests. The following points are relevant to structuring inactivate requests:
The Request portion of an inactivate request consists of the command, two required parameters, and two optional parameters: Command/Index?Time&Page Size&Page Number
Command = inactivate
Required:
Index - Names the index used for inactivations. Currently, use masterfile for all queries.Time - An ISO formatted date string indicating the date / time after which inactivations will result in a return (e.g., time=2000-05-29T16:24:08.412Z).Optional:
Page Size - Defines the number of returns per page. Default = 10. Max. = 250.
pageSize=n
pageSize=20
Page Number - Defines the page to return. If not specified, returns the first page of results.
page=n
page=3 - Returns the 3rd page of results.Any parameters after the first must be separated by an ampersand (&). An ampersand (&) must precede the Security portion of the URL.
The following URL would return the first page of records inactivated since the date / time given, with a page size of 20 records per page:
https://api.hmsonline.com/v1/inactivate/masterfile?time=2000-05-29T16:24:08.412Z&pageSize=20&page=1×tamp=1369844777731&key=EU2BD6eHBQeUMpMxDW9dmg==&signature=8qrFmQbQgILzdDeQfbJTxHXeZvE=
Note: All security values shown here and throughout this documentation are for illustration purposes only and will not work as shown. See Security Credentials for more information.