Updates the specified office.
| Name | Description | Type | Additional information |
|---|---|---|---|
id |
The identifier of the office to update. |
integer |
Required |
The office.
ChappReport.Site.Areas.Api.Models.V1.OfficeV1ModelRequest| Name | Description | Type | Additional information |
|---|---|---|---|
Name |
The name of the office. |
string |
Max length: 100 |
Address |
The address of the office. |
Required |
{
"Name": "MyOfficeRef1",
"Address": {
"Street": "Ruschestrasse",
"HouseNumber": 45,
"ZipCode": "23957",
"City": "Wismar",
"Country": "DE"
}
}
<OfficeV1ModelRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ChappReport.Site.Areas.Api.Models.V1">
<Address>
<City>Wismar</City>
<Country>DE</Country>
<HouseNumber>45</HouseNumber>
<HouseNumberExtension i:nil="true" />
<Mailbox i:nil="true" />
<State i:nil="true" />
<Street>Ruschestrasse</Street>
<ZipCode>23957</ZipCode>
</Address>
<Name>MyOfficeRef1</Name>
</OfficeV1ModelRequest>
None.