GET algorithm/all
Get all active algorithms
Request Information
URI
https://mtm-api.xaitcpq.net/algorithm/all
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
A list of algorithms
Collection of 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": "e535214b-5932-4c93-987a-3e98bcba7986",
"Name": "sample string 2",
"TestProduct": "f8fa7909-e28c-429c-b9de-756757372561",
"Active": true,
"BlocklyXML": "sample string 4",
"Script": "sample string 5"
},
{
"Id": "e535214b-5932-4c93-987a-3e98bcba7986",
"Name": "sample string 2",
"TestProduct": "f8fa7909-e28c-429c-b9de-756757372561",
"Active": true,
"BlocklyXML": "sample string 4",
"Script": "sample string 5"
}
]
text/html
Sample:
[{"Id":"e535214b-5932-4c93-987a-3e98bcba7986","Name":"sample string 2","TestProduct":"f8fa7909-e28c-429c-b9de-756757372561","Active":true,"BlocklyXML":"sample string 4","Script":"sample string 5"},{"Id":"e535214b-5932-4c93-987a-3e98bcba7986","Name":"sample string 2","TestProduct":"f8fa7909-e28c-429c-b9de-756757372561","Active":true,"BlocklyXML":"sample string 4","Script":"sample string 5"}]
application/xml, text/xml
Sample:
<ArrayOfVisualScript xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Shared.Models.DataModels">
<VisualScript>
<Active>true</Active>
<BlocklyXML>sample string 4</BlocklyXML>
<Name>sample string 2</Name>
<Script>sample string 5</Script>
<TestProduct>f8fa7909-e28c-429c-b9de-756757372561</TestProduct>
<Id>e535214b-5932-4c93-987a-3e98bcba7986</Id>
</VisualScript>
<VisualScript>
<Active>true</Active>
<BlocklyXML>sample string 4</BlocklyXML>
<Name>sample string 2</Name>
<Script>sample string 5</Script>
<TestProduct>f8fa7909-e28c-429c-b9de-756757372561</TestProduct>
<Id>e535214b-5932-4c93-987a-3e98bcba7986</Id>
</VisualScript>
</ArrayOfVisualScript>