POST api/Jobs/ApplyForJob

Request Information

URI Parameters

None.

Body Parameters

JobApplicationViewModel
NameDescriptionTypeAdditional information
id

integer

None.

email

string

Required

skills

string

None.

experience

string

None.

message

string

None.

jobPostId

integer

Required

idealJobTitle

string

None.

idealLocation

string

None.

idealSalary

string

None.

dateCreated

date

None.

cvGuid

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "email": "sample string 2",
  "skills": "sample string 3",
  "experience": "sample string 4",
  "message": "sample string 5",
  "jobPostId": 6,
  "idealJobTitle": "sample string 7",
  "idealLocation": "sample string 8",
  "idealSalary": "sample string 9",
  "dateCreated": "2017-06-23T15:08:55.7006048+01:00",
  "cvGuid": "9e2284d0-2014-4d63-bf72-a9b5d924f040"
}

application/xml, text/xml

Sample:
<JobApplicationViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Angjobs.Models">
  <cvGuid>9e2284d0-2014-4d63-bf72-a9b5d924f040</cvGuid>
  <dateCreated>2017-06-23T15:08:55.7006048+01:00</dateCreated>
  <email>sample string 2</email>
  <experience>sample string 4</experience>
  <id>1</id>
  <idealJobTitle>sample string 7</idealJobTitle>
  <idealLocation>sample string 8</idealLocation>
  <idealSalary>sample string 9</idealSalary>
  <jobPostId>6</jobPostId>
  <message>sample string 5</message>
  <skills>sample string 3</skills>
</JobApplicationViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.