POST api/SetStatusDoor

Request Information

URI Parameters

None.

Body Parameters

Door
NameDescriptionTypeAdditional information
DoorId

integer

None.

LockerKey

string

String length: inclusive between 0 and 10

Number

integer

None.

Status

integer

None.

Size

integer

None.

CreationDate

date

None.

LastUpdate

date

None.

ReservationCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "DoorId": 1,
  "LockerKey": "sample string 2",
  "Number": 3,
  "Status": 4,
  "Size": 5,
  "CreationDate": "2025-10-26T14:45:30.4662661-06:00",
  "LastUpdate": "2025-10-26T14:45:30.4662661-06:00",
  "ReservationCode": "sample string 8"
}

application/xml, text/xml

Sample:
<Door xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MLO.SmartLockers.WEB.Models">
  <CreationDate>2025-10-26T14:45:30.4662661-06:00</CreationDate>
  <DoorId>1</DoorId>
  <LastUpdate>2025-10-26T14:45:30.4662661-06:00</LastUpdate>
  <LockerKey>sample string 2</LockerKey>
  <Number>3</Number>
  <ReservationCode>sample string 8</ReservationCode>
  <Size>5</Size>
  <Status>4</Status>
</Door>

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.