PUT api/Employee/Put

Request Information

URI Parameters

None.

Body Parameters

EmployeeEditDto
NameDescriptionTypeAdditional information
firstName

string

None.

lastName

string

None.

telefone

string

None.

rg

string

None.

issuingAuthority

string

None.

cpf

string

None.

key

integer

None.

id

integer

None.

isNew

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "firstName": "sample string 1",
  "lastName": "sample string 2",
  "telefone": "3",
  "rg": "4",
  "issuingAuthority": "sample string 5",
  "cpf": "6",
  "key": 7,
  "id": 7,
  "isNew": true
}

application/xml, text/xml

Sample:
<EmployeeEditDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OffDriver.Webapi.Models.Account">
  <isNew xmlns="http://schemas.datacontract.org/2004/07/Zenite.Pi.Web.Models">true</isNew>
  <key xmlns="http://schemas.datacontract.org/2004/07/Zenite.Pi.Web.Models">7</key>
  <cpf>6</cpf>
  <firstName>sample string 1</firstName>
  <issuingAuthority>sample string 5</issuingAuthority>
  <lastName>sample string 2</lastName>
  <rg>4</rg>
  <telefone>3</telefone>
</EmployeeEditDto>

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.