File resources - 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

Here are some sample URLs for retrieving file resources bound to pipes:

  • GET https://sam.spclouddave.com/SampleService/Sppid/v2/Pipes?$expand=Files

  • GET https://sam.spclouddave.com/SampleService/Sppid/v2/Pipes('302')/Files

  • GET https://sam.spclouddave.com/SampleService/Sppid/v2/Pipes('302')/Files('Primary 302')

  • GET https://sam.spclouddave.com/SampleService/Sppid/v2/Pipes('302')/Files('Primary 302')/Files

  • GET https://sam.spclouddave.com/SampleService/Sppid/V2/Pipes('302')/Files('Primary 302')/Files?$filter=Purpose eq Com.Ingr.Core.V1.FilePurpose'Markup'

Notice the Files collection is also bound to an instance of a File. If you search the metadata, you will find the relationship. Also, please note that the SampleService Smart API is a secure API.

To call the listed resources requires an access token. See Authorization - use Postman to get an access token and Authorization - use Postman to call a secured API for more information.