POST api/tenancy/addtenancy

Add a new tenancy

Request Information

URI Parameters

None.

Body Parameters

AddTenantRoleDataContract
NameDescriptionTypeAdditional information
OwningTeamGroupId

integer

None.

LandlordGroupId

integer

None.

TenantGroupId

integer

None.

PropertyId

integer

None.

StartDate

date

None.

EndDate

date

None.

NextPaymentDate

date

None.

RentAmount

integer

None.

PriceType

EnumDataContract

None.

Term

EnumDataContract

None.

AgreementType

EnumDataContract

None.

ServiceLevel

EnumDataContract

None.

EstimatedStartDate

date

None.

TenancyType

EnumDataContract

None.

NoticePeriod

EnumDataContract

None.

TenancyRoleStatus

EnumDataContract

None.

Request Formats

application/json, text/json

Sample:
{
  "OwningTeamGroupId": 1,
  "LandlordGroupId": 2,
  "TenantGroupId": 3,
  "PropertyId": 4,
  "StartDate": "2020-11-25T03:16:01.4442174Z",
  "EndDate": "2020-11-25T03:16:01.4442174Z",
  "NextPaymentDate": "2020-11-25T03:16:01.4442174Z",
  "RentAmount": 8,
  "PriceType": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "Term": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "AgreementType": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "ServiceLevel": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "EstimatedStartDate": "2020-11-25T03:16:01.4442174Z",
  "TenancyType": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "NoticePeriod": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "TenancyRoleStatus": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  }
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1