Description
This method is used to remove one or more companies from a project. After a company is removed from a project, users of that company will not be able to perform following actions,
- AddCompaniesToProject
- GetDocumentsByProject
- SendDocumentsToProject
- EditProject
- GetAllProjects - Will not see the specific project in the list
Request
Parameter | Type | Mandatory/Optional | Comments |
---|---|---|---|
companiesToBeRemoved | List<RemoveCompany> | Mandatory | List of the companies to be removed from the project. Either Company Ids or Organization Ids should be provided |
projectId | long | Mandatory | The project Id |
applicationName | string | Mandatory | Third party application identifier, identifying the client consuming the web service – (Length of the applicationName should be less than or equal to 10) |
Response
Type | Description |
---|---|
List<CompanyRemovalStatus> | EditProject web method will update the edited project related information and return the Project Model |
Exceptions
Error Code | Description |
---|---|
123 | An exception occurred while processing your request |
138 | ApplicationName length is exceeded maximum allowed character limit (10) |
146 | The application name is not set |
167 | You are not authorized to use this web method |
223 | The given project is not owned by the company or does not exist, therefore this action cannot be performed |
227 | The project does not exist or the company is not connected to the given project |
228 | Project Id is not provided |
249 | Please provide a valid company list to be removed |
258 | Unable to find a company registered for the given organization number |
261 | Neither Company Id nor Organization Number is provided |
262 | Company which owns the project can not be removed |
316 | You cannot do this operation for a closed project |
321 | Company removed successfully but email is not sent |