PUT v1/crawlevents/{id}

This method requires authentication.

Update an existing CrawlEvent record.

Request Information

Parameters

NameDescriptionAdditional information
id The ID of the CrawlEvent record to update.

Define this parameter in the request URI.

resource The resource to update.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "crawlEvent": {
    "id": 1,
    "channel": 2,
    "start": "2017-12-11T13:05:42.3676909-06: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">
  <CrawlEvent>
    <Channel>2</Channel>
    <Deleted>true</Deleted>
    <Id>1</Id>
    <Length>4</Length>
    <Start>2017-12-11T13:05:42.3676909-06:00</Start>
    <Text>sample string 5</Text>
  </CrawlEvent>
</Resources>