v1

latestOpenAPI 3.1.02026-08-061,5107704.5 MB
Email Sequence

EmailSequenceActivityLogLines.update

Modifies EmailSequenceActivityLogLine or EmailSequenceActivityLogLines with given id(s)

patch/entities/EmailSequenceActivityLogLines/{id}

Path parameters

idstring uuid required

ID of EmailSequenceActivityLogLine to update

Query parameters

validation-levelinteger

Specify validation level of EmailSequenceActivityLogLine on update. Use them as bit mask: 0 - validate each field on entity, 2 - validate only changed fields, 4 - validate only system fields, 8 - allows to override readonly fields, 16 - allows to set entity on deleted relationship.

Request body

email_sequence_activity_log_idstring uuid

Id of the activity log.

is_visibleboolean

True when the line is shown in the activity log UI; false for internal-only lines.

sort_orderinteger

Position of the line within its log run.

status1 | 2 | 3 | 4 | 5

Outcome of the step the line represents (e.g. Ok, Error, Skipped).

Integer enum value: 1 - Ok, 2 - Warning, 3 - Error, 4 - Scheduled, 5 - Expired

Example request

{
  "email_sequence_activity_log_id": "01234567-abcd-dcba-ffff-000000000000",
  "sort_order": 1,
  "status": 1
}

Response

Modification confirmation. Returns resulting EmailSequenceActivityLogLine

successboolean

True when response succeeded, false on error.

Example response

{
  "success": true,
  "data": {
    "formatted_text": "string",
    "id": "01234567-abcd-dcba-ffff-000000000000",
    "modified": "2019-01-01T00:00:00",
    "created": "2019-01-01T00:00:00",
    "email_sequence_activity_log_id": "01234567-abcd-dcba-ffff-000000000000",
    "sort_order": 1,
    "status": 1
  }
}