POST api/EstRentEnquiry/Save

Request Information

URI Parameters

None.

Body Parameters

EstRentEnquirySaveVM
NameDescriptionTypeAdditional information
BookId

integer

Required

EnquiryDate

string

Required

EnquiryNo

string

Required

String length: inclusive between 0 and 20

Prefix

PrefixLookup

Required

IsTenant

string

None.

Tenant

EstTenantLookupVM

None.

TenantType

EstTenantTypeLookupVM

None.

PartyName

string

Required

String length: inclusive between 0 and 100

ShortName

string

String length: inclusive between 0 and 10

RentPurpose

string

String length: inclusive between 0 and 100

RentCategory

EstRentCategoryLookupVM

Required

RentProperty

EstRentPropertyLookupVM

None.

ExpStartDate

string

None.

ExpStartPeriod

string

String length: inclusive between 0 and 100

RentPeriodMonths

integer

None.

PhoneNo

string

String length: inclusive between 0 and 50

MobileNo

string

String length: inclusive between 0 and 50

Email

string

String length: inclusive between 0 and 100

Address1

string

String length: inclusive between 0 and 200

Address2

string

String length: inclusive between 0 and 200

Pincode

string

String length: inclusive between 0 and 50

Landmark

string

String length: inclusive between 0 and 200

PostOffice

PlaceLookup

None.

District

PlaceLookup

None.

State

PlaceLookup

None.

Country

PlaceLookup

None.

PanNumber

string

String length: inclusive between 0 and 30

AadharNumber

string

String length: inclusive between 0 and 50

Gstin

string

String length: inclusive between 0 and 20

Remarks

string

String length: inclusive between 0 and 1000

CreateUser

integer

Required

CreateIp

string

Required

String length: inclusive between 0 and 20

FinYearId

integer

Required

Request Formats

application/json, text/json

Sample:
{
  "BookId": 1,
  "EnquiryDate": "sample string 2",
  "EnquiryNo": "sample string 3",
  "Prefix": {
    "PrefixId": 1,
    "PrefixName": "sample string 2"
  },
  "IsTenant": "sample string 4",
  "Tenant": {
    "TenantId": 1,
    "TenantName": "sample string 2",
    "Prefix": {
      "PrefixId": 1,
      "PrefixName": "sample string 2"
    }
  },
  "TenantType": {
    "TenantTypeId": 1,
    "TenantTypeName": "sample string 2"
  },
  "PartyName": "sample string 5",
  "ShortName": "sample string 6",
  "RentPurpose": "sample string 7",
  "RentCategory": {
    "RentCategoryId": 1,
    "RentCategoryName": "sample string 2"
  },
  "RentProperty": {
    "PropertyId": 1,
    "PropertyName": "sample string 2"
  },
  "ExpStartDate": "sample string 8",
  "ExpStartPeriod": "sample string 9",
  "RentPeriodMonths": 10,
  "PhoneNo": "sample string 11",
  "MobileNo": "sample string 12",
  "Email": "sample string 13",
  "Address1": "sample string 14",
  "Address2": "sample string 15",
  "Pincode": "sample string 16",
  "Landmark": "sample string 17",
  "PostOffice": {
    "PlaceId": 1,
    "PlaceName": "sample string 2"
  },
  "District": {
    "PlaceId": 1,
    "PlaceName": "sample string 2"
  },
  "State": {
    "PlaceId": 1,
    "PlaceName": "sample string 2"
  },
  "Country": {
    "PlaceId": 1,
    "PlaceName": "sample string 2"
  },
  "PanNumber": "sample string 18",
  "AadharNumber": "sample string 19",
  "Gstin": "sample string 20",
  "Remarks": "sample string 21",
  "CreateUser": 22,
  "CreateIp": "sample string 23",
  "FinYearId": 24
}

application/xml, text/xml

Sample:
<EstRentEnquirySaveVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <AadharNumber>sample string 19</AadharNumber>
  <Address1>sample string 14</Address1>
  <Address2>sample string 15</Address2>
  <BookId>1</BookId>
  <Country>
    <PlaceId>1</PlaceId>
    <PlaceName>sample string 2</PlaceName>
  </Country>
  <CreateIp>sample string 23</CreateIp>
  <CreateUser>22</CreateUser>
  <District>
    <PlaceId>1</PlaceId>
    <PlaceName>sample string 2</PlaceName>
  </District>
  <Email>sample string 13</Email>
  <EnquiryDate>sample string 2</EnquiryDate>
  <EnquiryNo>sample string 3</EnquiryNo>
  <ExpStartDate>sample string 8</ExpStartDate>
  <ExpStartPeriod>sample string 9</ExpStartPeriod>
  <FinYearId>24</FinYearId>
  <Gstin>sample string 20</Gstin>
  <IsTenant>sample string 4</IsTenant>
  <Landmark>sample string 17</Landmark>
  <MobileNo>sample string 12</MobileNo>
  <PanNumber>sample string 18</PanNumber>
  <PartyName>sample string 5</PartyName>
  <PhoneNo>sample string 11</PhoneNo>
  <Pincode>sample string 16</Pincode>
  <PostOffice>
    <PlaceId>1</PlaceId>
    <PlaceName>sample string 2</PlaceName>
  </PostOffice>
  <Prefix>
    <PrefixId>1</PrefixId>
    <PrefixName>sample string 2</PrefixName>
  </Prefix>
  <Remarks>sample string 21</Remarks>
  <RentCategory>
    <RentCategoryId>1</RentCategoryId>
    <RentCategoryName>sample string 2</RentCategoryName>
  </RentCategory>
  <RentPeriodMonths>10</RentPeriodMonths>
  <RentProperty>
    <PropertyId>1</PropertyId>
    <PropertyName>sample string 2</PropertyName>
  </RentProperty>
  <RentPurpose>sample string 7</RentPurpose>
  <ShortName>sample string 6</ShortName>
  <State>
    <PlaceId>1</PlaceId>
    <PlaceName>sample string 2</PlaceName>
  </State>
  <Tenant>
    <Prefix>
      <PrefixId>1</PrefixId>
      <PrefixName>sample string 2</PrefixName>
    </Prefix>
    <TenantId>1</TenantId>
    <TenantName>sample string 2</TenantName>
  </Tenant>
  <TenantType>
    <TenantTypeId>1</TenantTypeId>
    <TenantTypeName>sample string 2</TenantTypeName>
  </TenantType>
</EstRentEnquirySaveVM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.