GET | /sales/member/{MemberId}/profile/check | Check a customer for payment profile(s) |
---|
import java.math.*
import java.util.*
import net.servicestack.client.*
open class CheckForPaymentProfile : CheckForPaymentProfileDto(), IRestrictedApiRequest
{
/**
* Api Key - grants access to resources
*/
@ApiMember(DataType="string", Description="Api Key - grants access to resources", IsRequired=true, Name="ApiKey", ParameterType="query")
var ApiKey:String? = null
/**
* ID # of store member belongs to
*/
@ApiMember(DataType="integer", Description="ID # of store member belongs to", IsRequired=true, Name="StoreId", ParameterType="query")
var StoreId:Int? = null
/**
* ID # of user to check
*/
@ApiMember(DataType="integer", Description="ID # of user to check", IsRequired=true, Name="MemberId", ParameterType="path")
var MemberId:Int? = null
var RestrictedId:Int? = null
var RestrictedResourceType:RestrictedResourceType? = null
}
open class CheckForPaymentProfileDto : ApiDtoBase()
{
var MemberId:Int? = null
}
open class ApiDtoBase
{
var ApiKey:String? = null
var StoreId:Int? = null
var ChainId:Int? = null
}
enum class RestrictedResourceType
{
Store,
Chain,
User,
Undefined,
}
Kotlin CheckForPaymentProfile DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /sales/member/{MemberId}/profile/check HTTP/1.1 Host: clubready.com Accept: application/json