GetDocumentsByProject - Obsolete

NOTE:

This method is obsolete and will be completely removed in the near future. Please use the new method,GetDocumentsByProject2 which provides more meta data.

Description

This method is used to return a list of documents added to a project. All users that belong to a company that is associated with the project can access all the project documents. 

Request

ParameterTypeMandatory/OptionalMaximum character length/limitDescription
projectIdlongMandatory/OptionalNot RelevantThe Id of the project
projectCode string Optional /MandatoryNot RelevantThe code of the project E.g. ABC0001-A1 
applicationName stringMandatory Should be less than or equal to 10 charactersThe name of the integration partner


NOTE: It is mandatory to provide either the projectCode or projectId. First preference is always given to the projectId, if both the projectCode and projectId are provided.

Request - sample input

Response

TypeDescription
List<ProjectDocument>A list of project documents for the given project


Response - sample output 

Exceptions

Error CodeDescription
123An exception occurred while processing your request
138 applicationName length has exceeded the maximum character limit allowed (10) 
146The applicationName is not set
167You are not authorized to use this web method
227The project does not exist or the company is not connected to the given project or your license does not authorize you to access this project
252 

No input is provided for the projectId or the projectCode. Provide the input for at least one of these fields 

253 

Ambiguous inputs. Make sure projetCode and projectId referred to the same project 

254 

Invalid projectCode