POST api/TaskManager/SaveTaskModule
Request Information
URI Parameters
None.
Body Parameters
SaveTaskModuleDto| Name | Description | Type | Additional information | 
|---|---|---|---|
| id | integer | None. | |
| task_id | integer | None. | |
| module_name | string | None. | |
| module_describe | string | None. | |
| module_type | integer | None. | |
| type_id | Collection of integer | None. | 
Request Formats
application/json, text/json
            Sample:
        
{
  "id": 1,
  "task_id": 2,
  "module_name": "sample string 3",
  "module_describe": "sample string 4",
  "module_type": 5,
  "type_id": [
    1,
    2
  ]
}
        application/xml, text/xml
            Sample:
        
<SaveTaskModuleDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LearnAPI.ViewModel">
  <id>1</id>
  <module_describe>sample string 4</module_describe>
  <module_name>sample string 3</module_name>
  <module_type>5</module_type>
  <task_id>2</task_id>
  <type_id xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </type_id>
</SaveTaskModuleDto>
        application/x-www-form-urlencoded
            Sample:
    
Sample not available.
Response Information
Resource Description
BaseResponse| Name | Description | Type | Additional information | 
|---|---|---|---|
| msg | string | None. | |
| code | integer | None. | |
| total | integer | None. | 
Response Formats
application/json, text/json
            Sample:
        
{
  "msg": "sample string 1",
  "code": 2,
  "total": 3
}
        application/xml, text/xml
            Sample:
<BaseResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LearnAPI"> <code>2</code> <msg>sample string 1</msg> <total>3</total> </BaseResponse>