Richemont.Booster2.PublicApi

<back to all web services

ReadEquipmentWarrantyPartner

Requires Authentication
The following routes are available for this service:
GET/partner/warranty/equipmentRead CPO SelloutRead CPO Sellout API
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class ReadEquipmentWarrantyPartner
    {
        /**
        * Brand Trigram, e.g. CAR, IWC
        */
        @ApiMember(Description="Brand Trigram, e.g. CAR, IWC", IsRequired=true)
        public String brand = null;

        /**
        * Richemont POS code, e.g. 102048
        */
        @ApiMember(Description="Richemont POS code, e.g. 102048", IsRequired=true)
        public String posCode = null;

        /**
        * Cpo sellout Id, e.g a0RbW000000qIyXUAU
        */
        @ApiMember(Description="Cpo sellout Id, e.g a0RbW000000qIyXUAU", IsRequired=true)
        public String cpoSelloutId = null;
        
        public String getBrand() { return brand; }
        public ReadEquipmentWarrantyPartner setBrand(String value) { this.brand = value; return this; }
        public String getPosCode() { return posCode; }
        public ReadEquipmentWarrantyPartner setPosCode(String value) { this.posCode = value; return this; }
        public String getCpoSelloutId() { return cpoSelloutId; }
        public ReadEquipmentWarrantyPartner setCpoSelloutId(String value) { this.cpoSelloutId = value; return this; }
    }

    public static class ReadEquipmentWarrantyPartnerResponse
    {
        /**
        * Maison
        */
        @ApiMember(Description="Maison")
        public String maison = null;

        /**
        * Cpo sellout id
        */
        @ApiMember(Description="Cpo sellout id")
        public String cpoSelloutId = null;

        /**
        * pos
        */
        @ApiMember(Description="pos")
        public String pos = null;

        /**
        * Sellout date
        */
        @ApiMember(Description="Sellout date")
        public Date selloutDate = null;

        /**
        * Sellout status
        */
        @ApiMember(Description="Sellout status")
        public String selloutStatus = null;

        /**
        * Sold by
        */
        @ApiMember(Description="Sold by")
        public String soldBy = null;

        /**
        * Cpo sellout items
        */
        @ApiMember(Description="Cpo sellout items")
        public ArrayList<ReadEquipmentWarrantyPartnerResponseItem> readCpoSelloutResponseItems = null;
        
        public String getMaison() { return maison; }
        public ReadEquipmentWarrantyPartnerResponse setMaison(String value) { this.maison = value; return this; }
        public String getCpoSelloutId() { return cpoSelloutId; }
        public ReadEquipmentWarrantyPartnerResponse setCpoSelloutId(String value) { this.cpoSelloutId = value; return this; }
        public String getPos() { return pos; }
        public ReadEquipmentWarrantyPartnerResponse setPos(String value) { this.pos = value; return this; }
        public Date getSelloutDate() { return selloutDate; }
        public ReadEquipmentWarrantyPartnerResponse setSelloutDate(Date value) { this.selloutDate = value; return this; }
        public String getSelloutStatus() { return selloutStatus; }
        public ReadEquipmentWarrantyPartnerResponse setSelloutStatus(String value) { this.selloutStatus = value; return this; }
        public String getSoldBy() { return soldBy; }
        public ReadEquipmentWarrantyPartnerResponse setSoldBy(String value) { this.soldBy = value; return this; }
        public ArrayList<ReadEquipmentWarrantyPartnerResponseItem> getReadCpoSelloutResponseItems() { return readCpoSelloutResponseItems; }
        public ReadEquipmentWarrantyPartnerResponse setReadCpoSelloutResponseItems(ArrayList<ReadEquipmentWarrantyPartnerResponseItem> value) { this.readCpoSelloutResponseItems = value; return this; }
    }

    public static class ReadEquipmentWarrantyPartnerResponseItem
    {
        /**
        * Product name
        */
        @ApiMember(Description="Product name")
        public String productName = null;

        /**
        * Product description
        */
        @ApiMember(Description="Product description")
        public String productDescription = null;

        /**
        * Product reference
        */
        @ApiMember(Description="Product reference")
        public String reference = null;

        /**
        * Product serial number
        */
        @ApiMember(Description="Product serial number")
        public String serialNumber = null;

        /**
        * Quantity
        */
        @ApiMember(Description="Quantity")
        public Float quantity = null;

        /**
        * Status
        */
        @ApiMember(Description="Status")
        public String status = null;

        /**
        * Return reason
        */
        @ApiMember(Description="Return reason")
        public String returnReason = null;

        /**
        * Additional notes
        */
        @ApiMember(Description="Additional notes")
        public String additionalNotes = null;

        /**
        * Warranty end date
        */
        @ApiMember(Description="Warranty end date")
        public Date warrantyEndDate = null;
        
        public String getProductName() { return productName; }
        public ReadEquipmentWarrantyPartnerResponseItem setProductName(String value) { this.productName = value; return this; }
        public String getProductDescription() { return productDescription; }
        public ReadEquipmentWarrantyPartnerResponseItem setProductDescription(String value) { this.productDescription = value; return this; }
        public String getReference() { return reference; }
        public ReadEquipmentWarrantyPartnerResponseItem setReference(String value) { this.reference = value; return this; }
        public String getSerialNumber() { return serialNumber; }
        public ReadEquipmentWarrantyPartnerResponseItem setSerialNumber(String value) { this.serialNumber = value; return this; }
        public Float getQuantity() { return quantity; }
        public ReadEquipmentWarrantyPartnerResponseItem setQuantity(Float value) { this.quantity = value; return this; }
        public String getStatus() { return status; }
        public ReadEquipmentWarrantyPartnerResponseItem setStatus(String value) { this.status = value; return this; }
        public String getReturnReason() { return returnReason; }
        public ReadEquipmentWarrantyPartnerResponseItem setReturnReason(String value) { this.returnReason = value; return this; }
        public String getAdditionalNotes() { return additionalNotes; }
        public ReadEquipmentWarrantyPartnerResponseItem setAdditionalNotes(String value) { this.additionalNotes = value; return this; }
        public Date getWarrantyEndDate() { return warrantyEndDate; }
        public ReadEquipmentWarrantyPartnerResponseItem setWarrantyEndDate(Date value) { this.warrantyEndDate = value; return this; }
    }

}

Java ReadEquipmentWarrantyPartner DTOs

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

HTTP + OTHER

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

GET /partner/warranty/equipment HTTP/1.1 
Host: dev-api-booster.richemont.com 
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"maison":"String","cpoSelloutId":"String","pos":"String","selloutDate":"\/Date(-62135596800000-0000)\/","selloutStatus":"String","soldBy":"String","readCpoSelloutResponseItems":[{"productName":"String","productDescription":"String","reference":"String","serialNumber":"String","quantity":0,"status":"String","returnReason":"String","additionalNotes":"String","warrantyEndDate":"\/Date(-62135596800000-0000)\/"}]}