TechStacks!

<back to all web services

ImportUser

Requires Authentication
Required role:Import
ImportUser Parameters:
NameParameterData TypeRequiredDescription
UserNamequerystringNo
EmailquerystringNo
FirstNamequerystringNo
LastNamequerystringNo
DisplayNamequerystringNo
CompanyquerystringNo
RefSourcequerystringNo
RefIdqueryint?No
RefIdStrquerystringNo
RefUrnquerystringNo
DefaultProfileUrlquerystringNo
MetaqueryDictionary<string, string>No
ImportUserResponse Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
ResponseStatusformResponseStatusNo

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 /jsv/reply/ImportUser HTTP/1.1 
Host: techstacks.io 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	userName: String,
	email: String,
	firstName: String,
	lastName: String,
	displayName: String,
	company: String,
	refSource: String,
	refId: 0,
	refIdStr: String,
	refUrn: String,
	defaultProfileUrl: String,
	meta: 
	{
		String: String
	}
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	id: 0,
	responseStatus: 
	{
		errorCode: String,
		message: String,
		stackTrace: String,
		errors: 
		[
			{
				errorCode: String,
				fieldName: String,
				message: String,
				meta: 
				{
					String: String
				}
			}
		],
		meta: 
		{
			String: String
		}
	}
}