Field Squared API Services

<back to all web services

IntegrationRule

Represents a set of rules what the system reads to take a particular set of actions. These dtos allow transfer of that data from the client to the server and vice versa.

The following routes are available for this service:
GET,PUT,DELETE/{WorkspaceId}/IntegrationRule/{Id}
IntegrationRule Parameters:
NameParameterData TypeRequiredDescription
WorkspaceIdpathstringNo
NamebodystringNo
DatabodyDictionary<string, Object>No
ObjectTypebodystringNo
IdpathstringNo
ConditionGroupItemsbodyList<ConditionGroupItem>No
ActionsToTakebodyList<Action>No
LastUpdatedbodyDateTimeNo
ModulePipelinebodyList<RuleModuleDefinition>No
EnabledbodyboolNo
WorkdayRestrictedbodyboolNo
TeamsbodyList<string>No
AllowProgrammaticTriggerbodyboolNo
ConditionGroupItem Parameters:
NameParameterData TypeRequiredDescription
ConditionGroupsformList<ConditionGroup>No
PrecedenceformintNo
GroupIdentifierformintNo
BooleanOperatorformstringNo
ConditionGroup Parameters:
NameParameterData TypeRequiredDescription
ConditionformConditionNo
PrecedenceformintNo
GroupIdentifierformintNo
BooleanOperatorformstringNo
Condition Parameters:
NameParameterData TypeRequiredDescription
ValueComparedToformstringNo
ValueToCompareformstringNo
ComparisonOperatorformPossibleComparisonsNo
PossibleComparisons Enum:
LTE
LT
GT
GTE
EQ
NE
NULL
NOTNULL
CHG
STARTS
LIKE
Action Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
CallTypeformstringNo
ActionToTakeformstringNo
DestinationformstringNo
ExternalIdformstringNo
ExternalParentIdformstringNo
DeleteTypeIfNotExistsformstringNo
DataTreeformDictionary<string, Object>No
DataformstringNo
DataTypesformDictionary<string, Object>No
RuleModuleDefinition Parameters:
NameParameterData TypeRequiredDescription
IsOutputModuleformboolNo
NameformstringNo
PrerequisitesformList<string>No
ParametersformDictionary<string, Object>No
TypeformstringNo
OutputActionformActionNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

PUT /{WorkspaceId}/IntegrationRule/{Id} HTTP/1.1 
Host: dev.fieldsquared.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"WorkspaceId":"String","Name":"String","Data":{"value":"String"},"ObjectType":"String","Id":"String","ConditionGroupItems":[{"ConditionGroups":[{"Condition":{"ValueComparedTo":"String","ValueToCompare":"String","ComparisonOperator":"LTE"},"Precedence":0,"GroupIdentifier":0,"BooleanOperator":"String"}],"Precedence":0,"GroupIdentifier":0,"BooleanOperator":"String"}],"ActionsToTake":[{"Id":"String","CallType":"String","ActionToTake":"String","Destination":"String","ExternalId":"String","ExternalParentId":"String","DeleteTypeIfNotExists":"String","DataTree":{"String":{}},"Data":"String","DataTypes":{"String":{}}}],"LastUpdated":"\/Date(-62135596800000-0000)\/","ModulePipeline":[{"IsOutputModule":false,"Name":"String","Prerequisites":["String"],"Parameters":{"String":{}},"Type":"String","OutputAction":{"Id":"String","CallType":"String","ActionToTake":"String","Destination":"String","ExternalId":"String","ExternalParentId":"String","DeleteTypeIfNotExists":"String","DataTree":{"String":{}},"Data":"String","DataTypes":{"String":{}}}}],"Enabled":false,"WorkdayRestricted":false,"Teams":["String"],"AllowProgrammaticTrigger":false}