using RestSharp;
var options = new RestClientOptions("http://localhost:54464/api/v1/Agents/Workflow/SaveEmailFlow");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddJsonBody("{\n \"EmailFlowId\": 123,\n \"Name\": \"<string>\",\n \"Description\": \"<string>\",\n \"JumpToFinish\": true,\n \"StartOnlyOnce\": true,\n \"OverrideConsentSubscription\": true,\n \"FromName\": \"<string>\",\n \"FromAddr\": \"<string>\",\n \"ReplyToAddr\": \"<string>\",\n \"ReplyToName\": \"<string>\",\n \"SmsSender\": \"<string>\",\n \"UseGoogleAnalytics\": true,\n \"GaSource\": \"<string>\",\n \"GaCampaign\": \"<string>\",\n \"UseTimeframe\": true,\n \"TimeframeStart\": \"<string>\",\n \"TimeframeEnd\": \"<string>\",\n \"UseWorkflowStart\": true,\n \"WorkflowStart\": \"<string>\",\n \"UseEnrollmentEnd\": true,\n \"EnrollmentEnd\": \"<string>\",\n \"RemoveFromFlows\": [\n 123\n ],\n \"TzLocation\": {\n \"TZLocationID\": 123,\n \"Name\": \"<string>\",\n \"TZLocationCode\": \"<string>\",\n \"TZLocationCities\": \"<string>\",\n \"IsoNumber\": 123,\n \"TimeZoneSTDRules\": {},\n \"TimeZoneDSTRules\": {}\n },\n \"Folder\": {\n \"HierarchyId\": 123,\n \"Name\": \"<string>\",\n \"Fullname\": \"<string>\",\n \"ParentId\": 123,\n \"Children\": \"<array>\",\n \"Registered\": \"2023-11-07T05:31:56Z\",\n \"RegisteredAssociateId\": 123,\n \"Updated\": \"2023-11-07T05:31:56Z\",\n \"UpdatedAssociateId\": 123,\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n },\n \"Associate\": {\n \"AssociateId\": 123,\n \"Name\": \"<string>\",\n \"PersonId\": 123,\n \"Rank\": 123,\n \"Tooltip\": \"<string>\",\n \"GroupIdx\": 123,\n \"FullName\": \"<string>\",\n \"FormalName\": \"<string>\",\n \"Deleted\": true,\n \"EjUserId\": 123,\n \"UserName\": \"<string>\",\n \"ExtraFields\": {},\n \"CustomFields\": {},\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n },\n \"ShipmentType\": {\n \"Id\": 123,\n \"Name\": \"<string>\",\n \"ToolTip\": \"<string>\",\n \"Deleted\": true,\n \"Rank\": 123,\n \"Type\": \"<string>\",\n \"ChildItems\": \"<array>\",\n \"IconHint\": \"<string>\",\n \"ColorBlock\": 123,\n \"ExtraInfo\": \"<string>\",\n \"StyleHint\": \"<string>\",\n \"FullName\": \"<string>\",\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n },\n \"Steps\": [\n {\n \"WorkflowStepId\": 123,\n \"WorkflowId\": 123,\n \"Rank\": 123\n }\n ],\n \"Triggers\": [\n {\n \"WorkflowTriggerId\": 123,\n \"WorkflowId\": 123,\n \"RestrictionGroups\": [\n {\n \"Name\": \"<string>\",\n \"Description\": \"<string>\",\n \"Rank\": 123,\n \"Restrictions\": [\n {\n \"Name\": \"<string>\",\n \"Operator\": \"<string>\",\n \"Values\": [\n \"<string>\"\n ],\n \"DisplayValues\": [\n \"<string>\"\n ],\n \"ColumnInfo\": {\n \"DisplayName\": \"<string>\",\n \"DisplayTooltip\": \"<string>\",\n \"DisplayType\": \"<string>\",\n \"CanOrderBy\": true,\n \"Name\": \"<string>\",\n \"CanRestrictBy\": true,\n \"RestrictionType\": \"<string>\",\n \"RestrictionListName\": \"<string>\",\n \"IsVisible\": true,\n \"ExtraInfo\": \"<string>\",\n \"Width\": \"<string>\",\n \"IconHint\": \"<string>\",\n \"HeadingIconHint\": \"<string>\"\n },\n \"IsActive\": true,\n \"SubRestrictions\": \"<array>\",\n \"InterParenthesis\": 123,\n \"UniqueHash\": 123\n }\n ]\n }\n ],\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n }\n ],\n \"Goals\": [\n {\n \"WorkflowGoalId\": 123,\n \"WorkflowId\": 123,\n \"RestrictionGroups\": [\n {\n \"Name\": \"<string>\",\n \"Description\": \"<string>\",\n \"Rank\": 123,\n \"Restrictions\": [\n {\n \"Name\": \"<string>\",\n \"Operator\": \"<string>\",\n \"Values\": [\n \"<string>\"\n ],\n \"DisplayValues\": [\n \"<string>\"\n ],\n \"ColumnInfo\": {\n \"DisplayName\": \"<string>\",\n \"DisplayTooltip\": \"<string>\",\n \"DisplayType\": \"<string>\",\n \"CanOrderBy\": true,\n \"Name\": \"<string>\",\n \"CanRestrictBy\": true,\n \"RestrictionType\": \"<string>\",\n \"RestrictionListName\": \"<string>\",\n \"IsVisible\": true,\n \"ExtraInfo\": \"<string>\",\n \"Width\": \"<string>\",\n \"IconHint\": \"<string>\",\n \"HeadingIconHint\": \"<string>\"\n },\n \"IsActive\": true,\n \"SubRestrictions\": \"<array>\",\n \"InterParenthesis\": 123,\n \"UniqueHash\": 123\n }\n ]\n }\n ],\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n }\n ],\n \"Filter\": {\n \"RestrictionGroups\": [\n {\n \"Name\": \"<string>\",\n \"Description\": \"<string>\",\n \"Rank\": 123,\n \"Restrictions\": [\n {\n \"Name\": \"<string>\",\n \"Operator\": \"<string>\",\n \"Values\": [\n \"<string>\"\n ],\n \"DisplayValues\": [\n \"<string>\"\n ],\n \"ColumnInfo\": {\n \"DisplayName\": \"<string>\",\n \"DisplayTooltip\": \"<string>\",\n \"DisplayType\": \"<string>\",\n \"CanOrderBy\": true,\n \"Name\": \"<string>\",\n \"CanRestrictBy\": true,\n \"RestrictionType\": \"<string>\",\n \"RestrictionListName\": \"<string>\",\n \"IsVisible\": true,\n \"ExtraInfo\": \"<string>\",\n \"Width\": \"<string>\",\n \"IconHint\": \"<string>\",\n \"HeadingIconHint\": \"<string>\"\n },\n \"IsActive\": true,\n \"SubRestrictions\": \"<array>\",\n \"InterParenthesis\": 123,\n \"UniqueHash\": 123\n }\n ]\n }\n ],\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n },\n \"BlockLists\": [\n 123\n ],\n \"ContentInfo\": [\n {\n \"Id\": 123,\n \"Actions\": true,\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n }\n ],\n \"ExitFlowId\": 123,\n \"ExitSuccessFlowId\": 123,\n \"CreatedBy\": {\n \"AssociateId\": 123,\n \"Name\": \"<string>\",\n \"PersonId\": 123,\n \"Rank\": 123,\n \"Tooltip\": \"<string>\",\n \"GroupIdx\": 123,\n \"FullName\": \"<string>\",\n \"FormalName\": \"<string>\",\n \"Deleted\": true,\n \"EjUserId\": 123,\n \"UserName\": \"<string>\",\n \"ExtraFields\": {},\n \"CustomFields\": {},\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n },\n \"UpdatedBy\": {\n \"AssociateId\": 123,\n \"Name\": \"<string>\",\n \"PersonId\": 123,\n \"Rank\": 123,\n \"Tooltip\": \"<string>\",\n \"GroupIdx\": 123,\n \"FullName\": \"<string>\",\n \"FormalName\": \"<string>\",\n \"Deleted\": true,\n \"EjUserId\": 123,\n \"UserName\": \"<string>\",\n \"ExtraFields\": {},\n \"CustomFields\": {},\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n },\n \"CreatedDate\": \"2023-11-07T05:31:56Z\",\n \"UpdatedDate\": \"2023-11-07T05:31:56Z\",\n \"VisibleFor\": [\n {\n \"VisibleId\": 123,\n \"DisplayValue\": \"<string>\",\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n }\n ],\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n}", false);
var response = await client.PostAsync(request);
Console.WriteLine("{0}", response.Content);const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
EmailFlowId: 123,
Name: '<string>',
Description: '<string>',
JumpToFinish: true,
StartOnlyOnce: true,
OverrideConsentSubscription: true,
FromName: '<string>',
FromAddr: '<string>',
ReplyToAddr: '<string>',
ReplyToName: '<string>',
SmsSender: '<string>',
UseGoogleAnalytics: true,
GaSource: '<string>',
GaCampaign: '<string>',
UseTimeframe: true,
TimeframeStart: '<string>',
TimeframeEnd: '<string>',
UseWorkflowStart: true,
WorkflowStart: '<string>',
UseEnrollmentEnd: true,
EnrollmentEnd: '<string>',
RemoveFromFlows: [123],
TzLocation: {
TZLocationID: 123,
Name: '<string>',
TZLocationCode: '<string>',
TZLocationCities: '<string>',
IsoNumber: 123,
TimeZoneSTDRules: {},
TimeZoneDSTRules: {}
},
Folder: {
HierarchyId: 123,
Name: '<string>',
Fullname: '<string>',
ParentId: 123,
Children: '<array>',
Registered: '2023-11-07T05:31:56Z',
RegisteredAssociateId: 123,
Updated: '2023-11-07T05:31:56Z',
UpdatedAssociateId: 123,
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
Associate: {
AssociateId: 123,
Name: '<string>',
PersonId: 123,
Rank: 123,
Tooltip: '<string>',
GroupIdx: 123,
FullName: '<string>',
FormalName: '<string>',
Deleted: true,
EjUserId: 123,
UserName: '<string>',
ExtraFields: {},
CustomFields: {},
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
ShipmentType: {
Id: 123,
Name: '<string>',
ToolTip: '<string>',
Deleted: true,
Rank: 123,
Type: '<string>',
ChildItems: '<array>',
IconHint: '<string>',
ColorBlock: 123,
ExtraInfo: '<string>',
StyleHint: '<string>',
FullName: '<string>',
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
Steps: [{WorkflowStepId: 123, WorkflowId: 123, Rank: 123}],
Triggers: [
{
WorkflowTriggerId: 123,
WorkflowId: 123,
RestrictionGroups: [
{
Name: '<string>',
Description: '<string>',
Rank: 123,
Restrictions: [
{
Name: '<string>',
Operator: '<string>',
Values: ['<string>'],
DisplayValues: ['<string>'],
ColumnInfo: {
DisplayName: '<string>',
DisplayTooltip: '<string>',
DisplayType: '<string>',
CanOrderBy: true,
Name: '<string>',
CanRestrictBy: true,
RestrictionType: '<string>',
RestrictionListName: '<string>',
IsVisible: true,
ExtraInfo: '<string>',
Width: '<string>',
IconHint: '<string>',
HeadingIconHint: '<string>'
},
IsActive: true,
SubRestrictions: '<array>',
InterParenthesis: 123,
UniqueHash: 123
}
]
}
],
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
}
],
Goals: [
{
WorkflowGoalId: 123,
WorkflowId: 123,
RestrictionGroups: [
{
Name: '<string>',
Description: '<string>',
Rank: 123,
Restrictions: [
{
Name: '<string>',
Operator: '<string>',
Values: ['<string>'],
DisplayValues: ['<string>'],
ColumnInfo: {
DisplayName: '<string>',
DisplayTooltip: '<string>',
DisplayType: '<string>',
CanOrderBy: true,
Name: '<string>',
CanRestrictBy: true,
RestrictionType: '<string>',
RestrictionListName: '<string>',
IsVisible: true,
ExtraInfo: '<string>',
Width: '<string>',
IconHint: '<string>',
HeadingIconHint: '<string>'
},
IsActive: true,
SubRestrictions: '<array>',
InterParenthesis: 123,
UniqueHash: 123
}
]
}
],
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
}
],
Filter: {
RestrictionGroups: [
{
Name: '<string>',
Description: '<string>',
Rank: 123,
Restrictions: [
{
Name: '<string>',
Operator: '<string>',
Values: ['<string>'],
DisplayValues: ['<string>'],
ColumnInfo: {
DisplayName: '<string>',
DisplayTooltip: '<string>',
DisplayType: '<string>',
CanOrderBy: true,
Name: '<string>',
CanRestrictBy: true,
RestrictionType: '<string>',
RestrictionListName: '<string>',
IsVisible: true,
ExtraInfo: '<string>',
Width: '<string>',
IconHint: '<string>',
HeadingIconHint: '<string>'
},
IsActive: true,
SubRestrictions: '<array>',
InterParenthesis: 123,
UniqueHash: 123
}
]
}
],
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
BlockLists: [123],
ContentInfo: [
{
Id: 123,
Actions: true,
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
}
],
ExitFlowId: 123,
ExitSuccessFlowId: 123,
CreatedBy: {
AssociateId: 123,
Name: '<string>',
PersonId: 123,
Rank: 123,
Tooltip: '<string>',
GroupIdx: 123,
FullName: '<string>',
FormalName: '<string>',
Deleted: true,
EjUserId: 123,
UserName: '<string>',
ExtraFields: {},
CustomFields: {},
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
UpdatedBy: {
AssociateId: 123,
Name: '<string>',
PersonId: 123,
Rank: 123,
Tooltip: '<string>',
GroupIdx: 123,
FullName: '<string>',
FormalName: '<string>',
Deleted: true,
EjUserId: 123,
UserName: '<string>',
ExtraFields: {},
CustomFields: {},
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
CreatedDate: '2023-11-07T05:31:56Z',
UpdatedDate: '2023-11-07T05:31:56Z',
VisibleFor: [
{
VisibleId: 123,
DisplayValue: '<string>',
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
}
],
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
})
};
fetch('http://localhost:54464/api/v1/Agents/Workflow/SaveEmailFlow', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_PORT => "54464",
CURLOPT_URL => "http://localhost:54464/api/v1/Agents/Workflow/SaveEmailFlow",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'EmailFlowId' => 123,
'Name' => '<string>',
'Description' => '<string>',
'JumpToFinish' => true,
'StartOnlyOnce' => true,
'OverrideConsentSubscription' => true,
'FromName' => '<string>',
'FromAddr' => '<string>',
'ReplyToAddr' => '<string>',
'ReplyToName' => '<string>',
'SmsSender' => '<string>',
'UseGoogleAnalytics' => true,
'GaSource' => '<string>',
'GaCampaign' => '<string>',
'UseTimeframe' => true,
'TimeframeStart' => '<string>',
'TimeframeEnd' => '<string>',
'UseWorkflowStart' => true,
'WorkflowStart' => '<string>',
'UseEnrollmentEnd' => true,
'EnrollmentEnd' => '<string>',
'RemoveFromFlows' => [
123
],
'TzLocation' => [
'TZLocationID' => 123,
'Name' => '<string>',
'TZLocationCode' => '<string>',
'TZLocationCities' => '<string>',
'IsoNumber' => 123,
'TimeZoneSTDRules' => [
],
'TimeZoneDSTRules' => [
]
],
'Folder' => [
'HierarchyId' => 123,
'Name' => '<string>',
'Fullname' => '<string>',
'ParentId' => 123,
'Children' => '<array>',
'Registered' => '2023-11-07T05:31:56Z',
'RegisteredAssociateId' => 123,
'Updated' => '2023-11-07T05:31:56Z',
'UpdatedAssociateId' => 123,
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
],
'Associate' => [
'AssociateId' => 123,
'Name' => '<string>',
'PersonId' => 123,
'Rank' => 123,
'Tooltip' => '<string>',
'GroupIdx' => 123,
'FullName' => '<string>',
'FormalName' => '<string>',
'Deleted' => true,
'EjUserId' => 123,
'UserName' => '<string>',
'ExtraFields' => [
],
'CustomFields' => [
],
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
],
'ShipmentType' => [
'Id' => 123,
'Name' => '<string>',
'ToolTip' => '<string>',
'Deleted' => true,
'Rank' => 123,
'Type' => '<string>',
'ChildItems' => '<array>',
'IconHint' => '<string>',
'ColorBlock' => 123,
'ExtraInfo' => '<string>',
'StyleHint' => '<string>',
'FullName' => '<string>',
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
],
'Steps' => [
[
'WorkflowStepId' => 123,
'WorkflowId' => 123,
'Rank' => 123
]
],
'Triggers' => [
[
'WorkflowTriggerId' => 123,
'WorkflowId' => 123,
'RestrictionGroups' => [
[
'Name' => '<string>',
'Description' => '<string>',
'Rank' => 123,
'Restrictions' => [
[
'Name' => '<string>',
'Operator' => '<string>',
'Values' => [
'<string>'
],
'DisplayValues' => [
'<string>'
],
'ColumnInfo' => [
'DisplayName' => '<string>',
'DisplayTooltip' => '<string>',
'DisplayType' => '<string>',
'CanOrderBy' => true,
'Name' => '<string>',
'CanRestrictBy' => true,
'RestrictionType' => '<string>',
'RestrictionListName' => '<string>',
'IsVisible' => true,
'ExtraInfo' => '<string>',
'Width' => '<string>',
'IconHint' => '<string>',
'HeadingIconHint' => '<string>'
],
'IsActive' => true,
'SubRestrictions' => '<array>',
'InterParenthesis' => 123,
'UniqueHash' => 123
]
]
]
],
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
]
],
'Goals' => [
[
'WorkflowGoalId' => 123,
'WorkflowId' => 123,
'RestrictionGroups' => [
[
'Name' => '<string>',
'Description' => '<string>',
'Rank' => 123,
'Restrictions' => [
[
'Name' => '<string>',
'Operator' => '<string>',
'Values' => [
'<string>'
],
'DisplayValues' => [
'<string>'
],
'ColumnInfo' => [
'DisplayName' => '<string>',
'DisplayTooltip' => '<string>',
'DisplayType' => '<string>',
'CanOrderBy' => true,
'Name' => '<string>',
'CanRestrictBy' => true,
'RestrictionType' => '<string>',
'RestrictionListName' => '<string>',
'IsVisible' => true,
'ExtraInfo' => '<string>',
'Width' => '<string>',
'IconHint' => '<string>',
'HeadingIconHint' => '<string>'
],
'IsActive' => true,
'SubRestrictions' => '<array>',
'InterParenthesis' => 123,
'UniqueHash' => 123
]
]
]
],
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
]
],
'Filter' => [
'RestrictionGroups' => [
[
'Name' => '<string>',
'Description' => '<string>',
'Rank' => 123,
'Restrictions' => [
[
'Name' => '<string>',
'Operator' => '<string>',
'Values' => [
'<string>'
],
'DisplayValues' => [
'<string>'
],
'ColumnInfo' => [
'DisplayName' => '<string>',
'DisplayTooltip' => '<string>',
'DisplayType' => '<string>',
'CanOrderBy' => true,
'Name' => '<string>',
'CanRestrictBy' => true,
'RestrictionType' => '<string>',
'RestrictionListName' => '<string>',
'IsVisible' => true,
'ExtraInfo' => '<string>',
'Width' => '<string>',
'IconHint' => '<string>',
'HeadingIconHint' => '<string>'
],
'IsActive' => true,
'SubRestrictions' => '<array>',
'InterParenthesis' => 123,
'UniqueHash' => 123
]
]
]
],
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
],
'BlockLists' => [
123
],
'ContentInfo' => [
[
'Id' => 123,
'Actions' => true,
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
]
],
'ExitFlowId' => 123,
'ExitSuccessFlowId' => 123,
'CreatedBy' => [
'AssociateId' => 123,
'Name' => '<string>',
'PersonId' => 123,
'Rank' => 123,
'Tooltip' => '<string>',
'GroupIdx' => 123,
'FullName' => '<string>',
'FormalName' => '<string>',
'Deleted' => true,
'EjUserId' => 123,
'UserName' => '<string>',
'ExtraFields' => [
],
'CustomFields' => [
],
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
],
'UpdatedBy' => [
'AssociateId' => 123,
'Name' => '<string>',
'PersonId' => 123,
'Rank' => 123,
'Tooltip' => '<string>',
'GroupIdx' => 123,
'FullName' => '<string>',
'FormalName' => '<string>',
'Deleted' => true,
'EjUserId' => 123,
'UserName' => '<string>',
'ExtraFields' => [
],
'CustomFields' => [
],
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
],
'CreatedDate' => '2023-11-07T05:31:56Z',
'UpdatedDate' => '2023-11-07T05:31:56Z',
'VisibleFor' => [
[
'VisibleId' => 123,
'DisplayValue' => '<string>',
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
]
],
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}import requests
url = "http://localhost:54464/api/v1/Agents/Workflow/SaveEmailFlow"
payload = {
"EmailFlowId": 123,
"Name": "<string>",
"Description": "<string>",
"JumpToFinish": True,
"StartOnlyOnce": True,
"OverrideConsentSubscription": True,
"FromName": "<string>",
"FromAddr": "<string>",
"ReplyToAddr": "<string>",
"ReplyToName": "<string>",
"SmsSender": "<string>",
"UseGoogleAnalytics": True,
"GaSource": "<string>",
"GaCampaign": "<string>",
"UseTimeframe": True,
"TimeframeStart": "<string>",
"TimeframeEnd": "<string>",
"UseWorkflowStart": True,
"WorkflowStart": "<string>",
"UseEnrollmentEnd": True,
"EnrollmentEnd": "<string>",
"RemoveFromFlows": [123],
"TzLocation": {
"TZLocationID": 123,
"Name": "<string>",
"TZLocationCode": "<string>",
"TZLocationCities": "<string>",
"IsoNumber": 123,
"TimeZoneSTDRules": {},
"TimeZoneDSTRules": {}
},
"Folder": {
"HierarchyId": 123,
"Name": "<string>",
"Fullname": "<string>",
"ParentId": 123,
"Children": "<array>",
"Registered": "2023-11-07T05:31:56Z",
"RegisteredAssociateId": 123,
"Updated": "2023-11-07T05:31:56Z",
"UpdatedAssociateId": 123,
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"Associate": {
"AssociateId": 123,
"Name": "<string>",
"PersonId": 123,
"Rank": 123,
"Tooltip": "<string>",
"GroupIdx": 123,
"FullName": "<string>",
"FormalName": "<string>",
"Deleted": True,
"EjUserId": 123,
"UserName": "<string>",
"ExtraFields": {},
"CustomFields": {},
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"ShipmentType": {
"Id": 123,
"Name": "<string>",
"ToolTip": "<string>",
"Deleted": True,
"Rank": 123,
"Type": "<string>",
"ChildItems": "<array>",
"IconHint": "<string>",
"ColorBlock": 123,
"ExtraInfo": "<string>",
"StyleHint": "<string>",
"FullName": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"Steps": [
{
"WorkflowStepId": 123,
"WorkflowId": 123,
"Rank": 123
}
],
"Triggers": [
{
"WorkflowTriggerId": 123,
"WorkflowId": 123,
"RestrictionGroups": [
{
"Name": "<string>",
"Description": "<string>",
"Rank": 123,
"Restrictions": [
{
"Name": "<string>",
"Operator": "<string>",
"Values": ["<string>"],
"DisplayValues": ["<string>"],
"ColumnInfo": {
"DisplayName": "<string>",
"DisplayTooltip": "<string>",
"DisplayType": "<string>",
"CanOrderBy": True,
"Name": "<string>",
"CanRestrictBy": True,
"RestrictionType": "<string>",
"RestrictionListName": "<string>",
"IsVisible": True,
"ExtraInfo": "<string>",
"Width": "<string>",
"IconHint": "<string>",
"HeadingIconHint": "<string>"
},
"IsActive": True,
"SubRestrictions": "<array>",
"InterParenthesis": 123,
"UniqueHash": 123
}
]
}
],
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
}
],
"Goals": [
{
"WorkflowGoalId": 123,
"WorkflowId": 123,
"RestrictionGroups": [
{
"Name": "<string>",
"Description": "<string>",
"Rank": 123,
"Restrictions": [
{
"Name": "<string>",
"Operator": "<string>",
"Values": ["<string>"],
"DisplayValues": ["<string>"],
"ColumnInfo": {
"DisplayName": "<string>",
"DisplayTooltip": "<string>",
"DisplayType": "<string>",
"CanOrderBy": True,
"Name": "<string>",
"CanRestrictBy": True,
"RestrictionType": "<string>",
"RestrictionListName": "<string>",
"IsVisible": True,
"ExtraInfo": "<string>",
"Width": "<string>",
"IconHint": "<string>",
"HeadingIconHint": "<string>"
},
"IsActive": True,
"SubRestrictions": "<array>",
"InterParenthesis": 123,
"UniqueHash": 123
}
]
}
],
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
}
],
"Filter": {
"RestrictionGroups": [
{
"Name": "<string>",
"Description": "<string>",
"Rank": 123,
"Restrictions": [
{
"Name": "<string>",
"Operator": "<string>",
"Values": ["<string>"],
"DisplayValues": ["<string>"],
"ColumnInfo": {
"DisplayName": "<string>",
"DisplayTooltip": "<string>",
"DisplayType": "<string>",
"CanOrderBy": True,
"Name": "<string>",
"CanRestrictBy": True,
"RestrictionType": "<string>",
"RestrictionListName": "<string>",
"IsVisible": True,
"ExtraInfo": "<string>",
"Width": "<string>",
"IconHint": "<string>",
"HeadingIconHint": "<string>"
},
"IsActive": True,
"SubRestrictions": "<array>",
"InterParenthesis": 123,
"UniqueHash": 123
}
]
}
],
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"BlockLists": [123],
"ContentInfo": [
{
"Id": 123,
"Actions": True,
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
}
],
"ExitFlowId": 123,
"ExitSuccessFlowId": 123,
"CreatedBy": {
"AssociateId": 123,
"Name": "<string>",
"PersonId": 123,
"Rank": 123,
"Tooltip": "<string>",
"GroupIdx": 123,
"FullName": "<string>",
"FormalName": "<string>",
"Deleted": True,
"EjUserId": 123,
"UserName": "<string>",
"ExtraFields": {},
"CustomFields": {},
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"UpdatedBy": {
"AssociateId": 123,
"Name": "<string>",
"PersonId": 123,
"Rank": 123,
"Tooltip": "<string>",
"GroupIdx": 123,
"FullName": "<string>",
"FormalName": "<string>",
"Deleted": True,
"EjUserId": 123,
"UserName": "<string>",
"ExtraFields": {},
"CustomFields": {},
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"CreatedDate": "2023-11-07T05:31:56Z",
"UpdatedDate": "2023-11-07T05:31:56Z",
"VisibleFor": [
{
"VisibleId": 123,
"DisplayValue": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
}
],
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"EmailFlowId": 123,
"Name": "<string>",
"Description": "<string>",
"Status": "None",
"JumpToFinish": true,
"StartOnlyOnce": true,
"OverrideConsentSubscription": true,
"FromType": "FromOnlySpecified",
"FromName": "<string>",
"FromAddr": "<string>",
"ReplyToType": "ReplyToOnlySpecified",
"ReplyToAddr": "<string>",
"ReplyToName": "<string>",
"SmsSender": "<string>",
"UseGoogleAnalytics": true,
"GaSource": "<string>",
"GaCampaign": "<string>",
"UseTimeframe": true,
"SelectedDays": "Unknown",
"TimeframeStart": "<string>",
"TimeframeEnd": "<string>",
"UseWorkflowStart": true,
"WorkflowStart": "<string>",
"UseEnrollmentEnd": true,
"EnrollmentEnd": "<string>",
"RemoveFromFlows": [
123
],
"TzLocation": {
"TZLocationID": 123,
"Name": "<string>",
"TZLocationCode": "<string>",
"TZLocationCities": "<string>",
"IsoNumber": 123,
"TimeZoneSTDRules": {},
"TimeZoneDSTRules": {}
},
"Folder": {
"HierarchyId": 123,
"Domain": "Unknown",
"Name": "<string>",
"Fullname": "<string>",
"ParentId": 123,
"Children": "<array>",
"Registered": "2023-11-07T05:31:56Z",
"RegisteredAssociateId": 123,
"Updated": "2023-11-07T05:31:56Z",
"UpdatedAssociateId": 123,
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"Associate": {
"AssociateId": 123,
"Name": "<string>",
"PersonId": 123,
"Rank": 123,
"Tooltip": "<string>",
"Type": "Unknown",
"GroupIdx": 123,
"FullName": "<string>",
"FormalName": "<string>",
"Deleted": true,
"EjUserId": 123,
"UserName": "<string>",
"ExtraFields": {},
"CustomFields": {},
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"ShipmentType": {
"Id": 123,
"Name": "<string>",
"ToolTip": "<string>",
"Deleted": true,
"Rank": 123,
"Type": "<string>",
"ChildItems": "<array>",
"IconHint": "<string>",
"ColorBlock": 123,
"ExtraInfo": "<string>",
"StyleHint": "<string>",
"FullName": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"Steps": [
{
"WorkflowStepId": 123,
"WorkflowId": 123,
"StepType": "None",
"Rank": 123
}
],
"Triggers": [
{
"WorkflowTriggerId": 123,
"WorkflowId": 123,
"TriggerType": "None",
"RestrictionGroups": [
{
"Name": "<string>",
"Description": "<string>",
"Rank": 123,
"Restrictions": [
{
"Name": "<string>",
"Operator": "<string>",
"Values": [
"<string>"
],
"DisplayValues": [
"<string>"
],
"ColumnInfo": {
"DisplayName": "<string>",
"DisplayTooltip": "<string>",
"DisplayType": "<string>",
"CanOrderBy": true,
"Name": "<string>",
"CanRestrictBy": true,
"RestrictionType": "<string>",
"RestrictionListName": "<string>",
"IsVisible": true,
"ExtraInfo": "<string>",
"Width": "<string>",
"IconHint": "<string>",
"HeadingIconHint": "<string>"
},
"IsActive": true,
"SubRestrictions": "<array>",
"InterParenthesis": 123,
"InterOperator": "None",
"UniqueHash": 123
}
]
}
],
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
}
],
"Goals": [
{
"WorkflowGoalId": 123,
"WorkflowId": 123,
"GoalType": "None",
"RestrictionGroups": [
{
"Name": "<string>",
"Description": "<string>",
"Rank": 123,
"Restrictions": [
{
"Name": "<string>",
"Operator": "<string>",
"Values": [
"<string>"
],
"DisplayValues": [
"<string>"
],
"ColumnInfo": {
"DisplayName": "<string>",
"DisplayTooltip": "<string>",
"DisplayType": "<string>",
"CanOrderBy": true,
"Name": "<string>",
"CanRestrictBy": true,
"RestrictionType": "<string>",
"RestrictionListName": "<string>",
"IsVisible": true,
"ExtraInfo": "<string>",
"Width": "<string>",
"IconHint": "<string>",
"HeadingIconHint": "<string>"
},
"IsActive": true,
"SubRestrictions": "<array>",
"InterParenthesis": 123,
"InterOperator": "None",
"UniqueHash": 123
}
]
}
],
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
}
],
"Filter": {
"RestrictionGroups": [
{
"Name": "<string>",
"Description": "<string>",
"Rank": 123,
"Restrictions": [
{
"Name": "<string>",
"Operator": "<string>",
"Values": [
"<string>"
],
"DisplayValues": [
"<string>"
],
"ColumnInfo": {
"DisplayName": "<string>",
"DisplayTooltip": "<string>",
"DisplayType": "<string>",
"CanOrderBy": true,
"Name": "<string>",
"CanRestrictBy": true,
"RestrictionType": "<string>",
"RestrictionListName": "<string>",
"IsVisible": true,
"ExtraInfo": "<string>",
"Width": "<string>",
"IconHint": "<string>",
"HeadingIconHint": "<string>"
},
"IsActive": true,
"SubRestrictions": "<array>",
"InterParenthesis": 123,
"InterOperator": "None",
"UniqueHash": 123
}
]
}
],
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"BlockLists": [
123
],
"ContentInfo": [
{
"WorkflowContentType": "None",
"Id": 123,
"Actions": true,
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
}
],
"ExitFlowId": 123,
"ExitSuccessFlowId": 123,
"CreatedBy": {
"AssociateId": 123,
"Name": "<string>",
"PersonId": 123,
"Rank": 123,
"Tooltip": "<string>",
"Type": "Unknown",
"GroupIdx": 123,
"FullName": "<string>",
"FormalName": "<string>",
"Deleted": true,
"EjUserId": 123,
"UserName": "<string>",
"ExtraFields": {},
"CustomFields": {},
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"UpdatedBy": {
"AssociateId": 123,
"Name": "<string>",
"PersonId": 123,
"Rank": 123,
"Tooltip": "<string>",
"Type": "Unknown",
"GroupIdx": 123,
"FullName": "<string>",
"FormalName": "<string>",
"Deleted": true,
"EjUserId": 123,
"UserName": "<string>",
"ExtraFields": {},
"CustomFields": {},
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"CreatedDate": "2023-11-07T05:31:56Z",
"UpdatedDate": "2023-11-07T05:31:56Z",
"VisibleFor": [
{
"VisibleId": 123,
"Visibility": "All",
"DisplayValue": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
}
],
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
}Updates the existing EmailFlow or creates a new EmailFlow if the id parameter
NsApiSlow threshold: 2000 ms.
using RestSharp;
var options = new RestClientOptions("http://localhost:54464/api/v1/Agents/Workflow/SaveEmailFlow");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddJsonBody("{\n \"EmailFlowId\": 123,\n \"Name\": \"<string>\",\n \"Description\": \"<string>\",\n \"JumpToFinish\": true,\n \"StartOnlyOnce\": true,\n \"OverrideConsentSubscription\": true,\n \"FromName\": \"<string>\",\n \"FromAddr\": \"<string>\",\n \"ReplyToAddr\": \"<string>\",\n \"ReplyToName\": \"<string>\",\n \"SmsSender\": \"<string>\",\n \"UseGoogleAnalytics\": true,\n \"GaSource\": \"<string>\",\n \"GaCampaign\": \"<string>\",\n \"UseTimeframe\": true,\n \"TimeframeStart\": \"<string>\",\n \"TimeframeEnd\": \"<string>\",\n \"UseWorkflowStart\": true,\n \"WorkflowStart\": \"<string>\",\n \"UseEnrollmentEnd\": true,\n \"EnrollmentEnd\": \"<string>\",\n \"RemoveFromFlows\": [\n 123\n ],\n \"TzLocation\": {\n \"TZLocationID\": 123,\n \"Name\": \"<string>\",\n \"TZLocationCode\": \"<string>\",\n \"TZLocationCities\": \"<string>\",\n \"IsoNumber\": 123,\n \"TimeZoneSTDRules\": {},\n \"TimeZoneDSTRules\": {}\n },\n \"Folder\": {\n \"HierarchyId\": 123,\n \"Name\": \"<string>\",\n \"Fullname\": \"<string>\",\n \"ParentId\": 123,\n \"Children\": \"<array>\",\n \"Registered\": \"2023-11-07T05:31:56Z\",\n \"RegisteredAssociateId\": 123,\n \"Updated\": \"2023-11-07T05:31:56Z\",\n \"UpdatedAssociateId\": 123,\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n },\n \"Associate\": {\n \"AssociateId\": 123,\n \"Name\": \"<string>\",\n \"PersonId\": 123,\n \"Rank\": 123,\n \"Tooltip\": \"<string>\",\n \"GroupIdx\": 123,\n \"FullName\": \"<string>\",\n \"FormalName\": \"<string>\",\n \"Deleted\": true,\n \"EjUserId\": 123,\n \"UserName\": \"<string>\",\n \"ExtraFields\": {},\n \"CustomFields\": {},\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n },\n \"ShipmentType\": {\n \"Id\": 123,\n \"Name\": \"<string>\",\n \"ToolTip\": \"<string>\",\n \"Deleted\": true,\n \"Rank\": 123,\n \"Type\": \"<string>\",\n \"ChildItems\": \"<array>\",\n \"IconHint\": \"<string>\",\n \"ColorBlock\": 123,\n \"ExtraInfo\": \"<string>\",\n \"StyleHint\": \"<string>\",\n \"FullName\": \"<string>\",\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n },\n \"Steps\": [\n {\n \"WorkflowStepId\": 123,\n \"WorkflowId\": 123,\n \"Rank\": 123\n }\n ],\n \"Triggers\": [\n {\n \"WorkflowTriggerId\": 123,\n \"WorkflowId\": 123,\n \"RestrictionGroups\": [\n {\n \"Name\": \"<string>\",\n \"Description\": \"<string>\",\n \"Rank\": 123,\n \"Restrictions\": [\n {\n \"Name\": \"<string>\",\n \"Operator\": \"<string>\",\n \"Values\": [\n \"<string>\"\n ],\n \"DisplayValues\": [\n \"<string>\"\n ],\n \"ColumnInfo\": {\n \"DisplayName\": \"<string>\",\n \"DisplayTooltip\": \"<string>\",\n \"DisplayType\": \"<string>\",\n \"CanOrderBy\": true,\n \"Name\": \"<string>\",\n \"CanRestrictBy\": true,\n \"RestrictionType\": \"<string>\",\n \"RestrictionListName\": \"<string>\",\n \"IsVisible\": true,\n \"ExtraInfo\": \"<string>\",\n \"Width\": \"<string>\",\n \"IconHint\": \"<string>\",\n \"HeadingIconHint\": \"<string>\"\n },\n \"IsActive\": true,\n \"SubRestrictions\": \"<array>\",\n \"InterParenthesis\": 123,\n \"UniqueHash\": 123\n }\n ]\n }\n ],\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n }\n ],\n \"Goals\": [\n {\n \"WorkflowGoalId\": 123,\n \"WorkflowId\": 123,\n \"RestrictionGroups\": [\n {\n \"Name\": \"<string>\",\n \"Description\": \"<string>\",\n \"Rank\": 123,\n \"Restrictions\": [\n {\n \"Name\": \"<string>\",\n \"Operator\": \"<string>\",\n \"Values\": [\n \"<string>\"\n ],\n \"DisplayValues\": [\n \"<string>\"\n ],\n \"ColumnInfo\": {\n \"DisplayName\": \"<string>\",\n \"DisplayTooltip\": \"<string>\",\n \"DisplayType\": \"<string>\",\n \"CanOrderBy\": true,\n \"Name\": \"<string>\",\n \"CanRestrictBy\": true,\n \"RestrictionType\": \"<string>\",\n \"RestrictionListName\": \"<string>\",\n \"IsVisible\": true,\n \"ExtraInfo\": \"<string>\",\n \"Width\": \"<string>\",\n \"IconHint\": \"<string>\",\n \"HeadingIconHint\": \"<string>\"\n },\n \"IsActive\": true,\n \"SubRestrictions\": \"<array>\",\n \"InterParenthesis\": 123,\n \"UniqueHash\": 123\n }\n ]\n }\n ],\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n }\n ],\n \"Filter\": {\n \"RestrictionGroups\": [\n {\n \"Name\": \"<string>\",\n \"Description\": \"<string>\",\n \"Rank\": 123,\n \"Restrictions\": [\n {\n \"Name\": \"<string>\",\n \"Operator\": \"<string>\",\n \"Values\": [\n \"<string>\"\n ],\n \"DisplayValues\": [\n \"<string>\"\n ],\n \"ColumnInfo\": {\n \"DisplayName\": \"<string>\",\n \"DisplayTooltip\": \"<string>\",\n \"DisplayType\": \"<string>\",\n \"CanOrderBy\": true,\n \"Name\": \"<string>\",\n \"CanRestrictBy\": true,\n \"RestrictionType\": \"<string>\",\n \"RestrictionListName\": \"<string>\",\n \"IsVisible\": true,\n \"ExtraInfo\": \"<string>\",\n \"Width\": \"<string>\",\n \"IconHint\": \"<string>\",\n \"HeadingIconHint\": \"<string>\"\n },\n \"IsActive\": true,\n \"SubRestrictions\": \"<array>\",\n \"InterParenthesis\": 123,\n \"UniqueHash\": 123\n }\n ]\n }\n ],\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n },\n \"BlockLists\": [\n 123\n ],\n \"ContentInfo\": [\n {\n \"Id\": 123,\n \"Actions\": true,\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n }\n ],\n \"ExitFlowId\": 123,\n \"ExitSuccessFlowId\": 123,\n \"CreatedBy\": {\n \"AssociateId\": 123,\n \"Name\": \"<string>\",\n \"PersonId\": 123,\n \"Rank\": 123,\n \"Tooltip\": \"<string>\",\n \"GroupIdx\": 123,\n \"FullName\": \"<string>\",\n \"FormalName\": \"<string>\",\n \"Deleted\": true,\n \"EjUserId\": 123,\n \"UserName\": \"<string>\",\n \"ExtraFields\": {},\n \"CustomFields\": {},\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n },\n \"UpdatedBy\": {\n \"AssociateId\": 123,\n \"Name\": \"<string>\",\n \"PersonId\": 123,\n \"Rank\": 123,\n \"Tooltip\": \"<string>\",\n \"GroupIdx\": 123,\n \"FullName\": \"<string>\",\n \"FormalName\": \"<string>\",\n \"Deleted\": true,\n \"EjUserId\": 123,\n \"UserName\": \"<string>\",\n \"ExtraFields\": {},\n \"CustomFields\": {},\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n },\n \"CreatedDate\": \"2023-11-07T05:31:56Z\",\n \"UpdatedDate\": \"2023-11-07T05:31:56Z\",\n \"VisibleFor\": [\n {\n \"VisibleId\": 123,\n \"DisplayValue\": \"<string>\",\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n }\n ],\n \"TableRight\": {\n \"Mask\": \"<string>\",\n \"Reason\": \"<string>\"\n },\n \"FieldProperties\": {}\n}", false);
var response = await client.PostAsync(request);
Console.WriteLine("{0}", response.Content);const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
EmailFlowId: 123,
Name: '<string>',
Description: '<string>',
JumpToFinish: true,
StartOnlyOnce: true,
OverrideConsentSubscription: true,
FromName: '<string>',
FromAddr: '<string>',
ReplyToAddr: '<string>',
ReplyToName: '<string>',
SmsSender: '<string>',
UseGoogleAnalytics: true,
GaSource: '<string>',
GaCampaign: '<string>',
UseTimeframe: true,
TimeframeStart: '<string>',
TimeframeEnd: '<string>',
UseWorkflowStart: true,
WorkflowStart: '<string>',
UseEnrollmentEnd: true,
EnrollmentEnd: '<string>',
RemoveFromFlows: [123],
TzLocation: {
TZLocationID: 123,
Name: '<string>',
TZLocationCode: '<string>',
TZLocationCities: '<string>',
IsoNumber: 123,
TimeZoneSTDRules: {},
TimeZoneDSTRules: {}
},
Folder: {
HierarchyId: 123,
Name: '<string>',
Fullname: '<string>',
ParentId: 123,
Children: '<array>',
Registered: '2023-11-07T05:31:56Z',
RegisteredAssociateId: 123,
Updated: '2023-11-07T05:31:56Z',
UpdatedAssociateId: 123,
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
Associate: {
AssociateId: 123,
Name: '<string>',
PersonId: 123,
Rank: 123,
Tooltip: '<string>',
GroupIdx: 123,
FullName: '<string>',
FormalName: '<string>',
Deleted: true,
EjUserId: 123,
UserName: '<string>',
ExtraFields: {},
CustomFields: {},
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
ShipmentType: {
Id: 123,
Name: '<string>',
ToolTip: '<string>',
Deleted: true,
Rank: 123,
Type: '<string>',
ChildItems: '<array>',
IconHint: '<string>',
ColorBlock: 123,
ExtraInfo: '<string>',
StyleHint: '<string>',
FullName: '<string>',
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
Steps: [{WorkflowStepId: 123, WorkflowId: 123, Rank: 123}],
Triggers: [
{
WorkflowTriggerId: 123,
WorkflowId: 123,
RestrictionGroups: [
{
Name: '<string>',
Description: '<string>',
Rank: 123,
Restrictions: [
{
Name: '<string>',
Operator: '<string>',
Values: ['<string>'],
DisplayValues: ['<string>'],
ColumnInfo: {
DisplayName: '<string>',
DisplayTooltip: '<string>',
DisplayType: '<string>',
CanOrderBy: true,
Name: '<string>',
CanRestrictBy: true,
RestrictionType: '<string>',
RestrictionListName: '<string>',
IsVisible: true,
ExtraInfo: '<string>',
Width: '<string>',
IconHint: '<string>',
HeadingIconHint: '<string>'
},
IsActive: true,
SubRestrictions: '<array>',
InterParenthesis: 123,
UniqueHash: 123
}
]
}
],
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
}
],
Goals: [
{
WorkflowGoalId: 123,
WorkflowId: 123,
RestrictionGroups: [
{
Name: '<string>',
Description: '<string>',
Rank: 123,
Restrictions: [
{
Name: '<string>',
Operator: '<string>',
Values: ['<string>'],
DisplayValues: ['<string>'],
ColumnInfo: {
DisplayName: '<string>',
DisplayTooltip: '<string>',
DisplayType: '<string>',
CanOrderBy: true,
Name: '<string>',
CanRestrictBy: true,
RestrictionType: '<string>',
RestrictionListName: '<string>',
IsVisible: true,
ExtraInfo: '<string>',
Width: '<string>',
IconHint: '<string>',
HeadingIconHint: '<string>'
},
IsActive: true,
SubRestrictions: '<array>',
InterParenthesis: 123,
UniqueHash: 123
}
]
}
],
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
}
],
Filter: {
RestrictionGroups: [
{
Name: '<string>',
Description: '<string>',
Rank: 123,
Restrictions: [
{
Name: '<string>',
Operator: '<string>',
Values: ['<string>'],
DisplayValues: ['<string>'],
ColumnInfo: {
DisplayName: '<string>',
DisplayTooltip: '<string>',
DisplayType: '<string>',
CanOrderBy: true,
Name: '<string>',
CanRestrictBy: true,
RestrictionType: '<string>',
RestrictionListName: '<string>',
IsVisible: true,
ExtraInfo: '<string>',
Width: '<string>',
IconHint: '<string>',
HeadingIconHint: '<string>'
},
IsActive: true,
SubRestrictions: '<array>',
InterParenthesis: 123,
UniqueHash: 123
}
]
}
],
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
BlockLists: [123],
ContentInfo: [
{
Id: 123,
Actions: true,
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
}
],
ExitFlowId: 123,
ExitSuccessFlowId: 123,
CreatedBy: {
AssociateId: 123,
Name: '<string>',
PersonId: 123,
Rank: 123,
Tooltip: '<string>',
GroupIdx: 123,
FullName: '<string>',
FormalName: '<string>',
Deleted: true,
EjUserId: 123,
UserName: '<string>',
ExtraFields: {},
CustomFields: {},
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
UpdatedBy: {
AssociateId: 123,
Name: '<string>',
PersonId: 123,
Rank: 123,
Tooltip: '<string>',
GroupIdx: 123,
FullName: '<string>',
FormalName: '<string>',
Deleted: true,
EjUserId: 123,
UserName: '<string>',
ExtraFields: {},
CustomFields: {},
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
},
CreatedDate: '2023-11-07T05:31:56Z',
UpdatedDate: '2023-11-07T05:31:56Z',
VisibleFor: [
{
VisibleId: 123,
DisplayValue: '<string>',
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
}
],
TableRight: {Mask: '<string>', Reason: '<string>'},
FieldProperties: {}
})
};
fetch('http://localhost:54464/api/v1/Agents/Workflow/SaveEmailFlow', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_PORT => "54464",
CURLOPT_URL => "http://localhost:54464/api/v1/Agents/Workflow/SaveEmailFlow",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'EmailFlowId' => 123,
'Name' => '<string>',
'Description' => '<string>',
'JumpToFinish' => true,
'StartOnlyOnce' => true,
'OverrideConsentSubscription' => true,
'FromName' => '<string>',
'FromAddr' => '<string>',
'ReplyToAddr' => '<string>',
'ReplyToName' => '<string>',
'SmsSender' => '<string>',
'UseGoogleAnalytics' => true,
'GaSource' => '<string>',
'GaCampaign' => '<string>',
'UseTimeframe' => true,
'TimeframeStart' => '<string>',
'TimeframeEnd' => '<string>',
'UseWorkflowStart' => true,
'WorkflowStart' => '<string>',
'UseEnrollmentEnd' => true,
'EnrollmentEnd' => '<string>',
'RemoveFromFlows' => [
123
],
'TzLocation' => [
'TZLocationID' => 123,
'Name' => '<string>',
'TZLocationCode' => '<string>',
'TZLocationCities' => '<string>',
'IsoNumber' => 123,
'TimeZoneSTDRules' => [
],
'TimeZoneDSTRules' => [
]
],
'Folder' => [
'HierarchyId' => 123,
'Name' => '<string>',
'Fullname' => '<string>',
'ParentId' => 123,
'Children' => '<array>',
'Registered' => '2023-11-07T05:31:56Z',
'RegisteredAssociateId' => 123,
'Updated' => '2023-11-07T05:31:56Z',
'UpdatedAssociateId' => 123,
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
],
'Associate' => [
'AssociateId' => 123,
'Name' => '<string>',
'PersonId' => 123,
'Rank' => 123,
'Tooltip' => '<string>',
'GroupIdx' => 123,
'FullName' => '<string>',
'FormalName' => '<string>',
'Deleted' => true,
'EjUserId' => 123,
'UserName' => '<string>',
'ExtraFields' => [
],
'CustomFields' => [
],
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
],
'ShipmentType' => [
'Id' => 123,
'Name' => '<string>',
'ToolTip' => '<string>',
'Deleted' => true,
'Rank' => 123,
'Type' => '<string>',
'ChildItems' => '<array>',
'IconHint' => '<string>',
'ColorBlock' => 123,
'ExtraInfo' => '<string>',
'StyleHint' => '<string>',
'FullName' => '<string>',
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
],
'Steps' => [
[
'WorkflowStepId' => 123,
'WorkflowId' => 123,
'Rank' => 123
]
],
'Triggers' => [
[
'WorkflowTriggerId' => 123,
'WorkflowId' => 123,
'RestrictionGroups' => [
[
'Name' => '<string>',
'Description' => '<string>',
'Rank' => 123,
'Restrictions' => [
[
'Name' => '<string>',
'Operator' => '<string>',
'Values' => [
'<string>'
],
'DisplayValues' => [
'<string>'
],
'ColumnInfo' => [
'DisplayName' => '<string>',
'DisplayTooltip' => '<string>',
'DisplayType' => '<string>',
'CanOrderBy' => true,
'Name' => '<string>',
'CanRestrictBy' => true,
'RestrictionType' => '<string>',
'RestrictionListName' => '<string>',
'IsVisible' => true,
'ExtraInfo' => '<string>',
'Width' => '<string>',
'IconHint' => '<string>',
'HeadingIconHint' => '<string>'
],
'IsActive' => true,
'SubRestrictions' => '<array>',
'InterParenthesis' => 123,
'UniqueHash' => 123
]
]
]
],
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
]
],
'Goals' => [
[
'WorkflowGoalId' => 123,
'WorkflowId' => 123,
'RestrictionGroups' => [
[
'Name' => '<string>',
'Description' => '<string>',
'Rank' => 123,
'Restrictions' => [
[
'Name' => '<string>',
'Operator' => '<string>',
'Values' => [
'<string>'
],
'DisplayValues' => [
'<string>'
],
'ColumnInfo' => [
'DisplayName' => '<string>',
'DisplayTooltip' => '<string>',
'DisplayType' => '<string>',
'CanOrderBy' => true,
'Name' => '<string>',
'CanRestrictBy' => true,
'RestrictionType' => '<string>',
'RestrictionListName' => '<string>',
'IsVisible' => true,
'ExtraInfo' => '<string>',
'Width' => '<string>',
'IconHint' => '<string>',
'HeadingIconHint' => '<string>'
],
'IsActive' => true,
'SubRestrictions' => '<array>',
'InterParenthesis' => 123,
'UniqueHash' => 123
]
]
]
],
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
]
],
'Filter' => [
'RestrictionGroups' => [
[
'Name' => '<string>',
'Description' => '<string>',
'Rank' => 123,
'Restrictions' => [
[
'Name' => '<string>',
'Operator' => '<string>',
'Values' => [
'<string>'
],
'DisplayValues' => [
'<string>'
],
'ColumnInfo' => [
'DisplayName' => '<string>',
'DisplayTooltip' => '<string>',
'DisplayType' => '<string>',
'CanOrderBy' => true,
'Name' => '<string>',
'CanRestrictBy' => true,
'RestrictionType' => '<string>',
'RestrictionListName' => '<string>',
'IsVisible' => true,
'ExtraInfo' => '<string>',
'Width' => '<string>',
'IconHint' => '<string>',
'HeadingIconHint' => '<string>'
],
'IsActive' => true,
'SubRestrictions' => '<array>',
'InterParenthesis' => 123,
'UniqueHash' => 123
]
]
]
],
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
],
'BlockLists' => [
123
],
'ContentInfo' => [
[
'Id' => 123,
'Actions' => true,
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
]
],
'ExitFlowId' => 123,
'ExitSuccessFlowId' => 123,
'CreatedBy' => [
'AssociateId' => 123,
'Name' => '<string>',
'PersonId' => 123,
'Rank' => 123,
'Tooltip' => '<string>',
'GroupIdx' => 123,
'FullName' => '<string>',
'FormalName' => '<string>',
'Deleted' => true,
'EjUserId' => 123,
'UserName' => '<string>',
'ExtraFields' => [
],
'CustomFields' => [
],
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
],
'UpdatedBy' => [
'AssociateId' => 123,
'Name' => '<string>',
'PersonId' => 123,
'Rank' => 123,
'Tooltip' => '<string>',
'GroupIdx' => 123,
'FullName' => '<string>',
'FormalName' => '<string>',
'Deleted' => true,
'EjUserId' => 123,
'UserName' => '<string>',
'ExtraFields' => [
],
'CustomFields' => [
],
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
],
'CreatedDate' => '2023-11-07T05:31:56Z',
'UpdatedDate' => '2023-11-07T05:31:56Z',
'VisibleFor' => [
[
'VisibleId' => 123,
'DisplayValue' => '<string>',
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
]
],
'TableRight' => [
'Mask' => '<string>',
'Reason' => '<string>'
],
'FieldProperties' => [
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}import requests
url = "http://localhost:54464/api/v1/Agents/Workflow/SaveEmailFlow"
payload = {
"EmailFlowId": 123,
"Name": "<string>",
"Description": "<string>",
"JumpToFinish": True,
"StartOnlyOnce": True,
"OverrideConsentSubscription": True,
"FromName": "<string>",
"FromAddr": "<string>",
"ReplyToAddr": "<string>",
"ReplyToName": "<string>",
"SmsSender": "<string>",
"UseGoogleAnalytics": True,
"GaSource": "<string>",
"GaCampaign": "<string>",
"UseTimeframe": True,
"TimeframeStart": "<string>",
"TimeframeEnd": "<string>",
"UseWorkflowStart": True,
"WorkflowStart": "<string>",
"UseEnrollmentEnd": True,
"EnrollmentEnd": "<string>",
"RemoveFromFlows": [123],
"TzLocation": {
"TZLocationID": 123,
"Name": "<string>",
"TZLocationCode": "<string>",
"TZLocationCities": "<string>",
"IsoNumber": 123,
"TimeZoneSTDRules": {},
"TimeZoneDSTRules": {}
},
"Folder": {
"HierarchyId": 123,
"Name": "<string>",
"Fullname": "<string>",
"ParentId": 123,
"Children": "<array>",
"Registered": "2023-11-07T05:31:56Z",
"RegisteredAssociateId": 123,
"Updated": "2023-11-07T05:31:56Z",
"UpdatedAssociateId": 123,
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"Associate": {
"AssociateId": 123,
"Name": "<string>",
"PersonId": 123,
"Rank": 123,
"Tooltip": "<string>",
"GroupIdx": 123,
"FullName": "<string>",
"FormalName": "<string>",
"Deleted": True,
"EjUserId": 123,
"UserName": "<string>",
"ExtraFields": {},
"CustomFields": {},
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"ShipmentType": {
"Id": 123,
"Name": "<string>",
"ToolTip": "<string>",
"Deleted": True,
"Rank": 123,
"Type": "<string>",
"ChildItems": "<array>",
"IconHint": "<string>",
"ColorBlock": 123,
"ExtraInfo": "<string>",
"StyleHint": "<string>",
"FullName": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"Steps": [
{
"WorkflowStepId": 123,
"WorkflowId": 123,
"Rank": 123
}
],
"Triggers": [
{
"WorkflowTriggerId": 123,
"WorkflowId": 123,
"RestrictionGroups": [
{
"Name": "<string>",
"Description": "<string>",
"Rank": 123,
"Restrictions": [
{
"Name": "<string>",
"Operator": "<string>",
"Values": ["<string>"],
"DisplayValues": ["<string>"],
"ColumnInfo": {
"DisplayName": "<string>",
"DisplayTooltip": "<string>",
"DisplayType": "<string>",
"CanOrderBy": True,
"Name": "<string>",
"CanRestrictBy": True,
"RestrictionType": "<string>",
"RestrictionListName": "<string>",
"IsVisible": True,
"ExtraInfo": "<string>",
"Width": "<string>",
"IconHint": "<string>",
"HeadingIconHint": "<string>"
},
"IsActive": True,
"SubRestrictions": "<array>",
"InterParenthesis": 123,
"UniqueHash": 123
}
]
}
],
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
}
],
"Goals": [
{
"WorkflowGoalId": 123,
"WorkflowId": 123,
"RestrictionGroups": [
{
"Name": "<string>",
"Description": "<string>",
"Rank": 123,
"Restrictions": [
{
"Name": "<string>",
"Operator": "<string>",
"Values": ["<string>"],
"DisplayValues": ["<string>"],
"ColumnInfo": {
"DisplayName": "<string>",
"DisplayTooltip": "<string>",
"DisplayType": "<string>",
"CanOrderBy": True,
"Name": "<string>",
"CanRestrictBy": True,
"RestrictionType": "<string>",
"RestrictionListName": "<string>",
"IsVisible": True,
"ExtraInfo": "<string>",
"Width": "<string>",
"IconHint": "<string>",
"HeadingIconHint": "<string>"
},
"IsActive": True,
"SubRestrictions": "<array>",
"InterParenthesis": 123,
"UniqueHash": 123
}
]
}
],
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
}
],
"Filter": {
"RestrictionGroups": [
{
"Name": "<string>",
"Description": "<string>",
"Rank": 123,
"Restrictions": [
{
"Name": "<string>",
"Operator": "<string>",
"Values": ["<string>"],
"DisplayValues": ["<string>"],
"ColumnInfo": {
"DisplayName": "<string>",
"DisplayTooltip": "<string>",
"DisplayType": "<string>",
"CanOrderBy": True,
"Name": "<string>",
"CanRestrictBy": True,
"RestrictionType": "<string>",
"RestrictionListName": "<string>",
"IsVisible": True,
"ExtraInfo": "<string>",
"Width": "<string>",
"IconHint": "<string>",
"HeadingIconHint": "<string>"
},
"IsActive": True,
"SubRestrictions": "<array>",
"InterParenthesis": 123,
"UniqueHash": 123
}
]
}
],
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"BlockLists": [123],
"ContentInfo": [
{
"Id": 123,
"Actions": True,
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
}
],
"ExitFlowId": 123,
"ExitSuccessFlowId": 123,
"CreatedBy": {
"AssociateId": 123,
"Name": "<string>",
"PersonId": 123,
"Rank": 123,
"Tooltip": "<string>",
"GroupIdx": 123,
"FullName": "<string>",
"FormalName": "<string>",
"Deleted": True,
"EjUserId": 123,
"UserName": "<string>",
"ExtraFields": {},
"CustomFields": {},
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"UpdatedBy": {
"AssociateId": 123,
"Name": "<string>",
"PersonId": 123,
"Rank": 123,
"Tooltip": "<string>",
"GroupIdx": 123,
"FullName": "<string>",
"FormalName": "<string>",
"Deleted": True,
"EjUserId": 123,
"UserName": "<string>",
"ExtraFields": {},
"CustomFields": {},
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"CreatedDate": "2023-11-07T05:31:56Z",
"UpdatedDate": "2023-11-07T05:31:56Z",
"VisibleFor": [
{
"VisibleId": 123,
"DisplayValue": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
}
],
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"EmailFlowId": 123,
"Name": "<string>",
"Description": "<string>",
"Status": "None",
"JumpToFinish": true,
"StartOnlyOnce": true,
"OverrideConsentSubscription": true,
"FromType": "FromOnlySpecified",
"FromName": "<string>",
"FromAddr": "<string>",
"ReplyToType": "ReplyToOnlySpecified",
"ReplyToAddr": "<string>",
"ReplyToName": "<string>",
"SmsSender": "<string>",
"UseGoogleAnalytics": true,
"GaSource": "<string>",
"GaCampaign": "<string>",
"UseTimeframe": true,
"SelectedDays": "Unknown",
"TimeframeStart": "<string>",
"TimeframeEnd": "<string>",
"UseWorkflowStart": true,
"WorkflowStart": "<string>",
"UseEnrollmentEnd": true,
"EnrollmentEnd": "<string>",
"RemoveFromFlows": [
123
],
"TzLocation": {
"TZLocationID": 123,
"Name": "<string>",
"TZLocationCode": "<string>",
"TZLocationCities": "<string>",
"IsoNumber": 123,
"TimeZoneSTDRules": {},
"TimeZoneDSTRules": {}
},
"Folder": {
"HierarchyId": 123,
"Domain": "Unknown",
"Name": "<string>",
"Fullname": "<string>",
"ParentId": 123,
"Children": "<array>",
"Registered": "2023-11-07T05:31:56Z",
"RegisteredAssociateId": 123,
"Updated": "2023-11-07T05:31:56Z",
"UpdatedAssociateId": 123,
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"Associate": {
"AssociateId": 123,
"Name": "<string>",
"PersonId": 123,
"Rank": 123,
"Tooltip": "<string>",
"Type": "Unknown",
"GroupIdx": 123,
"FullName": "<string>",
"FormalName": "<string>",
"Deleted": true,
"EjUserId": 123,
"UserName": "<string>",
"ExtraFields": {},
"CustomFields": {},
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"ShipmentType": {
"Id": 123,
"Name": "<string>",
"ToolTip": "<string>",
"Deleted": true,
"Rank": 123,
"Type": "<string>",
"ChildItems": "<array>",
"IconHint": "<string>",
"ColorBlock": 123,
"ExtraInfo": "<string>",
"StyleHint": "<string>",
"FullName": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"Steps": [
{
"WorkflowStepId": 123,
"WorkflowId": 123,
"StepType": "None",
"Rank": 123
}
],
"Triggers": [
{
"WorkflowTriggerId": 123,
"WorkflowId": 123,
"TriggerType": "None",
"RestrictionGroups": [
{
"Name": "<string>",
"Description": "<string>",
"Rank": 123,
"Restrictions": [
{
"Name": "<string>",
"Operator": "<string>",
"Values": [
"<string>"
],
"DisplayValues": [
"<string>"
],
"ColumnInfo": {
"DisplayName": "<string>",
"DisplayTooltip": "<string>",
"DisplayType": "<string>",
"CanOrderBy": true,
"Name": "<string>",
"CanRestrictBy": true,
"RestrictionType": "<string>",
"RestrictionListName": "<string>",
"IsVisible": true,
"ExtraInfo": "<string>",
"Width": "<string>",
"IconHint": "<string>",
"HeadingIconHint": "<string>"
},
"IsActive": true,
"SubRestrictions": "<array>",
"InterParenthesis": 123,
"InterOperator": "None",
"UniqueHash": 123
}
]
}
],
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
}
],
"Goals": [
{
"WorkflowGoalId": 123,
"WorkflowId": 123,
"GoalType": "None",
"RestrictionGroups": [
{
"Name": "<string>",
"Description": "<string>",
"Rank": 123,
"Restrictions": [
{
"Name": "<string>",
"Operator": "<string>",
"Values": [
"<string>"
],
"DisplayValues": [
"<string>"
],
"ColumnInfo": {
"DisplayName": "<string>",
"DisplayTooltip": "<string>",
"DisplayType": "<string>",
"CanOrderBy": true,
"Name": "<string>",
"CanRestrictBy": true,
"RestrictionType": "<string>",
"RestrictionListName": "<string>",
"IsVisible": true,
"ExtraInfo": "<string>",
"Width": "<string>",
"IconHint": "<string>",
"HeadingIconHint": "<string>"
},
"IsActive": true,
"SubRestrictions": "<array>",
"InterParenthesis": 123,
"InterOperator": "None",
"UniqueHash": 123
}
]
}
],
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
}
],
"Filter": {
"RestrictionGroups": [
{
"Name": "<string>",
"Description": "<string>",
"Rank": 123,
"Restrictions": [
{
"Name": "<string>",
"Operator": "<string>",
"Values": [
"<string>"
],
"DisplayValues": [
"<string>"
],
"ColumnInfo": {
"DisplayName": "<string>",
"DisplayTooltip": "<string>",
"DisplayType": "<string>",
"CanOrderBy": true,
"Name": "<string>",
"CanRestrictBy": true,
"RestrictionType": "<string>",
"RestrictionListName": "<string>",
"IsVisible": true,
"ExtraInfo": "<string>",
"Width": "<string>",
"IconHint": "<string>",
"HeadingIconHint": "<string>"
},
"IsActive": true,
"SubRestrictions": "<array>",
"InterParenthesis": 123,
"InterOperator": "None",
"UniqueHash": 123
}
]
}
],
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"BlockLists": [
123
],
"ContentInfo": [
{
"WorkflowContentType": "None",
"Id": 123,
"Actions": true,
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
}
],
"ExitFlowId": 123,
"ExitSuccessFlowId": 123,
"CreatedBy": {
"AssociateId": 123,
"Name": "<string>",
"PersonId": 123,
"Rank": 123,
"Tooltip": "<string>",
"Type": "Unknown",
"GroupIdx": 123,
"FullName": "<string>",
"FormalName": "<string>",
"Deleted": true,
"EjUserId": 123,
"UserName": "<string>",
"ExtraFields": {},
"CustomFields": {},
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"UpdatedBy": {
"AssociateId": 123,
"Name": "<string>",
"PersonId": 123,
"Rank": 123,
"Tooltip": "<string>",
"Type": "Unknown",
"GroupIdx": 123,
"FullName": "<string>",
"FormalName": "<string>",
"Deleted": true,
"EjUserId": 123,
"UserName": "<string>",
"ExtraFields": {},
"CustomFields": {},
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
},
"CreatedDate": "2023-11-07T05:31:56Z",
"UpdatedDate": "2023-11-07T05:31:56Z",
"VisibleFor": [
{
"VisibleId": 123,
"Visibility": "All",
"DisplayValue": "<string>",
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
}
],
"TableRight": {
"Mask": "<string>",
"Reason": "<string>"
},
"FieldProperties": {}
}Headers
Convert string references and multi-language values into a specified language (iso2) code.
Convert string references and multi-language values into a specified language (iso2) code. Overrides Accept-Language value.
Number, date formatting in a specified culture (iso2 language) code. Partially overrides SO-Language/Accept-Language value. Ignored if no Language set.
Specify the timezone code that you would like date/time responses converted to.
The application token that identifies the partner app. Used when calling Online WebAPI from a server.
Body
The EmailFlow that is saved
Email flow carrier Carrier object for EmailFlow. Services for the EmailFlow Carrier is available from the Workflow Agent.
Primary key
Name of the workflow
Description of the workflow
Status of the workflow definition
None, Stopped, Paused, Running When a goal is reached, contact jumps directly to finished
A contact can start this flow only once
Override consent and subscription
Email/Mailing From field address algorithm
FromOnlySpecified, FromSalesContact, FromSupportContact Email From name
Email From address: name@domain.com
Email/Mailing Reply-To field address algorithm
ReplyToOnlySpecified, ReplyToSalesContact, ReplyToSupportContact, ReplyToEmpty Reply to address, if different from From-address
Email Reply-To name
SMS sender (number or name)
Use Google Analytics
GA Source
GA Campaign
Use sender timeframe settings, only send email/sms within the timeframe
Selected days (flags, so several days can be selected) for time frame
Unknown, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday Start of email/sms sending timeframe in [DT: ] format, interpreted in workflow time zone
End of email/sms sending timeframe in [DT: ] format, interpreted in workflow time zone
Start the flow running with enrolled participants at the given time
When to start running the workflow. Until start, any enrolled members are not running through the flow, just waiting. In [DT: ] format, interpreted in workflow time zone
End enrollment into the workflow at the given time
Do not enroll more participant after given time. In [DT: ] format, interpreted in workflow time zone
Workflows to remove the participants from when they are enrolled in this workflow
Show child attributes
Show child attributes
Folder structures Carrier object for HierarchyEntity. Services for the HierarchyEntity Carrier is available from the List Agent.
Show child attributes
Show child attributes
Carrier object for Associate. Services for the Associate Carrier is available from the Associate Agent.
Show child attributes
Show child attributes
Carrier object for MDOListItem. Services for the MDOListItem Carrier is available from the MDO Agent.
Show child attributes
Show child attributes
The steps in the workflow, mainline steps - forking steps are indicated by its WorkflowStepType.
Show child attributes
Show child attributes
The triggers for the workflow.
Show child attributes
Show child attributes
The goals for the workflow.
Show child attributes
Show child attributes
Workflow filter carrier Carrier object for WorkflowFilter. Services for the WorkflowFilter Carrier is available from the Workflow Agent.
Show child attributes
Show child attributes
Persons in the given selections are not allowed to enter this workflow
Info about workflow content like messages, links and forms (read-only)
Show child attributes
Show child attributes
On exit with no success criteria met, we attempt to add the participant to the given flow
On exit with success criteria met, we attempt to add the participant to the given flow
Carrier object for Associate. Services for the Associate Carrier is available from the Associate Agent.
Show child attributes
Show child attributes
Carrier object for Associate. Services for the Associate Carrier is available from the Associate Agent.
Show child attributes
Show child attributes
Registered date in UTC.
Updated date in UTC.
The set of users or groups the record is visible for
Show child attributes
Show child attributes
Wraps a table right together with an explanatory reason. Code can indicate why access is restricted.
Show child attributes
Show child attributes
Field property dictionary mapping field names to field access rights.
Show child attributes
Show child attributes
Response
OK
Email flow carrier Carrier object for EmailFlow. Services for the EmailFlow Carrier is available from the Workflow Agent.
Primary key
Name of the workflow
Description of the workflow
Status of the workflow definition
None, Stopped, Paused, Running When a goal is reached, contact jumps directly to finished
A contact can start this flow only once
Override consent and subscription
Email/Mailing From field address algorithm
FromOnlySpecified, FromSalesContact, FromSupportContact Email From name
Email From address: name@domain.com
Email/Mailing Reply-To field address algorithm
ReplyToOnlySpecified, ReplyToSalesContact, ReplyToSupportContact, ReplyToEmpty Reply to address, if different from From-address
Email Reply-To name
SMS sender (number or name)
Use Google Analytics
GA Source
GA Campaign
Use sender timeframe settings, only send email/sms within the timeframe
Selected days (flags, so several days can be selected) for time frame
Unknown, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday Start of email/sms sending timeframe in [DT: ] format, interpreted in workflow time zone
End of email/sms sending timeframe in [DT: ] format, interpreted in workflow time zone
Start the flow running with enrolled participants at the given time
When to start running the workflow. Until start, any enrolled members are not running through the flow, just waiting. In [DT: ] format, interpreted in workflow time zone
End enrollment into the workflow at the given time
Do not enroll more participant after given time. In [DT: ] format, interpreted in workflow time zone
Workflows to remove the participants from when they are enrolled in this workflow
Show child attributes
Show child attributes
Folder structures Carrier object for HierarchyEntity. Services for the HierarchyEntity Carrier is available from the List Agent.
Show child attributes
Show child attributes
Carrier object for Associate. Services for the Associate Carrier is available from the Associate Agent.
Show child attributes
Show child attributes
Carrier object for MDOListItem. Services for the MDOListItem Carrier is available from the MDO Agent.
Show child attributes
Show child attributes
The steps in the workflow, mainline steps - forking steps are indicated by its WorkflowStepType.
Show child attributes
Show child attributes
The triggers for the workflow.
Show child attributes
Show child attributes
The goals for the workflow.
Show child attributes
Show child attributes
Workflow filter carrier Carrier object for WorkflowFilter. Services for the WorkflowFilter Carrier is available from the Workflow Agent.
Show child attributes
Show child attributes
Persons in the given selections are not allowed to enter this workflow
Info about workflow content like messages, links and forms (read-only)
Show child attributes
Show child attributes
On exit with no success criteria met, we attempt to add the participant to the given flow
On exit with success criteria met, we attempt to add the participant to the given flow
Carrier object for Associate. Services for the Associate Carrier is available from the Associate Agent.
Show child attributes
Show child attributes
Carrier object for Associate. Services for the Associate Carrier is available from the Associate Agent.
Show child attributes
Show child attributes
Registered date in UTC.
Updated date in UTC.
The set of users or groups the record is visible for
Show child attributes
Show child attributes
Wraps a table right together with an explanatory reason. Code can indicate why access is restricted.
Show child attributes
Show child attributes
Field property dictionary mapping field names to field access rights.
Show child attributes
Show child attributes
Was this page helpful?