Skip to content

wepow:applications:bulk

Andres Freyria edited this page Oct 29, 2013 · 2 revisions

wepow:applications:bulk

Resource where several wepow:application resources can be created in a single request.

Actions

POST

Request

The following params must be sent:

  • candidates : An object containing an array of candidate objects (i.e. new application data objects).

Refer to the wepow:applications resource for the necessary params for a new application.

For convenience, each of the applications that wishes to be created can be sent as a hash or as a hash with the candidate key.

Sample request:

The following requests are equivalent.

{ "candidates" : [ { "candidate" : { "email" : "candidate@email.com", "first_name" : "John", "last_name" : "Doe", "external_id" : "123456789" } } ] }
{ "candidates" : [ { "email" : "candidate@email.com", "first_name" : "John", "last_name" : "Doe", "external_id" : "123456789" } ] }

Responses

  • 202: The applications were received and creation has been attempted.
  • 422: The interview is not accepting new applications.