AbodeONE

<back to all web services

MoveResident

Requires Authentication
The following routes are available for this service:
All Verbs/resident/{ResidentId}/move
MoveResident Parameters:
NameParameterData TypeRequiredDescription
ResidentIdpathintNo
BedIdqueryintNo
RoomRatePeriodquerystringNo
OverrideWarningsquerybool?No
ResidentResponse Parameters:
NameParameterData TypeRequiredDescription
ResultformResidentDTONo
ResponseStatusformResponseStatusNo
ResidentDTO Parameters:
NameParameterData TypeRequiredDescription
ResidentIdformintNo
StudentIdformintNo
SchoolIdformstringNo
FirstNameformstringNo
LastNameformstringNo
DisplayNameformstringNo
BedIdformintNo
MailboxformstringNo
RoomIdformintNo
RoomRateIdformint?No
RoomformstringNo
RoomCodeformstringNo
WingformstringNo
BuildingformstringNo
BuildingCodeformstringNo
MoveInDateformDateTime?No
MoveOutDateformDateTime?No
ReserveStartDtformDateTime?No
ReserveEndDtformDateTime?No
CheckInUserIdformint?No
CheckInUserformstringNo
StatusformstringNo
TermCodeformstringNo
DftBillingTypeformstringNo
BillingStartOptionformstringNo
BillingEndOptionformstringNo
IsBillableformboolNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST //resident/{ResidentId}/move HTTP/1.1 
Host: api.lsu-staging.abodehms.com 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"residentId":0,"bedId":0,"roomRatePeriod":"String","overrideWarnings":false}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"result":{"residentId":0,"studentId":0,"schoolId":"String","firstName":"String","lastName":"String","displayName":"String","bedId":0,"mailbox":"String","roomId":0,"roomRateId":0,"room":"String","roomCode":"String","wing":"String","building":"String","buildingCode":"String","moveInDate":"0001-01-01T00:00:00.0000000","moveOutDate":"0001-01-01T00:00:00.0000000","reserveStartDt":"0001-01-01T00:00:00.0000000","reserveEndDt":"0001-01-01T00:00:00.0000000","checkInUserId":0,"checkInUser":"String","status":"String","termCode":"String","dftBillingType":"String","billingStartOption":"String","billingEndOption":"String","isBillable":false},"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}