Bombshell Agency Platform Service

<back to all web services

ChatMessageRequest

The following routes are available for this service:
POST,OPTIONS/v1/ChatMessage
GET/v1/ChatMessage/{ChatMessageId}

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/ChatMessageRequest HTTP/1.1 
Host: testapi3.teamifg.com 
Content-Type: text/jsv
Content-Length: length

{
	ChatMessageId: 00000000000000000000000000000000,
	ChatMessage: 
	{
		ChatMessageId: 00000000000000000000000000000000,
		ChatId: 00000000000000000000000000000000,
		SenderUserId: 00000000000000000000000000000000,
		Message: String,
		AttachmentId: 00000000000000000000000000000000,
		DateCreated: 0001-01-01,
		SenderName: String
	}
}
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
			}
		]
	},
	ChatMessage: 
	[
		{
			ChatMessageId: 00000000000000000000000000000000,
			ChatId: 00000000000000000000000000000000,
			SenderUserId: 00000000000000000000000000000000,
			Message: String,
			AttachmentId: 00000000000000000000000000000000,
			DateCreated: 0001-01-01,
			SenderName: String
		}
	]
}