POST sigma-ai/simular?modelo={modelo}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
modelo

string

None.

Body Parameters

MlSimularDto
NameDescriptionTypeAdditional information
valores

Dictionary of string [key] and decimal number [value]

None.

Request Formats

application/json, text/json

Sample:
{
  "valores": {
    "sample string 1": 2.1,
    "sample string 3": 4.1
  }
}

application/xml, text/xml

Sample:
<MlSimularDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.MVC.Model">
  <valores xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringdouble>
      <d2p1:Key>sample string 1</d2p1:Key>
      <d2p1:Value>2.1</d2p1:Value>
    </d2p1:KeyValueOfstringdouble>
    <d2p1:KeyValueOfstringdouble>
      <d2p1:Key>sample string 3</d2p1:Key>
      <d2p1:Value>4.1</d2p1:Value>
    </d2p1:KeyValueOfstringdouble>
  </valores>
</MlSimularDto>

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 'MlSimularDto'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.