| POST | /v1/forms/go-sent/remove |
|---|
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
public static class FormGoSentRemoveRequest
{
public UUID FormUID = null;
public Integer Worker = null;
public UUID getFormUID() { return FormUID; }
public FormGoSentRemoveRequest setFormUID(UUID value) { this.FormUID = value; return this; }
public Integer getWorker() { return Worker; }
public FormGoSentRemoveRequest setWorker(Integer value) { this.Worker = value; return this; }
}
public static class FormGoSentResponse
{
public ArrayList<FormGoSentRow> Rows = new ArrayList<FormGoSentRow>();
public String Message = null;
public ResponseStatus ResponseStatus = null;
public ArrayList<FormGoSentRow> getRows() { return Rows; }
public FormGoSentResponse setRows(ArrayList<FormGoSentRow> value) { this.Rows = value; return this; }
public String getMessage() { return Message; }
public FormGoSentResponse setMessage(String value) { this.Message = value; return this; }
public ResponseStatus getResponseStatus() { return ResponseStatus; }
public FormGoSentResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
}
public static class FormGoSentRow
{
public Integer Id = null;
public String Name = null;
public String Position = null;
public String FirstSentAt = null;
public String FirstSentBy = null;
public String LastSentAt = null;
public String LastSentBy = null;
public Integer Times = null;
public String How = null;
public String Went = null;
public String Where = null;
public Boolean CanRemove = null;
public Integer getId() { return Id; }
public FormGoSentRow setId(Integer value) { this.Id = value; return this; }
public String getName() { return Name; }
public FormGoSentRow setName(String value) { this.Name = value; return this; }
public String getPosition() { return Position; }
public FormGoSentRow setPosition(String value) { this.Position = value; return this; }
public String getFirstSentAt() { return FirstSentAt; }
public FormGoSentRow setFirstSentAt(String value) { this.FirstSentAt = value; return this; }
public String getFirstSentBy() { return FirstSentBy; }
public FormGoSentRow setFirstSentBy(String value) { this.FirstSentBy = value; return this; }
public String getLastSentAt() { return LastSentAt; }
public FormGoSentRow setLastSentAt(String value) { this.LastSentAt = value; return this; }
public String getLastSentBy() { return LastSentBy; }
public FormGoSentRow setLastSentBy(String value) { this.LastSentBy = value; return this; }
public Integer getTimes() { return Times; }
public FormGoSentRow setTimes(Integer value) { this.Times = value; return this; }
public String getHow() { return How; }
public FormGoSentRow setHow(String value) { this.How = value; return this; }
public String getWent() { return Went; }
public FormGoSentRow setWent(String value) { this.Went = value; return this; }
public String getWhere() { return Where; }
public FormGoSentRow setWhere(String value) { this.Where = value; return this; }
public Boolean isCanRemove() { return CanRemove; }
public FormGoSentRow setCanRemove(Boolean value) { this.CanRemove = value; return this; }
}
}
Java FormGoSentRemoveRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /v1/forms/go-sent/remove HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
FormUID: 00000000000000000000000000000000,
Worker: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Rows:
[
{
Id: 0,
Name: String,
Position: String,
FirstSentAt: String,
FirstSentBy: String,
LastSentAt: String,
LastSentBy: String,
Times: 0,
How: String,
Went: String,
Where: String,
CanRemove: False
}
],
Message: String,
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
}
}