PUT ops/housing/valuations/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
ValuationPUTName | Description | Type | Additional information |
---|---|---|---|
ValuationDate | date |
None. |
|
Amount | decimal number |
None. |
|
HouseId | integer |
None. |
|
RentAmount | decimal number |
None. |
|
Agency | string |
None. |
|
StatusId | integer |
None. |
|
UserUid | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "valuationDate": "2024-09-08T06:36:24.6042754+02:00", "amount": 2.0, "houseId": 3, "rentAmount": 1.0, "agency": "sample string 4", "statusId": 5, "userUid": "sample string 6" }
application/xml, text/xml
Sample:
<ValuationPUT xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/myREST.Models.Operations.Housing"> <Agency>sample string 4</Agency> <Amount>2</Amount> <HouseId>3</HouseId> <RentAmount>1</RentAmount> <StatusId>5</StatusId> <UserUid>sample string 6</UserUid> <ValuationDate>2024-09-08T06:36:24.6042754+02:00</ValuationDate> </ValuationPUT>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ValuationGETName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
ValuationDate | date |
None. |
|
Amount | decimal number |
None. |
|
RentAmount | decimal number |
None. |
|
Agency | string |
None. |
|
HouseId | integer |
None. |
|
Modified | date |
None. |
|
Status | Status |
None. |
|
ModifiedBy | UserBasicGET |
None. |
Response Formats
application/json, text/json
Sample:
{ "id": 1, "valuationDate": "2024-09-08T06:36:24.6198875+02:00", "amount": 3.0, "rentAmount": 1.0, "agency": "sample string 4", "houseId": 5, "modified": "2024-09-08T06:36:24.6198875+02:00", "status": { "id": 1, "name": "sample string 2" }, "modifiedBy": { "firstName": "sample string 1", "id": 2, "lastName": "sample string 3", "uid": "sample string 4", "username": "sample string 5" } }
application/xml, text/xml
Sample:
<ValuationGET xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/myREST.Models.Operations.Housing"> <Agency>sample string 4</Agency> <Amount>3</Amount> <HouseId>5</HouseId> <Id>1</Id> <Modified>2024-09-08T06:36:24.6198875+02:00</Modified> <ModifiedBy xmlns:d2p1="http://schemas.datacontract.org/2004/07/myREST.Models.Admin"> <d2p1:FirstName>sample string 1</d2p1:FirstName> <d2p1:Id>2</d2p1:Id> <d2p1:LastName>sample string 3</d2p1:LastName> <d2p1:Uid>sample string 4</d2p1:Uid> <d2p1:Username>sample string 5</d2p1:Username> </ModifiedBy> <RentAmount>1</RentAmount> <Status xmlns:d2p1="http://schemas.datacontract.org/2004/07/myREST.Models.Admin"> <d2p1:Id>1</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> </Status> <ValuationDate>2024-09-08T06:36:24.6198875+02:00</ValuationDate> </ValuationGET>