Get work skills

get

/rest/ofscCore/v1/resources/{resourceId}/workSkills

This operation retrieves the details about the work skills assigned to the specified resource.

Request

Path Parameters
Back to Top

Response

Supported Media Types

200 Response

This section describes the 200 status response for this operation.
Body ()
Root Schema : Work Skills
Type: object
Title: Work Skills
The collection of resource work skill items.
Show Source
Nested Schema : Items
Type: array
Title: Items
An array of objects containing the details of the work skills of the resource.
Show Source
Nested Schema : Work Skill
Type: object
Title: Work Skill
Show Source

Default Response

This section describes the default error response for this operation.
Body ()
Root Schema : Error
Type: object
Error response
Show Source
Back to Top

Examples

The following example shows how to get work skills for a resource by submitting a GET request on the REST resource.

Example of Request Header

The following shows an example of the request header.

GET /rest/ofscCore/v1/resources/33011/workSkills HTTP/1.0

Example of Response Header

The following shows an example of the response header.

HTTP/1.1 200 OK

Example of Response Body

The following example shows the contents of the response body in JSON format.

{
	"items": [
		{
			"workSkill": "NP",
			"ratio": 50,
			"startDate": "2016-07-06"
		},
		{
			"workSkill": "Routing",
			"ratio": 100,
			"startDate": "2016-07-08",
			"endDate": "2016-07-09"
		}
	],
	"totalResults": 2,
	"links": [
		{
			"rel": "canonical",
			"href": "http://<instance_name>.etadirect.com/rest/ofscCore/v1/resources/john.smith/workSkills"
		}
	]
}
Back to Top