Method CreateProcessCategory
CreateProcessCategory(String, ProcessCategoryContract)
Create a process category
Declaration
string CreateProcessCategory(string connectionId, ProcessCategoryContract processCategory)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionId | The connection id to identify your connection. See also ConnectionId |
ProcessCategoryContract | processCategory | ProcessCategory to create |
Returns
Type | Description |
---|---|
System.String | The created process category id |
Examples
POST http://YourServerName/InfoShare/Json/Common/CreateProcessCategory
Example for create a process category.{
"connectionId": "b6742bb8-ef97-44ae-819b-a2fa2200908a",
"processCategory": {
"Name": {
"Values": [{
"Text": "test",
"Culture": "de" }, {
"Text": "test",
"Culture": "en" }] } }
}
Response:
{
"CreateProcessCategoryResult": "0b86001d-69e0-e911-a94a-00155d290a08"
}
Exceptions
Type | Condition |
---|---|
ServiceException | The connection id {connectionId} isn't valid or has expired (10008) |
ServiceException | Object with id {id} already exists (10078) |
ServiceException | The administrative context {administrativeContext} is already checked out by user {displayLoginName} (10129) |
ServiceException | Verification code is needed: Verification code not yet verified (10152) |