PUT api/UpdateStatusLockers?LockerKey={LockerKey}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
LockerKey

string

Required

Body Parameters

Locker
NameDescriptionTypeAdditional information
LockerId

integer

None.

LockerKey

string

Required

String length: inclusive between 0 and 15

Location

string

Required

String length: inclusive between 0 and 100

Url

string

Required

Status

integer

None.

Comments

string

Required

String length: inclusive between 0 and 100

CreationDate

date

None.

LastUpdate

date

None.

TotalDoors

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "LockerId": 1,
  "LockerKey": "sample string 2",
  "Location": "sample string 3",
  "Url": "sample string 4",
  "Status": 5,
  "Comments": "sample string 6",
  "CreationDate": "2025-10-26T14:45:30.5912948-06:00",
  "LastUpdate": "2025-10-26T14:45:30.5912948-06:00",
  "TotalDoors": 9
}

application/xml, text/xml

Sample:
<Locker xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MLO.SmartLockers.WEB.Models">
  <Comments>sample string 6</Comments>
  <CreationDate>2025-10-26T14:45:30.5912948-06:00</CreationDate>
  <LastUpdate>2025-10-26T14:45:30.5912948-06:00</LastUpdate>
  <Location>sample string 3</Location>
  <LockerId>1</LockerId>
  <LockerKey>sample string 2</LockerKey>
  <Status>5</Status>
  <TotalDoors>9</TotalDoors>
  <Url>sample string 4</Url>
</Locker>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.