POST api/Prospects

Request Information

URI Parameters

None.

Body Parameters

MarketerProspectModel
NameDescriptionTypeAdditional information
MarketerProspectId

integer

None.

MarketerId

integer

None.

TitleId

integer

None.

FirstName

string

None.

Surname

string

None.

ProfilePhoto

Collection of byte

None.

MobileNumber

string

None.

EmailAddress

string

None.

BirthDt

date

None.

EmploymentStatusId

integer

None.

Company

string

None.

Job

string

None.

MaritalStatusId

integer

None.

Children

integer

None.

PartnerName

string

None.

AdditionalNotes

string

None.

SpecificNeeds

string

None.

IsFavourite

boolean

None.

HasBeenShownIntro

boolean

None.

MarketerProspectStatusId

integer

None.

ProspectedMarketerId

integer

None.

ProvinceId

integer

None.

City

string

None.

HasBeenAddedToContacts

boolean

None.

FollowUpDt

date

None.

Request Formats

application/json, text/json

Sample:
{
  "marketerProspectId": 1,
  "marketerId": 1,
  "titleId": 2,
  "firstName": "sample string 3",
  "surname": "sample string 4",
  "profilePhoto": "QEA=",
  "mobileNumber": "sample string 5",
  "emailAddress": "sample string 6",
  "birthDt": "2025-12-06T06:51:54.3832769+02:00",
  "employmentStatusId": 1,
  "company": "sample string 7",
  "job": "sample string 8",
  "maritalStatusId": 1,
  "children": 1,
  "partnerName": "sample string 9",
  "additionalNotes": "sample string 10",
  "specificNeeds": "sample string 11",
  "isFavourite": true,
  "hasBeenShownIntro": true,
  "marketerProspectStatusId": 14,
  "prospectedMarketerId": 1,
  "provinceId": 1,
  "city": "sample string 15",
  "hasBeenAddedToContacts": true,
  "followUpDt": "2025-12-06T06:51:54.3832769+02:00"
}

application/xml, text/xml

Sample:
<MarketerProspectModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fusion.AppApi.Models">
  <AdditionalNotes>sample string 10</AdditionalNotes>
  <BirthDt>2025-12-06T06:51:54.3832769+02:00</BirthDt>
  <Children>1</Children>
  <City>sample string 15</City>
  <Company>sample string 7</Company>
  <EmailAddress>sample string 6</EmailAddress>
  <EmploymentStatusId>1</EmploymentStatusId>
  <FirstName>sample string 3</FirstName>
  <FollowUpDt>2025-12-06T06:51:54.3832769+02:00</FollowUpDt>
  <HasBeenAddedToContacts>true</HasBeenAddedToContacts>
  <HasBeenShownIntro>true</HasBeenShownIntro>
  <IsFavourite>true</IsFavourite>
  <Job>sample string 8</Job>
  <MaritalStatusId>1</MaritalStatusId>
  <MarketerId>1</MarketerId>
  <MarketerProspectId>1</MarketerProspectId>
  <MarketerProspectStatusId>14</MarketerProspectStatusId>
  <MobileNumber>sample string 5</MobileNumber>
  <PartnerName>sample string 9</PartnerName>
  <ProfilePhoto>QEA=</ProfilePhoto>
  <ProspectedMarketerId>1</ProspectedMarketerId>
  <ProvinceId>1</ProvinceId>
  <SpecificNeeds>sample string 11</SpecificNeeds>
  <Surname>sample string 4</Surname>
  <TitleId>2</TitleId>
</MarketerProspectModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'MarketerProspectModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.