POST api/task/addEditTaskAssign
Request Information
URI Parameters
None.
Body Parameters
taskPrm| Name | Description | Type | Additional information |
|---|---|---|---|
| taskType | integer |
None. |
|
| flag | integer |
None. |
|
| userId | integer |
None. |
|
| contentId | integer |
None. |
|
| businessId | integer |
None. |
|
| classId | integer |
None. |
|
| sectionId | integer |
None. |
|
| subjectId | integer |
None. |
|
| description | string |
None. |
|
| description2 | string |
None. |
|
| toDate | string |
None. |
|
| fromDate | string |
None. |
|
| PageNumber | integer |
None. |
|
| PageSize | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"taskType": 1,
"flag": 2,
"userId": 3,
"contentId": 4,
"businessId": 5,
"classId": 6,
"sectionId": 7,
"subjectId": 8,
"description": "sample string 9",
"description2": "sample string 10",
"toDate": "sample string 11",
"fromDate": "sample string 12",
"PageNumber": 13,
"PageSize": 14
}
text/html
Sample:
{"taskType":1,"flag":2,"userId":3,"contentId":4,"businessId":5,"classId":6,"sectionId":7,"subjectId":8,"description":"sample string 9","description2":"sample string 10","toDate":"sample string 11","fromDate":"sample string 12","PageNumber":13,"PageSize":14}
application/xml, text/xml
Sample:
<taskPrm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Models"> <PageNumber>13</PageNumber> <PageSize>14</PageSize> <businessId>5</businessId> <classId>6</classId> <contentId>4</contentId> <description>sample string 9</description> <description2>sample string 10</description2> <flag>2</flag> <fromDate>sample string 12</fromDate> <sectionId>7</sectionId> <subjectId>8</subjectId> <taskType>1</taskType> <toDate>sample string 11</toDate> <userId>3</userId> </taskPrm>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
VCAPIResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | string |
None. |
|
| dateTime | string |
None. |
|
| StatusCode | integer |
None. |
|
| ErrorMessage | string |
None. |
|
| Result | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Version": "1.0.0",
"dateTime": "2025/11/08 07:58:18",
"StatusCode": 1,
"ErrorMessage": "sample string 2",
"Result": {}
}
text/html
Sample:
{"Version":"1.0.0","dateTime":"2025/11/08 07:58:18","StatusCode":1,"ErrorMessage":"sample string 2","Result":{}}
application/xml, text/xml
Sample:
<VCAPIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Models"> <ErrorMessage>sample string 2</ErrorMessage> <Result /> <StatusCode>1</StatusCode> </VCAPIResponse>