GET api/GetAllBooking/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

GetBookingVm
NameDescriptionTypeAdditional information
Id

integer

None.

Type

string

None.

BookingType

string

None.

Amount

decimal number

None.

Deposit

decimal number

None.

ContractPeriod

string

None.

TenureStart

string

None.

TenureEnd

string

None.

BrokeragePercentage

decimal number

None.

BrokerageAmount

decimal number

None.

ExecutiveIncentivePercentage

decimal number

None.

ExecutiveIncentiveAmount

decimal number

None.

AvailableFrom

string

None.

CustomerId

integer

None.

CustomerName

string

None.

ProjectId

integer

None.

ProjectName

string

None.

ProjectType

string

None.

UnitId

integer

None.

UnitName

string

None.

InventoryId

integer

None.

InventoryProjectName

string

None.

InventoryHouseName

string

None.

InventoryWingName

string

None.

HouseName

string

None.

Lead_Id

integer

None.

IsSold

boolean

None.

UserId

integer

None.

UserName

string

None.

Date

string

None.

Remark

string

None.

BookingFollowupRemark

string

None.

BookingFollowupDate

string

None.

BookingFollowupTo

string

None.

FormNumber

string

None.

IsApproved

boolean

None.

Documents

Collection of ImageVM

None.

BookingUsers

Collection of GetBookingUserVm

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 2,
  "Type": "sample string 3",
  "BookingType": "sample string 4",
  "Amount": 5.1,
  "Deposit": 6.1,
  "ContractPeriod": "sample string 7",
  "TenureStart": "sample string 8",
  "TenureEnd": "sample string 9",
  "BrokeragePercentage": 10.1,
  "BrokerageAmount": 11.1,
  "ExecutiveIncentivePercentage": 12.1,
  "ExecutiveIncentiveAmount": 13.1,
  "AvailableFrom": "sample string 14",
  "CustomerId": 1,
  "CustomerName": "sample string 15",
  "ProjectId": 1,
  "ProjectName": "sample string 16",
  "ProjectType": "sample string 17",
  "UnitId": 1,
  "UnitName": "sample string 18",
  "InventoryId": 1,
  "InventoryProjectName": "sample string 19",
  "InventoryHouseName": "sample string 20",
  "InventoryWingName": "sample string 21",
  "HouseName": "sample string 19 / sample string 21 / sample string 20",
  "Lead_Id": 1,
  "IsSold": true,
  "UserId": 1,
  "UserName": "sample string 22",
  "Date": "sample string 23",
  "Remark": "sample string 24",
  "BookingFollowupRemark": "sample string 25",
  "BookingFollowupDate": "sample string 26",
  "BookingFollowupTo": "sample string 27",
  "FormNumber": "sample string 28",
  "IsApproved": true,
  "Documents": [
    {
      "Id": 1,
      "Name": "sample string 1",
      "Url": "sample string 2",
      "Description": "sample string 3",
      "Type": "sample string 4",
      "Category": "sample string 5",
      "Base64Url": "sample string 6"
    },
    {
      "Id": 1,
      "Name": "sample string 1",
      "Url": "sample string 2",
      "Description": "sample string 3",
      "Type": "sample string 4",
      "Category": "sample string 5",
      "Base64Url": "sample string 6"
    }
  ],
  "BookingUsers": [
    {
      "Id": 1,
      "BookingId": 1,
      "UserId": 1,
      "UserName": "sample string 2",
      "IncentivePercentage": 3.1,
      "IncentiveAmount": 4.1
    },
    {
      "Id": 1,
      "BookingId": 1,
      "UserId": 1,
      "UserName": "sample string 2",
      "IncentivePercentage": 3.1,
      "IncentiveAmount": 4.1
    }
  ]
}

application/xml, text/xml

Sample:
<GetBookingVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BrokerServer.Services.Inventory">
  <Amount>5.1</Amount>
  <AvailableFrom>sample string 14</AvailableFrom>
  <BookingFollowupDate>sample string 26</BookingFollowupDate>
  <BookingFollowupRemark>sample string 25</BookingFollowupRemark>
  <BookingFollowupTo>sample string 27</BookingFollowupTo>
  <BookingType>sample string 4</BookingType>
  <BookingUsers>
    <GetBookingUserVm>
      <BookingId>1</BookingId>
      <Id>1</Id>
      <IncentiveAmount>4.1</IncentiveAmount>
      <IncentivePercentage>3.1</IncentivePercentage>
      <UserId>1</UserId>
      <UserName>sample string 2</UserName>
    </GetBookingUserVm>
    <GetBookingUserVm>
      <BookingId>1</BookingId>
      <Id>1</Id>
      <IncentiveAmount>4.1</IncentiveAmount>
      <IncentivePercentage>3.1</IncentivePercentage>
      <UserId>1</UserId>
      <UserName>sample string 2</UserName>
    </GetBookingUserVm>
  </BookingUsers>
  <BrokerageAmount>11.1</BrokerageAmount>
  <BrokeragePercentage>10.1</BrokeragePercentage>
  <ContractPeriod>sample string 7</ContractPeriod>
  <Count>1</Count>
  <CustomerId>1</CustomerId>
  <CustomerName>sample string 15</CustomerName>
  <Date>sample string 23</Date>
  <Deposit>6.1</Deposit>
  <Documents xmlns:d2p1="http://schemas.datacontract.org/2004/07/BrokerServer.Models">
    <d2p1:ImageVM>
      <d2p1:Base64Url>sample string 6</d2p1:Base64Url>
      <d2p1:Category>sample string 5</d2p1:Category>
      <d2p1:Description>sample string 3</d2p1:Description>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Name>sample string 1</d2p1:Name>
      <d2p1:Type>sample string 4</d2p1:Type>
      <d2p1:Url>sample string 2</d2p1:Url>
    </d2p1:ImageVM>
    <d2p1:ImageVM>
      <d2p1:Base64Url>sample string 6</d2p1:Base64Url>
      <d2p1:Category>sample string 5</d2p1:Category>
      <d2p1:Description>sample string 3</d2p1:Description>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Name>sample string 1</d2p1:Name>
      <d2p1:Type>sample string 4</d2p1:Type>
      <d2p1:Url>sample string 2</d2p1:Url>
    </d2p1:ImageVM>
  </Documents>
  <ExecutiveIncentiveAmount>13.1</ExecutiveIncentiveAmount>
  <ExecutiveIncentivePercentage>12.1</ExecutiveIncentivePercentage>
  <FormNumber>sample string 28</FormNumber>
  <Id>2</Id>
  <InventoryHouseName>sample string 20</InventoryHouseName>
  <InventoryId>1</InventoryId>
  <InventoryProjectName>sample string 19</InventoryProjectName>
  <InventoryWingName>sample string 21</InventoryWingName>
  <IsApproved>true</IsApproved>
  <IsSold>true</IsSold>
  <Lead_Id>1</Lead_Id>
  <ProjectId>1</ProjectId>
  <ProjectName>sample string 16</ProjectName>
  <ProjectType>sample string 17</ProjectType>
  <Remark>sample string 24</Remark>
  <TenureEnd>sample string 9</TenureEnd>
  <TenureStart>sample string 8</TenureStart>
  <Type>sample string 3</Type>
  <UnitId>1</UnitId>
  <UnitName>sample string 18</UnitName>
  <UserId>1</UserId>
  <UserName>sample string 22</UserName>
</GetBookingVm>