_getById

Gathers the data of one or more requested Skills, specific fields of data can be requested.

Parameters

ids

An array of Skill IDs to have data retrieved from.

fields

An optional array of specific fields you wish to get back from returned Skills.

Valid fields which can be requested:

  • id

  • name

  • description

  • cdate

  • last_edited

Example

FM_api('Skills_getById',[
		'id'=>['60001','60002'],
		'fields'=>['name','cdate']
	]
);

Results

On Success

Successful test with single ID and no fields parameter

Successful test, with 2 Skill IDs while requesting name and cdate fields:

On Failure

If the "ids" parameter is not set:

If the "ids" array has no IDs contained or is not an array:

If the "fields" array parameter is included but does not have any valid fields:

Last updated