PUT api/Account?id={id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
AccountDTOName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
TenantID | globally unique identifier |
None. |
|
CompanyLogo | Collection of byte |
None. |
|
CompanyName | string |
None. |
|
CountryCode | string |
None. |
|
City | string |
None. |
|
StreetAddress | string |
None. |
|
PhoneNumber | string |
None. |
|
EmailAddress | string |
None. |
|
UseUnits | boolean |
None. |
|
NumberOfUnits | integer |
None. |
|
UseSeats | boolean |
None. |
|
AccountBaseCost | decimal number |
None. |
|
AccountSeatCost | decimal number |
None. |
|
MasterAccess | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "ID": 1, "TenantID": "aeddc9de-7060-4f92-96ef-27a327598518", "CompanyLogo": "QEA=", "CompanyName": "sample string 3", "CountryCode": "sample string 4", "City": "sample string 5", "StreetAddress": "sample string 6", "PhoneNumber": "sample string 7", "EmailAddress": "sample string 8", "UseUnits": true, "NumberOfUnits": 10, "UseSeats": true, "AccountBaseCost": 12.1, "AccountSeatCost": 13.1, "MasterAccess": true }
application/xml, text/xml
Sample:
<AccountDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataAccess.DTO"> <AccountBaseCost>12.1</AccountBaseCost> <AccountSeatCost>13.1</AccountSeatCost> <City>sample string 5</City> <CompanyLogo>QEA=</CompanyLogo> <CompanyName>sample string 3</CompanyName> <CountryCode>sample string 4</CountryCode> <EmailAddress>sample string 8</EmailAddress> <ID>1</ID> <MasterAccess>true</MasterAccess> <NumberOfUnits>10</NumberOfUnits> <PhoneNumber>sample string 7</PhoneNumber> <StreetAddress>sample string 6</StreetAddress> <TenantID>aeddc9de-7060-4f92-96ef-27a327598518</TenantID> <UseSeats>true</UseSeats> <UseUnits>true</UseUnits> </AccountDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>