PUT Client/{id}
Update an existing client.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Internal Id of the client to Update |
integer |
Required |
Body Parameters
A ClientRestResult object
ClientRestItemName | Description | Type | Additional information |
---|---|---|---|
Id |
Primary Key. |
integer |
None. |
CompanyName |
Name of the Client. |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "CompanyName": "sample string 2" }
application/xml, text/xml
Sample:
<ClientRestItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Api360.Models"> <CompanyName>sample string 2</CompanyName> <Id>1</Id> </ClientRestItem>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ClientRestResultName | Description | Type | Additional information |
---|---|---|---|
RestItems |
Collection of ClientRestItem objects. |
Collection of ClientRestItem |
None. |
Response Formats
application/json, text/json
Sample:
{ "RestItems": [ { "Id": 1, "CompanyName": "sample string 2" }, { "Id": 1, "CompanyName": "sample string 2" } ] }
application/xml, text/xml
Sample:
<ClientRestResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Api360.Models"> <RestItems> <ClientRestItem> <CompanyName>sample string 2</CompanyName> <Id>1</Id> </ClientRestItem> <ClientRestItem> <CompanyName>sample string 2</CompanyName> <Id>1</Id> </ClientRestItem> </RestItems> </ClientRestResult>