---
title: "Post Event Data"
slug: "post-event-data"
updated: 2021-11-29T22:26:53Z
published: 2021-11-29T22:26:53Z
canonical: "onpremises.webtrends.help/post-event-data"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://onpremises.webtrends.help/llms.txt
> Use this file to discover all available pages before exploring further.

# Post Event Data

Send event data to a Webtrends data collection server.

#### Method

POST

#### URI

/v1/dcs9x99xxxx9xxxxxxx9xxxx9x_9x9x/events.svc

#### Headers

**Content-Type (required)** Use the Content-Type header to specify the content type of the entity-body. The following type is supported: application/x-www-form-urlencoded

#### Parameters

[dcsformat (optional)](/v1/docs/dcsformat-parameter) Specifies whether to return data as plain text or xml.

[dcsverbose (optional)](/v1/docs/dcsverbose-parameter) Returns detailed validation information.

#### Sample Request (Text)

POST /v1/dcs9x99xxxx9xxxxxxx9xxxx9x_9x9x/events.svc?dcsformat=plain Content-Type: application/x-www-form-urlencoded Content-Length: 111 dcsuri=/Home&dcsua=My%20Client&WT.ti=My%20Home%20Page&WT.tz=-8&WT.cg=My%20Content%20Group&customparam=customval

#### Sample Response (Text)

HTTP/1.0 200 OK Connection: close Content-Type: text/plain Content-Length: 0

#### Sample Request (XML)

POST /v1/dcs9x99xxxx9xxxxxxx9xxxx9x_9x9x/events.svc?dcsformat=xml Content-Type: application/x-www-form-urlencoded Content-Length: 111 dcsuri=/Home&dcsua=My%20Client&WT.ti=My%20Home%20Page&WT.tz=-8&WT.cg=My%20Content%20Group&customparam=customval

#### Sample Response (Text)

HTTP/1.0 200 OK Connection: close Content-Type: text/xml Content-Length: 0
