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.
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. |