PUT api/Roadwise/Client/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

ClientUpdateDTO
NameDescriptionTypeAdditional information
lastName

string

None.

firstName

string

None.

parent

integer

None.

active

byte

None.

type

string

None.

Request Formats

application/json, text/json

Sample:
{
  "lastName": "sample string 1",
  "firstName": "sample string 2",
  "parent": 3,
  "active": 64,
  "type": "sample string 5"
}

application/xml, text/xml

Sample:
<ClientUpdateDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RoadwiseSVC.Models.DTO">
  <active>64</active>
  <firstName>sample string 2</firstName>
  <lastName>sample string 1</lastName>
  <parent>3</parent>
  <type>sample string 5</type>
</ClientUpdateDTO>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ClientUpdateDTO'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.