PUT api/Configuration/Clients
Create a new Client or update an existing one
Request Information
URI Parameters
None.
Body Parameters
The Client to create/update
ClientName | Description | Type | Additional information |
---|---|---|---|
CostCenter |
|
string |
Required |
Code |
|
string |
Required Max length: 10 |
Name |
|
string |
Required Max length: 20 |
Description |
|
string |
Max length: 100 |
TaxNumber |
|
string |
Max length: 15 |
Phone |
|
string |
Max length: 17 |
Fax |
|
string |
Max length: 17 |
Address |
|
string |
Max length: 100 |
PostalCode |
|
string |
Max length: 10 |
PlaceCity |
|
string |
Max length: 50 |
StateRegion |
|
string |
Max length: 20 |
Country |
|
string |
Max length: 20 |
WebPage |
|
string |
Max length: 40 |
|
string |
Max length: 100 |
Request Formats
Sample:
{ "CostCenter": "sample string 1", "Code": "sample string 2", "Name": "sample string 3", "Description": "sample string 4", "TaxNumber": "sample string 5", "Phone": "sample string 6", "Fax": "sample string 7", "Address": "sample string 8", "PostalCode": "sample string 9", "PlaceCity": "sample string 10", "StateRegion": "sample string 11", "Country": "sample string 12", "WebPage": "sample string 13", "Email": "sample string 14" }
Sample:
<Client xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models.Parametrizacao"> <Address>sample string 8</Address> <Code>sample string 2</Code> <Country>sample string 12</Country> <Description>sample string 4</Description> <Email>sample string 14</Email> <Fax>sample string 7</Fax> <Name>sample string 3</Name> <Phone>sample string 6</Phone> <PlaceCity>sample string 10</PlaceCity> <PostalCode>sample string 9</PostalCode> <StateRegion>sample string 11</StateRegion> <TaxNumber>sample string 5</TaxNumber> <WebPage>sample string 13</WebPage> <CostCenter>sample string 1</CostCenter> </Client>
Sample:
Sample not available.
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="CostCenter" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Code" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Name" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Description" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="TaxNumber" sample string 5 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Phone" sample string 6 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Fax" sample string 7 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Address" sample string 8 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="PostalCode" sample string 9 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="PlaceCity" sample string 10 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="StateRegion" sample string 11 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Country" sample string 12 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="WebPage" sample string 13 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Email" sample string 14 --MultipartDataMediaFormatterBoundary1q2w3e--
Response Information
Resource Description
stringResponse Formats
Sample:
"sample string 1"
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e--