Trendsic Platform Service

<back to all web services

FFAgentConfigRequest

Requires Authentication
Requires any of the roles:Agent, Administrator, Agent, Administrator, Agent, Administrator
The following routes are available for this service:
GET,POST,PUT,OPTIONS/v1/FFAgentConfig
FFAgentConfigRequest Parameters:
NameParameterData TypeRequiredDescription
FFAgentConfigbodyFFAgentConfigExtendedNo
FFAgentConfigExtended Parameters:
NameParameterData TypeRequiredDescription
FFSectionsformList<FFSectionExtended>No
FFAgentConfig Parameters:
NameParameterData TypeRequiredDescription
IdformGuidNo
AgentIdformintNo
DateCreatedformDateTimeNo
DateModifiedformDateTimeNo
FFSectionExtended Parameters:
NameParameterData TypeRequiredDescription
SectionTypeDescformstringNo
FFFieldsformList<FFFieldExtended>No
FFSection Parameters:
NameParameterData TypeRequiredDescription
IdformGuidNo
FFAgentConfigIdformGuidNo
SectionTypeIdformintNo
NicknameformstringNo
ShowHeaderformboolNo
HeaderformstringNo
heightformintNo
widthformintNo
xformintNo
yformintNo
IsActiveformboolNo
HasBorderformboolNo
BorderColorformstringNo
BorderWidthformintNo
BorderRadiusformintNo
DateCreatedformDateTimeNo
DateModifiedformDateTimeNo
FFFieldExtended Parameters:
NameParameterData TypeRequiredDescription
NameformstringNo
IsYesNoformboolNo
FFField Parameters:
NameParameterData TypeRequiredDescription
IdformGuidNo
FFSectionIdformGuidNo
FieldTypeIdformintNo
xformintNo
yformintNo
heightformintNo
widthformintNo
TextformstringNo
FFAgentConfigResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
FFAgentConfigformFFAgentConfigExtendedNo

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 /v1/FFAgentConfig HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	FFAgentConfig: 
	{
		FFSections: 
		[
			{
				SectionTypeDesc: String,
				FFFields: 
				[
					{
						Name: String,
						IsYesNo: False,
						Id: 00000000000000000000000000000000,
						FFSectionId: 00000000000000000000000000000000,
						FieldTypeId: 0,
						x: 0,
						y: 0,
						height: 0,
						width: 0,
						Text: String
					}
				],
				Id: 00000000000000000000000000000000,
				FFAgentConfigId: 00000000000000000000000000000000,
				SectionTypeId: 0,
				Nickname: String,
				ShowHeader: False,
				Header: String,
				height: 0,
				width: 0,
				x: 0,
				y: 0,
				IsActive: False,
				HasBorder: False,
				BorderColor: String,
				BorderWidth: 0,
				BorderRadius: 0,
				DateCreated: 0001-01-01,
				DateModified: 0001-01-01
			}
		],
		Id: 00000000000000000000000000000000,
		AgentId: 0,
		DateCreated: 0001-01-01,
		DateModified: 0001-01-01
	}
}
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,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	},
	FFAgentConfig: 
	{
		FFSections: 
		[
			{
				SectionTypeDesc: String,
				FFFields: 
				[
					{
						Name: String,
						IsYesNo: False,
						Id: 00000000000000000000000000000000,
						FFSectionId: 00000000000000000000000000000000,
						FieldTypeId: 0,
						x: 0,
						y: 0,
						height: 0,
						width: 0,
						Text: String
					}
				],
				Id: 00000000000000000000000000000000,
				FFAgentConfigId: 00000000000000000000000000000000,
				SectionTypeId: 0,
				Nickname: String,
				ShowHeader: False,
				Header: String,
				height: 0,
				width: 0,
				x: 0,
				y: 0,
				IsActive: False,
				HasBorder: False,
				BorderColor: String,
				BorderWidth: 0,
				BorderRadius: 0,
				DateCreated: 0001-01-01,
				DateModified: 0001-01-01
			}
		],
		Id: 00000000000000000000000000000000,
		AgentId: 0,
		DateCreated: 0001-01-01,
		DateModified: 0001-01-01
	}
}