POST api/internalai/expression

Request Information

URI Parameters

None.

Body Parameters

WorkPoint.AI.Models.ExpressionRequestDto
NameDescriptionTypeAdditional information
task

string

None.

outputType

string

None.

context

Object

None.

Request Formats

application/json, text/json

Sample:
{
  "task": "sample string 1",
  "outputType": "sample string 2",
  "context": {}
}

application/xml, text/xml

Sample:
<ExpressionRequestDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WorkPoint.AI.Models">
  <Context />
  <OutputType>sample string 2</OutputType>
  <Task>sample string 1</Task>
</ExpressionRequestDto>

Response Information

Resource Description

System.Web.Http.IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.