Skip to content

Commit 749ba41

Browse files
fix #56
1 parent 1ab3bd4 commit 749ba41

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

types/dynamics-web-api-callbacks.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -341,15 +341,15 @@ declare class DynamicsWebApi {
341341
/**
342342
* Executes a bound Web API action (bound to a particular entity record)
343343
*
344-
* @param id - A String representing the GUID value for the record.
344+
* @param id - A String representing the GUID value for the record (pass "null" for an optional parameter)
345345
* @param collection - The name of the Entity Collection or Entity Logical name.
346346
* @param actionName - The name of the Web API action.
347347
* @param requestObject - Action request body object.
348348
* @param successCallback - The function that will be passed through and be called by a successful response.
349349
* @param errorCallback - The function that will be passed through and be called by a failed response.
350350
* @param impersonateUserId - A String representing the GUID value for the Dynamics 365 system user id. Impersonates the user.
351351
*/
352-
executeBoundAction(id?: string, collection: string, actionName: string, requestObject: Object, successCallback: Function, errorCallback: Function, impersonateUserId?: string): void;
352+
executeBoundAction(id: string, collection: string, actionName: string, requestObject: Object, successCallback: Function, errorCallback: Function, impersonateUserId?: string): void;
353353
/**
354354
* Sends an asynchronous request to create an entity definition.
355355
*

types/dynamics-web-api.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,13 +285,13 @@ declare class DynamicsWebApi {
285285
/**
286286
* Executes a bound Web API action (bound to a particular entity record)
287287
*
288-
* @param id - A String representing the GUID value for the record.
288+
* @param id - A String representing the GUID value for the record (pass "null" for an optional parameter)
289289
* @param collection - The name of the Entity Collection or Entity Logical name.
290290
* @param actionName - The name of the Web API action.
291291
* @param requestObject - Action request body object.
292292
* @param impersonateUserId - A String representing the GUID value for the Dynamics 365 system user id. Impersonates the user.
293293
*/
294-
executeBoundAction(id?: string, collection: string, actionName: string, requestObject?: Object, impersonateUserId?: string): Promise<any>;
294+
executeBoundAction(id: string, collection: string, actionName: string, requestObject?: Object, impersonateUserId?: string): Promise<any>;
295295
/**
296296
* Sends an asynchronous request to create an entity definition.
297297
*

0 commit comments

Comments
 (0)