POST api/CandidateSearch/Index

Request Information

URI Parameters

None.

Body Parameters

CandidateSearchResult
NameDescriptionTypeAdditional information
CandidateId

string

None.

City

string

None.

CreatedDate

date

None.

Marketing

boolean

None.

CvId

string

None.

BusinessUnitId

string

None.

FullName

string

None.

FullCV

string

None.

Salary

string

None.

GeoCode

string

None.

Location

LocationModel

None.

Request Formats

application/json, text/json

Sample:
{
  "CandidateId": "sample string 1",
  "City": "sample string 2",
  "CreatedDate": "2025-12-11T13:58:43.0055437+00:00",
  "Marketing": true,
  "CvId": "sample string 5",
  "BusinessUnitId": "sample string 6",
  "FullName": "sample string 7",
  "FullCV": "sample string 8",
  "Salary": "sample string 9",
  "GeoCode": "sample string 10",
  "Location": null
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Type 'PrismAPI.Models.LocationModel' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Type 'PrismAPI.Models.LocationModel' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.

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 'CandidateSearchResult'.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>