| POST | /integrations/api/{integrationType}/core/verifytoken |
|---|
import java.math.*
import java.util.*
import net.servicestack.client.*
open class VerifyTokenRq
{
var Header:ApiClientHeader? = null
var IntegrationType:String? = null
var NationalId:Int? = null
var ChapterId:Int? = null
var IntegrationPartnerId:Int? = null
var Token:String? = null
var VerificationTypes:String? = null
}
open class ApiClientHeader
{
var ClientId:Int? = null
var Referrer:String? = null
var IpAddress:String? = null
var LoggedInUserId:Int? = null
var GroupId:Int? = null
var Task:String? = null
var Machine:String? = null
var Location:String? = null
var CreatedBy:Int? = null
var CampaignId:Int? = null
var ReCaptchaScore:BigDecimal? = null
}
open class VerifyTokenRs
{
var CardRef:String? = null
var Success:Boolean? = null
var Message:String? = null
}
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.
POST /integrations/api/{integrationType}/core/verifytoken HTTP/1.1
Host: devapi.billhighway.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"Header":{"ClientId":0,"Referrer":"String","IpAddress":"String","LoggedInUserId":0,"GroupId":0,"Task":"String","Machine":"String","Location":"String","CreatedBy":0,"CampaignId":0,"ReCaptchaScore":0},"IntegrationType":"String","NationalId":0,"ChapterId":0,"IntegrationPartnerId":0,"Token":"String","VerificationTypes":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"CardRef":"String","Success":false,"Message":"String"}