ProgramRequestUpdateV1

Occurs when a request is updated.

📘

Early Access

This service is subject to change with limited or no warning. Please work closely with your CSM and our Services team if you are interested in using this webhook.

Webhook Payload

The webhook event is encapsulated within a common wrapper structure providing general information about the event.

PropertyTypeDescription
idstringUnique event id
versionstringEvent version
occurredAtstringTimestamp of the event
tenantIdstringTenant unique id (GUID)
tenantNamestringTenant name
applicationstringApplication
productAreastringProduct area
dataobjectThe container of the event details data object details

data object details

PropertyTypeDescription
tenantIdstringThe unique identifier of the tenant
tenantNamestringTenant name
requestIdstringThe unique id of the request
eventTimestampintegerThe timestamp of the event
actorIdstringThe unique id of the actor
spaceIdstringThe unique id of the space
titlestringThe title of the request
descriptionstringTask description
assigneeId['string', 'null']The unique id of the request assignee
assignerId['string', 'null']The unique id of the request assigner
creatorIdstringThe unique id of the request creator
plannedStartDateintegerThe planned start date of the request
plannedEndDateintegerThe planned end date of the request
plannedDurationintegerThe planned duration in days of the request
createdAtintegerThe timestamp of the creation of the request
updatedAtintegerThe timestamp of the last update of the request
statusstringThe status of the request
priority['string', 'null']Request priority
programId['string', 'null']Program id of the program the request is associated with
note['string', 'null']Note for notifications on status changes
formRefobjectThe reference to the form formRef object details
followersarray of objectsThe list of followers followers array object details
customPropertiesarray of objectsThe list of custom properties customProperties array object details
attachedContentarray of objectsThe list of attached content attachedContent array object details
updateDiffsarray of objectsThe list of update diffs updateDiffs array object details

formRef object details

PropertyTypeDescription
formIdstringThe unique id of the request form
minorVersionintegerThe number of minor version of the request form
majorVersionintegerThe number of major version of the request form

followers array object details

PropertyTypeDescription
userIdstringThe unique id of the user

customProperties array object details

PropertyTypeDescription
idstringThe unique identifier of the custom property
multipleValuebooleanIndicate if the custom property allows multiple values
namestringThe name of the custom property
customPropertiesarray of objectsList of custom property values customProperties array object details

customProperties array object details

PropertyTypeDescription
idstringThe unique identifier of the custom property value
value['string', 'null']Value data for custom property value
typestringThe type of the custom property value

attachedContent array object details

PropertyTypeDescription
spaceId['string', 'null']The unique id of the space
contentIdstringThe unique id of the content

updateDiffs array object details

PropertyTypeDescription
fieldName['string', 'null']The name of the field
before['string', 'null']The field value before the update
after['string', 'null']The field value after the update

Example

{
  "id": "21E4431256830E0A44C739FFBF930D26DED9D9539AB1C179F2D904D17E1662E4",
  "version": "ProgramRequestUpdateV1",
  "occurredAt": "2024-03-31T10:35:47.18Z",
  "tenantId": "234b9f0d-853d-4210-b5d2-b0574e003fcc",
  "tenantName": "demo",
  "data": {
    "tenantId": "234b9f0d-853d-4210-b5d2-b0574e003fcc",
    "tenantName": "demo",
    "requestId": "GeDorid95kCn8hqoOaJCLw",
    "eventTimestamp": 638474781471800000,
    "actorId": "b26fa7a6-5060-7ce1-8cf2-9fc6a414dfdf",
    "spaceId": "7v08TiMbm0y6uxsQHldhUQ",
    "title": "demo request",
    "description": "<div>This is a demo request<br></div>",
    "assigneeId": "24a57a3b-a9b9-10a7-9b7a-662d88f5efdc",
    "assignerId": "24a57a3b-a9b9-10a7-9b7a-662d88f5efdc",
    "creatorId": "b26fa7a6-5060-7ce1-8cf2-9fc6a414dfdf",
    "plannedStartDate": 638457786000000000,
    "plannedEndDate": 638465562000000000,
    "plannedDuration": 10,
    "createdAt": 638474780576160000,
    "updatedAt": 638474781471800000,
    "status": "pending",
    "priority": null,
    "programId": "SDSlTN4LhUCdUB2ezuvwTQ",
    "note": null,
    "formRef": {
      "formId": "W3s3PhZGIkqJnRxwPPPWiw",
      "minorVersion": 1,
      "majorVersion": 0
    },
    "followers": [
      {
        "userId": "b26fa7a6-5060-7ce1-8cf2-9fc6a414dfdf"
      }
    ],
    "customProperties": [
      {
        "id": "7O02uinYTEOGTNKAFIF5QA",
        "multipleValue": false,
        "name": "Date",
        "customProperties": [
          {
            "id": "",
            "value": "2024-03-19T18:30:00.0000000+00:00",
            "type": "DateTime"
          }
        ]
      },
      {
        "id": "OenCAqm_lEyWx1vZIwoWXw",
        "multipleValue": false,
        "name": "Decimal number",
        "customProperties": [
          {
            "id": "",
            "value": "1.1",
            "type": "double"
          }
        ]
      },
      {
        "id": "YETteAA0y0upM6iy22TLwA",
        "multipleValue": true,
        "name": "Multi-select",
        "customProperties": [
          {
            "id": "HgUfXzC5wUKafJXHx7imbA",
            "value": "1",
            "type": "JValue"
          }
        ]
      },
      {
        "id": "8DFDeqXPKk2ezl3L0iw_Lw",
        "multipleValue": false,
        "name": "test",
        "customProperties": [
          {
            "id": "",
            "value": "{\n  \"id\": \"pqdvsmBQ4XyM8p_GpBTf3w\",\n  \"type\": \"user\"\n}",
            "type": "JObject"
          }
        ]
      }
    ],
    "attachedContent": [
      {
        "spaceId": null,
        "contentId": "a525bc95-fafc-4112-97ed-c7c48bbfc02e"
      }
    ],
    "updateDiffs": [
      {
        "fieldName": "plannedStartDate",
        "before": null,
        "after": "2024-03-11T18:30:00.0000000+00:00"
      },
      {
        "fieldName": "plannedEndDate",
        "before": null,
        "after": "2024-03-20T18:30:00.0000000+00:00"
      },
      {
        "fieldName": "customProperty",
        "before": "[]",
        "after": "[{\"Id\":\"8DFDeqXPKk2ezl3L0iw_Lw\",\"MultipleValue\":false,\"Name\":\"justin-test-user123\",\"Values\":[{\"Id\":null,\"Value\":{\"id\":\"pqdvsmBQ4XyM8p_GpBTf3w\",\"type\":\"user\"}}]}]"
      }
    ]
  },
  "application": "EnablementPlannerService",
  "productArea": "EnablementPlanner"
}