Create a campaign field.
post
/api/rest/2.0/assets/campaign/field
Creates a campaign field that matches the criteria specified by the request body.
Request
Supported Media Types
- application/json
The request body defines the details of the campaign field to be created.
Root Schema : CampaignField
Type:
object
Title:
Show Source
CampaignField
-
createdAt:
string
Read Only:
true
CampaignField_Field_CreatedAt_Description -
createdBy:
string
Read Only:
true
CampaignField_Field_CreatedBy_Description -
currentStatus:
string
CampaignField_Field_Status_Description
-
dataType:
string
The campaign field's data type. The options are: date, numeric, and text.
-
depth:
string
Read Only:
true
CampaignField_Field_InternalDepth_Description -
description:
string
CampaignField_Field_Description_Description
-
displayIndex:
string
The campaign field's display index.
-
displayType:
string
The campaign field's display type. The options are: multiSelect, singleSelect, and text.
-
folderId:
string
Read Only:
true
CampaignField_Field_FolderId_Description -
id:
string
Read Only:
true
CampaignField_Field_InternalId_Description -
isReadOnly:
string
Whether or not the campaign field is read only.
-
isRequired:
string
Whether or not the campaign field is required.
-
isSystem:
string
Whether or not the campaign field is a system field.
-
name:
string
CampaignField_Field_Name_Description
-
optionListId:
string
The id of the associated option list.
-
permissions:
array permissions
CampaignField_Field_Permissions_Description
-
scheduledFor:
string
Read Only:
true
CampaignField_Field_ScheduledFor_Description -
sourceTemplateId:
string
CampaignField_Field_SourceTemplateId_Description
-
type:
string
CampaignField_Field_Type_Description
-
updatedAt:
string
Read Only:
true
CampaignField_Field_UpdatedAt_Description -
updatedBy:
string
Read Only:
true
CampaignField_Field_UpdatedBy_Description
Response
Supported Media Types
- application/json
201 Response
Success
Root Schema : CampaignField
Type:
object
Title:
Show Source
CampaignField
-
createdAt:
string
Read Only:
true
CampaignField_Field_CreatedAt_Description -
createdBy:
string
Read Only:
true
CampaignField_Field_CreatedBy_Description -
currentStatus:
string
CampaignField_Field_Status_Description
-
dataType:
string
The campaign field's data type. The options are: date, numeric, and text.
-
depth:
string
Read Only:
true
CampaignField_Field_InternalDepth_Description -
description:
string
CampaignField_Field_Description_Description
-
displayIndex:
string
The campaign field's display index.
-
displayType:
string
The campaign field's display type. The options are: multiSelect, singleSelect, and text.
-
folderId:
string
Read Only:
true
CampaignField_Field_FolderId_Description -
id:
string
Read Only:
true
CampaignField_Field_InternalId_Description -
isReadOnly:
string
Whether or not the campaign field is read only.
-
isRequired:
string
Whether or not the campaign field is required.
-
isSystem:
string
Whether or not the campaign field is a system field.
-
name:
string
CampaignField_Field_Name_Description
-
optionListId:
string
The id of the associated option list.
-
permissions:
array permissions
CampaignField_Field_Permissions_Description
-
scheduledFor:
string
Read Only:
true
CampaignField_Field_ScheduledFor_Description -
sourceTemplateId:
string
CampaignField_Field_SourceTemplateId_Description
-
type:
string
CampaignField_Field_Type_Description
-
updatedAt:
string
Read Only:
true
CampaignField_Field_UpdatedAt_Description -
updatedBy:
string
Read Only:
true
CampaignField_Field_UpdatedBy_Description
400 Response
Bad request. See Status Codes for information about other possible HTTP status codes.
401 Response
Unauthorized. See Status Codes for information about other possible HTTP status codes.
403 Response
Forbidden. See Status Codes for information about other possible HTTP status codes.
404 Response
The requested resource was not found. See Status Codes for information about other possible HTTP status codes.
500 Response
The service has encountered an error. See Status Codes for information about other possible HTTP status codes.