PUT api/Client/Put

Request Information

URI Parameters

None.

Body Parameters

ClientEditDto
NameDescriptionTypeAdditional information
hygieneMaterialRequired

boolean

None.

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:
{
  "hygieneMaterialRequired": true,
  "firstName": "sample string 2",
  "lastName": "sample string 3",
  "telefone": "4",
  "rg": "5",
  "issuingAuthority": "sample string 6",
  "cpf": "7",
  "key": 8,
  "id": 8,
  "isNew": true
}

application/xml, text/xml

Sample:
<ClientEditDto 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">8</key>
  <cpf>7</cpf>
  <firstName>sample string 2</firstName>
  <issuingAuthority>sample string 6</issuingAuthority>
  <lastName>sample string 3</lastName>
  <rg>5</rg>
  <telefone>4</telefone>
  <hygieneMaterialRequired>true</hygieneMaterialRequired>
</ClientEditDto>

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.