Field Squared API Services

<back to all web services

History

Returns an HTML report showing the history of changes for the object with Class = OwningClass, Id = OwningId.

The following routes are available for this service:
GET/{Workspace}/History/{OwningClass}/{OwningId}
import Foundation
import ServiceStack

/**
* Returns an HTML report showing the history of changes for the object with Class = OwningClass, Id = OwningId.
*/
public class History : Codable
{
    public var owningId:String
    public var owningClass:String
    public var workspace:String

    required public init(){}
}


Swift History DTOs

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

HTTP + JSV

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

GET /{Workspace}/History/{OwningClass}/{OwningId} HTTP/1.1 
Host: dev.fieldsquared.com 
Accept: text/jsv