Public API for fiksvegdata.no

CreateReport

Access: POST /PublicApi/CreateReport

Parameters Return
The CreateReport operation returns a JSON-formatted response depending on the results..
{ "Status": "OK", "Message": "Report saved OK", "ReportID": "xxxxxxxxx"}
or if not successful
{ "Status": "ERR", "Message": "Details about the error" }

Extra Tags for reports
Reports can contain an unlimited number of extra "tagged" values. These can be everything from browserinformation, searches the user have done to RoutingResults

Tags are sent as three arrays to the service; tagKeys, tagValues and tagValueTypes

Example: To send information about browser and operatingsystem you can send this as tagkeys

tagKeys=Browser&tagKeys=OS&tagValues=Internet+Explorer&tagValues=Windows+Server+2008&tagValueTypes=property&tagValueTypes=property


AddReportAttachment

Access: POST /PublicApi/AddReportAttachment

Parameters Return
The AddReportAttachment operation returns a JSON-formatted response depending on the results..
{ "Status": "OK", "Message": "Attachment saved", "AttachmentID": "xxxxxxxxx"}
or if not successful
{ "Status": "ERR", "Message": "Details about the error" }