POST v1/facilities/{fId}/tenant/{tId}/modifyreservation
Processes the tenant reservation modification.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
fId |
The f identifier. |
globally unique identifier |
Required |
tId |
The t identifier. |
string |
Required |
Body Parameters
The reservation.
ProcessTenantReservationModificationName | Description | Type | Additional information |
---|---|---|---|
TenantGateAccessCode | string |
None. |
|
FromUnitId | string |
None. |
|
ToUnitTypeId | string |
None. |
|
ToUnitId | string |
None. |
|
Status | string |
None. |
|
ReserveType | string |
None. |
|
Comment | string |
None. |
|
QuotedRate | decimal number |
None. |
|
ReserveForDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "TenantGateAccessCode": "sample string 1", "FromUnitId": "sample string 2", "ToUnitTypeId": "sample string 3", "ToUnitId": "sample string 4", "Status": "sample string 5", "ReserveType": "sample string 6", "Comment": "sample string 7", "QuotedRate": 8.1, "ReserveForDate": "2025-06-30T22:30:06.0905031-07:00" }
application/xml, text/xml
Sample:
<ProcessTenantReservationModification xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OpenTech.IssnWebApi.Web.Models.ViewModels"> <Comment>sample string 7</Comment> <FromUnitId>sample string 2</FromUnitId> <QuotedRate>8.1</QuotedRate> <ReserveForDate>2025-06-30T22:30:06.0905031-07:00</ReserveForDate> <ReserveType>sample string 6</ReserveType> <Status>sample string 5</Status> <TenantGateAccessCode>sample string 1</TenantGateAccessCode> <ToUnitId>sample string 4</ToUnitId> <ToUnitTypeId>sample string 3</ToUnitTypeId> </ProcessTenantReservationModification>
Response Information
Resource Description
TenantReservationModificationName | Description | Type | Additional information |
---|---|---|---|
Errors | Collection of Exception |
None. |
|
IsSuccess | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Errors": [ { "ClassName": "System.Exception", "Message": null, "Data": null, "InnerException": null, "HelpURL": "sample string 1", "StackTraceString": null, "RemoteStackTraceString": null, "RemoteStackIndex": 0, "ExceptionMethod": null, "HResult": 3, "Source": "sample string 2", "WatsonBuckets": null }, { "ClassName": "System.Exception", "Message": null, "Data": null, "InnerException": null, "HelpURL": "sample string 1", "StackTraceString": null, "RemoteStackTraceString": null, "RemoteStackIndex": 0, "ExceptionMethod": null, "HResult": 3, "Source": "sample string 2", "WatsonBuckets": null } ], "IsSuccess": true }
application/xml, text/xml
Sample:
<TenantReservationModification xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OpenTech.IssnWebApi.Web.Models.BindingModels"> <Errors xmlns:d2p1="http://schemas.datacontract.org/2004/07/System"> <d2p1:Exception> <ClassName xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">System.Exception</ClassName> <Message i:nil="true" xmlns="" /> <Data i:nil="true" xmlns="" /> <InnerException i:nil="true" xmlns="" /> <HelpURL xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 1</HelpURL> <StackTraceString i:nil="true" xmlns="" /> <RemoteStackTraceString i:nil="true" xmlns="" /> <RemoteStackIndex xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:int" xmlns="">0</RemoteStackIndex> <ExceptionMethod i:nil="true" xmlns="" /> <HResult xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:int" xmlns="">3</HResult> <Source xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 2</Source> <WatsonBuckets i:nil="true" xmlns="" /> </d2p1:Exception> <d2p1:Exception> <ClassName xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">System.Exception</ClassName> <Message i:nil="true" xmlns="" /> <Data i:nil="true" xmlns="" /> <InnerException i:nil="true" xmlns="" /> <HelpURL xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 1</HelpURL> <StackTraceString i:nil="true" xmlns="" /> <RemoteStackTraceString i:nil="true" xmlns="" /> <RemoteStackIndex xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:int" xmlns="">0</RemoteStackIndex> <ExceptionMethod i:nil="true" xmlns="" /> <HResult xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:int" xmlns="">3</HResult> <Source xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 2</Source> <WatsonBuckets i:nil="true" xmlns="" /> </d2p1:Exception> </Errors> <IsSuccess>true</IsSuccess> </TenantReservationModification>