POST client

Request Information

URI Parameters

None.

Body Parameters

clientadddto
NameDescriptionTypeAdditional information
firstname

string

None.

middlename

string

None.

lastname

string

None.

corporation

string

None.

email

string

None.

gender

string

None.

Request Formats

application/json, text/json

Sample:
{
  "firstname": "sample string 1",
  "middlename": "sample string 2",
  "lastname": "sample string 3",
  "corporation": "sample string 4",
  "email": "sample string 5",
  "gender": "sample string 6"
}

application/xml, text/xml

Sample:
<clientadddto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/palmeo.api.Models.DTO">
  <corporation>sample string 4</corporation>
  <email>sample string 5</email>
  <firstname>sample string 1</firstname>
  <gender>sample string 6</gender>
  <lastname>sample string 3</lastname>
  <middlename>sample string 2</middlename>
</clientadddto>

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

Response Information

Resource Description

clientaddreturndto
NameDescriptionTypeAdditional information
id

string

None.

firstname

string

None.

middlename

string

None.

lastname

string

None.

corporation

string

None.

email

string

None.

gender

string

None.

Response Formats

application/json, text/json

Sample:
{
  "id": "sample string 1",
  "firstname": "sample string 2",
  "middlename": "sample string 3",
  "lastname": "sample string 4",
  "corporation": "sample string 5",
  "email": "sample string 6",
  "gender": "sample string 7"
}

application/xml, text/xml

Sample:
<clientaddreturndto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/palmeo.api.Models.DTO">
  <corporation>sample string 5</corporation>
  <email>sample string 6</email>
  <firstname>sample string 2</firstname>
  <gender>sample string 7</gender>
  <id>sample string 1</id>
  <lastname>sample string 4</lastname>
  <middlename>sample string 3</middlename>
</clientaddreturndto>