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

<back to all web services

AddHeader

Requires Authentication
The following routes are available for this service:
All Verbs/AddHeader/{AreaName}/{AreaPrefix}/{HeaderGroup}
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    public static class AddHeader
    {
        /**
        * Area name used as header
        */
        @ApiMember(Description="Area name used as header", IsRequired=true)
        public String AreaName = null;

        /**
        * Area prefix of all areas related to this header
        */
        @ApiMember(Description="Area prefix of all areas related to this header", IsRequired=true)
        public String AreaPrefix = null;

        /**
        * Header group (e.g. same Aisle)
        */
        @ApiMember(Description="Header group (e.g. same Aisle)", IsRequired=true)
        public String HeaderGroup = 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;
        
        public String getAreaName() { return AreaName; }
        public AddHeader setAreaName(String value) { this.AreaName = value; return this; }
        public String getAreaPrefix() { return AreaPrefix; }
        public AddHeader setAreaPrefix(String value) { this.AreaPrefix = value; return this; }
        public String getHeaderGroup() { return HeaderGroup; }
        public AddHeader setHeaderGroup(String value) { this.HeaderGroup = value; return this; }
        public String getStockroomName() { return StockroomName; }
        public AddHeader setStockroomName(String value) { this.StockroomName = value; return this; }
    }

}

Java AddHeader 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 /AddHeader/{AreaName}/{AreaPrefix}/{HeaderGroup} HTTP/1.1 
Host: clouddemo.pickeos.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	AreaName: String,
	AreaPrefix: String,
	HeaderGroup: String,
	StockroomName: String
}