FrameAppWS

<back to all web services

RegisterCitizenRQ

Requires Authentication
The following routes are available for this service:
All Verbs/citizen/register
import java.math.*
import java.util.*
import net.servicestack.client.*


open class RegisterCitizenRQ
{
    var Id:String? = null
    var Email:String? = null
    var DisplayName:String? = null
    var PhoneNumber:String? = null
    var Provider:Long? = null
    var ProviderId:String? = null
    var MobileId:String? = null
    var MobileOS:String? = null
    var Password:String? = null
    var CreatedUser:String? = null
}

open class RegisterCitizenRS : CoreRS()
{
    var Data:String? = null
}

open class CoreRS
{
    var Code:String? = null
    var ErrorMessage:String? = null
    var ErrorStackTrace:String? = null
}

Kotlin RegisterCitizenRQ DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /citizen/register HTTP/1.1 
Host: ws.jimsnwa.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	Id: String,
	Email: String,
	DisplayName: String,
	PhoneNumber: String,
	Provider: 0,
	ProviderId: String,
	MobileId: String,
	MobileOS: String,
	Password: String,
	CreatedUser: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Data: String,
	Code: String,
	ErrorMessage: String,
	ErrorStackTrace: String
}