Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

This method returns is used to return a list of documents uploaded by the user for a given plant. The document list contains all the document documents uploaded by the user for the given plant. 

Request

ParameterTypeMandatory/OptionalMaximum character length/limitDescription

input

GetMyDocumentsByPlantIdInput

Mandatory

Not relevant

GetMyDocumentsByPlantIdInput model

applicationNamestringMandatoryShould be less than or equal to 10 charactersThe name of the integration partner


GetMyDocumentsByPlantIdInput

ParameterTypeMandatory/OptionalDescription
plantIdlongMandatory

The provided plantId should belong to the same company as the user. 

 

Request - sample input

Response

TypeDescription

GetMyDocumentsByPlantIdOutput

GetMyDocumentsByPlantIdOutput model


GetMyDocumentsByPlantIdOutput

ParameterTypeDescription
DocumentList<Document>List of documents uploaded by the user for the given plantId

Response - sample output

Exceptions

Error CodeDescription

111

plantId does not exist for your company

130

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

132

plantId does not exist

138applicationName length has exceeded the maximum character limit allowed (10) 
146The applicationName is not set
167You are not authorized to use this method