GET Api/Applicant/Photo/{applicantId}?includeContent={includeContent}

Returns the photo of an applicant service.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
applicantId

The ID of the applicant.

integer

Required

includeContent

A value whether or not to include the file contents of the photo.

boolean

Required

Body Parameters

None.

Response Information

Resource Description

The photo of the applicant (if it exists).

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>