PwsSetUserPermissionsNotifications
Overview
This web service sets global and cost center-based permissions and global and cost center-based notifications for a single user based on a user identity (PwsUserRef). The service returns the identity (PwsUserRef) of the user that has been updated.
Rate Limiting
In order to protect our servers from inadvertent service overuse or intentional attack, and to fairly distribute services to all our customers, we have implemented a rate limiting algorithm. When fully deployed, this new algorithm will cause services to either succeed with new warnings or fail with new errors when services are consumed at too high a rate. Programs that consume Projector services should be enhanced to handle rate limiting errors so that they can continue functioning properly. For more information please visit: Projector Rate Limiting Behavior.
Request Format
- PwsSetUserPermissionsNotifications
- serviceRequest: PwsSetUserPermissionsNotifications
- RequestId: Int32
- SessionTicket: String
- CostCenterNotificationSettings: PwsCostCenterNotificationSettingDetail
- CostCenterPermissionSettings: PwsCostCenterPermissionSettingDetail
- GlobalNotificationSettings: PwsGlobalNotificationSettingDetail
- GlobalPermissionSettings: PwsGlobalPermissionSettingDetail
- UserIdentity: PwsUserRef
- serviceRequest: PwsSetUserPermissionsNotifications
Request Elements
Element | Data Type | Required? | Description | Sample Data |
---|---|---|---|---|
Int32 | No | Click here for more information. | 1 | |
String | Yes | Click here for more information. | AebU24OSeu9cgUOSfIwEmg== | |
CostCenterNotificationSettings | PwsCostCenterNotificationSettingDetail | No | A collection of cost center-based notification settings to apply for the user. | |
CostCenterPermissionSettings | PwsCostCenterPermissionSettingDetail | No | A collection of cost center-based permission settings to apply for the user. | |
GlobalNotificationSettings | PwsGlobalNotificationSettingDetail | No | A collection of global notification settings to apply for the user. | |
GlobalPermissionSettings | PwsGlobalPermissionSettingDetail | No | A collection of global permission settings to apply for the user. | |
UserIdentity | PwsUserRef | Yes | The user to apply the new permission and notification settings to. | |
UserTimestamp | String | No | Timestamp optionally used for user locking. |
Request Usage Example(s)
Response Format
- PwsSetUserPermissionsNotificationsResponse
- PwsSetUserPermissionsNotificationsResult: PwsSetUserPermissionsNotificationsRs
- Messages: PwsMessage[]
- ResponseId: Int32
- Status: RequestStatus
- ServerTimestampUtc: DateTime
- Timestamp: String
- UserIdentity: PwsUserRef
- PwsSetUserPermissionsNotificationsResult: PwsSetUserPermissionsNotificationsRs
Response Elements
Element | Data Type | Description | Sample Data |
---|---|---|---|
Messages | The web service response status and message. Click here for more information. | ||
Int32 | Click here for more information. | 1 | |
Status | Click here for more information. | Ok | |
DateTime | Click here for more information | 2018-11-09T21:44:05.0179178Z | |
Timestamp | String | This is a Base64 encoded timestamp optionally utilized for user locking. | AAAAABCzYug= |
UserIdentity | This structure represents all of the unique identifying fields associated with the user that was updated. |
Response Usage Example(s)
PwsSetUserPermissionsNotifications - Common Errors and Warnings
- For all errors and warnings please refer to the Complete List of Errors and Warnings
ErrorNumber | ErrorCode | ErrorText |
---|---|---|
10126 | InvalidEnumerationValueSpecified | An invalid value was specified for GlobalPermissionSetting. Valid values are N, V, U. |
50021 | RefStructureMismatch | Ref structure PwsUserRef contains mismatched elements. |
50024 | EntityNotFound | Entity PwsCostCenterListTypeRef was not found. |