POST api/Enrollment/MarketingEnrollment
Request Information
URI Parameters
None.
Body Parameters
MarketingEnrollmentModel| Name | Description | Type | Additional information |
|---|---|---|---|
| CompanyId | integer |
None. |
|
| LeadTypeId | integer |
None. |
|
| LastModifiedById | integer |
None. |
|
| TeamID | integer |
None. |
|
| LeadGenID | integer |
None. |
|
| LocationID | integer |
None. |
|
| AssignmentID | integer |
None. |
|
| MaxLeadsPerCompany | integer |
None. |
|
| MarketingRecords | Collection of MarketingRecordModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"CompanyId": 1,
"LeadTypeId": 2,
"LastModifiedById": 3,
"TeamID": 4,
"LeadGenID": 5,
"LocationID": 6,
"AssignmentID": 7,
"MaxLeadsPerCompany": 8,
"MarketingRecords": [
{
"FirstName": "sample string 1",
"MiddleName": "sample string 2",
"LastName": "sample string 3",
"LeadLinkedinURL": "sample string 4",
"Designation": "sample string 5"
},
{
"FirstName": "sample string 1",
"MiddleName": "sample string 2",
"LastName": "sample string 3",
"LeadLinkedinURL": "sample string 4",
"Designation": "sample string 5"
}
]
}
application/xml, text/xml
Sample:
<MarketingEnrollmentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VMEduWebAPI2.Models">
<AssignmentID>7</AssignmentID>
<CompanyId>1</CompanyId>
<LastModifiedById>3</LastModifiedById>
<LeadGenID>5</LeadGenID>
<LeadTypeId>2</LeadTypeId>
<LocationID>6</LocationID>
<MarketingRecords>
<MarketingRecordModel>
<Designation>sample string 5</Designation>
<FirstName>sample string 1</FirstName>
<LastName>sample string 3</LastName>
<LeadLinkedinURL>sample string 4</LeadLinkedinURL>
<MiddleName>sample string 2</MiddleName>
</MarketingRecordModel>
<MarketingRecordModel>
<Designation>sample string 5</Designation>
<FirstName>sample string 1</FirstName>
<LastName>sample string 3</LastName>
<LeadLinkedinURL>sample string 4</LeadLinkedinURL>
<MiddleName>sample string 2</MiddleName>
</MarketingRecordModel>
</MarketingRecords>
<MaxLeadsPerCompany>8</MaxLeadsPerCompany>
<TeamID>4</TeamID>
</MarketingEnrollmentModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | 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. |