POST OpenAPI/WxApplet/SaveShortcut
Request Information
URI Parameters
None.
Body Parameters
ShortcutModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| TaskID | integer |
None. |
|
| Name | string |
None. |
|
| Memo | string |
None. |
|
| Type | eShortcutType |
None. |
|
| Available | boolean |
None. |
|
| Items | Collection of ShortcutItemModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"TaskID": 2,
"Name": "sample string 3",
"Memo": "sample string 4",
"Type": 1,
"Available": true,
"Items": [
{
"ItemID": 1,
"ItemName": "sample string 2"
},
{
"ItemID": 1,
"ItemName": "sample string 2"
}
]
}
application/xml, text/xml
Sample:
<ShortcutModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO.ExchangeModels">
<Available>true</Available>
<ID>1</ID>
<Items>
<ShortcutItemModel>
<ItemID>1</ItemID>
<ItemName>sample string 2</ItemName>
</ShortcutItemModel>
<ShortcutItemModel>
<ItemID>1</ItemID>
<ItemName>sample string 2</ItemName>
</ShortcutItemModel>
</Items>
<Memo>sample string 4</Memo>
<Name>sample string 3</Name>
<TaskID>2</TaskID>
<Type>Public</Type>
</ShortcutModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.