GET visual-script/{id}
Gets a script.
Request Information
URI
https://highlandfleets-dev-api.xaitcpq.net/visual-script/{id}
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The identifier. |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
The script.
VisualScript| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| TestProduct | globally unique identifier |
None. |
|
| Active | boolean |
None. |
|
| BlocklyXML | string |
None. |
|
| Script | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": "ad5ff0b8-c11a-437e-a720-d4a3e5d80921",
"Name": "sample string 2",
"TestProduct": "070194e8-9302-4ce7-b412-bdd3b07e7b1e",
"Active": true,
"BlocklyXML": "sample string 4",
"Script": "sample string 5"
}
text/html
Sample:
{"Id":"ad5ff0b8-c11a-437e-a720-d4a3e5d80921","Name":"sample string 2","TestProduct":"070194e8-9302-4ce7-b412-bdd3b07e7b1e","Active":true,"BlocklyXML":"sample string 4","Script":"sample string 5"}
application/xml, text/xml
Sample:
<VisualScript 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 4</BlocklyXML> <Name>sample string 2</Name> <Script>sample string 5</Script> <TestProduct>070194e8-9302-4ce7-b412-bdd3b07e7b1e</TestProduct> <Id>ad5ff0b8-c11a-437e-a720-d4a3e5d80921</Id> </VisualScript>