Method UpdateLifeCycleStart
UpdateLifeCycleStart(String, LifeCycleStartContract)
Update a life cycle entry point
Declaration
void UpdateLifeCycleStart(string connectionId, LifeCycleStartContract lifeCycleStart)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionId | The connection id to identify your connection. See also ConnectionId |
LifeCycleStartContract | lifeCycleStart | Life cycle start to update |
Remarks
- You need "Access to scheme" access right (01002060-38a7-11d8-a902-0050bf427e8f). See also GetUserAdminAccessRights(String, String)
- You need "Access to life cycles" access right (CA3558B8-F52F-447F-B2C3-2050176475FC). See also GetUserAdminAccessRights(String, String)
- You need "Modify life cycle" access right (75774EA6-63EB-46BC-8D1A-9F56CFEBF0C8). See also GetUserAdminAccessRights(String, String)
Examples
POST http://YourServerName/InfoShare/Json/Common/UpdateLifeCycleStart
Example for update a life cycle entry point.{
"connectionId": "eb5718e6-8fd6-460b-9da3-4fb0434e81a8",
"lifeCycleStart": {
"Id": "250f9879-eae0-e911-a94b-00155d290a08",
"Name": {
"Values": [{
"Culture": "de",
"Text": "Lifecycle start test" }, {
"Culture": "en",
"Text": "Lifecycle start test" }, {
"Culture": "fr",
"Text": "Lifecycle start test" }] },
"StartLifeCycleStateId": "84be4c2f-6cd0-e911-a93a-00155d290a08" }
}
Response:
{ }
Exceptions
Type | Condition |
---|---|
ServiceException | The connection id {connectionId} isn't valid or has expired (10008) |
ServiceException | Life cycle start not found {lifeCycleStartId} (10040) |
ServiceException | Name is not unique for culture ({culture}): {name} (10066) |
ServiceException | The administrative context {administrativeContext} is already checked out by user {displayLoginName} (10129) |
ServiceException | Verification code is needed: Verification code not yet verified (10152) |