Skip to content

Null

Description

The null endpoint is an endpoint that returns no results. This endpoint is typically used alongside the X-CHANGETRACKING header. Since this endpoint returns no results, it is useful for retrieving the X-CHANGETRACKING header without including any data in the response body.

Example

------------------ REQUEST -------------------

json
GET /rest/api/null
Request header: X-CHANGETRACKING: GET

{
  "method": "GET",
  "url": "https://www2.pcrecruiter.net/rest/api/null",
  "headers": {
    "Content-Type": "application/json",
    "Authorization": "BEARER Token",
    "X-CHANGETRACKING": "GET"
  }
}

------------------ RESPONSE ------------------

Return Header:
X-CHANGETRACKING: 1234567890

TIP

This API call is to the null endpoint and requests the current Change Tracking Version, which will be returned in an X-CHANGETRACKING header. This number can be used to manually set the Change Tracking Version by passing the value into the header on future API calls.

WARNING

Change Tracking is usually retained for only up to seven days. After that, the changes will be lost, and a full resync check will need to be performed.