Bombshell Agency Platform Service

<back to all web services

CreateNewAgentRequest

The following routes are available for this service:
GET,POST,OPTIONS/v1/CreateNewAgent

To override the Content-type in your clients 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/CreateNewAgentRequest HTTP/1.1 
Host: api.exactbenefits.com 
Content-Type: text/jsv
Content-Length: length

{
	NewAgent: 
	{
		AgentId: 0,
		FirstName: String,
		LastName: String,
		FullName: String String,
		UserName: String,
		Email: String,
		IsAdmin: False,
		AgentNumber: String,
		DateOfBirth: 0001-01-01,
		Rank: String,
		AgentNPN: String,
		RipplingId: String,
		PayChexId: String,
		Upline1: 0,
		IsAgent: False
	}
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String
			}
		]
	},
	NewAgentStatus: 
	{
		AgentId: 0,
		AgentNumber: String,
		UserName: String,
		FirstName: String,
		LastName: String,
		AgentCreated: False,
		SentWelcomeEmail: False
	}
}