POST api/InsertRefral
Request Information
URI Parameters
None.
Body Parameters
Createreferal| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerId | integer |
None. |
|
| Refered_ProjectId | integer |
None. |
|
| Customer_FlatId | integer |
None. |
|
| ReferalName | string |
None. |
|
| ReferalPhone | string |
None. |
|
| ReferalOutcome | string |
None. |
|
| ProjectType | string |
None. |
|
| LoginDate | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustomerId": 1,
"Refered_ProjectId": 2,
"Customer_FlatId": 3,
"ReferalName": "sample string 4",
"ReferalPhone": "sample string 5",
"ReferalOutcome": "sample string 6",
"ProjectType": "sample string 7",
"LoginDate": "sample string 8"
}
application/xml, text/xml
Sample:
<ReferalInsert.Createreferal xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RECOSMart_Api"> <CustomerId>1</CustomerId> <Customer_FlatId>3</Customer_FlatId> <LoginDate>sample string 8</LoginDate> <ProjectType>sample string 7</ProjectType> <ReferalName>sample string 4</ReferalName> <ReferalOutcome>sample string 6</ReferalOutcome> <ReferalPhone>sample string 5</ReferalPhone> <Refered_ProjectId>2</Refered_ProjectId> </ReferalInsert.Createreferal>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />