PUT api/Driver/Put
Request Information
URI Parameters
None.
Body Parameters
DriverSimpleDto| Name | Description | Type | Additional information |
|---|---|---|---|
| cnh | string |
None. |
|
| cnhExpiration | date |
None. |
|
| profileImagePath | string |
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:
{
"cnh": "sample string 1",
"cnhExpiration": "2025-11-08T09:41:29.0647836-03:00",
"profileImagePath": "sample string 3",
"firstName": "sample string 4",
"lastName": "sample string 5",
"telefone": "6",
"rg": "7",
"issuingAuthority": "sample string 8",
"cpf": "9",
"key": 10,
"id": 10,
"isNew": true
}
application/xml, text/xml
Sample:
<DriverSimpleDto 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">10</key> <cpf>9</cpf> <firstName>sample string 4</firstName> <issuingAuthority>sample string 8</issuingAuthority> <lastName>sample string 5</lastName> <rg>7</rg> <telefone>6</telefone> <cnh>sample string 1</cnh> <cnhExpiration>2025-11-08T09:41:29.0647836-03:00</cnhExpiration> <profileImagePath>sample string 3</profileImagePath> </DriverSimpleDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.