POST visual-script
Request Information
URI
https://eurotherm-web-api.xaitcpq.net/visual-script
URI Parameters
None.
Body Parameters
VisualScriptEdit| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
None. |
|
| TestProduct | globally unique identifier |
None. |
|
| Active | boolean |
None. |
|
| BlocklyXML | string |
None. |
|
| Script | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Name": "sample string 1",
"TestProduct": "fed13127-8e5c-40c3-839a-cef8f4c1a125",
"Active": true,
"BlocklyXML": "sample string 3",
"Script": "sample string 4"
}
text/html
Sample:
{"Name":"sample string 1","TestProduct":"fed13127-8e5c-40c3-839a-cef8f4c1a125","Active":true,"BlocklyXML":"sample string 3","Script":"sample string 4"}
application/xml, text/xml
Sample:
<VisualScriptEdit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Shared.Models.DataModels"> <Active>true</Active> <BlocklyXML>sample string 3</BlocklyXML> <Name>sample string 1</Name> <Script>sample string 4</Script> <TestProduct>fed13127-8e5c-40c3-839a-cef8f4c1a125</TestProduct> </VisualScriptEdit>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
globally unique identifierResponse Formats
application/json, text/json, text/html
Sample:
"35b1eb65-f28e-4131-896e-9d7eadb30645"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">35b1eb65-f28e-4131-896e-9d7eadb30645</guid>