You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/plugins/get.js
+14-3Lines changed: 14 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -18,23 +18,34 @@
18
18
* @author Hovhannes Babayan <bhovhannes at gmail dot com>
19
19
* @author Sassoun Derderian <citizen.sas at gmail dot com>
20
20
*/
21
+
22
+
varApiConstants=require('./../ApiConstants');
23
+
21
24
module.exports=function(Api){
22
25
/**
23
26
* Used for retrieve an object or multiple objects.
24
27
* @memberOf Workfront.Api
25
28
* @param {String} objCode One of object codes from {@link https://developers.attask.com/api-docs/api-explorer/|Workfront API Explorer}
26
29
* @param {String|Array} objIDs Either one or multiple object ids
27
-
* @param {Object} fields Which fields to return. See {@link https://developers.attask.com/api-docs/api-explorer/|Workfront API Explorer} for the list of available fields for the given objCode.
30
+
* @param {String|String[]} fields Which fields to return. See {@link https://developers.attask.com/api-docs/api-explorer/|Workfront API Explorer} for the list of available fields for the given objCode.
28
31
* @return {Promise} A promise which will resolved with results if everything went ok and rejected otherwise
it('should call request() with proper params and return value received from request() if called with single objId (String) containing internal prefix',function(){
0 commit comments