POST api/v1/get_iknowlength_output

Request Information

URI Parameters

None.

Body Parameters

CalculatorInput
NameDescriptionTypeAdditional information
UserId

integer

None.

IsAdmin

boolean

None.

CalculatorId

integer

None.

RailId

integer

None.

BellowId

integer

None.

Bellow

string

None.

SizeId

integer

None.

Size

string

None.

MaterialId

integer

None.

BlockOneType

integer

None.

BlockOneAccessory

integer

None.

BlockTwoType

integer

None.

BlockTwoAccessory

integer

None.

CentralineDist

string

None.

IsRailLength

boolean

None.

Length

integer

None.

TwoBellow

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": 1,
  "IsAdmin": true,
  "CalculatorId": 3,
  "RailId": 4,
  "BellowId": 5,
  "Bellow": "sample string 6",
  "SizeId": 7,
  "Size": "sample string 8",
  "MaterialId": 9,
  "BlockOneType": 10,
  "BlockOneAccessory": 11,
  "BlockTwoType": 12,
  "BlockTwoAccessory": 13,
  "CentralineDist": "sample string 14",
  "IsRailLength": true,
  "Length": 1,
  "TwoBellow": true
}

text/html

Sample:
{"$id":"1","UserId":1,"IsAdmin":true,"CalculatorId":3,"RailId":4,"BellowId":5,"Bellow":"sample string 6","SizeId":7,"Size":"sample string 8","MaterialId":9,"BlockOneType":10,"BlockOneAccessory":11,"BlockTwoType":12,"BlockTwoAccessory":13,"CentralineDist":"sample string 14","IsRailLength":true,"Length":1,"TwoBellow":true}

application/xml, text/xml

Sample:
<CalculatorInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BellaArmorAPI.Models.ViewModels">
  <Bellow>sample string 6</Bellow>
  <BellowId>5</BellowId>
  <BlockOneAccessory>11</BlockOneAccessory>
  <BlockOneType>10</BlockOneType>
  <BlockTwoAccessory>13</BlockTwoAccessory>
  <BlockTwoType>12</BlockTwoType>
  <CalculatorId>3</CalculatorId>
  <CentralineDist>sample string 14</CentralineDist>
  <IsAdmin>true</IsAdmin>
  <IsRailLength>true</IsRailLength>
  <Length>1</Length>
  <MaterialId>9</MaterialId>
  <RailId>4</RailId>
  <Size>sample string 8</Size>
  <SizeId>7</SizeId>
  <TwoBellow>true</TwoBellow>
  <UserId>1</UserId>
</CalculatorInput>

multipart/form-data

Sample:
<CalculatorInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BellaArmorAPI.Models.ViewModels"><Bellow>sample string 6</Bellow><BellowId>5</BellowId><BlockOneAccessory>11</BlockOneAccessory><BlockOneType>10</BlockOneType><BlockTwoAccessory>13</BlockTwoAccessory><BlockTwoType>12</BlockTwoType><CalculatorId>3</CalculatorId><CentralineDist>sample string 14</CentralineDist><IsAdmin>true</IsAdmin><IsRailLength>true</IsRailLength><Length>1</Length><MaterialId>9</MaterialId><RailId>4</RailId><Size>sample string 8</Size><SizeId>7</SizeId><TwoBellow>true</TwoBellow><UserId>1</UserId></CalculatorInput>

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.