| GET | /salesReps/{brand}/{posCode} | Get Sales Reps |
|---|
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*
open class GetSalesReps
{
/**
* Brand Triagram, e.g. CAR, IWC, VAC
*/
@ApiMember(Description="Brand Triagram, e.g. CAR, IWC, VAC", IsRequired=true)
open var brand:String? = null
/**
* Point of Sale Code, e.g. ES100:102048
*/
@ApiMember(Description="Point of Sale Code, e.g. ES100:102048", IsRequired=true)
open var posCode:String? = null
/**
* Booster Customer Id
*/
@ApiMember(Description="Booster Customer Id")
open var boosterCustomerId:Int? = null
/**
* Whether the sales representative's account is locked.
*/
@ApiMember(Description="Whether the sales representative's account is locked.")
open var accountLocked:Boolean? = null
/**
* Whether the sales representative's account is pinned.
*/
@ApiMember(Description="Whether the sales representative's account is pinned.")
open var isPinned:Boolean? = null
}
open class GetSalesRepsResponse : ArrayList<SalesRep>()
{
}
open class SalesRep
{
/**
* The first name of the sales representative.
*/
@ApiMember(Description="The first name of the sales representative.", IsRequired=true)
open var firstName:String? = null
/**
* The last name of the sales representative.
*/
@ApiMember(Description="The last name of the sales representative.", IsRequired=true)
open var lastName:String? = null
/**
* The email address of the sales representative.
*/
@ApiMember(Description="The email address of the sales representative.", IsRequired=true)
open var email:String? = null
/**
* The unique user ID of the sales representative.
*/
@ApiMember(Description="The unique user ID of the sales representative.", IsRequired=true)
open var userId:UUID? = null
/**
* Whether the sales representative's account is locked.
*/
@ApiMember(Description="Whether the sales representative's account is locked.", IsRequired=true)
open var accountLocked:Boolean? = null
/**
* Whether the sales representative's account is pinned.
*/
@ApiMember(Description="Whether the sales representative's account is pinned.", IsRequired=true)
open var isPinned:Boolean? = null
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /salesReps/{brand}/{posCode} HTTP/1.1
Host: dev-api-booster.richemont.com
Accept: text/jsonl
HTTP/1.1 200 OK Content-Type: text/jsonl Content-Length: length []