| All Verbs | /RebootLC |
|---|
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
public static class RebootLC
{
/**
* Optional: LC address
*/
@ApiMember(Description="Optional: LC address")
public String LCAddress = null;
/**
* Optional: name of the stockroom where the LC is located
*/
@ApiMember(Description="Optional: name of the stockroom where the LC is located")
public String StockroomName = null;
/**
* Optional: IP address of the bus controller where to send the reboot
*/
@ApiMember(Description="Optional: IP address of the bus controller where to send the reboot")
public String BCIPAddress = null;
public String getLcAddress() { return LCAddress; }
public RebootLC setLcAddress(String value) { this.LCAddress = value; return this; }
public String getStockroomName() { return StockroomName; }
public RebootLC setStockroomName(String value) { this.StockroomName = value; return this; }
public String getBcipAddress() { return BCIPAddress; }
public RebootLC setBcipAddress(String value) { this.BCIPAddress = value; return this; }
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /RebootLC HTTP/1.1
Host: clouddemo.pickeos.com
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<RebootLC xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GoToLightAPI">
<BCIPAddress>String</BCIPAddress>
<LCAddress>String</LCAddress>
<StockroomName>String</StockroomName>
</RebootLC>