PUT api/Job/{jobId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
jobId

integer

Required

Body Parameters

UpdateJobRequest
NameDescriptionTypeAdditional information
Name

string

Required

String length: inclusive between 0 and 100

Description

string

Required

String length: inclusive between 0 and 500

Path

string

Required

String length: inclusive between 0 and 500

FileName

string

String length: inclusive between 0 and 500

Enabled

boolean

None.

FeedContentTypeId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "name": "sample string 1",
  "description": "sample string 2",
  "path": "sample string 3",
  "fileName": "sample string 4",
  "enabled": true,
  "feedContentTypeId": 1
}

application/xml, text/xml

Sample:
<UpdateJobRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FeedConfig.Rest.Models">
  <Description>sample string 2</Description>
  <Enabled>true</Enabled>
  <FeedContentTypeId>1</FeedContentTypeId>
  <FileName>sample string 4</FileName>
  <Name>sample string 1</Name>
  <Path>sample string 3</Path>
</UpdateJobRequest>

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 'UpdateJobRequest'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.