DigiOffice Gateway Web Services

<back to all web services

AddStatistic

Add a statistic entity.

Requires Authentication
The following routes are available for this service:
POST/api/statistics
AddStatistic Parameters:
NameParameterData TypeRequiredDescription
ComputerbodystringYesComputername
ProgramNamebodyProgramNameYesProgram for the statistic entry

Allowable Values

  • DO4Outlook
  • DO4Word
  • DO4Excel
  • DO4PowerPoint
  • ITS
  • Other
ProgramVersionbodystringNoVersion of the program
ActionbodyActionYesAction of statistic

Allowable Values

  • Start
  • Command
  • Other
Param1bodystringYesFirst parameter
Param2bodystringNoSecond parameter

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /api/statistics HTTP/1.1 
Host: doapigw.baasbv.nl 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"__type":"IDB.API.DTO.Statistics.Operations.AddStatistic, IDB.API.DTO","Computer":"String","ProgramName":"DO4Outlook","ProgramVersion":"String","Action":"Start","Param1":"String","Param2":"String"}