POST api/automation/updateAutomationStatus/{emailId}

Set the automation status of an email.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
emailId

The Id of the dbo.Message record for the email.

integer

Required

Body Parameters

Information about the status to set.

AutomationStatusParam
NameDescriptionTypeAdditional information
automationStatus

The name of the automation status. Valid values are "Pending", "Complete" "Cannot Automate", and "Duplicate".

string

Optional

note

Note added to message along w/ automation status If blank, no note is added

string

Optional

Request Formats

application/json, text/json

Sample:
{
  "automationStatus": "sample string 1",
  "note": "sample string 2"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

application/xml, text/xml

Sample:
<AutomationStatusParam xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <automationStatus>sample string 1</automationStatus>
  <note>sample string 2</note>
</AutomationStatusParam>

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string>sample string 1</string>