POST | /api/statistics |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Computer | body | string | Yes | Computername |
ProgramName | body | ProgramName | Yes | Program for the statistic entryAllowable Values
|
ProgramVersion | body | string | No | Version of the program |
Action | body | Action | Yes | Action of statisticAllowable Values
|
Param1 | body | string | Yes | First parameter |
Param2 | body | string | No | Second parameter |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
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: application/json
Content-Type: application/json
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"}