Go-to-Light Service 4.0.0.2397 - 121 - API License to Cloud Demo

<back to all web services

TouchMode

Requires Authentication
The following routes are available for this service:
All Verbs/TouchMode
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    public static class TouchMode
    {
        /**
        * Optional: LC address
        */
        @ApiMember(Description="Optional: LC address")
        public String LCAddress = null;

        /**
        * Optional: name of the stockroom where the area is located
        */
        @ApiMember(Description="Optional: name of the stockroom where the area is located")
        public String StockroomName = null;

        /**
        * Optional: IP address of the bus controller where to activate the touch mode
        */
        @ApiMember(Description="Optional: IP address of the bus controller where to activate the touch mode")
        public String BCIPAddress = null;
        
        public String getLcAddress() { return LCAddress; }
        public TouchMode setLcAddress(String value) { this.LCAddress = value; return this; }
        public String getStockroomName() { return StockroomName; }
        public TouchMode setStockroomName(String value) { this.StockroomName = value; return this; }
        public String getBcipAddress() { return BCIPAddress; }
        public TouchMode setBcipAddress(String value) { this.BCIPAddress = value; return this; }
    }

}

Java TouchMode DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /TouchMode HTTP/1.1 
Host: clouddemo.pickeos.com 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<TouchMode 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>
</TouchMode>