GET api/GetRefralList/{CustomerId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CustomerId

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Referal
NameDescriptionTypeAdditional information
ReferalId

integer

None.

CustomerId

integer

None.

Refered_ProjectId

integer

None.

Refered_ProjName

string

None.

Customer_FlatId

integer

None.

Customer_FlatNo

string

None.

ReferalName

string

None.

ReferalPhone

string

None.

ReferalOutcome

string

None.

ProjectType

string

None.

LoginDate

string

None.

OwnerName

string

None.

OwnerMobile

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ReferalId": 1,
    "CustomerId": 2,
    "Refered_ProjectId": 3,
    "Refered_ProjName": "sample string 4",
    "Customer_FlatId": 5,
    "Customer_FlatNo": "sample string 6",
    "ReferalName": "sample string 7",
    "ReferalPhone": "sample string 8",
    "ReferalOutcome": "sample string 9",
    "ProjectType": "sample string 10",
    "LoginDate": "sample string 11",
    "OwnerName": "sample string 12",
    "OwnerMobile": "sample string 13"
  },
  {
    "ReferalId": 1,
    "CustomerId": 2,
    "Refered_ProjectId": 3,
    "Refered_ProjName": "sample string 4",
    "Customer_FlatId": 5,
    "Customer_FlatNo": "sample string 6",
    "ReferalName": "sample string 7",
    "ReferalPhone": "sample string 8",
    "ReferalOutcome": "sample string 9",
    "ProjectType": "sample string 10",
    "LoginDate": "sample string 11",
    "OwnerName": "sample string 12",
    "OwnerMobile": "sample string 13"
  }
]

application/xml, text/xml

Sample:
<ArrayOfReferal xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RECOSMart_Api">
  <Referal>
    <CustomerId>2</CustomerId>
    <Customer_FlatId>5</Customer_FlatId>
    <Customer_FlatNo>sample string 6</Customer_FlatNo>
    <LoginDate>sample string 11</LoginDate>
    <OwnerMobile>sample string 13</OwnerMobile>
    <OwnerName>sample string 12</OwnerName>
    <ProjectType>sample string 10</ProjectType>
    <ReferalId>1</ReferalId>
    <ReferalName>sample string 7</ReferalName>
    <ReferalOutcome>sample string 9</ReferalOutcome>
    <ReferalPhone>sample string 8</ReferalPhone>
    <Refered_ProjName>sample string 4</Refered_ProjName>
    <Refered_ProjectId>3</Refered_ProjectId>
  </Referal>
  <Referal>
    <CustomerId>2</CustomerId>
    <Customer_FlatId>5</Customer_FlatId>
    <Customer_FlatNo>sample string 6</Customer_FlatNo>
    <LoginDate>sample string 11</LoginDate>
    <OwnerMobile>sample string 13</OwnerMobile>
    <OwnerName>sample string 12</OwnerName>
    <ProjectType>sample string 10</ProjectType>
    <ReferalId>1</ReferalId>
    <ReferalName>sample string 7</ReferalName>
    <ReferalOutcome>sample string 9</ReferalOutcome>
    <ReferalPhone>sample string 8</ReferalPhone>
    <Refered_ProjName>sample string 4</Refered_ProjName>
    <Refered_ProjectId>3</Refered_ProjectId>
  </Referal>
</ArrayOfReferal>