| GET | /{Workspace}/TaskSiteHistory/{TaskId} |
|---|
namespace Field2Office.API.Model.TaskSiteHistory
open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
///<summary>
///Returns an HTML report showing the arrival departure info derived from task status changes and the user's track.
///</summary>
[<AllowNullLiteral>]
type TaskSiteHistory() =
member val Workspace:String = null with get,set
member val TaskId:String = null with get,set
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /{Workspace}/TaskSiteHistory/{TaskId} HTTP/1.1
Host: dev.fieldsquared.com
Accept: text/csv