| Requires any of the roles: | Agent, Administrator |
| GET,OPTIONS | /v1/queue/appointments/{CheckInId}/audit |
|---|
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
public static class BranchApptAuditRequest
{
public UUID CheckInId = null;
public UUID getCheckInId() { return CheckInId; }
public BranchApptAuditRequest setCheckInId(UUID value) { this.CheckInId = value; return this; }
}
public static class BranchApptAuditResponse
{
public ResponseStatus ResponseStatus = null;
public ArrayList<BranchApptAuditEntry> Entries = new ArrayList<BranchApptAuditEntry>();
public ResponseStatus getResponseStatus() { return ResponseStatus; }
public BranchApptAuditResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
public ArrayList<BranchApptAuditEntry> getEntries() { return Entries; }
public BranchApptAuditResponse setEntries(ArrayList<BranchApptAuditEntry> value) { this.Entries = value; return this; }
}
public static class BranchApptAuditEntry
{
public String Kind = null;
public String Summary = null;
public String Reason = null;
public Boolean Notified = null;
public String UserName = null;
public Date AtLocal = null;
public String getKind() { return Kind; }
public BranchApptAuditEntry setKind(String value) { this.Kind = value; return this; }
public String getSummary() { return Summary; }
public BranchApptAuditEntry setSummary(String value) { this.Summary = value; return this; }
public String getReason() { return Reason; }
public BranchApptAuditEntry setReason(String value) { this.Reason = value; return this; }
public Boolean isNotified() { return Notified; }
public BranchApptAuditEntry setNotified(Boolean value) { this.Notified = value; return this; }
public String getUserName() { return UserName; }
public BranchApptAuditEntry setUserName(String value) { this.UserName = value; return this; }
public Date getAtLocal() { return AtLocal; }
public BranchApptAuditEntry setAtLocal(Date value) { this.AtLocal = value; return this; }
}
}
Java BranchApptAuditRequest 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.
GET /v1/queue/appointments/{CheckInId}/audit HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
},
Entries:
[
{
Kind: String,
Summary: String,
Reason: String,
Notified: False,
UserName: String,
AtLocal: 0001-01-01
}
]
}