Bombshell Chat

<back to all web services

GetAgent

The following routes are available for this service:
GET/v1/Agent/{ClientId}/{ClientAgentId}

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/GetAgent HTTP/1.1 
Host: chatapi.bombshelltechnologies.com 
Content-Type: text/jsv
Content-Length: length

{
	ClientAgentId: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Result: 
	{
		ClientAgentId: 0,
		FullName: String,
		Email: String,
		InitialMessage: String,
		IsAcceptingChats: False
	},
	Signature: String,
	AppId: String,
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String
			}
		]
	}
}