POST api/Prediction/BuildModel

Request Information

URI Parameters

None.

Body Parameters

RegressionRequestModel
NameDescriptionTypeAdditional information
Name

string

None.

Str

string

None.

DependParam

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "Str": "sample string 2",
  "DependParam": 3
}

application/xml, text/xml

Sample:
<RegressionRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindPlatform.Service.Models.RequestModels">
  <DependParam>3</DependParam>
  <Name>sample string 1</Name>
  <Str>sample string 2</Str>
</RegressionRequestModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'RegressionRequestModel'.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>