PUT ops/housing/owners/{ownerId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ownerId

integer

Required

Body Parameters

OwnerPUT
NameDescriptionTypeAdditional information
Name

string

None.

UserUid

string

None.

Request Formats

application/json, text/json

Sample:
{
  "name": "sample string 1",
  "userUid": "sample string 2"
}

application/xml, text/xml

Sample:
<OwnerPUT xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/myREST.Models.Operations.Housing">
  <Name>sample string 1</Name>
  <UserUid>sample string 2</UserUid>
</OwnerPUT>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'OwnerPUT'.

Response Information

Resource Description

OwnerGET
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "name": "sample string 2"
}

application/xml, text/xml

Sample:
<OwnerGET xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/myREST.Models.Operations.Housing">
  <Id>1</Id>
  <Name>sample string 2</Name>
</OwnerGET>