POST api/Tenant/SubmitResponse

Request Information

URI Parameters

None.

Body Parameters

SubmitResponse
NameDescriptionTypeAdditional information
TenantCode

string

None.

NumberOfCheques

integer

None.

AskingPrice

string

None.

IsRenewalAllowed

integer

None.

TenantStatus

integer

None.

RentFree

integer

None.

Response

string

None.

ChequeDetails

Collection of Chequedetail

None.

Request Formats

application/json, text/json

Sample:
{
  "TenantCode": "sample string 1",
  "NumberOfCheques": 2,
  "AskingPrice": "sample string 3",
  "IsRenewalAllowed": 4,
  "TenantStatus": 5,
  "RentFree": 6,
  "Response": "sample string 7",
  "ChequeDetails": [
    {
      "Amount": 1.0,
      "ChequeNo": "sample string 2",
      "DueDate": "2021-08-01T23:04:58.2731929+04:00",
      "BankName": "sample string 4",
      "Branch": "sample string 5",
      "NameonCheque": "sample string 6",
      "ChargeDescription": "sample string 7",
      "Cheque": "sample string 8",
      "chequeDate": "sample string 9",
      "ChequeAmount": "sample string 10",
      "Notes": "sample string 11"
    },
    {
      "Amount": 1.0,
      "ChequeNo": "sample string 2",
      "DueDate": "2021-08-01T23:04:58.2731929+04:00",
      "BankName": "sample string 4",
      "Branch": "sample string 5",
      "NameonCheque": "sample string 6",
      "ChargeDescription": "sample string 7",
      "Cheque": "sample string 8",
      "chequeDate": "sample string 9",
      "ChequeAmount": "sample string 10",
      "Notes": "sample string 11"
    }
  ]
}

application/xml, text/xml

Sample:
<SubmitResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_TP_BOT.Entities.Models">
  <AskingPrice>sample string 3</AskingPrice>
  <ChequeDetails>
    <Chequedetail>
      <Amount>1</Amount>
      <BankName>sample string 4</BankName>
      <Branch>sample string 5</Branch>
      <ChargeDescription>sample string 7</ChargeDescription>
      <Cheque>sample string 8</Cheque>
      <ChequeAmount>sample string 10</ChequeAmount>
      <ChequeNo>sample string 2</ChequeNo>
      <DueDate>2021-08-01T23:04:58.2731929+04:00</DueDate>
      <NameonCheque>sample string 6</NameonCheque>
      <Notes>sample string 11</Notes>
      <chequeDate>sample string 9</chequeDate>
    </Chequedetail>
    <Chequedetail>
      <Amount>1</Amount>
      <BankName>sample string 4</BankName>
      <Branch>sample string 5</Branch>
      <ChargeDescription>sample string 7</ChargeDescription>
      <Cheque>sample string 8</Cheque>
      <ChequeAmount>sample string 10</ChequeAmount>
      <ChequeNo>sample string 2</ChequeNo>
      <DueDate>2021-08-01T23:04:58.2731929+04:00</DueDate>
      <NameonCheque>sample string 6</NameonCheque>
      <Notes>sample string 11</Notes>
      <chequeDate>sample string 9</chequeDate>
    </Chequedetail>
  </ChequeDetails>
  <IsRenewalAllowed>4</IsRenewalAllowed>
  <NumberOfCheques>2</NumberOfCheques>
  <RentFree>6</RentFree>
  <Response>sample string 7</Response>
  <TenantCode>sample string 1</TenantCode>
  <TenantStatus>5</TenantStatus>
</SubmitResponse>

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>