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
/**An Array(of Strings) representing the $select OData System Query Option to control which attributes will be returned. */
4
+
select: string[];
5
+
/**Use the $filter system query option to set criteria for which entities will be returned. */
6
+
filter: string;
7
+
/**Limit the number of results returned by using the $top system query option.Do not use $top with $count! */
8
+
top: number
9
+
/**An Array(of Strings) representing the order in which items are returned using the $orderby system query option.Use the asc or desc suffix to specify ascending or descending order respectively.The default is ascending if the suffix isn't applied. */
10
+
orderBy: string[]
11
+
/**A name of a single-valued navigation property which needs to be expanded. */
12
+
property: string
13
+
}
14
+
interfaceRequest{
15
+
/**XHR requests only! Indicates whether the requests should be made synchronously or asynchronously.Default value is 'true'(asynchronously). */
16
+
async: boolean;
17
+
/**The name of the Entity Collection or Entity Logical name. */
18
+
collection: string;
19
+
/**A String representing the Primary Key(GUID) of the record. */
20
+
id: string;
21
+
/**An Array(of Strings) representing the $select OData System Query Option to control which attributes will be returned. */
22
+
select: string[];
23
+
/**An array of Expand Objects(described below the table) representing the $expand OData System Query Option value to control which related records are also returned. */
/**Use the $filter system query option to set criteria for which entities will be returned. */
28
+
filter: string;
29
+
/**Sets the odata.maxpagesize preference value to request the number of entities returned in the response. */
30
+
maxPageSize: number;
31
+
/**Boolean that sets the $count system query option with a value of true to include a count of entities that match the filter criteria up to 5000(per page).Do not use $top with $count! */
32
+
count: boolean;
33
+
/**Limit the number of results returned by using the $top system query option.Do not use $top with $count! */
34
+
top: number;
35
+
/**An Array(of Strings) representing the order in which items are returned using the $orderby system query option.Use the asc or desc suffix to specify ascending or descending order respectively.The default is ascending if the suffix isn't applied. */
36
+
orderBy: string[];
37
+
/**Sets Prefer header with value "odata.include-annotations=" and the specified annotation.Annotations provide additional information about lookups, options sets and other complex attribute types. */
38
+
includeAnnotations: string;
39
+
/**Sets If-Match header value that enables to use conditional retrieval or optimistic concurrency in applicable requests.*/
40
+
ifmatch: string;
41
+
/**Sets If-None-Match header value that enables to use conditional retrieval in applicable requests. */
42
+
ifnonematch: string;
43
+
/**Sets Prefer header request with value "return=representation".Use this property to return just created or updated entity in a single request. */
44
+
returnRepresentation: boolean;
45
+
/**A JavaScript object with properties corresponding to the logical name of entity attributes(exceptions are lookups and single - valued navigation properties). */
46
+
entity: any;
47
+
/**Impersonates the user.A String representing the GUID value for the Dynamics 365 system user id. */
48
+
impersonate: string;
49
+
/**A String representing the name of a single - valued navigation property.Useful when needed to retrieve information about a related record in a single request. */
50
+
navigationProperty: string;
51
+
/**v.1.4.3 + A String representing navigation property's Primary Key (GUID) or Alternate Key(s). (For example, to retrieve Attribute Metadata). */
52
+
navigationPropertyKey: string;
53
+
/**v.1.4.3 + Casts the AttributeMetadata to a specific type. (Used in requests to Attribute Metadata). */
54
+
metadataAttributeType: string;
55
+
/** If set to 'true', DynamicsWebApi adds a request header 'Cache-Control: no-cache'.Default value is 'false'. */
56
+
noCache: boolean;
57
+
/**A String representing the GUID value of the saved query. */
58
+
savedQuery: string;
59
+
/**A String representing the GUID value of the user query. */
60
+
userQuery: string;
61
+
/**If set to 'true', DynamicsWebApi adds a request header 'MSCRM.MergeLabels: true'.Default value is 'false' */
62
+
mergeLabels: boolean;
63
+
/**If set to 'true', DynamicsWebApi treats a request as a part of a batch request. Call ExecuteBatch to execute all requests in a batch. Default value is 'false'. */
64
+
isBatch: boolean;
65
+
}
66
+
interfaceConfig{
67
+
/**A String representing the GUID value for the Dynamics 365 system user id.Impersonates the user. */
68
+
webApiUrl: string;
69
+
/**The version of Web API to use, for example: "8.1" */
70
+
webApiVersion: string;
71
+
/**A String representing a URL to Web API(webApiVersion not required if webApiUrl specified)[not used inside of CRM] */
72
+
impersonate: string;
73
+
/**A function that is called when a security token needs to be refreshed. */
74
+
onTokenRefresh: Function;
75
+
/**Sets Prefer header with value "odata.include-annotations=" and the specified annotation.Annotations provide additional information about lookups, options sets and other complex attribute types.*/
76
+
includeAnnotations: string;
77
+
/**Sets the odata.maxpagesize preference value to request the number of entities returned in the response. */
78
+
maxPageSize: string;
79
+
/**Sets Prefer header request with value "return=representation".Use this property to return just created or updated entity in a single request.*/
80
+
returnRepresentation: boolean;
81
+
/**Indicates whether to use Entity Logical Names instead of Collection Logical Names.*/
82
+
useEntityNames: boolean;
83
+
}
84
+
interfaceUtility{
85
+
/**
86
+
* Searches for a collection name by provided entity name in a cached entity metadata.
0 commit comments