ServiceStack Home (Live)

<back to all web services

MyInfo

Requires Authentication
The following routes are available for this service:
GET/MyInfo
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*


open class MyInfo
{
}

open class UserInfo
{
    open var id:Int? = null
    open var userAuthId:String? = null
    open var nickName:String? = null
    open var firstName:String? = null
    open var lastName:String? = null
    open var email:String? = null
    open var company:String? = null
    open var phoneNumber:String? = null
    open var addressLine1:String? = null
    open var addressLine2:String? = null
    open var addressCity:String? = null
    open var addressZip:String? = null
    open var addressState:String? = null
    open var addressCountry:String? = null
}

Kotlin MyInfo 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.

GET /MyInfo HTTP/1.1 
Host: account.servicestack.net 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	id: 0,
	userAuthId: String,
	nickName: String,
	firstName: String,
	lastName: String,
	email: String,
	company: String,
	phoneNumber: String,
	addressLine1: String,
	addressLine2: String,
	addressCity: String,
	addressZip: String,
	addressState: String,
	addressCountry: String
}