PUT v1/bunits/{bunitId}/jobsubscriptions/{jobSubscriptionId}
Update a job subscription
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
bunitId |
ID of the business unit the subscription is related to | integer |
Required |
jobSubscriptionId |
ID of the subscription to update | integer |
Required |
Body Parameters
The subscription to update
JobSubscriptionName | Description | Type | Additional information |
---|---|---|---|
Enabled |
An enabled subscription will be sent out Disable to keep information but avoid getting mails |
boolean |
None. |
Name |
Name of subscription. Used to describe content |
string |
None. |
Subject |
Custom subject set by end user. Leave blank for default subject |
string |
None. |
SendBcc |
Whether or not to use BCC or To when sending emails. Use BCC to hide recipients from each other |
boolean |
None. |
Emails |
Recipient email addresses |
Collection of string |
None. |
BusinessUnit |
The business unit the subscription is related to |
BusinessUnit |
None. |
SeverityConfig |
Information about which jobs should be included |
JobSeverityConfig |
None. |
IncidentConfig |
Information on how to send incident mails for jobs |
JobIncidentConfig |
None. |
DeliveryConfig |
Information on what should be included and how subscription should be delivered |
JobDeliveryConfig |
None. |
IncidentEmails |
A list of receivers of incident emails |
Collection of string |
None. |
ExcludeTags |
If set to true, consumption units and business units with the selected tags are to be excluded instead of included |
boolean |
None. |
Tags |
A list of tags which will determine if a consumption unit or business unit should be included in/excluded from content |
Collection of Tag |
None. |
LatestDelivery |
SubscriptionLog |
None. |
|
LatestResettingDelivery |
SubscriptionLog |
None. |
|
Id |
A unique ID for the object. |
integer |
Read-only. |
CreatedDate |
Time and date the object was created. |
date |
Read-only. |
ArchivedDate |
Time and date the object was or is going to be archived. Unarchived objects have no value in ArchivedDate |
date |
Read-only. |
Operations |
Collection of OperationResult |
None. |
Request Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
Response Information
Resource Description
The updated subscription
JobSubscriptionName | Description | Type | Additional information |
---|---|---|---|
Enabled |
An enabled subscription will be sent out Disable to keep information but avoid getting mails |
boolean |
None. |
Name |
Name of subscription. Used to describe content |
string |
None. |
Subject |
Custom subject set by end user. Leave blank for default subject |
string |
None. |
SendBcc |
Whether or not to use BCC or To when sending emails. Use BCC to hide recipients from each other |
boolean |
None. |
Emails |
Recipient email addresses |
Collection of string |
None. |
BusinessUnit |
The business unit the subscription is related to |
BusinessUnit |
None. |
SeverityConfig |
Information about which jobs should be included |
JobSeverityConfig |
None. |
IncidentConfig |
Information on how to send incident mails for jobs |
JobIncidentConfig |
None. |
DeliveryConfig |
Information on what should be included and how subscription should be delivered |
JobDeliveryConfig |
None. |
IncidentEmails |
A list of receivers of incident emails |
Collection of string |
None. |
ExcludeTags |
If set to true, consumption units and business units with the selected tags are to be excluded instead of included |
boolean |
None. |
Tags |
A list of tags which will determine if a consumption unit or business unit should be included in/excluded from content |
Collection of Tag |
None. |
LatestDelivery |
SubscriptionLog |
None. |
|
LatestResettingDelivery |
SubscriptionLog |
None. |
|
Id |
A unique ID for the object. |
integer |
Read-only. |
CreatedDate |
Time and date the object was created. |
date |
Read-only. |
ArchivedDate |
Time and date the object was or is going to be archived. Unarchived objects have no value in ArchivedDate |
date |
Read-only. |
Operations |
Collection of OperationResult |
None. |
Response Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.