digitaluapi

<back to all web services

GetCampaignActionClientForm

The following routes are available for this service:
GET/campaign/inbox/formmeta
GetCampaignActionClientForm Parameters:
NameParameterData TypeRequiredDescription
CommsGuidqueryGuidNo
CampaignActionsRequestsIdquerylongNo
InboxActionResponse Parameters:
NameParameterData TypeRequiredDescription
campaignActionformCampaignActionsNo
ResponseStatusformResponseStatusNo
CampaignActions Parameters:
NameParameterData TypeRequiredDescription
IdformlongYes
CampaignsIdformlongYes
ActionsIdformlong?No
ButtonNameformstringNo
ActionTypesIdformint?No
DescriptionformstringNo
OfferOrderformshort?No
StandOutformbool?No
PublicAccessGuidformGuidYes
FormMetaformList<FormField>No
FilesformList<CampaignActionFile>No
SentToEmailAddressformstringNo
CcEmailAddressformstringNo
FormField Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
ControlTypeformstringNo
LabelformstringNo
PlaceholderformstringNo
HelpformstringNo
NameformstringNo
SortOrderformintNo
OptionsformList<FormFieldOption>No
ValidationformList<string>No
FormFieldOption Parameters:
NameParameterData TypeRequiredDescription
ValueformstringNo
LabelformstringNo
CampaignActionFile Parameters:
NameParameterData TypeRequiredDescription
NameformstringNo
FileTypeformstringNo
FileSizeformstringNo
ExtensionformstringNo
UploadUrlformstringNo

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.

GET /campaign/inbox/formmeta HTTP/1.1 
Host: duengageapi.uat.scadsoftware.com 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	campaignAction: 
	{
		Id: 0,
		CampaignsId: 0,
		ActionsId: 0,
		ButtonName: String,
		ActionTypesId: 0,
		Description: String,
		OfferOrder: 0,
		StandOut: False,
		PublicAccessGuid: 00000000000000000000000000000000,
		FormMeta: 
		[
			{
				Id: 0,
				ControlType: String,
				Label: String,
				Placeholder: String,
				Help: String,
				Name: String,
				SortOrder: 0,
				Options: 
				[
					{
						Value: String,
						Label: String
					}
				],
				Validation: 
				[
					String
				]
			}
		],
		Files: 
		[
			{
				Name: String,
				FileType: String,
				FileSize: String,
				Extension: String,
				UploadUrl: String
			}
		],
		SentToEmailAddress: String,
		CcEmailAddress: String
	},
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	}
}