PUT ops/housing/budgets/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
BudgetPUTName | Description | Type | Additional information |
---|---|---|---|
Amount | decimal number |
None. |
|
StartDate | date |
None. |
|
EndDate | date |
None. |
|
UserUid | string |
None. |
|
StatusId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "amount": 1.0, "startDate": "2024-10-11T10:45:12.1204422+02:00", "endDate": "2024-10-11T10:45:12.1204422+02:00", "userUid": "sample string 4", "statusId": 5 }
application/xml, text/xml
Sample:
<BudgetPUT xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/myREST.Models.Operations.Housing"> <Amount>1</Amount> <EndDate>2024-10-11T10:45:12.1204422+02:00</EndDate> <StartDate>2024-10-11T10:45:12.1204422+02:00</StartDate> <StatusId>5</StatusId> <UserUid>sample string 4</UserUid> </BudgetPUT>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
BudgetGETName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Amount | decimal number |
None. |
|
StartDate | date |
None. |
|
EndDate | date |
None. |
|
HouseId | integer |
None. |
|
Modified | date |
None. |
|
Status | Status |
None. |
|
ModifiedBy | UserBasicGET |
None. |
Response Formats
application/json, text/json
Sample:
{ "id": 1, "amount": 2.0, "startDate": "2024-10-11T10:45:12.1360411+02:00", "endDate": "2024-10-11T10:45:12.1360411+02:00", "houseId": 5, "modified": "2024-10-11T10:45:12.1360411+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:
<BudgetGET xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/myREST.Models.Operations.Housing"> <Amount>2</Amount> <EndDate>2024-10-11T10:45:12.1360411+02:00</EndDate> <HouseId>5</HouseId> <Id>1</Id> <Modified>2024-10-11T10:45:12.1360411+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> <StartDate>2024-10-11T10:45:12.1360411+02:00</StartDate> <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> </BudgetGET>