PUT Api/Application?url={url}&sendApplicationEmail={sendApplicationEmail}

Creates an application, which assigns an applicant to a job and sends an email to the applicant depending on the parameter.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
url

The current URL, used for deriving the current set of settings.

URI

None.

sendApplicationEmail

Specifies if an email should be sent to the applicant if value is true, else no email is sent. The default value is false.

boolean

Default value is False

Body Parameters

Information about applicant and job.

ApplicationCreateParameter
NameDescriptionTypeAdditional information
JobId

integer

None.

ApplicantId

integer

None.

Referrer

string

None.

ReferrerAdditionalInfo

string

None.

RefreshApplicationIfItAlreadyExists

boolean

None.

CoverLetter

string

None.

Request Formats

application/json, text/json, application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

A status if the application suceeded, or if there were problems (for example a similar application already exists) a response containing the possible errors.

ApplicationCreateResponse
NameDescriptionTypeAdditional information
ApplicationId

integer

None.

Errors

None.

Response Formats

application/json, text/json

Sample:
{
  "ApplicationId": 1,
  "Errors": [
    0,
    0
  ]
}

application/xml, text/xml

Sample:
<ApplicationCreateResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eRecruiter.Api.Responses">
  <ApplicationId>1</ApplicationId>
  <Errors>
    <ApplicationCreateResponse.Error>ApplicationAlreadyExists</ApplicationCreateResponse.Error>
    <ApplicationCreateResponse.Error>ApplicationAlreadyExists</ApplicationCreateResponse.Error>
  </Errors>
</ApplicationCreateResponse>