...
Panel | ||
---|---|---|
| ||
|
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 | This structure contains the complete set of information about a user's cost center notification settings. | |
CostCenterPermissionSettings | PwsCostCenterPermissionSettingDetail | No | This structure contains the complete set of information about a cost center permission setting. | |
GlobalNotificationSettings | PwsGlobalNotificationSettingDetail | No | This structure contains a user's setting (on or off) for a specific global notification. | |
GlobalPermissionSettings | PwsGlobalPermissionSettingDetail | No | This structure contains a users setting (None, View or Update) for a global permission. | |
UserIdentity | PwsUserRef | Yes | This structure represents all of the unique identifying fields associated with a user. |
Request Usage Example(s)
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pws="http://projectorpsa.com/PwsProjectorServices/" xmlns:req="http://projectorpsa.com/DataContracts/Requests/" xmlns:com="http://projectorpsa.com/DataContracts/Shared/Common/"> <soapenv:Header/> <soapenv:Body> <pws:PwsSetUserPermissionsNotifications> <pws:serviceRequest> <req:RequestId>1</req:RequestId> <req:SessionTicket>AebU24OSeu9cgUOSfIwEmg==</req:SessionTicket> <req:CostCenterNotificationSettings> <com:PwsCostCenterNotificationSettingDetail> <com:CostCenterNotificationIdentity> <com:CostCenterNotificationTag>ProjectStageChange</com:CostCenterNotificationTag> </com:CostCenterNotificationIdentity> <com:CostCenterNotificationSetting>true</com:CostCenterNotificationSetting> <com:CostCenters> <com:PwsCostCenterRef> <com:CostCenterName>Executive Team (USA)</com:CostCenterName> <com:CostCenterNumber>Executive Team (USA)</com:CostCenterNumber> </com:PwsCostCenterRef> </com:CostCenters> </com:PwsCostCenterNotificationSettingDetail> </req:CostCenterNotificationSettings> <req:CostCenterPermissionSettings> <com:PwsCostCenterPermissionSettingDetail> <com:CostCenterPermissionIdentity> <com:CostCenterPermissionTag>maintainProjectsAndEngagements</com:CostCenterPermissionTag> </com:CostCenterPermissionIdentity> <com:CostCenterPermissionSetting>true</com:CostCenterPermissionSetting> <com:CostCenters> <com:PwsCostCenterRef> <com:CostCenterName>Executive Team (USA)</com:CostCenterName> <com:CostCenterNumber>Executive Team (USA)</com:CostCenterNumber> </com:PwsCostCenterRef> </com:CostCenters> </com:PwsCostCenterPermissionSettingDetail> </req:CostCenterPermissionSettings> <req:GlobalNotificationSettings> <com:PwsGlobalNotificationSettingDetail> <com:GlobalNotificationIdentity> <com:GlobalNotificationTag>DowntimeNotification</com:GlobalNotificationTag> </com:GlobalNotificationIdentity> <com:GlobalNotificationSetting>true</com:GlobalNotificationSetting> </com:PwsGlobalNotificationSettingDetail> </req:GlobalNotificationSettings> <req:GlobalPermissionSettings> <com:PwsGlobalPermissionSettingDetail> <com:GlobalPermissionIdentity> <com:GlobalPermissionTag>maintainSystemSettings</com:GlobalPermissionTag> </com:GlobalPermissionIdentity> <com:GlobalPermissionSetting>U</com:GlobalPermissionSetting> </com:PwsGlobalPermissionSettingDetail> </req:GlobalPermissionSettings> <req:UserIdentity> <com:UserDisplayName>IT Manager</com:UserDisplayName> <com:UserReferenceSystemId>IT Manager</com:UserReferenceSystemId> </req:UserIdentity> </pws:serviceRequest> </pws:PwsSetUserPermissionsNotifications> </soapenv:Body> </soapenv:Envelope> |
...
Panel | ||
---|---|---|
| ||
|
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 created or updated. |
Response Usage Example(s)
...
- 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. |