EBALiteServer

<back to all web services

Register

The following routes are available for this service:
All Verbs/register
Register Parameters:
NameParameterData TypeRequiredDescription
UserNamequerystringNo
FirstNamequerystringNo
LastNamequerystringNo
DisplayNamequerystringNo
EmailquerystringNo
PasswordquerystringNo
AutoLoginquerybool?No
ContinuequerystringNo
RegisterResponse Parameters:
NameParameterData TypeRequiredDescription
UserIdformstringNo
SessionIdformstringNo
UserNameformstringNo
ReferrerUrlformstringNo
BearerTokenformstringNo
RefreshTokenformstringNo
ResponseStatusformResponseStatusNo
MetaformDictionary<string, string>No

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 /register HTTP/1.1 
Host: ebaliteapi.pieterbas.nl 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	UserName: String,
	FirstName: String,
	LastName: String,
	DisplayName: String,
	Email: String,
	Password: String,
	AutoLogin: False,
	Continue: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	UserId: String,
	SessionId: String,
	UserName: String,
	ReferrerUrl: String,
	BearerToken: String,
	RefreshToken: String,
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	},
	Meta: 
	{
		String: String
	}
}