| Requires any of the roles: | Agent, Administrator |
| POST,OPTIONS | /v1/customercheckins/{Id}/returned |
|---|
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
public static class CustomerCheckinReturnedRequest
{
public UUID Id = null;
public UUID getId() { return Id; }
public CustomerCheckinReturnedRequest 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 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; }
}
}
Java CustomerCheckinReturnedRequest 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/customercheckins/{Id}/returned 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
}