Add New Task Type
post
/api/1.0/tasktype
This endpoint is used to add a new Task Type.
Request
Supported Media Types
- application/json
- application/xml
Header Parameters
-
appId(required): string
The application ID of host service.
-
branchCode(required): string
The branch code of requesting branch.
-
contentType: string
The content type of request or response body.
-
userId(required): string
The user ID of requesting user.
Request Body that contains data required for creating a new Task Type
Nested Schema : GenericDto
Match All
Show Source
-
object
GenericDto-allOf[0]
Discriminator:
resource_type
Nested Schema : GenericDto-allOf[0]
Type:
object
Discriminator:
resource_type
Nested Schema : DmTmTaskTypeDTO-allOf[1]
Type:
Show Source
object
-
taskCd:
string
Task Code of the Task Type
-
workflowCd:
string
Workflow Code of the Task Type
Response
Supported Media Types
- application/json
- application/xml
201 Response
Returns message of success or failure.
Headers
-
Location: string
URL of newly created Task Type.
Root Schema : ResponseDtoWrapper
Type:
object
Response Data Transfer object
Show Source
-
data:
object ResponseResourceSupport
-
messages:
object ResponseDto
Response Data Transfer object
Nested Schema : ResponseResourceSupport
Type:
object
Nested Schema : ResponseDto
Type:
object
Response Data Transfer object
Show Source
-
codes:
array codes
Codes
-
id:
string
ID
-
requestId:
string
Request ID
-
status:
string
Status
Nested Schema : ResponseCode
Type:
object
Response code
Show Source
-
arg:
string
Argument
-
args:
array args
Arguments
-
Code:
string
Code
-
Desc:
string
Description
-
Language:
string
Language
-
Type:
string
Type
Nested Schema : items
Type:
object
400 Response
Malformed syntax.
401 Response
Request does not have sufficient credentials.
403 Response
Request is not authorized.
405 Response
Invalid input.
500 Response
Internal error.