POST Api/Applicant/Photo/{applicantId}

Creates or updates the photo for a specific applicant profile.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
applicantId

The ID of the applicant.

integer

Required

Body Parameters

The photo to create.

ApplicantPhotoParameter
NameDescriptionTypeAdditional information
FileExtension

string

None.

Content

Collection of byte

None.

Request Formats

application/json, text/json

Sample:
{
  "FileExtension": "sample string 1",
  "Content": "QEA="
}

application/xml, text/xml

Sample:
<ApplicantPhotoParameter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eRecruiter.Api.Parameters">
  <Content>QEA=</Content>
  <FileExtension>sample string 1</FileExtension>
</ApplicantPhotoParameter>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

The newly created applicant photo.

ApplicantPhotoResponse
NameDescriptionTypeAdditional information
FileExtension

string

None.

Content

Collection of byte

None.

Response Formats

application/json, text/json

Sample:
{
  "FileExtension": "sample string 1",
  "Content": "QEA="
}

application/xml, text/xml

Sample:
<ApplicantPhotoResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eRecruiter.Api.Responses">
  <Content xmlns="http://schemas.datacontract.org/2004/07/eRecruiter.Api.Parameters">QEA=</Content>
  <FileExtension xmlns="http://schemas.datacontract.org/2004/07/eRecruiter.Api.Parameters">sample string 1</FileExtension>
</ApplicantPhotoResponse>