---
title: "Continuation Mark"
description: "Use the Continuation mark from an Audit Database export to retrieve the next Activity Records with POST requests to the enum and search endpoints in Auditor."
sidebar_position: 10
---

# Continuation Mark

When exporting data from the Audit Database, a successful response includes:

- For XML—A `<ContinuationMark>` inside the `<ActivityRecordsList>` root element.
- For JSON—An object with the "ContinuationMark" field.

Continuation mark is a checkpoint, use it to retrieve data starting with the next Activity Record.

Send a POST request containing Continuation mark to the following endpoints:

| Method | Endpoint                                                                | Description                                               |
| ------ | ----------------------------------------------------------------------- | --------------------------------------------------------- |
| POST   | [/netwrix/api/v1/activity_records/enum ](/docs/auditor/10.9/integrations/api/retrieveactivityrecords.md) | Returns next Activity Records.                            |
| POST   | [/netwrix/api/v1/activity_records/search](/docs/auditor/10.9/integrations/api/searchactivityrecords.md)  | Returns next Activity Records matching a filter criteria. |

Pass information about transferred data, including `Content-Type:application/xml` or
`application/json` and encoding. The syntax greatly depends on the tool you use.

You can send as many POST requests as you want. A new response returns next Activity Records and a
new Continuation mark. Once all the Activity Records are retrieved, you will receive a 200 OK
response with no Activity Records inside the `ActivityRecordList` root element (XML) or array
(JSON).

## Schema

Copy the contents of `ContinuationMark` to a separate XML or JSON file (e.g., ContMark.xml).

| Format | Schema description                                                                                                                                                                                                                                                                                    |
| ------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| XML    | The file must be compatible with the XML schema. On the computer where Auditor Server resides, you can find XSD file under _Netwrix_Auditor_installation_folder\Audit Core\API Schemas_. The `ContinuationMark` root element contains a value previously returned by Netwrix Auditor Integration API. |
| JSON   | JSON-formatted Continuation mark includes the field value in quotes.                                                                                                                                                                                                                                  |

If you want to retrieve next Activity Records for your search, include the Continuation mark in your
Search parameters file. [Search Parameters](/docs/auditor/10.9/integrations/api/postdata/searchparameters.md)

## Example

[Retrieve Activity Records](/docs/auditor/10.9/integrations/api/retrieveactivityrecords.md)
```xml
<?xml version="1.0" standalone="yes"?>
<ContinuationMark xmlns="http://schemas.netwrix.com/api/v1/activity_records/"> 
PG5yPjxuIG49IntFNzA...PjwvYT48L24+PC9ucj4A+PC9ucj4A 
</ContinuationMark>
```


[Search Activity Records](/docs/auditor/10.9/integrations/api/searchactivityrecords.md)

```xml
<?xml version="1.0" standalone="yes"?>
<ActivityRecordSearch xmlns="http://schemas.netwrix.com/api/v1/activity_records/">
    <ContinuationMark>PG5yPjxuIG49IntFNzA...PjwvYT48L24+PC9ucj4A+PC9ucj4A</ContinuationMark>
    <FilterList>
        <Who>Administrator</Who>
        <DataSource>Active Directory</DataSource>
        <Action>Added</Action>
        <ObjectType Operator="DoesNotContain">Group</ObjectType>
        <When>
            <From>2016-09-16T16:30:00+11:00</From>
            <To>2017-03-16T00:00:00Z</To>
        </When>
    </FilterList>
</ActivityRecordSearch> 
```

[Retrieve Activity Records](/docs/auditor/10.9/integrations/api/retrieveactivityrecords.md)

```json
`"PG5yPjxuIG49IntFNzA...PjwvYT48L24+PC9ucj4A"`
```

[Search Activity Records](/docs/auditor/10.9/integrations/api/searchactivityrecords.md)

```json
 {
    "ContinuationMark": "PG5yPjxuIG49IntFNzA...PjwvYT48L24+PC9ucj4A+PC9ucj4A",
    "FilterList": {
        "Who": "Administrator",
        "DataSource": "Active Directory",
        "Action": "Added",
        "ObjectType": {
            "DoesNotContain": "Group"
        },
        "When": {
            "From": "2016-09-16T16:30:00+11:00",
            "To": "2017-03-16T00:00:00Z"
        }
    }
}
```