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.*


open class ReadEquipmentWarrantyPartner
{
    /**
    * Brand Trigram, e.g. CAR, IWC
    */
    @ApiMember(Description="Brand Trigram, e.g. CAR, IWC", IsRequired=true)
    var brand:String? = null

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

    /**
    * Cpo sellout Id, e.g a0RbW000000qIyXUAU
    */
    @ApiMember(Description="Cpo sellout Id, e.g a0RbW000000qIyXUAU", IsRequired=true)
    var cpoSelloutId:String? = null
}

open class ReadEquipmentWarrantyPartnerResponse
{
    /**
    * Maison
    */
    @ApiMember(Description="Maison")
    var maison:String? = null

    /**
    * Cpo sellout id
    */
    @ApiMember(Description="Cpo sellout id")
    var cpoSelloutId:String? = null

    /**
    * pos
    */
    @ApiMember(Description="pos")
    var pos:String? = null

    /**
    * Sellout date
    */
    @ApiMember(Description="Sellout date")
    var selloutDate:Date? = null

    /**
    * Sellout status
    */
    @ApiMember(Description="Sellout status")
    var selloutStatus:String? = null

    /**
    * Sold by
    */
    @ApiMember(Description="Sold by")
    var soldBy:String? = null

    /**
    * Cpo sellout items
    */
    @ApiMember(Description="Cpo sellout items")
    var readCpoSelloutResponseItems:ArrayList<ReadEquipmentWarrantyPartnerResponseItem> = ArrayList<ReadEquipmentWarrantyPartnerResponseItem>()
}

open class ReadEquipmentWarrantyPartnerResponseItem
{
    /**
    * Product name
    */
    @ApiMember(Description="Product name")
    var productName:String? = null

    /**
    * Product description
    */
    @ApiMember(Description="Product description")
    var productDescription:String? = null

    /**
    * Product reference
    */
    @ApiMember(Description="Product reference")
    var reference:String? = null

    /**
    * Product serial number
    */
    @ApiMember(Description="Product serial number")
    var serialNumber:String? = null

    /**
    * Quantity
    */
    @ApiMember(Description="Quantity")
    var quantity:Float? = null

    /**
    * Status
    */
    @ApiMember(Description="Status")
    var status:String? = null

    /**
    * Return reason
    */
    @ApiMember(Description="Return reason")
    var returnReason:String? = null

    /**
    * Additional notes
    */
    @ApiMember(Description="Additional notes")
    var additionalNotes:String? = null

    /**
    * Warranty end date
    */
    @ApiMember(Description="Warranty end date")
    var warrantyEndDate:Date? = null
}

Kotlin 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)\/"}]}