Report instances - Intergraph Smart API Manager - 2020 (4.0) - Help

Intergraph Smart API Manager Help

Language
English
Product
Intergraph Smart API Manager
Search by Category
Help
Smart API Manager Version
4.0

If you review the metadata for the Report entity, you will notice it contains a navigation property called Instances:

<EntityType Name="Report" BaseType="Com.Ingr.Core.V1.DynamicEdmEntityObject" OpenType="true">

<NavigationProperty Name="Instances" Type="Collection(Com.Ingr.Core.V1.ReportInstance)" ContainsTarget="true" />

The Instances collection holds previously-executed (or out-of-band) reports.

You can simply call Instances to see if any report instances are available. Here are some examples:

  • GET https://sam.spclouddave.com/SampleService/sppid/v2/Pipes('302')/Reports('Report 302')/Instances

  • GET https://sam.spclouddave.com/SampleService/sppid/v2/Pipes('302')/Reports('Report 302')/Instances('1583')