• WIT Ops
    • Posted 4 years ago (Edited 2 years ago)
  • To illustrate DC API usage, we have can provide sample client code written in a variety of programming languages. The clients are scripts or console mode applications that send data to collection servers. All of the clients do exactly the same thing: - Compose the URIs needed to access the DC API - Encode the POST body containing customer data to send to DC API - Call the DC API to obtain a visitor id (/ids.svc) - Call the DC API to submit customer data (/events.svc) - Write results to standard output Each client has a boolean variable called dcsverbose that can be enabled to append &quot;?dcsverbose=true&quot; to the query string for debugging purposes. By default, the DC API returns plain text data. You can append &quot;&dcsformat=xml&quot; to the query string to get XML data returned. Each sample client makes use of a language-specific HTTP client library to facilitate the HTTP POST requests. Developers familiar with web programming will recognize the HTTP libraries employed in the samples. The following table lists the HTTP client libraries used in the samples. - Language - HTTP Client Library - C# - System.Web.HTTPWebRequest - Java - java.net.HttpURLConnection - Python - urllib2 - Ruby - Net::HTTP - Perl - LWP::UserAgent - HTML - <form> - VisualBasic - Microsoft.XMLHTTP Developers are not limited to the languages or libaries mentioned here. If you can send an HTTP POST, then you can send data to the DCS API! 

    Please contact Webtrends Technical Support to request the sample code files. Here is a link to our contact info: 




  • 1 Reply
  • the solid state morale, youngster advocacy, utilizing our mind and also being conscious concerning the important things we do I expected inspirational keynote speaker https://adplogin.us/ it'll show you the payroll that should be processed for your business.