Method DeleteLifeCycleState
DeleteLifeCycleState(String, String)
Delete a life cycle state
Declaration
void DeleteLifeCycleState(string connectionId, string lifeCycleStateId)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionId | The connection id to identify your connection. See also ConnectionId |
System.String | lifeCycleStateId | The life cycle state id. See also Id |
Remarks
Examples
POST http://YourServerName/InfoShare/Json/Common/DeleteLifeCycleState
Example for delete a life cycle state.{
"connectionId": "eb5718e6-8fd6-460b-9da3-4fb0434e81a8",
"lifeCycleStateId": "81e75c5b-e9e0-e911-a94b-00155d290a08"
}
Response:
{ }
Exceptions
Type | Condition |
---|---|
ServiceException | The connection id {connectionId} isn't valid or has expired (10008) |
ServiceException | Not enough rights ({accessOperationName}, {accessOperationId}) (10071) |
ServiceException | The administrative context {administrativeContext} is already checked out by user {displayLoginName} (10129) |
ServiceException | Verification code is needed: Verification code not yet verified (10152) |
ServiceException | Can not delete {ObjectType} {ObjectName} {ObjectId} because it is still in use in {ObjectType} {ObjectName} {ObjectId}. (10233) |