Trendsic Platform Service

<back to all web services

CustomerCheckinArriveRequest

Requires Authentication
Requires any of the roles:Agent, Administrator
The following routes are available for this service:
POST,OPTIONS/v1/customercheckins/{Id}/arrive
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    public static class CustomerCheckinArriveRequest
    {
        public UUID Id = null;
        
        public UUID getId() { return Id; }
        public CustomerCheckinArriveRequest setId(UUID value) { this.Id = value; return this; }
    }

    public static class CustomerCheckinOpResponse
    {
        public ResponseStatus ResponseStatus = null;
        public String FromLine = null;
        public String ToLine = null;
        public Integer Status = null;
        public UUID NewCheckinId = null;
        public String TicketLabel = null;
        
        public ResponseStatus getResponseStatus() { return ResponseStatus; }
        public CustomerCheckinOpResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
        public String getFromLine() { return FromLine; }
        public CustomerCheckinOpResponse setFromLine(String value) { this.FromLine = value; return this; }
        public String getToLine() { return ToLine; }
        public CustomerCheckinOpResponse setToLine(String value) { this.ToLine = value; return this; }
        public Integer getStatus() { return Status; }
        public CustomerCheckinOpResponse setStatus(Integer value) { this.Status = value; return this; }
        public UUID getNewCheckinId() { return NewCheckinId; }
        public CustomerCheckinOpResponse setNewCheckinId(UUID value) { this.NewCheckinId = value; return this; }
        public String getTicketLabel() { return TicketLabel; }
        public CustomerCheckinOpResponse setTicketLabel(String value) { this.TicketLabel = value; return this; }
    }

}

Java CustomerCheckinArriveRequest 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.

POST /v1/customercheckins/{Id}/arrive HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	Id: 00000000000000000000000000000000
}
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
		}
	},
	FromLine: String,
	ToLine: String,
	Status: 0,
	NewCheckinId: 00000000000000000000000000000000,
	TicketLabel: String
}