PUT api/users/{id}/skillswanted
Requires authentication. Updates the user "skills wanted" with the set of skills contained in the request body. To clear all skills wanted, 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
Name | Description | Type | Additional information |
---|---|---|---|
id | globally unique identifier |
Required |
Body Parameters
Collection of SkillName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
Name | string |
None. |
Request Formats
application/json, text/json
Sample:
[ { "Id": "63b9339a-5ba6-478c-8312-2bb1e2a3cf1c", "Name": "sample string 2" }, { "Id": "63b9339a-5ba6-478c-8312-2bb1e2a3cf1c", "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>63b9339a-5ba6-478c-8312-2bb1e2a3cf1c</Id> <Name>sample string 2</Name> </Skill> <Skill> <Id>63b9339a-5ba6-478c-8312-2bb1e2a3cf1c</Id> <Name>sample string 2</Name> </Skill> </ArrayOfSkill>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
UserSkillsWantedListRepresentation
UserSkillWantedListsRepresentationName | Description | Type | Additional 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.