POST api/ManageConverter/SubmitCalculator

Request Information

URI Parameters

None.

Body Parameters

MetalCalculatorViewModel
NameDescriptionTypeAdditional information
currencyId

byte

None.

currencyValue

decimal number

None.

ptContentGT

decimal number

None.

pdContentGT

decimal number

None.

rhContentGT

decimal number

None.

weight

decimal number

None.

converterValue

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "currencyId": 64,
  "currencyValue": 1.0,
  "ptContentGT": 2.0,
  "pdContentGT": 3.0,
  "rhContentGT": 4.0,
  "weight": 5.0,
  "converterValue": 6.0
}

application/xml, text/xml

Sample:
<MetalCalculatorViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Petra_Mobile_API.ViewModels">
  <converterValue>6</converterValue>
  <currencyId>64</currencyId>
  <currencyValue>1</currencyValue>
  <pdContentGT>3</pdContentGT>
  <ptContentGT>2</ptContentGT>
  <rhContentGT>4</rhContentGT>
  <weight>5</weight>
</MetalCalculatorViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.