GET algorithm/{id}/versions
Get an algorithms version history
Request Information
URI
https://ofd-api.blueprintcpq.net/algorithm/{id}/versions
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
A list of algorithm versions
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": "c0b2dbea-ef77-40ce-ae71-75cef586be89",
"Name": "sample string 2",
"TestProduct": "be5f71dd-ca44-4bb2-bdb9-4561c887383c",
"Active": true,
"BlocklyXML": "sample string 4",
"Script": "sample string 5"
},
{
"Id": "c0b2dbea-ef77-40ce-ae71-75cef586be89",
"Name": "sample string 2",
"TestProduct": "be5f71dd-ca44-4bb2-bdb9-4561c887383c",
"Active": true,
"BlocklyXML": "sample string 4",
"Script": "sample string 5"
}
]
text/html
Sample:
[{"Id":"c0b2dbea-ef77-40ce-ae71-75cef586be89","Name":"sample string 2","TestProduct":"be5f71dd-ca44-4bb2-bdb9-4561c887383c","Active":true,"BlocklyXML":"sample string 4","Script":"sample string 5"},{"Id":"c0b2dbea-ef77-40ce-ae71-75cef586be89","Name":"sample string 2","TestProduct":"be5f71dd-ca44-4bb2-bdb9-4561c887383c","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>be5f71dd-ca44-4bb2-bdb9-4561c887383c</TestProduct>
<Id>c0b2dbea-ef77-40ce-ae71-75cef586be89</Id>
</VisualScript>
<VisualScript>
<Active>true</Active>
<BlocklyXML>sample string 4</BlocklyXML>
<Name>sample string 2</Name>
<Script>sample string 5</Script>
<TestProduct>be5f71dd-ca44-4bb2-bdb9-4561c887383c</TestProduct>
<Id>c0b2dbea-ef77-40ce-ae71-75cef586be89</Id>
</VisualScript>
</ArrayOfVisualScript>