Method CreateLifeCycleStart
CreateLifeCycleStart(String, LifeCycleStartContract)
Create a life cycle entry point
Declaration
string CreateLifeCycleStart(string connectionId, LifeCycleStartContract lifeCycleStart)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionId | The connection id to identify your connection. See also ConnectionId |
LifeCycleStartContract | lifeCycleStart | LifeCycleStart to create |
Returns
Type | Description |
---|---|
System.String | The create life cycle start id |
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 "Create life cycle" access right (52E1A891-243E-4329-8791-D0FF966AE338). See also GetUserAdminAccessRights(String, String)
Examples
POST http://YourServerName/InfoShare/Json/Common/CreateLifeCycleStart
Example for create a life cycle entry point.{
"connectionId": "eb5718e6-8fd6-460b-9da3-4fb0434e81a8",
"lifeCycleStart": {
"Name": {
"Values": [{
"Text": "Lifecycle start test",
"Culture": "de" }, {
"Text": "Lifecycle start test",
"Culture": "en" }, {
"Text": "Lifecycle start test",
"Culture": "fr" }] },
"StartLifeCycleStateId": "81e75c5b-e9e0-e911-a94b-00155d290a08" }
}
Response:
{
"CreateLifeCycleStartResult": "250f9879-eae0-e911-a94b-00155d290a08"
}
Exceptions
Type | Condition |
---|---|
ServiceException | The connection id {connectionId} isn't valid or has expired (10008) |
ServiceException | Name is not unique for culture ({culture}): {name} (10066) |
ServiceException | Object with id {id} already exists (10078) |
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) |