| All Verbs | /MissionUpdateTrolley/{MissionId}/{TrolleyName} |
|---|
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
public static class MissionUpdateTrolley
{
/**
* Mission ID
*/
@ApiMember(Description="Mission ID", IsRequired=true)
public Integer MissionId = null;
/**
* Name of trolley
*/
@ApiMember(Description="Name of trolley", IsRequired=true)
public String TrolleyName = null;
public Integer getMissionId() { return MissionId; }
public MissionUpdateTrolley setMissionId(Integer value) { this.MissionId = value; return this; }
public String getTrolleyName() { return TrolleyName; }
public MissionUpdateTrolley setTrolleyName(String value) { this.TrolleyName = value; return this; }
}
}
Java MissionUpdateTrolley DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /MissionUpdateTrolley/{MissionId}/{TrolleyName} HTTP/1.1
Host: clouddemo.pickeos.com
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"MissionId":0,"TrolleyName":"String"}