PUT visual-script/{id}
Saves a script.
Request Information
URI
https://ofd-api.blueprintcpq.net/visual-script/{id}
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
The identifier. |
globally unique identifier |
Required |
Body Parameters
The visual script.
VisualScriptEditName | 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": "c7a079f2-8221-4f49-b609-b1af4b710e09", "Active": true, "BlocklyXML": "sample string 3", "Script": "sample string 4" }
text/html
Sample:
{"Name":"sample string 1","TestProduct":"c7a079f2-8221-4f49-b609-b1af4b710e09","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>c7a079f2-8221-4f49-b609-b1af4b710e09</TestProduct> </VisualScriptEdit>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
A VisualScript.
globally unique identifierResponse Formats
application/json, text/json, text/html
Sample:
"28d1a791-4bca-407a-85ff-93492c546641"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">28d1a791-4bca-407a-85ff-93492c546641</guid>