PUT client/{clientid}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| clientid | integer |
Required |
Body Parameters
clienteditdto| Name | Description | Type | Additional information |
|---|---|---|---|
| firstname | string |
None. |
|
| middlename | string |
None. |
|
| lastname | string |
None. |
|
| corporation | string |
None. |
|
| string |
None. |
||
| strength | integer |
None. |
|
| typeofdiscount | integer |
None. |
|
| discountvalue | decimal number |
None. |
|
| gender | string |
None. |
|
| clientid | string |
None. |
|
| rowversion | integer |
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",
"strength": 6,
"typeofdiscount": 7,
"discountvalue": 1.0,
"gender": "sample string 8",
"clientid": "sample string 9",
"rowversion": 10
}
application/xml, text/xml
Sample:
<clienteditdto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/palmeo.api.Models.DTO"> <clientid>sample string 9</clientid> <corporation>sample string 4</corporation> <discountvalue>1</discountvalue> <email>sample string 5</email> <firstname>sample string 1</firstname> <gender>sample string 8</gender> <lastname>sample string 3</lastname> <middlename>sample string 2</middlename> <rowversion>10</rowversion> <strength>6</strength> <typeofdiscount>7</typeofdiscount> </clienteditdto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.