Best practices to use the SDK
- Last UpdatedApr 15, 2025
- 1 minute read
- Some of the SDK 'GET' Methods are replaced with REST APIs 'GET' methods. However, when using the REST API 'GET" method, it is highly recommended that you use filters to limit the dataset it returns. For example: https://dataserver/odata/Assets?$filter=contains(Name,'143')
- To avoid loading the SDK Service, when using SDK to set a collection of items, such as using SetAssets or SetResponseCollections, you should do it in several small batches instead of all set in a single call.
- When using SDK to set data items, to avoid the token expiry during the SDK data processing, it is recommended to acquire a token from ArchestrA Identity Manager (AIM).
NOTE: By default, a token acquired using Data Server expires in 5 minutes. SDK users should consider registering a new client with AIM and request a token directly from AIM. - SDK service verify calls using a security token, which can be obtained directly via AIM (ArchestrA Identity Manager).