Richemont.Booster2.PublicApi

<back to all web services

GetPosChainTransferAvailable

Requires Authentication
The following routes are available for this service:
GET/posChain/{brand}/{posCode}/availableForTransferGet available POS within the same Chain where stock is transferable
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class GetPosChainTransferAvailable
    {
        /**
        * Brand
        */
        @ApiMember(Description="Brand", IsRequired=true)
        public String brand = null;

        /**
        * POS Legacy Code
        */
        @ApiMember(Description="POS Legacy Code", IsRequired=true)
        public String posCode = null;
        
        public String getBrand() { return brand; }
        public GetPosChainTransferAvailable setBrand(String value) { this.brand = value; return this; }
        public String getPosCode() { return posCode; }
        public GetPosChainTransferAvailable setPosCode(String value) { this.posCode = value; return this; }
    }

    public static class GetPosChainTransferAvailableResponse extends ArrayList<Pos>
    {
        
    }

    public static class Pos
    {
        /**
        * POS Code
        */
        @ApiMember(Description="POS Code", IsRequired=true)
        public String posCode = null;

        /**
        * Name of the POS
        */
        @ApiMember(Description="Name of the POS", IsRequired=true)
        public String name = null;

        /**
        * City of the POS
        */
        @ApiMember(Description="City of the POS", IsRequired=true)
        public String city = null;

        /**
        * Address of the POS
        */
        @ApiMember(Description="Address of the POS", IsRequired=true)
        public String address = null;

        /**
        * Country of the POS
        */
        @ApiMember(Description="Country of the POS", IsRequired=true)
        public String country = null;

        /**
        * Brand of the POS
        */
        @ApiMember(Description="Brand of the POS", IsRequired=true)
        public String brand = null;
        
        public String getPosCode() { return posCode; }
        public Pos setPosCode(String value) { this.posCode = value; return this; }
        public String getName() { return name; }
        public Pos setName(String value) { this.name = value; return this; }
        public String getCity() { return city; }
        public Pos setCity(String value) { this.city = value; return this; }
        public String getAddress() { return address; }
        public Pos setAddress(String value) { this.address = value; return this; }
        public String getCountry() { return country; }
        public Pos setCountry(String value) { this.country = value; return this; }
        public String getBrand() { return brand; }
        public Pos setBrand(String value) { this.brand = value; return this; }
    }

}

Java GetPosChainTransferAvailable DTOs

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

HTTP + CSV

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

GET /posChain/{brand}/{posCode}/availableForTransfer HTTP/1.1 
Host: dev-api-booster.richemont.com 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

[]