POST algorithm

Add a VisualScript

Request Information

URI

https://scoregroup-uat-api.xaitcpq.net/algorithm

URI Parameters

None.

Body Parameters

VisualScriptEdit
NameDescriptionTypeAdditional 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": "ccc1d232-ad22-4062-ab09-7927cd4b977c",
  "Active": true,
  "BlocklyXML": "sample string 3",
  "Script": "sample string 4"
}

text/html

Sample:
{"Name":"sample string 1","TestProduct":"ccc1d232-ad22-4062-ab09-7927cd4b977c","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>ccc1d232-ad22-4062-ab09-7927cd4b977c</TestProduct>
</VisualScriptEdit>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Guid of the new VisualScript

globally unique identifier

Response Formats

application/json, text/json, text/html

Sample:
"ad1b7c39-0291-4b08-a6d6-c70dac5d4877"

application/xml, text/xml

Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">ad1b7c39-0291-4b08-a6d6-c70dac5d4877</guid>