| POST | /api/v1/set-deviceId/confirm |
|---|
import java.math.*
import java.util.*
import net.servicestack.client.*
open class SetDeviceIdConfirm
{
var token:String? = null
var phoneNumber:String? = null
var deviceId:String? = null
}
open class SetDeviceIdConfirmResponse : BaseResponse()
{
var bearerToken:String? = null
}
open class BaseResponse
{
var status:Status? = null
}
open class Status
{
var message:String? = null
var statusCode:Int? = null
}
Kotlin SetDeviceIdConfirm DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /api/v1/set-deviceId/confirm HTTP/1.1
Host: pecuario-backend.develsystems.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
token: String,
phoneNumber: String,
deviceId: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
bearerToken: String
}