POST api/Settings/UpdateUserMetalPrice

Request Information

URI Parameters

None.

Body Parameters

UserMetalPricesViewModel
NameDescriptionTypeAdditional information
ptPrice

decimal number

None.

pdPrice

decimal number

None.

rhPrice

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "ptPrice": 1.0,
  "pdPrice": 2.0,
  "rhPrice": 3.0
}

application/xml, text/xml

Sample:
<UserMetalPricesViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Petra_Mobile_API.ViewModels">
  <pdPrice>2</pdPrice>
  <ptPrice>1</ptPrice>
  <rhPrice>3</rhPrice>
</UserMetalPricesViewModel>

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.