Bombshell Agency Platform Service

<back to all web services

PredefinedTextRequest

The following routes are available for this service:
GET,POST,PUT,DELETE,OPTIONS/v1/PredefinedText
GET,POST,PUT,DELETE,OPTIONS/v1/PredefinedText/{ID}
GET/v1/PredefinedText/ByType/{Type}

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

{
	Type: String,
	ID: 0,
	PredefinedText: 
	[
		{
			ID: 0,
			Type: String,
			Text: 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
			}
		]
	},
	PredefinedText: 
	[
		{
			ID: 0,
			Type: String,
			Text: String
		}
	]
}