PUT api/BedType/Update

Request Information

URI Parameters

None.

Body Parameters

BedType
NameDescriptionTypeAdditional information
Id

integer

None.

BedTypeName

string

None.

Description

string

None.

HrsBetweenUse

string

None.

MaxUse

string

None.

UVFree

boolean

None.

Show

boolean

None.

BedColor

string

None.

EquipmentTypeID

integer

None.

CompanyID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "BedTypeName": "sample string 2",
  "Description": "sample string 3",
  "HrsBetweenUse": "sample string 4",
  "MaxUse": "sample string 5",
  "UVFree": true,
  "Show": true,
  "BedColor": "sample string 6",
  "EquipmentTypeID": 1,
  "CompanyID": 7
}

application/xml, text/xml

Sample:
<BedType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KSolApi.Models">
  <BedColor>sample string 6</BedColor>
  <BedTypeName>sample string 2</BedTypeName>
  <CompanyID>7</CompanyID>
  <Description>sample string 3</Description>
  <EquipmentTypeID>1</EquipmentTypeID>
  <HrsBetweenUse>sample string 4</HrsBetweenUse>
  <Id>1</Id>
  <MaxUse>sample string 5</MaxUse>
  <Show>true</Show>
  <UVFree>true</UVFree>
</BedType>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Response
NameDescriptionTypeAdditional information
Status

integer

None.

ResponseMsg

string

None.

Data

Object

None.

Token

string

None.

IsSuccess

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 1,
  "ResponseMsg": "sample string 2",
  "Data": {},
  "Token": "sample string 4",
  "IsSuccess": true
}

application/xml, text/xml

Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KSolApi.GlobalLogics">
  <Data />
  <IsSuccess>true</IsSuccess>
  <ResponseMsg>sample string 2</ResponseMsg>
  <Status>1</Status>
  <Token>sample string 4</Token>
</Response>