PwsDeleteRoleType
Overview
This web service deletes a specified role type. The service will return the identity of the deleted role type.
Request Format
- PwsDeleteRoleType
- serviceRequest: PwsDeleteRoleTypeRq
- RequestId: Int32
- SessionTicket: String
- InactivateIfInUseFlag: Boolean
- RoleTypeIdentity: PwsRoleTypeRef
- serviceRequest: PwsDeleteRoleTypeRq
Request Elements
Element | Data Type | Required? | Default | Description | Sample Data |
---|---|---|---|---|---|
Int32 | No | Click here for more information. | 1 | ||
String | Yes | Click here for more information. | AS/RAku1pN9F58A3WQh3aw== | ||
InactivateIfInUseFlag | Boolean | No | false | If set to 'true', the role type will be set to inactive in the event it cannot e delete | true |
RoleTypeIdentity | Yes | This is the identity of the role type to be deleted. Click here for more information. |
Request Usage Example(s)
Response Format
- PwsDeleteRoleTypeResponse
- PwsDeleteRoleTypeResult: PwsDeleteRoleTypeRs
- Messages: PwsMessage[]
- ResponseId: Int32
- Status: RequestStatus
- ServerTimestampUtc: DateTime
- RoleTypeIdentity: PwsRoleTypeRef
- PwsDeleteRoleTypeResult: PwsDeleteRoleTypeRs
Response Elements
Element | Data Type | Description | Sample Data |
---|---|---|---|
Messages | The web service response status and message. Click here for more information | ||
ResponseId | Int32 | Click here for more information. | 1 |
Status | Click here for more information. | Ok | |
DateTime | Click here for more information. | 2022-10-21T19:41:52.6505682Z | |
RoleTypeIdentity | The identity of the deleted role type. |
Response Usage Example(s)
PwsDeleteRoleType - Common Errors and Warnings
- For all errors and warnings please refer to the Complete List of Errors and Warnings
ErrorNumber | ErrorCode | ErrorText |
---|---|---|
50024 | EntityNotFound | Role Type was not found. Another user may have deleted it. |