PUT api/users/{id}/skills

Requires authentication. Updates the user with the set of skills contained in the request body. To clear all skills, send an empty list If successful returns "200 OK", with the body of the response containing a representation of the the user's skills. If user not found, returns "404 Not Found" If CRM operations fail for an un-recoverable reason, the service returns "502 Bad Gateway" Any other server-side errors return "500 Internal Server Error"

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters

Collection of Skill
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Name

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": "a8437773-c1c9-4b77-b78e-06da9574c46b",
    "Name": "sample string 2"
  },
  {
    "Id": "a8437773-c1c9-4b77-b78e-06da9574c46b",
    "Name": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfSkill xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SSAT.Webservices.Domain">
  <Skill>
    <Id>a8437773-c1c9-4b77-b78e-06da9574c46b</Id>
    <Name>sample string 2</Name>
  </Skill>
  <Skill>
    <Id>a8437773-c1c9-4b77-b78e-06da9574c46b</Id>
    <Name>sample string 2</Name>
  </Skill>
</ArrayOfSkill>

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

UserSkillsListRepresentation

UserSkillListsRepresentation
NameDescriptionTypeAdditional information
Id

Unique identifier - same as in CRM

globally unique identifier

None.

TotalResults

integer

None.

ResourceList

Collection of SkillRepresentation

None.

Links

Collection of Link

None.

Response Formats

application/json, text/json, application/hal+json, application/hal+xml

Sample:

Sample not available.