Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Description

This method returns a list of documents for a given plant in a company. The document list will contain all the documents for the Plant ID. The client also has option to provide the filtering criteria (not implemented yet) and choose whether to include sub folders in the results. 

Request

ParameterTypeMandatory/OptionalComments

PlantId

long

Mandatory

Plant id

includeSubFolders

bool

Mandatory

indicates whether to include documents of child folders of the queried plant as well

 

Notes:

  • The provided plant ID should be belong to the same company as the user. 

 

Response

PropertyTypeDescription

Documents

List<Document>

List of documents for the given plant id

 

Exceptions

Error CodeDescription

111

PlantId does not exist for your company.

130

Input plant ID is either zero or negative. Please enter a positive value for the id

132

PlantId does not exist

  • No labels