PUT api/Planos/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Plano
NameDescriptionTypeAdditional information
Codigo

integer

None.

Nome

string

None.

Acrescimo

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "Codigo": 1,
  "Nome": "sample string 2",
  "Acrescimo": 1.0
}

application/xml, text/xml

Sample:
<Plano xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WSolar.Models">
  <Acrescimo>1</Acrescimo>
  <Codigo>1</Codigo>
  <Nome>sample string 2</Nome>
</Plano>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.