POST ItemType/{id}/copy?appid={appid}&sg={sg}&hash={hash}&token={token}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | string |
Required |
|
| appid | string |
Required |
|
| sg | string |
Required |
|
| hash | string |
Required |
|
| token | string |
Required |
Body Parameters
ItemTypeCopyControlObject| Name | Description | Type | Additional information |
|---|---|---|---|
| copy_item_type_data | boolean |
None. |
|
| copy_item_data | boolean |
None. |
|
| copy_tsv | boolean |
None. |
|
| copy_enum | boolean |
None. |
|
| copy_calcvar | boolean |
None. |
|
| copy_pulls | boolean |
None. |
|
| copy_enduser_list | boolean |
None. |
|
| copy_mv_graph | boolean |
None. |
|
| copy_graphs | boolean |
None. |
|
| copy_csv_set | boolean |
None. |
|
| copy_control_panel | boolean |
None. |
|
| name | string |
None. |
|
| display_description | string |
None. |
|
| item_code | string |
None. |
|
| iot_key | string |
None. |
|
| default_require_hash | boolean |
None. |
|
| default_hash_algorithm | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"copy_item_type_data": true,
"copy_item_data": true,
"copy_tsv": true,
"copy_enum": true,
"copy_calcvar": true,
"copy_pulls": true,
"copy_enduser_list": true,
"copy_mv_graph": true,
"copy_graphs": true,
"copy_csv_set": true,
"copy_control_panel": true,
"name": "sample string 1",
"display_description": "sample string 2",
"item_code": "sample string 3",
"iot_key": "sample string 4",
"default_require_hash": true,
"default_hash_algorithm": "sample string 5"
}
application/xml, text/xml
Sample:
<ItemTypeCopyControlObject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/productious_models"> <copy_calcvar>true</copy_calcvar> <copy_control_panel>true</copy_control_panel> <copy_csv_set>true</copy_csv_set> <copy_enduser_list>true</copy_enduser_list> <copy_enum>true</copy_enum> <copy_graphs>true</copy_graphs> <copy_item_data>true</copy_item_data> <copy_item_type_data>true</copy_item_type_data> <copy_mv_graph>true</copy_mv_graph> <copy_pulls>true</copy_pulls> <copy_tsv>true</copy_tsv> <default_hash_algorithm>sample string 5</default_hash_algorithm> <default_require_hash>true</default_require_hash> <display_description>sample string 2</display_description> <iot_key>sample string 4</iot_key> <item_code>sample string 3</item_code> <name>sample string 1</name> </ItemTypeCopyControlObject>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>