POST api/Roadwise/Client

Request Information

URI Parameters

None.

Body Parameters

ClientCreateDTO
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:
<ClientCreateDTO 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>
</ClientCreateDTO>

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 'ClientCreateDTO'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.