Method UpdateProcessTemplate
UpdateProcessTemplate(String, ProcessTemplateContract)
Update a process template
Declaration
void UpdateProcessTemplate(string connectionId, ProcessTemplateContract processTemplate)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionId | The connection id to identify your connection. See also ConnectionId |
ProcessTemplateContract | processTemplate | ProcessTemplate to update |
Examples
POST http://YourServerName/InfoShare/Json/Common/UpdateProcessTemplate
Example for update process template.{
}
Response:
{ }
Exceptions
Type | Condition |
---|---|
ServiceException | The connection id {connectionId} isn't valid or has expired (10008) |
ServiceException | Process template not found {processTemplateId} (10029) |
ServiceException | Property type not found {propertyTypeId} (10034) |
ServiceException | Unknown data type for property type (10035) |
ServiceException | String was not recognized as a valid DateTime: {dateTimeValue}. Expected format {expectedFormat} (10059) |
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) |
ServiceException | Failure while inserting value: '{propertyTypeValue}' into propertyType: {propertyTypeId} (10190) |
ServiceException | Property type {propertyTypeId} value is too long: {value} (10179) |
ServiceException | User {user.LoginName} can not be assigned to list {listName} because user is not in the predefined user/group list (10260) |