| Requires any of the roles: | Agent, Administrator |
| POST,OPTIONS | /v1/customercheckins/{Id}/call |
|---|
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
public static class CustomerCheckinCallRequest
{
public UUID Id = null;
public UUID getId() { return Id; }
public CustomerCheckinCallRequest setId(UUID value) { this.Id = value; return this; }
}
public static class CustomerCheckinCallResponse
{
public ResponseStatus ResponseStatus = null;
public Date CalledUtc = null;
public String TicketLabel = null;
public String StationName = null;
public ResponseStatus getResponseStatus() { return ResponseStatus; }
public CustomerCheckinCallResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
public Date getCalledUtc() { return CalledUtc; }
public CustomerCheckinCallResponse setCalledUtc(Date value) { this.CalledUtc = value; return this; }
public String getTicketLabel() { return TicketLabel; }
public CustomerCheckinCallResponse setTicketLabel(String value) { this.TicketLabel = value; return this; }
public String getStationName() { return StationName; }
public CustomerCheckinCallResponse setStationName(String value) { this.StationName = value; return this; }
}
}
Java CustomerCheckinCallRequest DTOs
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.
POST /v1/customercheckins/{Id}/call HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"Id":"00000000000000000000000000000000"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"CalledUtc":"0001-01-01T00:00:00.0000000","TicketLabel":"String","StationName":"String"}