Options
All
  • Public
  • Public/Protected
  • All
Menu

Class InventoryBinaryService

Hierarchy

Index

Constructors

constructor

Methods

create

delete

  • Parameters

    Returns Promise<IResult<null>>

download

  • Parameters

    Returns Promise<IFetchResponse>

getIdFromUrl

  • getIdFromUrl(url: string): string
  • Parameters

    • url: string

    Returns string

    Binary managed object's id.

    Example

    
      const id = InventoryBinaryService.getIdFromUrl('http://mytenant.cumulocity.com/inventory/binaries/12345');
    

list

list$

  • Parameters

    Returns Observable<IManagedObjectBinary[]>

    Data wrapped as ObservableList

    Example

    
      const list$ = InventoryBinaryService.list$();
      list$.subscribe((data) => console.log(data));
    

Generated using TypeDoc