POST api/Leads/submitLead
Request Information
URI Parameters
None.
Body Parameters
LeadSubmit| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerId | integer |
None. |
|
| Outcome | string |
None. |
|
| Remark | string |
None. |
|
| NextDate | string |
None. |
|
| LostReason | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustomerId": 1,
"Outcome": "sample string 2",
"Remark": "sample string 3",
"NextDate": "sample string 4",
"LostReason": "sample string 5"
}
text/html
Sample:
{"CustomerId":1,"Outcome":"sample string 2","Remark":"sample string 3","NextDate":"sample string 4","LostReason":"sample string 5"}
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"}