The PUT /projects/jobs/{jobId} method allows a client to update information on a job post description. All responses are returned in JSON format.

tableofcontents_number_textPreconditions

This method requires that the calling application has authenticated a user using the OAuth 2.0 protocol, as described on the Getting Started page.

tableofcontents_number_textRequired URL Parameters

The following required parameters must be included as part of the URL.

Parameter Description
jobId The jobId to update.

tableofcontents_number_textOptional Query String Parameters

Parameter Data Type Description
title string If set, it updates the name of the job.
description string If set, it updates the job description.
country string If set, it updates the country in the job description.
state string If set, it updates the state in the job description.
city string If set, it updates the city in the job description.
zipCode string If set, it updates the zip code in the job description.
preferredStartDate string If set, it updates the preferred start date in the job description.
skills string If set, it updates skills in the job description.
groups string If set, it updates the groups in the job description.
groupOnly string If set, it updates whether only members of the specified groups can bid or work on the job.
extend boolean If set to true, it extends the time the job remains open for hiring based on the provided 'until' parameter.
until timestamp If extend is true, the until timestamp is required.
comments string If extend is set to true, comments will be added as the reason you closed / cancelled the job.

tableofcontents_number_textResponse Data Description

Property Name Data Type Description
data integer The number of fields updated.

tableofcontents_number_textRequest/Response Examples in JSON

tableofcontents_number_textUpdating a job post description

The following HTTP PUT example request updates the queried information on a job post description.

tableofcontents_number_textRequest

PUT/api2/projects/jobs/{{jobId}}?access_token=EUbI9dzQnl2U37ZYJKb5gunTbdAm8uofkzEL8yrPIk3drvA&title=New%20Job%20Title
A HTTP/1.1
Connection: close

tableofcontents_number_textResponse

{
   data: 1
}

tableofcontents_number_textError Codes

If the Elance Developer API encounters an error in processing the request, it may return one of the error codes below. The format of error responses is specified in the Getting Started page. For a list of other common errors that can be thrown by this method, see Common API Error Codes.

Error Description
1004 User is not authorized to close or cancel this job post.