POST api/v1/staffalertconfigs

Save a staff's alert configuration

Request Information

URI Parameters

None.

Body Parameters

StaffAlertsConfigRequestModel
NameDescriptionTypeAdditional information
StaffId

integer

None.

CallBeforeText

boolean

None.

IsUserOptedIn

boolean

None.

StaffSubscriptions

Collection of StaffSubscriptionDetail

None.

Request Formats

application/json, text/json

Sample:
{
  "StaffId": 1,
  "CallBeforeText": true,
  "IsUserOptedIn": true,
  "StaffSubscriptions": [
    {
      "NotificationEventId": 1,
      "TransportTypeId": 2
    },
    {
      "NotificationEventId": 1,
      "TransportTypeId": 2
    }
  ]
}

Response Information

Resource Description

StaffAlertsConfigResponseModel
NameDescriptionTypeAdditional information
StaffId

integer

None.

TenantId

string

None.

MobileNumber

string

None.

CallBeforeText

boolean

None.

IsUserOptedIn

boolean

None.

IsMobileValidated

boolean

None.

MobileValidatedDate

date

None.

StaffSubscriptions

Collection of StaffSubscriptionDetail

None.

Response Formats

application/json, text/json

Sample:
{
  "StaffId": 1,
  "TenantId": "sample string 2",
  "MobileNumber": "sample string 3",
  "CallBeforeText": true,
  "IsUserOptedIn": true,
  "IsMobileValidated": true,
  "MobileValidatedDate": "2026-01-02T21:47:50.9444126-06:00",
  "StaffSubscriptions": [
    {
      "NotificationEventId": 1,
      "TransportTypeId": 2
    },
    {
      "NotificationEventId": 1,
      "TransportTypeId": 2
    }
  ]
}