Skip to content

Send in-app (web) notifications #477

Closed
@maxceem

Description

@maxceem
  • Post Interview Candidate Action Reminder

    • TO: team members
    • Content: Candidate action required for <strong>{userHandle}</strong> in job <strong>{Job Title}</strong> of the team <strong>{Team Name}</strong>
    • LinkTo: https://platform.topcoder-dev.com/taas/myteams/{projectId}/positions/{jobId}/candidates/interviews, example https://platform.topcoder-dev.com/taas/myteams/17993/positions/d24ac836-94bd-4f09-bea6-c3bf7b6dbd1c/candidates/interviews
    • Data: userHandle, jobTitle, teamName, projectId, jobId
    • Type: taas.notification.post-interview-action-required
    • Bundle: no
    • Example Kafka Message:
       {
         "topic": "notifications.action.create",
         "originator": "max-manual",
         "timestamp": "2018-02-16T00:00:00",
         "mime-type": "application/json",
         "payload": {
           "notifications": [
             {
               "serviceId": "web",
               "type": "taas.notification.post-interview-action-required",
               "details": {
                 "recipients": [{ "handle": "pshah_manager" }],
                 "contents": {
                   "jobTitle": "JOB NOTIFICATION TEST 4",
                   "teamName": "NOTIFICATION TEST TEAM 4",
                   "projectId": 18244,
                   "jobId": "b0e42752-20c0-400c-95fc-2bab4db8d07c",
                   "userHandle": "topacc_three"
                 },
                 "version": 1
               }
             }
           ]
         }
       }
  • Upcoming Resource Booking Expiration

    • TO: team members
    • Content: {numOfExpiringResourceBookings} resource booking{s} {is/are} expiring in the team <strong>{Team Name}</strong>.
    • LinkTo: https://platform.topcoder-dev.com/taas/myteams/{projectId}, example https://platform.topcoder-dev.com/taas/myteams/17993
    • Data: teamName, projectId, numOfExpiringResourceBookings
    • Type: taas.notification.resource-booking-expiration
    • Bundle: no
    • Example Kafka Message:
      {
        "topic": "notifications.action.create",
        "originator": "max-manual",
        "timestamp": "2018-02-16T00:00:00",
        "mime-type": "application/json",
        "payload": {
          "notifications": [
            {
              "serviceId": "web",
              "type": "taas.notification.resource-booking-expiration",
              "details": {
                "recipients": [{ "handle": "pshah_manager" }],
                "contents": {
                  "teamName": "NOTIFICATION TEST TEAM 4",
                  "projectId": 18244,
                  "numOfExpiringResourceBookings": 2
                },
                "version": 1
              }
            }
          ]
        }
      }
  • Resource Booking is Placed

    • TO: team members
    • Content: Resource <strong>{userHandle}</strong> is placed for the job <strong>{Job Title}</strong> of the team <strong>{Team Name}</strong>.
    • LinkTo: https://platform.topcoder-dev.com/taas/myteams/{projectId}, example https://platform.topcoder-dev.com/taas/myteams/17993
    • Data: teamName, projectId, userHandle, jobTitle
    • Type: taas.notification.resource-booking-placed
    • Bundle: no
    • Example Kafka Message:
       {
         "topic": "notifications.action.create",
         "originator": "max-manual",
         "timestamp": "2018-02-16T00:00:00",
         "mime-type": "application/json",
         "payload": {
           "notifications": [
             {
               "serviceId": "web",
               "type": "taas.notification.resource-booking-placed",
               "details": {
                 "recipients": [{ "handle": "pshah_manager" }],
                 "contents": {
                   "jobTitle": "JOB NOTIFICATION TEST 4",
                   "teamName": "NOTIFICATION TEST TEAM 4",
                   "projectId": 18244,
                   "userHandle": "pshah_manager"
                 },
                 "version": 1
               }
             }
           ]
         }
       }

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions