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

« Previous Version 7 Next »

This method is obsolete and will be completely removed in the near future. Please use the new web service method, GetDocumentsByPlant - New which provides more metadata.

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

Id of the plant

includeSubFolders

bool

Mandatory

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

applicationNamestringMandatoryThird party application identifier, identifying the client consuming the web service – (Length of the ApplicationName should be less than or equal to 10)

 

Notes:

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

Request - input sample


Response

TypeDescription

List<Document>

List of documents for the given plant id

 

Response - output sample


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

138ApplicationName length is exceeded maximum allowed character limit (10)
146The application name is not set
167You are not authorized to use this web method
  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.