POST api/v1/templateMarket/update
Request Information
URI Parameters
None.
Body Parameters
TemplateMarketEntityName | Description | Type | Additional information |
---|---|---|---|
id | integer |
None. |
|
cid | integer |
None. |
|
name | string |
None. |
|
price | decimal number |
None. |
|
usage_count | integer |
None. |
|
label_ids | string |
None. |
|
status | string |
None. |
|
thumbnail_path | string |
None. |
|
content_path | string |
None. |
|
htmlObject | HtmlObject |
None. |
|
status_name | string |
None. |
|
price_string | string |
None. |
|
createctid | integer |
None. |
|
createdate | date |
None. |
|
modifyctid | integer |
None. |
|
modifydate | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": 1, "cid": 2, "name": "sample string 3", "price": 4.1, "usage_count": 5, "label_ids": "sample string 6", "status": "sample string 7", "thumbnail_path": "sample string 8", "content_path": "sample string 9", "htmlObject": { "html": "sample string 1" }, "status_name": "", "price_string": "4.10", "createctid": 10, "createdate": "2024-10-06T01:41:17.8486215+08:00", "modifyctid": 12, "modifydate": "2024-10-06T01:41:17.8486215+08:00" }
application/xml, text/xml
Sample:
<TemplateMarketEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Model.Template"> <createctid xmlns="http://schemas.datacontract.org/2004/07/Model">10</createctid> <createdate xmlns="http://schemas.datacontract.org/2004/07/Model">2024-10-06T01:41:17.8486215+08:00</createdate> <modifyctid xmlns="http://schemas.datacontract.org/2004/07/Model">12</modifyctid> <modifydate xmlns="http://schemas.datacontract.org/2004/07/Model">2024-10-06T01:41:17.8486215+08:00</modifydate> <cid>2</cid> <content_path>sample string 9</content_path> <htmlObject> <html>sample string 1</html> </htmlObject> <id>1</id> <label_ids>sample string 6</label_ids> <name>sample string 3</name> <price>4.1</price> <status>sample string 7</status> <thumbnail_path>sample string 8</thumbnail_path> <usage_count>5</usage_count> </TemplateMarketEntity>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.