POST ops/housing/tenants

Request Information

URI Parameters

None.

Body Parameters

TenantPOST
NameDescriptionTypeAdditional information
RsaId

string

None.

FullName

string

None.

Email

string

None.

ContactNo

string

None.

FringeBenifitTotal

decimal number

None.

UserUid

string

None.

Request Formats

application/json, text/json

Sample:
{
  "rsaId": "sample string 1",
  "fullName": "sample string 2",
  "email": "sample string 3",
  "contactNo": "sample string 4",
  "fringeBenifitTotal": 1.0,
  "userUid": "sample string 5"
}

application/xml, text/xml

Sample:
<TenantPOST xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/myREST.Models.Operations.Housing">
  <ContactNo>sample string 4</ContactNo>
  <Email>sample string 3</Email>
  <FringeBenifitTotal>1</FringeBenifitTotal>
  <FullName>sample string 2</FullName>
  <RsaId>sample string 1</RsaId>
  <UserUid>sample string 5</UserUid>
</TenantPOST>

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 'TenantPOST'.

Response Information

Resource Description

TenantGET
NameDescriptionTypeAdditional information
Id

integer

None.

RsaId

string

None.

FullName

string

None.

Email

string

None.

ContactNo

string

None.

FringeBenifitTotal

decimal number

None.

Modified

date

None.

Status

Status

None.

ModifiedBy

UserBasicGET

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "rsaId": "sample string 2",
  "fullName": "sample string 3",
  "email": "sample string 4",
  "contactNo": "sample string 5",
  "fringeBenifitTotal": 1.0,
  "modified": "2024-10-11T10:00:01.3758036+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:
<TenantGET xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/myREST.Models.Operations.Housing">
  <ContactNo>sample string 5</ContactNo>
  <Email>sample string 4</Email>
  <FringeBenifitTotal>1</FringeBenifitTotal>
  <FullName>sample string 3</FullName>
  <Id>1</Id>
  <Modified>2024-10-11T10:00:01.3758036+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>
  <RsaId>sample string 2</RsaId>
  <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>
</TenantGET>