PUT api/Bed?token={token}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| token | string |
Required |
Body Parameters
MDLBed| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| Barcode | string |
None. |
|
| Identifier | string |
None. |
|
| DepartmentName | string |
None. |
|
| DepartmentId | integer |
None. |
|
| CostCenterId | integer |
None. |
|
| CostCenterName | string |
None. |
|
| Type | string |
None. |
|
| TypeId | integer |
None. |
|
| LastCleaning | date |
None. |
|
| LastMaintenance | date |
None. |
|
| MaintenanceInterval | integer |
None. |
|
| HouseId | integer |
None. |
|
| State | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"Name": "sample string 2",
"Description": "sample string 3",
"Barcode": "sample string 4",
"Identifier": "sample string 5",
"DepartmentName": "sample string 6",
"DepartmentId": 7,
"CostCenterId": 8,
"CostCenterName": "sample string 9",
"Type": "sample string 10",
"TypeId": 11,
"LastCleaning": "2025-12-31T16:34:24.5779523+01:00",
"LastMaintenance": "2025-12-31T16:34:24.5779523+01:00",
"MaintenanceInterval": 14,
"HouseId": 15,
"State": 16
}
application/xml, text/xml
Sample:
<MDLBed xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Asanus.BarCon.Middleware.Shared.Bed"> <Barcode>sample string 4</Barcode> <CostCenterId>8</CostCenterId> <CostCenterName>sample string 9</CostCenterName> <DepartmentId>7</DepartmentId> <DepartmentName>sample string 6</DepartmentName> <Description>sample string 3</Description> <HouseId>15</HouseId> <ID>1</ID> <Identifier>sample string 5</Identifier> <LastCleaning>2025-12-31T16:34:24.5779523+01:00</LastCleaning> <LastMaintenance>2025-12-31T16:34:24.5779523+01:00</LastMaintenance> <MaintenanceInterval>14</MaintenanceInterval> <Name>sample string 2</Name> <State>16</State> <Type>sample string 10</Type> <TypeId>11</TypeId> </MDLBed>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
MDLDefaultResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Successfull | boolean |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Successfull": true,
"Message": "sample string 2"
}
application/xml, text/xml
Sample:
<MDLDefaultResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Asanus.BarCon.Middleware.Shared"> <Message>sample string 2</Message> <Successfull>true</Successfull> </MDLDefaultResponse>