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 26 Next »

Note:

  • This method is an upgraded version of GetDocumentsByProject method with more meta data. It is advisable to use this method as the previous is now obsolete.

  • GetDocumentsByProjectInput is a single input parameter introduced in this method to enclose all the existing input parameters of the previous method in a single place with the exception of the applicationName. 

  • The new output field will only be available after the next production release

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

Parameter
Type
Mandatory/Optional
Maximum character length/limit
Description
inputGetDocumentsByProjectInputMandatoryNot RelevantGetDocumentsByProject input model
applicationNamestringMandatoryShould be less than or equal to 10 charactersThe name of the integration partner

GetDocumentsByProjectInput

Parameter
Type
Mandatory/Optional
Description
ProjectIdlongMandatory/OptionalThe Id of the project
ProjectCodestringOptional/MandatoryThe code of the project E.g. ABC0001-A1 


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
GetDocumentsByProjectOutputGetDocumentsByProjectOutput Model

 

GetDocumentsByProjectOutput

Parameter
Type
Description
ProjectDocumentsList<ProjectDocument>Project Document Response model list

 

Response - sample output


Exceptions

Error CodeDescription

110

Input parameters contain null or invalid data 

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
252 

No input is provided for ProjectId or ProjectCode. Provide the input for at least one of these fields 

253 

Ambiguous inputs. Make sure the ProjectCode and projectId refer to the same project 

254 

Invalid ProjectCode 

  • 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.