POST api/leadsources
Request Information
URI Parameters
None.
Body Parameters
LeadSourceSubModelName | Description | Type | Additional information |
---|---|---|---|
LeadSourcesId | integer |
None. |
|
LeadSource | string |
None. |
|
MonthlyAdvertisingCost | decimal number |
None. |
|
Domain | string |
None. |
|
Lots | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "LeadSourcesId": 1, "LeadSource": "sample string 2", "MonthlyAdvertisingCost": 3.0, "Domain": "sample string 4", "Lots": "sample string 5" }
application/xml, text/xml
Sample:
<LeadSourceSubModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Automatrix.DMS.Business.Entities.SubModels"> <Domain>sample string 4</Domain> <LeadSource>sample string 2</LeadSource> <LeadSourcesId>1</LeadSourcesId> <Lots>sample string 5</Lots> <MonthlyAdvertisingCost>3</MonthlyAdvertisingCost> </LeadSourceSubModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |