Field Squared API Services

<back to all web services

Feedback

Contains the data for a feedback object within the system

The following routes are available for this service:
GET,POST,PUT,DELETE/{Workspace}/Feedback/{ObjectId}
import java.math.*
import java.util.*
import net.servicestack.client.*


/**
* Contains the data for a feedback object within the system
*/
open class Feedback
{
    var ObjectId:String? = null
    var VersionId:String? = null
    var BasedOn:String? = null
    var SubmitDate:Date? = null
    var Description:String? = null
    var User:DomainItem? = null
    var Workspace:String? = null
}

open class DomainItem
{
    var Workspace:String? = null
    var ObjectId:String? = null
    var VersionId:String? = null
    var LastUpdated:String? = null
}

Kotlin Feedback DTOs

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

HTTP + XML

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

POST /{Workspace}/Feedback/{ObjectId} HTTP/1.1 
Host: dev.fieldsquared.com 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<Feedback xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Field2Office.API.Model.Feedback">
  <BasedOn>String</BasedOn>
  <Description>String</Description>
  <ObjectId>String</ObjectId>
  <SubmitDate>0001-01-01T00:00:00</SubmitDate>
  <User xmlns:d2p1="http://schemas.datacontract.org/2004/07/Field2Office.API.Model">
    <d2p1:LastUpdated>String</d2p1:LastUpdated>
    <d2p1:ObjectId>String</d2p1:ObjectId>
    <d2p1:VersionId>String</d2p1:VersionId>
    <d2p1:Workspace>String</d2p1:Workspace>
  </User>
  <VersionId>String</VersionId>
  <Workspace>String</Workspace>
</Feedback>