PUT api/JobApply/{id}?AccessToken={AccessToken}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

AccessToken

string

Required

Body Parameters

ModifyJobApplyRequest
NameDescriptionTypeAdditional information
UserId

integer

None.

JobId

integer

None.

ProfileId

integer

None.

UserEmail

string

None.

UserPhonenumber

integer

None.

CoveringStatement

string

None.

NoticePeriod

integer

None.

ExpectedSalary

decimal number

None.

JobApplyExtensions

Collection of JobApplyExtension

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": 1,
  "JobId": 2,
  "ProfileId": 3,
  "UserEmail": "sample string 4",
  "UserPhonenumber": 5,
  "CoveringStatement": "sample string 6",
  "NoticePeriod": 7,
  "ExpectedSalary": 8.1,
  "JobApplyExtensions": [
    {
      "Name": "sample string 1",
      "Value": "sample string 2"
    },
    {
      "Name": "sample string 1",
      "Value": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<ModifyJobApplyRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Udyoga.Models.JobModels">
  <CoveringStatement>sample string 6</CoveringStatement>
  <ExpectedSalary>8.1</ExpectedSalary>
  <JobApplyExtensions xmlns:d2p1="http://schemas.datacontract.org/2004/07/Udyoga.Models.JobModels.JobApplyExtension">
    <d2p1:JobApplyExtension>
      <d2p1:Name>sample string 1</d2p1:Name>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:JobApplyExtension>
    <d2p1:JobApplyExtension>
      <d2p1:Name>sample string 1</d2p1:Name>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:JobApplyExtension>
  </JobApplyExtensions>
  <JobId>2</JobId>
  <NoticePeriod>7</NoticePeriod>
  <ProfileId>3</ProfileId>
  <UserEmail>sample string 4</UserEmail>
  <UserId>1</UserId>
  <UserPhonenumber>5</UserPhonenumber>
</ModifyJobApplyRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ModifyJobApplyRequest'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.