PUT api/JobCompetencies/{id}?user={user}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

user

integer

Required

Body Parameters

Collection of PositionCompetenciesModel
NameDescriptionTypeAdditional information
CompetencyKey

integer

None.

TraitLink

integer

None.

Competency

string

None.

PositionLink

integer

None.

PrimarySecondary

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "CompetencyKey": 1,
    "TraitLink": 2,
    "Competency": "sample string 3",
    "PositionLink": 1,
    "PrimarySecondary": "sample string 4"
  },
  {
    "CompetencyKey": 1,
    "TraitLink": 2,
    "Competency": "sample string 3",
    "PositionLink": 1,
    "PrimarySecondary": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfPositionCompetenciesModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/_10RuleAPI.Models.JobCompetencies">
  <PositionCompetenciesModel>
    <Competency>sample string 3</Competency>
    <CompetencyKey>1</CompetencyKey>
    <PositionLink>1</PositionLink>
    <PrimarySecondary>sample string 4</PrimarySecondary>
    <TraitLink>2</TraitLink>
  </PositionCompetenciesModel>
  <PositionCompetenciesModel>
    <Competency>sample string 3</Competency>
    <CompetencyKey>1</CompetencyKey>
    <PositionLink>1</PositionLink>
    <PrimarySecondary>sample string 4</PrimarySecondary>
    <TraitLink>2</TraitLink>
  </PositionCompetenciesModel>
</ArrayOfPositionCompetenciesModel>

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 'List`1'.

Response Information

Resource Description

None.