PUT v1/crawlevents/batch

This method requires authentication.

Updates a collection of crawl events.

Request Information

Parameters

NameDescriptionAdditional information
resource

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "crawlEvents": [
    {
      "id": 1,
      "channel": 2,
      "start": "2017-05-22T18:25:48.4241956-05:00",
      "length": 4,
      "text": "sample string 5",
      "deleted": true
    },
    {
      "id": 1,
      "channel": 2,
      "start": "2017-05-22T18:25:48.4241956-05:00",
      "length": 4,
      "text": "sample string 5",
      "deleted": true
    },
    {
      "id": 1,
      "channel": 2,
      "start": "2017-05-22T18:25:48.4241956-05:00",
      "length": 4,
      "text": "sample string 5",
      "deleted": true
    }
  ]
}

application/xml, text/xml

Sample:
<Resources xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CablecastAPI.DTOs">
  <CrawlEvents>
    <CrawlEvent>
      <Channel>2</Channel>
      <Deleted>true</Deleted>
      <Id>1</Id>
      <Length>4</Length>
      <Start>2017-05-22T18:25:48.4241956-05:00</Start>
      <Text>sample string 5</Text>
    </CrawlEvent>
    <CrawlEvent>
      <Channel>2</Channel>
      <Deleted>true</Deleted>
      <Id>1</Id>
      <Length>4</Length>
      <Start>2017-05-22T18:25:48.4241956-05:00</Start>
      <Text>sample string 5</Text>
    </CrawlEvent>
    <CrawlEvent>
      <Channel>2</Channel>
      <Deleted>true</Deleted>
      <Id>1</Id>
      <Length>4</Length>
      <Start>2017-05-22T18:25:48.4241956-05:00</Start>
      <Text>sample string 5</Text>
    </CrawlEvent>
  </CrawlEvents>
</Resources>

Response Information

Response body formats

application/json, text/json

Sample:
{
  "crawlEvents": [
    {
      "id": 1,
      "channel": 2,
      "start": "2017-05-22T18:25:48.4241956-05:00",
      "length": 4,
      "text": "sample string 5",
      "deleted": true
    },
    {
      "id": 1,
      "channel": 2,
      "start": "2017-05-22T18:25:48.4241956-05:00",
      "length": 4,
      "text": "sample string 5",
      "deleted": true
    },
    {
      "id": 1,
      "channel": 2,
      "start": "2017-05-22T18:25:48.4241956-05:00",
      "length": 4,
      "text": "sample string 5",
      "deleted": true
    }
  ]
}

application/xml, text/xml

Sample:
<Resources xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CablecastAPI.DTOs">
  <CrawlEvents>
    <CrawlEvent>
      <Channel>2</Channel>
      <Deleted>true</Deleted>
      <Id>1</Id>
      <Length>4</Length>
      <Start>2017-05-22T18:25:48.4241956-05:00</Start>
      <Text>sample string 5</Text>
    </CrawlEvent>
    <CrawlEvent>
      <Channel>2</Channel>
      <Deleted>true</Deleted>
      <Id>1</Id>
      <Length>4</Length>
      <Start>2017-05-22T18:25:48.4241956-05:00</Start>
      <Text>sample string 5</Text>
    </CrawlEvent>
    <CrawlEvent>
      <Channel>2</Channel>
      <Deleted>true</Deleted>
      <Id>1</Id>
      <Length>4</Length>
      <Start>2017-05-22T18:25:48.4241956-05:00</Start>
      <Text>sample string 5</Text>
    </CrawlEvent>
  </CrawlEvents>
</Resources>