POST api/Leads/saveLead
Request Information
URI Parameters
None.
Body Parameters
LeadSave| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerId | integer |
None. |
|
| FullName | string |
None. |
|
| Mobile | string |
None. |
|
| string |
None. |
||
| LeadSource | string |
None. |
|
| LeadPriority | string |
None. |
|
| LeadStage | string |
None. |
|
| LeadBudget | decimal number |
None. |
|
| LeadPropertyType | string |
None. |
|
| LeadLocation | string |
None. |
|
| LeadExpectedDate | string |
None. |
|
| LeadNextDate | string |
None. |
|
| LeadLostReason | string |
None. |
|
| LeadNotes | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustomerId": 1,
"FullName": "sample string 1",
"Mobile": "sample string 2",
"Email": "sample string 3",
"LeadSource": "sample string 4",
"LeadPriority": "sample string 5",
"LeadStage": "sample string 6",
"LeadBudget": 1.0,
"LeadPropertyType": "sample string 7",
"LeadLocation": "sample string 8",
"LeadExpectedDate": "sample string 9",
"LeadNextDate": "sample string 10",
"LeadLostReason": "sample string 11",
"LeadNotes": "sample string 12"
}
text/html
Sample:
{"CustomerId":1,"FullName":"sample string 1","Mobile":"sample string 2","Email":"sample string 3","LeadSource":"sample string 4","LeadPriority":"sample string 5","LeadStage":"sample string 6","LeadBudget":1.0,"LeadPropertyType":"sample string 7","LeadLocation":"sample string 8","LeadExpectedDate":"sample string 9","LeadNextDate":"sample string 10","LeadLostReason":"sample string 11","LeadNotes":"sample string 12"}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
SalesSaveResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Code | string |
None. |
|
| NeedsApproval | boolean |
None. |
|
| ReceiptNo | string |
None. |
|
| StatusCode | integer |
None. |
|
| status | string |
None. |
|
| statusText | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"Code": "sample string 2",
"NeedsApproval": true,
"ReceiptNo": "sample string 4",
"StatusCode": 5,
"status": "sample string 6",
"statusText": "sample string 7"
}
text/html
Sample:
{"Id":1,"Code":"sample string 2","NeedsApproval":true,"ReceiptNo":"sample string 4","StatusCode":5,"status":"sample string 6","statusText":"sample string 7"}