POST api/Tenant/InitiateTenantRenewal

Request Information

URI Parameters

None.

Body Parameters

TenantRenewal
NameDescriptionTypeAdditional information
TenantCode

string

None.

AskingPrice

decimal number

None.

CurrentContractAmount

decimal number

None.

LeaseFrom

date

None.

LeaseTo

date

None.

Term

integer

None.

RentFree

integer

None.

email

string

None.

mobile

integer

None.

EID

string

None.

EIDIssue

date

None.

EIDExpiry

date

None.

PassportID

string

None.

PassportIssueDate

date

None.

PassportExpiry

date

None.

VisaNumber

string

None.

VisaIssueDate

date

None.

VisaExpiryDate

date

None.

LicenseNumber

string

None.

LicenseIssueDate

date

None.

LicenseExpiryDate

date

None.

EmiratesID

string

None.

Passport

string

None.

Visa

string

None.

TradeLicenseAgreement

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TenantCode": "sample string 1",
  "AskingPrice": 2.0,
  "CurrentContractAmount": 3.0,
  "LeaseFrom": "2021-08-02T00:18:19.6038539+04:00",
  "LeaseTo": "2021-08-02T00:18:19.6048504+04:00",
  "Term": 6,
  "RentFree": 7,
  "email": "sample string 8",
  "mobile": 9,
  "EID": "sample string 10",
  "EIDIssue": "2021-08-02T00:18:19.6048504+04:00",
  "EIDExpiry": "2021-08-02T00:18:19.6048504+04:00",
  "PassportID": "sample string 13",
  "PassportIssueDate": "2021-08-02T00:18:19.6048504+04:00",
  "PassportExpiry": "2021-08-02T00:18:19.6048504+04:00",
  "VisaNumber": "sample string 16",
  "VisaIssueDate": "2021-08-02T00:18:19.6048504+04:00",
  "VisaExpiryDate": "2021-08-02T00:18:19.6048504+04:00",
  "LicenseNumber": "sample string 19",
  "LicenseIssueDate": "2021-08-02T00:18:19.6048504+04:00",
  "LicenseExpiryDate": "2021-08-02T00:18:19.6048504+04:00",
  "EmiratesID": "sample string 22",
  "Passport": "sample string 23",
  "Visa": "sample string 24",
  "TradeLicenseAgreement": "sample string 25"
}

application/xml, text/xml

Sample:
<TenantRenewal xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_TP_BOT.Entities.Models">
  <AskingPrice>2</AskingPrice>
  <CurrentContractAmount>3</CurrentContractAmount>
  <EID>sample string 10</EID>
  <EIDExpiry>2021-08-02T00:18:19.6048504+04:00</EIDExpiry>
  <EIDIssue>2021-08-02T00:18:19.6048504+04:00</EIDIssue>
  <EmiratesID>sample string 22</EmiratesID>
  <LeaseFrom>2021-08-02T00:18:19.6038539+04:00</LeaseFrom>
  <LeaseTo>2021-08-02T00:18:19.6048504+04:00</LeaseTo>
  <LicenseExpiryDate>2021-08-02T00:18:19.6048504+04:00</LicenseExpiryDate>
  <LicenseIssueDate>2021-08-02T00:18:19.6048504+04:00</LicenseIssueDate>
  <LicenseNumber>sample string 19</LicenseNumber>
  <Passport>sample string 23</Passport>
  <PassportExpiry>2021-08-02T00:18:19.6048504+04:00</PassportExpiry>
  <PassportID>sample string 13</PassportID>
  <PassportIssueDate>2021-08-02T00:18:19.6048504+04:00</PassportIssueDate>
  <RentFree>7</RentFree>
  <TenantCode>sample string 1</TenantCode>
  <Term>6</Term>
  <TradeLicenseAgreement>sample string 25</TradeLicenseAgreement>
  <Visa>sample string 24</Visa>
  <VisaExpiryDate>2021-08-02T00:18:19.6048504+04:00</VisaExpiryDate>
  <VisaIssueDate>2021-08-02T00:18:19.6048504+04:00</VisaIssueDate>
  <VisaNumber>sample string 16</VisaNumber>
  <email>sample string 8</email>
  <mobile>9</mobile>
</TenantRenewal>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Response
NameDescriptionTypeAdditional information
failed_List

Collection of Failed_List

None.

ResponseCode

string

None.

AdditionalData

string

None.

Response Formats

application/json, text/json

Sample:
{
  "failed_List": [
    {
      "reference_no": "sample string 1",
      "reason": "sample string 2"
    },
    {
      "reference_no": "sample string 1",
      "reason": "sample string 2"
    }
  ],
  "ResponseCode": "sample string 1",
  "AdditionalData": "sample string 2"
}

application/xml, text/xml

Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_TP_BOT.Entities.Models">
  <AdditionalData>sample string 2</AdditionalData>
  <ResponseCode>sample string 1</ResponseCode>
  <failed_List>
    <Failed_List>
      <reason>sample string 2</reason>
      <reference_no>sample string 1</reference_no>
    </Failed_List>
    <Failed_List>
      <reason>sample string 2</reason>
      <reference_no>sample string 1</reference_no>
    </Failed_List>
  </failed_List>
</Response>