PUT ops/housing/services/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
ServicePUTName | Description | Type | Additional information |
---|---|---|---|
Description | string |
None. |
|
ServiceTypeId | integer |
None. |
|
StatusId | integer |
None. |
|
UserUid | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "description": "sample string 1", "serviceTypeId": 2, "statusId": 3, "userUid": "sample string 4" }
application/xml, text/xml
Sample:
<ServicePUT xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/myREST.Models.Operations.Housing"> <Description>sample string 1</Description> <ServiceTypeId>2</ServiceTypeId> <StatusId>3</StatusId> <UserUid>sample string 4</UserUid> </ServicePUT>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ServiceGETName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Description | string |
None. |
|
ServiceType | ServiceTypeGET |
None. |
|
Modified | date |
None. |
|
Status | Status |
None. |
|
ModifiedBy | UserBasicGET |
None. |
Response Formats
application/json, text/json
Sample:
{ "id": 1, "description": "sample string 2", "serviceType": { "id": 1, "description": "sample string 2", "modified": "2024-10-11T11:15:32.4088564+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" } }, "modified": "2024-10-11T11:15:32.4088564+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:
<ServiceGET xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/myREST.Models.Operations.Housing"> <Description>sample string 2</Description> <Id>1</Id> <Modified>2024-10-11T11:15:32.4088564+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> <ServiceType> <Description>sample string 2</Description> <Id>1</Id> <Modified>2024-10-11T11:15:32.4088564+02:00</Modified> <ModifiedBy xmlns:d3p1="http://schemas.datacontract.org/2004/07/myREST.Models.Admin"> <d3p1:FirstName>sample string 1</d3p1:FirstName> <d3p1:Id>2</d3p1:Id> <d3p1:LastName>sample string 3</d3p1:LastName> <d3p1:Uid>sample string 4</d3p1:Uid> <d3p1:Username>sample string 5</d3p1:Username> </ModifiedBy> <Status xmlns:d3p1="http://schemas.datacontract.org/2004/07/myREST.Models.Admin"> <d3p1:Id>1</d3p1:Id> <d3p1:Name>sample string 2</d3p1:Name> </Status> </ServiceType> <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> </ServiceGET>