POST ops/housing/owners

Request Information

URI Parameters

None.

Body Parameters

OwnerPOST
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:
<OwnerPOST 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>
</OwnerPOST>

application/x-www-form-urlencoded

Sample:

Sample not available.

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>