VisionProjectWebService Service

The services available in VisionProject

Namespace
http://www.visionproject.se/service/VisionProjectService-v2
WSDL
service.wsdl
Path
/VisionProjectWebServiceService

login Operation

This method has been deprecated.

Deprecated since v7.5 - use login2 instead

Input Parameters
name type description
username (arg0) string  
password (arg1) string  
Return Value
type description
SystemUser  

login2 Operation

This method should be used to login to VisionProject with the web service API.



NOTE! This method can only be used if you have an installed version. Use loginWithAPIKey2(username, password, webservicekey, visionProjectVersion) for the hosted version instead.


A session will also be created if this method is successful.

Input Parameters
name type description
username (arg0) string A username
password (arg1) string A password
visionProjectVersion (arg2) string A VisionProject API version
Return Value
type description
SystemUser  

loginWithAPIKey Operation

This method has been deprecated.

Deprecated since v7.5 - use login2 instead

Input Parameters
name type description
username (arg0) string  
password (arg1) string  
webserviceAPIKey (arg2) string  
Return Value
type description
SystemUser  

loginWithAPIKey2 Operation

This method should used to login to VisionProject with the web service API when using the hosted version. Use login2(username, password, visionProjectVersion) for the installed version instead.
A session will also be created if this method is successful.

Input Parameters
name type description
username (arg0) string A username
password (arg1) string A password
webserviceAPIKey (arg2) string Your WebService API key. This can be requested by contacting the support
visionProjectVersion (arg3) string A VisionProject API version
Return Value
type description
SystemUser  

logout Operation

Ends the "Web Service Session"

checkUser Operation

Check if the user is valid without creating a session

Input Parameters
name type description
username (arg0) string A username
password (arg1) string A password
passwordIsHashed (arg2) boolean true if the password is in a hashed form, false if in clear text.
Return Value
type description
boolean true of the user is valid, false otherwise.

checkUserByChatPassword Operation

Check if the user is valid for chat without creating a session

Input Parameters
name type description
username (arg0) string A username
password (arg1) string A hashed password
Return Value
type description
boolean true of the user is valid, false otherwise.

setHashedPasswordForUser Operation

Change the hashedPassword for the specified user. This will set the raw value of the password directly in the database.

Input Parameters
name type description
systemUserId (arg0) int A username
password (arg1) string A raw password that will be set directly in the database

getProject Operation

Gets the specified project.

Input Parameters
name type description
projectId (arg0) int A primaryKey for a Project
Return Value
type description
Project  

findProjects Operation

Find projects using a specific search criteria object. All attributes set in queryObject will be used in the search.

Input Parameters
name type description
queryObject (arg0) Project Attributes that are set in this object will be used to build a query using AND in the query.
Return Value
type description
list of Project A list of Project objects

getProjectsForUser Operation

Get all projects that the current user has access to.

Return Value
type description
list of Project A list of Project objects

storeProject Operation

Creates or saves a project. If primaryKey <= 0 the project will be created.

Input Parameters
name type description
project (arg0) Project The Project to save
Return Value
type description
Project  

deleteProject Operation

Deletes the specified project

Input Parameters
name type description
projectId (arg0) int A primaryKey for a Project

copyProject Operation

Copies a project using the attributes in the copyProjectConfig parameter.

Input Parameters
name type description
copyProjectConfig (arg0) CopyProjectConfig Specifies which project that should be copied and how it should be copied
Return Value
type description
Project  

getUsersForProject Operation

Returns all users for the specified project

Input Parameters
name type description
projectId (arg0) int A primaryKey for a project
Return Value
type description
list of SystemUser A list of SystemUser objects

addUserToProject Operation

Adds a user to a project

Input Parameters
name type description
systemUserId (arg0) int A primaryKey for a SystemUser
userGroupId (arg1) int A primaryKey for a UserGroup
projectId (arg2) int A primaryKey for a Project
showAssignedIssuesOnly (arg3) boolean If true the user will only be able to see issues where she is the Reporter, Owner or Developer.

removeUserFromProject Operation

Removes a user from a project

Input Parameters
name type description
systemUserId (arg0) int A primaryKey for a SystemUser
projectId (arg1) int A primaryKey for a Project

getCustomFieldsForProject Operation

Gets the Custom fields for a project

Input Parameters
name type description
projectId (arg0) int A primaryKey for a project
Return Value
type description
ProjectGenericCustomField  

storeCustomFieldsForCustomer Operation

Creates or saves a CustomerGenericCustomField. If primaryKey <= 0 the CustomerGenericCustomField object will be created.

Input Parameters
name type description
customerGenericCustomField (arg0) CustomerGenericCustomField The CustomerGenericCustomField object to save.
Return Value
type description
CustomerGenericCustomField  

getCustomFieldsForCustomer Operation

Gets the Custom fields for a customer

Input Parameters
name type description
customerId (arg0) int A primaryKey for a customer
Return Value
type description
CustomerGenericCustomField  

storeCustomFieldsForProject Operation

Creates or saves a ProjectGenericCustomField. If primaryKey <= 0 the ProjectGenericCustomField object will be created.

Input Parameters
name type description
projectGenericCustomField (arg0) ProjectGenericCustomField The ProjectGenericCustomField object to save.
Return Value
type description
ProjectGenericCustomField  

getAvailableProjectCustomFields Operation

Gets a list of the custom fields that are available for Projects. GenericCustomField has a field named customFieldType of type CustomFieldType. The CustomFieldType has an attribute named "id". This is the meaning of the id field:

  • 1 = Text field
  • 2 = Select list
  • 3 = Boolean field (0 or 1)
  • 4 = Date field (Format: yyyy-MM-dd)
  • 5 = Multi-select list (Format: |Item1|Item2|)
  • 6 = User (no support users) (Valid SystemUser.SystemUserId)
  • 7 = User (with support users) (Valid SystemUser.SystemUserId)
  • 8 = Date + time field (Format: yyyy-MM-dd HH:mm)
  • 9 = Company (Valid Company.CompanyId)
  • 10 = "Product" (Configuration item) (Valid ConfigItem.ConfigItemId)
  • 11 = URL
  • 12 = Integer
  • 13 = Decimal

Return Value
type description
list of GenericCustomField A list of GenericCustomField objects

getDocumentsForProjectInFolder Operation

Returns all documents and folders for a project and specific folder

Input Parameters
name type description
projectId (arg0) int A primaryKey for a Project
folderId (arg1) int A primaryKey for a Document folder
Return Value
type description
list of Document An array of Document objects

getDocumentWithContentForProject Operation

Get one single project document with content

Input Parameters
name type description
projectId (arg0) int A primaryKey for a Project
documentId (arg1) int A primaryKey for a Document
Return Value
type description
DocumentWithContent  

storeProjectDocument Operation

Stores a project document with content

Input Parameters
name type description
document (arg0) Document A Document object. If primaryKey is <= 0 a new document will be created
projectId (arg1) int A primaryKey for a Project
fileContent (arg2) base64Binary The file content
Return Value
type description
Document  

getDocumentFoldersForProject Operation

Get all document folders available for a project

Input Parameters
name type description
projectId (arg0) int A primaryKey for a Project
Return Value
type description
list of Document An array of Document objects

getAvailableCustomerCustomFields Operation

Gets a list of the custom fields that are available for Customers. GenericCustomField has a field named customFieldType of type CustomFieldType. The CustomFieldType has an attribute named "id". This is the meaning of the id field:

  • 1 = Text field
  • 2 = Select list
  • 3 = Boolean field (0 or 1)
  • 4 = Date field (Format: yyyy-MM-dd)
  • 5 = Multi-select list (Format: |Item1|Item2|)
  • 6 = User (no support users) (Valid SystemUser.SystemUserId)
  • 7 = User (with support users) (Valid SystemUser.SystemUserId)
  • 8 = Date + time field (Format: yyyy-MM-dd HH:mm)
  • 9 = Company (Valid Company.CompanyId)
  • 10 = "Product" (Configuration item) (Valid ConfigItem.ConfigItemId)
  • 11 = URL
  • 12 = Integer
  • 13 = Decimal

Return Value
type description
list of GenericCustomField A list of GenericCustomField objects

getCustomFieldsForSystemUser Operation

Gets the Custom fields for a SystemUser

Input Parameters
name type description
systemUserId (arg0) int A primaryKey for a SystemUser
Return Value
type description
SystemUserGenericCustomField  

storeCustomFieldsForSystemUser Operation

Creates or saves a SystemUserGenericCustomField. If primaryKey <= 0 the SystemUserGenericCustomField object will be created.

Input Parameters
name type description
systemUserGenericCustomField (arg0) SystemUserGenericCustomField The SystemUserGenericCustomField object to save.
Return Value
type description
SystemUserGenericCustomField  

getSystemUserSettingsForSystemUser Operation

Get the Settings object from a SystemUser

Input Parameters
name type description
systemUserId (arg0) int A primaryKey for a SystemUser
Return Value
type description
SystemUserSettings  

storeSystemUserSettings Operation

Saves the SystemUserSettings object

Input Parameters
name type description
systemUserSettings (arg0) SystemUserSettings The SystemUserSettings object to save
Return Value
type description
SystemUserSettings  

getAvailableCustomerTypes Operation

Get available Customer types

Return Value
type description
list of CustomerType CustomerType[]

getCustomerTypeForCustomer Operation

Get the Customer type for a Customer

Input Parameters
name type description
customerId (arg0) int A primaryKey for a Customer
Return Value
type description
CustomerType  

storeCustomerTypeForCustomer Operation

Saves the Customer Type for a customer

Input Parameters
name type description
customerTypeId (arg0) int A primaryKey for a Customer type
customerId (arg1) int A primaryKey for a Customer
Return Value
type description
CustomerType  

setPermissionsOnDocument Operation

Set the permissions on a document. If a parameter is null then no change is made to this value on the document. For example, to set permission on a document with id = X so that only customers Z and Y will have access you make the following call:

webServiceClient.setPermissionsOnDocument(X, 3, "", "", "|Z|Y|", "");

If you want to add permissions to the above customers and leave all other permission values intact you would make the follwing call:

webServiceClient.setPermissionsOnDocument(X, 3, null, null, "|Z|Y|", null);

Input Parameters
name type description
documentId (arg0) int the document to modify the permissions for
permissionType (arg1) int type of permission which can be one of the following values:
  • EVERYONE = 1 (everyone has access)
  • JUST_ME = 2 (restrict access to the user that sets the permission)
  • USERGROUPS = 3 (restrist access to specific users, user groups or customers as specified in the other parameters)
  • ALLBUTSUPPORTUSERS = 4 (all users have access except support users)
permissionValue (arg2) string if permissionType has been set to 3 then this value specifies the user groups that have access to the document. This value should be a pipe separated list of valid user group ids.
For example: |7|5|
permissionForUsers (arg3) string if permissionType has been set to 3 then this value specifies the users that have access to the document. This value should be a pipe separated list of valid user group ids.
For example: |243935|927|
permissionForCustomers (arg4) string if permissionType has been set to 3 then this value specifies the customers that have access to the document. This value should be a pipe separated list of valid user group ids.
For example: |243935|927|
permissionValueReadOnly (arg5) string set permissionValueReadOnly to specify that certain users, user groups or customers should have read-only access to the document. This value should be pipe separated and the id of each type should be prefixed according to the following values:
  • Users = u:
  • UserGroups = ug:
  • Customers = cu:
For example, to set read-only access to customer 1884 and 831, userGroup 7 and user 927 you would set the following value:
|cu:1884|cu:831|ug:7|u:927|
Return Value
type description
Document  

getProjectIssue Operation

Gets a ProjectIssue

Input Parameters
name type description
projectIssueId (arg0) int A primaryKey for a ProjectIssue
Return Value
type description
ProjectIssue  

storeProjectIssue Operation

Creates or saves a ProjectIssue. If primaryKey <= 0 the issue will be created. If a new issue should be created it is important to set these attributes at a minimum:

  • name
  • projectId
  • issueStatusId
  • issueTypeId

Input Parameters
name type description
projectIssue (arg0) ProjectIssue A ProjectIssue object
Return Value
type description
ProjectIssue  

storeProjectIssueNoNotification Operation

Saves a ProjectIssue without send out any Notifications If a new issue should be created it is important to set these attributes at a minimum:

  • name
  • projectId
  • issueStatusId
  • issueTypeId

Input Parameters
name type description
projectIssue (arg0) ProjectIssue A ProjectIssue object
Return Value
type description
ProjectIssue  

storeProjectIssueNoDescriptionAttributes Operation

Saves a ProjectIssue without splitting text areas If a new issue should be created it is important to set these attributes at a minimum:

  • name
  • projectId
  • issueStatusId
  • issueTypeId

Input Parameters
name type description
projectIssue (arg0) ProjectIssue A ProjectIssue object
Return Value
type description
ProjectIssue  

findProjectIssues Operation

Finds ProjectIssues using a specific search criteria object. All attributes set in queryObject will be used in the search.

Input Parameters
name type description
queryObject (arg0) ProjectIssue Attributes that are set in this object will be used to build a query using AND in the query.
Return Value
type description
list of ProjectIssue A list of ProjectIssue objects

findProjectIssuesModifiedInPeriod Operation

Finds ProjectIssues using a specific search criteria object. All attributes set in queryObject will be used in the search.

Input Parameters
name type description
queryObject (arg0) ProjectIssue Attributes that are set in this object will be used to build a query using AND in the query.
modifiedDateAfter (arg1) dateTime Optional date. Fetches issues that has a modified that is after the specified date
modifiedDateBefore (arg2) dateTime Optional date. Fetches issues that has a modified that is before the specified date
Return Value
type description
list of ProjectIssue A list of ProjectIssue objects

deleteProjectIssue Operation

Deletes the specified ProjectIssue

Input Parameters
name type description
projectIssueId (arg0) int A primaryKey for a ProjectIssue

getAllSubIssuesForIssue Operation

Returns sub-issues for the specified ProjectIssue

Input Parameters
name type description
primaryKey (arg0) int A primaryKey for a ProjectIssue
Return Value
type description
list of ProjectIssue A list of ProjectIssue object

getDocumentsForIssue Operation

Get Documents for the specified issue. No content is fetched with this method. Use getDocumentsWithContentForIssue instead if you need the content as well.

Input Parameters
name type description
projectIssueId (arg0) int A primaryKey for a ProjectIssue
Return Value
type description
list of Document A list of Document objects

getDocumentsWithContentForIssue Operation

Get Documents with content for the specified issue. If you don't need the content, use getDocumentsWithContentForIssue instead.

Input Parameters
name type description
projectIssueId (arg0) int A primaryKey for a ProjectIssue
Return Value
type description
list of DocumentWithContent A list of Document objects

getDocumentWithContentForIssue Operation

Get one single issue document with content

Input Parameters
name type description
projectIssueId (arg0) int A primaryKey for a ProjectIssue
documentId (arg1) int A primaryKey for a Document
Return Value
type description
DocumentWithContent  

storeIssueDocument Operation

Stores an issue document with content

Input Parameters
name type description
document (arg0) Document A Document object. If primaryKey is <= 0 a new document will be created
projectIssueId (arg1) int A primaryKey for a ProjectIssue
fileContent (arg2) base64Binary The file content
Return Value
type description
Document  

deleteIssueDocument Operation

Delete an issue document

Input Parameters
name type description
projectIssueId (arg0) int A primaryKey for a ProjectIssue
documentId (arg1) int A primaryKey for a Document
Return Value
type description
boolean true if success, false otherwise.

queryProjectIssues Operation

Query for ProjectIssues. NOTE: This method is only available for installed customers with their own installation of the system.

Input Parameters
name type description
sqlWhereCriteria (arg0) string This string will be appended after WHERE in the SQL query. Standard SQL syntax should be used. Available parameters are all attributes in the ProjectIssue class. When using an attribute, "ProjectIssue." has to be prepended, e.g. "ProjectIssue.Name LIKE 'TEST ISSUE'"
Samples:
  • Get issues that has IssueStatusId equal to 1, sorted by Name descending. Returns 20 issues starting from the 10th issue.
    visionprojectWebService.queryProjectIssue("ProjectIssue.IssueStatusId = 1", "1 DESC", 10, 20);
  • Get all issues that has IssueStatusId equal to 1 and is created by the SystemUser with the primaryKey = 3. No specific sorting is specified so CreateDate will be used. Returns all matches.
    visionprojectWebService.queryProjectIssue("ProjectIssue.IssueStatusId = 1 AND ProjectIssue.CreatedBySystemUserId = 3", "", 0, 0);


sortOrder (arg1) string Specifies which sortOrder that should be used. Multiple sort criterias can be used, separated with a comma. The sort criteria should be in the form: "NUMBER ASC_OR_DESC", e.g. "10 DESC" (This will sort on Developer descending.)
"13 ASC, 8 DESC" will sort on Issue type first and then severity descending.
The number that should be used are these:
  • 1 = Title (Name)
  • 2 = Description
  • 3 = Affected versions
  • 4 = Version
  • 7 = Issue status
  • 8 = Issue severity
  • 9 = Issue priority
  • 10 = Developer
  • 11 = Reporter
  • 12 = Current owner
  • 13 = Issue type
  • 14 = Estimated time
  • 15 = Remaining time
  • 16 = Actual time
  • 17 = Due date
  • 18 = Component
  • 19 = TicketId
  • 20 = IssueKey
  • 21 = Create date
  • 22 = Modified Date
  • 23 = Completion date
  • 24 = Last replied by
  • 25 = Reporter company
  • 26 = StartDate
  • 30 = Tags
  • 31 = BillingAmount
  • 32 = CostAmount
  • 33 = FixedPrice
  • 34 = FixedTime
  • 35 = InProgressDate
  • 36 = Company
startIndex (arg2) int Specify index for the first issue that should be returned. The first issue has index = 0.
numberOfIssues (arg3) int Number of issues that should be returned. Use 0 if you would like to return all matching issues.
Return Value
type description
list of ProjectIssue A list of ProjectIssue objects

getLinkedIssues Operation

Returns info about linked issues.

Input Parameters
name type description
projectIssueId (arg0) int A primaryKey for a ProjectIssue
Return Value
type description
list of issueLinkInfo A list of IssueLinkInfo objects

Create a link between two issues

Input Parameters
name type description
projectIssueFromId (arg0) int A primaryKey for a ProjectIssue
projectIssueToId (arg1) int A primaryKey for a ProjectIssue
issueLinkTypeId (arg2) int A primaryKey for a IssueLinkType
description (arg3) string Description for the link
Return Value
type description
IssueLink  

Deletes an IssueLink

Input Parameters
name type description
issueLinkId (arg0) int A primaryKey for a IssueLink

getAllIssueLinkTypes Operation

Returns all available IssueLinkTypes

Return Value
type description
list of IssueLinkType A list of IssueLinkType objects

getAllCustomFieldForProjectIssue Operation

Returns all Custom fields for issues

Return Value
type description
list of CompanyCustomField A list of CompanyCustomField objects

getAvailableCustomFieldsForProjectIssueInProject Operation

Returns all available Custom fields for issues in the specified project. The IssueField object contains the mapping between the companyCustomFieldId and the customFieldIndex that can be used to set the correct companyCustomFieldXX value on the ProjectIssue object.

Input Parameters
name type description
projectId (arg0) int  
Return Value
type description
list of IssueField A list of IssueField objects

getAllIssueFieldsForIssueFieldConfiguration Operation

Returns all available Issue fields for the specified IssueFieldConfiguration. The IssueField object contains information if it's in use or whether it's mandatory etc.

Input Parameters
name type description
issueFieldConfigurationId (arg0) int  
Return Value
type description
list of IssueField A list of IssueField objects

createSystemUser Operation

Creates a new SystemUser

Input Parameters
name type description
systemUser (arg0) SystemUser The SystemUser to create
notifyNewUserWithEmail (arg1) boolean If the created user should get a notification email that she has been created as a new VisionProject user. Notification does not work for support users - if that is needed, use createSystemUserAndAssignToProject.
Return Value
type description
SystemUser  

createSystemUserAndAssignToProject Operation

Creates a new SystemUser and assigns the user to an existing project

Input Parameters
name type description
systemUser (arg0) SystemUser The SystemUser to create
notifyNewUserWithEmail (arg1) boolean If the created user should get a notification email that she has been created as a new VisionProject user.
showAssignedIssuesOnly (arg2) boolean On the assigned project, if the created user should only see issues assigned to oneself (true), or also issues assigned to other users (false)
projectId (arg3) int ProjectId of initially assigned project
Return Value
type description
SystemUser  

storeSystemUser Operation

Creates or saves a SystemUser. If primaryKey <= 0 the user will be created.
If an user is created with this methods a notification email will be sent to the newly created user. Use the method createSystemUser(systemUser, false) if you wouldn't like the user to receive an email.

Input Parameters
name type description
systemUser (arg0) SystemUser The SystemUser to save
Return Value
type description
SystemUser  

getSystemUser Operation

Gets the specified SystemUser

Input Parameters
name type description
systemUserId (arg0) int A primaryKey for a SystemUser
Return Value
type description
SystemUser  

findSystemUsers Operation

Finds SystemUsers using a specific search criteria object. All attributes set in queryObject will be used in the search.

Input Parameters
name type description
queryObject (arg0) SystemUser Attributes that are set in this object will be used to build a query using AND in the query.
Return Value
type description
list of SystemUser A list of SystemUser objects

deleteSystemUser Operation

Deletes the specified SystemUser

Input Parameters
name type description
systemUserId (arg0) int A primaryKey for a SystemUser

getSystemUserStatus Operation

Gets a specified SystemUserStatus

Input Parameters
name type description
systemUserStatusId (arg0) int A primaryKey for a SystemUserStatus
Return Value
type description
SystemUserStatus  

getAllSystemUserStatuses Operation

Gets all available SystemUserStatuses

Return Value
type description
list of SystemUserStatus A list of SystemUserStatus objects

getAllComponentsForProject Operation

This method has been deprecated.

Gets all components for a project

Input Parameters
name type description
projectId (arg0) int A primaryKey for a Project
Return Value
type description
list of Component A list of Component objects

getComponent Operation

This method has been deprecated.

Gets a specified Component

Input Parameters
name type description
componentId (arg0) int A primaryKey for a Component
Return Value
type description
Component  

getProjectCategory Operation

Gets a specified ProjectCategory

Input Parameters
name type description
projectCategoryId (arg0) int A primaryKey for a ProjectCategory
Return Value
type description
ProjectCategory  

storeProjectCategory Operation

Creates or saves a ProjectCategory. If primaryKey <= 0 the category will be created.

Input Parameters
name type description
projectCategory (arg0) ProjectCategory The ProjectCategory object to save.
Return Value
type description
ProjectCategory  

deleteProjectCategory Operation

Deletes the specified ProjectCategory

Input Parameters
name type description
projectCategoryId (arg0) int A primaryKey for a ProjectCategory

getAllProjectCategories Operation

Gets all ProjectCategories

Return Value
type description
list of ProjectCategory A list of ProjectCategory objects

getAllIssueHistories Operation

Gets all IssueHistories for an issue

Input Parameters
name type description
projectIssueId (arg0) int A primaryKey for a ProjectIssue
Return Value
type description
list of IssueHistory A list of IssueHistory objects

findIssueHistory Operation

Finds IssueHistories using a specific search criteria object. All attributes set in queryObject will be used in the search.

Input Parameters
name type description
queryObject (arg0) IssueHistory Attributes that are set in this object will be used to build a query using AND in the query. Please note that projectIssueId has to be specified in the quieryObject parameter!
Return Value
type description
list of IssueHistory A list of IssueHistory objects

addIssueComment Operation

Adds an issue comment to an issue. The comment should be in HTML format.

Input Parameters
name type description
projectIssueId (arg0) int A primaryKey for a ProjectIssue
htmlComment (arg1) string The comment in HTML format

getAllIssueEventTypes Operation

Returns all IssueEventTypes that exists in VisionProject. The issueEventType is used in IssueHistory objects.

Return Value
type description
list of IssueEventType A list of IssueEventType objects.

getProjectVersion Operation

Gets the specified ProjectVersion

Input Parameters
name type description
projectVersionId (arg0) int A primaryKey for a ProjectVersion
Return Value
type description
ProjectVersion  

findProjectVersions Operation

Finds ProjectVersions using a specific search criteria object. All attributes set in queryObject will be used in the search.

Input Parameters
name type description
queryObject (arg0) ProjectVersion Attributes that are set in this object will be used to build a query using AND in the query.
Return Value
type description
list of ProjectVersion A list of ProjectVersion objects

getProjectVersionsForProject Operation

Gets all ProjectVersions for a project

Input Parameters
name type description
projectId (arg0) int A primaryKey for a Project
Return Value
type description
list of ProjectVersion A list of ProjectVersion objects.

storeProjectVersion Operation

Creates or saves a ProjectVersion. If primaryKey <= 0 the version will be created.

Input Parameters
name type description
projectVersion (arg0) ProjectVersion The ProjectVersion to save
Return Value
type description
ProjectVersion  

deleteProjectVersion Operation

Deletes the specified ProjectVersion

Input Parameters
name type description
projectVersionId (arg0) int A primaryKey for a ProjectVersion

getIssueStatus Operation

Gets a specified IssueStatus

Input Parameters
name type description
issueStatusId (arg0) int A primaryKey for a IssueStatus
Return Value
type description
IssueStatus  

getAllIssueStatuses Operation

Gets all available IssueStatuses

Return Value
type description
list of IssueStatus A list of IssueStatus objects.

getIssueType Operation

Gets a specified IssueType

Input Parameters
name type description
issueTypeId (arg0) int A primaryKey for a IssueType
Return Value
type description
IssueType  

getAllIssueTypes Operation

Gets all available IssueTypes

Return Value
type description
list of IssueType A list of IssueType objects

getIssueResolution Operation

Gets a specified IssueResolution

Input Parameters
name type description
issueResolutionId (arg0) int A primaryKey for a IssueResolution
Return Value
type description
IssueResolution  

getAllIssueResolutions Operation

Gets all available IssueResolutions

Return Value
type description
list of IssueResolution A list of IssueResolution objects

getInteractionStatus Operation

Gets a specified InteractionStatus

Input Parameters
name type description
interactionStatusId (arg0) int A primaryKey for an InteractionStatus
Return Value
type description
InteractionStatus  

getAllInteractionStatuses Operation

Gets all available InteractionStatuses

Return Value
type description
list of InteractionStatus A list of InteractionStatus objects

getIssueUrgency Operation

Gets a specified IssueUrgency

Input Parameters
name type description
issueUrgencyId (arg0) int A primaryKey for an IssueUrgency
Return Value
type description
IssueUrgency  

getAllIssueUrgencies Operation

Gets all available IssueUrgencies

Return Value
type description
list of IssueUrgency A list of IssueUrgency objects

getIssueEscalationLevel Operation

Gets a specified IssueEscalationLevel

Input Parameters
name type description
issueEscalationLevelId (arg0) int A primaryKey for an IssueEscalationLevel
Return Value
type description
IssueEscalationLevel  

getAllIssueEscalationLevels Operation

Gets all available IssueEscalationLevels

Return Value
type description
list of IssueEscalationLevel A list of IssueEscalationLevel objects

getProjectBuild Operation

Gets a specified ProjectBuild

Input Parameters
name type description
projectBuildId (arg0) int A primaryKey for a ProjectBuild
Return Value
type description
ProjectBuild  

storeProjectBuild Operation

Creates or saves a ProjectBuild. If primaryKey <= 0 the build will be created.

Input Parameters
name type description
projectBuild (arg0) ProjectBuild The ProjectBuild to save
Return Value
type description
ProjectBuild  

findProjectBuilds Operation

Finds ProjectBuilds using a specific search criteria object. All attributes set in queryObject will be used in the search.

Input Parameters
name type description
queryObject (arg0) ProjectBuild Attributes that are set in this object will be used to build a query using AND in the query.
Return Value
type description
list of ProjectBuild A list of ProjectBuild objects

deleteProjectBuild Operation

Deletes the specified ProjectBuild

Input Parameters
name type description
projectBuildId (arg0) int A primaryKey for a ProjectBuild

getProjectStatus Operation

Gets the specified ProjectStatus

Input Parameters
name type description
projectStatusId (arg0) int A primaryKey for a ProjectStatus
Return Value
type description
ProjectStatus  

getAllProjectStatuses Operation

Gets all available ProjectStatuses

Return Value
type description
list of ProjectStatus A list of ProjectStatus objects

getIssueSeverity Operation

Gets the specified IssueSeverity

Input Parameters
name type description
issueSeverityId (arg0) int A primaryKey for a IssueSeverity
Return Value
type description
IssueSeverity  

getAllIssueSeverities Operation

Gets all available IssueSeverities

Return Value
type description
list of IssueSeverity A list of IssueSeverity objects

getIssuePriority Operation

Gets a specified IssuePriority

Input Parameters
name type description
issuePriorityId (arg0) int A primaryKey for a IssueSeverity
Return Value
type description
IssuePriority  

getAllIssuePriorities Operation

Gets all available IssuePriorities

Return Value
type description
list of IssuePriority A list of IssuePriority objects

getIssueWorkLogsForPeriod Operation

Returns all matching IssueWorkLog objects

Input Parameters
name type description
projectIds (arg0) list of int An array of Project ids. Specify an empty array or null if you want to return all.
systemUserIds (arg1) list of int An array of SystemUser ids. Specify an empty array or null if you want to return all.
customerIds (arg2) list of int An array of Customer ids. Specify an empty array or null if you want to return all.
fromDate (arg3) dateTime The "from date" for the IssueWorkLogs.
toDate (arg4) dateTime The "to date" for the IssueWorkLogs
Return Value
type description
list of IssueWorkLog A list of IssueWorkLog objects

storeIssueWorkLog Operation

Creates or saves a IssueWorkLog. If primaryKey <= 0 the worklog will be created.

Input Parameters
name type description
issueWorkLog (arg0) IssueWorkLog The IssueWorkLog to save.
Return Value
type description
IssueWorkLog  

getIssueWorkLog Operation

Gets the specified IssueWorkLog

Input Parameters
name type description
issueWorkLogId (arg0) int A primaryKey for a IssueWorkLog
Return Value
type description
IssueWorkLog  

getAllIssueWorkLogs Operation

Gets all IssueWorkLogs for an issue

Input Parameters
name type description
projectIssueId (arg0) int A primaryKey for a ProjectIssue
Return Value
type description
list of IssueWorkLog A list of IssueWorkLog objects

deleteIssueWorkLog Operation

Deletes an IssueWorkLog

Input Parameters
name type description
issueWorkLogId (arg0) int A primaryKey for a IssueWorkLog

getAllWorkLogCategories Operation

Returns all available Worklog categories

Return Value
type description
list of WorkLogCategory A list of WorkLogCategory objects

getCostsForPeriod Operation

Returns all matching Cost objects

Input Parameters
name type description
projectIds (arg0) list of int An array of Project ids. Specify an empty array or null if you want to return all.
systemUserIds (arg1) list of int An array of SystemUser ids. Specify an empty array or null if you want to return all.
customerIds (arg2) list of int An array of Customer ids. Specify an empty array or null if you want to return all.
fromDate (arg3) dateTime The "from date" for the Costs. MANDATORY
toDate (arg4) dateTime The "to date" for the Costs. MANDATORY
Return Value
type description
list of Cost A list of Cost objects

storeCost Operation

Creates or saves a Cost. If primaryKey <= 0 the cost will be created. To specify a Cost on a ProjectIssue both projectIssueId and projectId must be specified and > 0. If you want to create a Cost on a Project you don't set the projectIssueId on the object (or set it to 0).

Input Parameters
name type description
cost (arg0) Cost The Cost to save.
Return Value
type description
Cost  

getCost Operation

Gets the specified Cost

Input Parameters
name type description
costId (arg0) int A primaryKey for a Cost
Return Value
type description
Cost  

getAllCostsForIssue Operation

Gets all Costs for an issue

Input Parameters
name type description
projectIssueId (arg0) int A primaryKey for a ProjectIssue
Return Value
type description
list of Cost A list of Cost objects

getAllCostsForProject Operation

Gets all Costs for a project (where projectIssueId = NULL)

Input Parameters
name type description
projectId (arg0) int A primaryKey for a Project
Return Value
type description
list of Cost A list of Cost objects

deleteCost Operation

Deletes a Cost

Input Parameters
name type description
costId (arg0) int A primaryKey for a Cost

getAllCostTypes Operation

Returns all available Cost types

Return Value
type description
list of CostType A list of CostType objects

findUserGroups Operation

Finds UserGroups using a specific search criteria object. All attributes set in queryObject will be used in the search.

Input Parameters
name type description
queryObject (arg0) UserGroup Attributes that are set in this object will be used to build a query using AND in the query.
Return Value
type description
list of UserGroup A list of UserGroup objects

findUserRoles Operation

Finds VPRoles using a specific search criteria object. All attributes set in queryObject will be used in the search.

Input Parameters
name type description
queryObject (arg0) VPRole Attributes that are set in this object will be used to build a query using AND in the query.
Return Value
type description
list of VPRole A list of VPRole objects

storeCustomer Operation

Creates or saves a Customer . If primaryKey <= 0 the customer will be created.

Input Parameters
name type description
customer (arg0) Customer The Customer to save
Return Value
type description
Customer  

getCustomer Operation

Gets the specified Customer

Input Parameters
name type description
customerId (arg0) int A primaryKey for a Customer
Return Value
type description
Customer  

findCustomers Operation

Finds Customers using a specific search criteria object. All attributes set in queryObject will be used in the search.

Input Parameters
name type description
queryObject (arg0) Customer Attributes that are set in this object will be used to build a query using AND in the query.
Return Value
type description
list of Customer A list of Customer objects

deleteCustomer Operation

Deletes the specified Customer

Input Parameters
name type description
customerId (arg0) int A primaryKey for a Customer

getAllCustomerStatuses Operation

Returns all customer statuses

Return Value
type description
list of EntityStatus List of EntityStatus

getConfigItem Operation

Gets the specified config item.

Input Parameters
name type description
configItemId (arg0) int A primaryKey for a ConfigItem
Return Value
type description
ConfigItem  

findConfigItems Operation

Find config items using a specific search criteria object. All attributes set in queryObject will be used in the search.

Input Parameters
name type description
queryObject (arg0) ConfigItem Attributes that are set in this object will be used to build a query using AND in the query.
Return Value
type description
list of ConfigItem A list of ConfigItem objects

getConfigItemChildrens Operation

Get all childrens for a config item id. If you want to get all ConfigItems on the first level call this method like this: getConfigItemChildrens(0);

Input Parameters
name type description
configItemId (arg0) int  
Return Value
type description
list of ConfigItem A list of ConfigItem objects

storeConfigItem Operation

Creates or saves a config item. If primaryKey <= 0 the config item will be created.

Input Parameters
name type description
configItem (arg0) ConfigItem The ConfigItem to save
Return Value
type description
ConfigItem  

deleteConfigItem Operation

Deletes the specified config item

Input Parameters
name type description
configItemId (arg0) int A primaryKey for a ConfigItem

getCustomFieldsForConfigItem Operation

Gets the Custom fields for a config item

Input Parameters
name type description
configItemId (arg0) int A primaryKey for a config item
Return Value
type description
ConfigItemGenericCustomField  

getCustomFieldsForAllConfigItems Operation

Gets all Custom fields for all Config items

Return Value
type description
list of ConfigItemGenericCustomField List of ConfigItemGenericCustomField items. ConfigItemGenericCustomField is an object that contains the custom fields for a config item

storeCustomFieldsForConfigItem Operation

Creates or saves a ConfigItemGenericCustomField. If primaryKey <= 0 the ConfigItemGenericCustomField object will be created.

Input Parameters
name type description
configItemGenericCustomField (arg0) ConfigItemGenericCustomField The ConfigItemGenericCustomField object to save.
Return Value
type description
ConfigItemGenericCustomField  

getAvailableConfigItemCustomFields Operation

Gets a list of the custom fields that are available for ConfigItem. GenericCustomField has a field named customFieldType of type CustomFieldType. The CustomFieldType has an attribute named "id". This is the meaning of the id field:

  • 1 = Text field
  • 2 = Select list
  • 3 = Boolean field (0 or 1)
  • 4 = Date field (Format: yyyy-MM-dd)
  • 5 = Multi-select list (Format: |Item1|Item2|)
  • 6 = User (no support users) (Valid SystemUser.SystemUserId)
  • 7 = User (with support users) (Valid SystemUser.SystemUserId)
  • 8 = Date + time field (Format: yyyy-MM-dd HH:mm)
  • 9 = Company (Valid Company.CompanyId)
  • 10 = "Product" (Configuration item) (Valid ConfigItem.ConfigItemId)
  • 11 = URL
  • 12 = Integer
  • 13 = Decimal

Return Value
type description
list of GenericCustomField A list of GenericCustomField objects

getAllConfigItemTypes Operation

Returns all Config item types

Return Value
type description
list of ConfigItemType List of ConfigItemType objects

getAllConfigItemStatuses Operation

Returns all Config item statuses

Return Value
type description
list of EntityStatus List of EntityStatus

getDocumentsForConfigItemInFolder Operation

Returns all documents and folders for a config item and specific folder

Input Parameters
name type description
configItemId (arg0) int A primaryKey for a ConfigItem
folderId (arg1) int A primaryKey for a Document folder
Return Value
type description
list of Document An array of Document objects

getDocumentWithContentForConfigItem Operation

Get one single config item document with content

Input Parameters
name type description
configItemId (arg0) int A primaryKey for a ConfigItem
documentId (arg1) int A primaryKey for a Document
Return Value
type description
DocumentWithContent  

storeConfigItemDocument Operation

Stores a config Item document with content

Input Parameters
name type description
document (arg0) Document A Document object. If primaryKey is <= 0 a new document will be created
configItemId (arg1) int A primaryKey for a ConfigItem
fileContent (arg2) base64Binary The file content
Return Value
type description
Document  

getConfigItemLinkTypes Operation

Get ConfigItem link types

Return Value
type description
list of ConfigItemLinkType A list of ConfigItemLinkType objects

getLinkedConfigItems Operation

Get config items that is linked to the specified ConfigItem

Input Parameters
name type description
configItemId (arg0) int A primaryKey for ConfigItem
Return Value
type description
list of ConfigItem A list of ConfigItem objects

Get the objects that is holding the Config item links information

Input Parameters
name type description
configItemId (arg0) int A primaryKey for ConfigItem
Return Value
type description
list of ConfigItemLink A list of ConfigItemLink objects

Create a link between two ConfigItems

Input Parameters
name type description
configItemLink (arg0) ConfigItemLink A ConfigItemLink object
Return Value
type description
ConfigItemLink  

Delete a link between config items

Input Parameters
name type description
configItemLinkId (arg0) int A primaryKey for ConfigItem link

getContract Operation

Gets the specified contract.

Input Parameters
name type description
contractId (arg0) int A primaryKey for a Contract
Return Value
type description
Contract  

findContracts Operation

Find contracts using a specific search criteria object. All attributes set in queryObject will be used in the search.

Input Parameters
name type description
queryObject (arg0) Contract Attributes that are set in this object will be used to build a query using AND in the query.
Return Value
type description
list of Contract A list of Contract objects

storeContract Operation

Creates or saves a contract. If primaryKey <= 0 the config item will be created.

Input Parameters
name type description
contract (arg0) Contract The Contract to save
Return Value
type description
Contract  

deleteContract Operation

Deletes the specified contract

Input Parameters
name type description
contractId (arg0) int A primaryKey for a Contract

getCustomFieldsForContract Operation

Gets the custom fields for a contract

Input Parameters
name type description
contractId (arg0) int A primaryKey for a Contract
Return Value
type description
ContractGenericCustomField  

getCustomFieldsForAllContracts Operation

Gets all custom fields for all contracts

Return Value
type description
list of ContractGenericCustomField List of ContractGenericCustomField items. ContractGenericCustomField is an object that contains the custom fields for a contract

storeCustomFieldsForContract Operation

Creates or saves a ContractGenericCustomField. If primaryKey <= 0 the ContractGenericCustomField object will be created.

Input Parameters
name type description
contractGenericCustomField (arg0) ContractGenericCustomField The ContractGenericCustomField object to save.
Return Value
type description
ContractGenericCustomField  

getAvailableContractCustomFields Operation

Gets a list of the custom fields that are available for Contract. GenericCustomField has a field named customFieldType of type CustomFieldType. The CustomFieldType has an attribute named "id". This is the meaning of the id field:

  • 1 = Text field
  • 2 = Select list
  • 3 = Boolean field (0 or 1)
  • 4 = Date field (Format: yyyy-MM-dd)
  • 5 = Multi-select list (Format: |Item1|Item2|)
  • 6 = User (no support users) (Valid SystemUser.SystemUserId)
  • 7 = User (with support users) (Valid SystemUser.SystemUserId)
  • 8 = Date + time field (Format: yyyy-MM-dd HH:mm)
  • 9 = Company (Valid Company.CompanyId)
  • 10 = "Product" (Configuration item) (Valid ConfigItem.ConfigItemId)
  • 11 = URL
  • 12 = Integer
  • 13 = Decimal

Return Value
type description
list of GenericCustomField A list of GenericCustomField objects

getAllContractTypes Operation

Returns all contract types

Return Value
type description
list of ContractType List of ContractType objects

getAllContractStatuses Operation

Returns all contract statuses

Return Value
type description
list of EntityStatus List of EntityStatus

getDocumentsForContractInFolder Operation

Returns all documents and folders for a contract and specific folder

Input Parameters
name type description
contractId (arg0) int A primaryKey for a Contract
folderId (arg1) int A primaryKey for a Document folder
Return Value
type description
list of Document An array of Document objects

getDocumentWithContentForContract Operation

Get one single contract document with content

Input Parameters
name type description
contractId (arg0) int A primaryKey for a Contract
documentId (arg1) int A primaryKey for a Document
Return Value
type description
DocumentWithContent  

storeContractDocument Operation

Stores a contract document with content

Input Parameters
name type description
document (arg0) Document A Document object. If primaryKey is <= 0 a new document will be created
contractId (arg1) int A primaryKey for a Contract
fileContent (arg2) base64Binary The file content
Return Value
type description
Document  

getIssueSubscribers Operation

Returns an object that contains SystemUsers and UserGroups that is added as a subscriber on an issue

Input Parameters
name type description
projectIssueId (arg0) int A primaryKey for a ProjectIssue
Return Value
type description
issueSubscribers  

addSystemUserAsIssueSubscriber Operation

Adds a SystemUser as an issue subscriber on an issue

Input Parameters
name type description
projectIssueId (arg0) int A primaryKey for a ProjectIssue
systemUserId (arg1) int A primaryKey for a SystemUser

removeSystemUserAsIssueSubscriber Operation

Removes a SystemUser as an issue subscriber on an issue

Input Parameters
name type description
projectIssueId (arg0) int A primaryKey for a ProjectIssue
systemUserId (arg1) int A primaryKey for a SystemUser

addUserGroupAsIssueSubscriber Operation

Adds a UserGroup as an issue subscriber on an issue

Input Parameters
name type description
projectIssueId (arg0) int A primaryKey for a ProjectIssue
userGroupId (arg1) int A primaryKey for a SystemUser

removeUserGroupAsIssueSubscriber Operation

Adds a SystemUser as an issue subscriber on an issue

Input Parameters
name type description
projectIssueId (arg0) int A primaryKey for a ProjectIssue
userGroupId (arg1) int A primaryKey for a SystemUser

getAllQueries Operation

Get an array of all Queries (Searches) the current user have access to.

Return Value
type description
list of Query an array of Query objects

getQuery Operation

Get details of a specific Query.

Input Parameters
name type description
queryId (arg0) int  
Return Value
type description
Query  

getQueryResult Operation

Get an array of ProjectIssue objects that is the result of executing the specified Query.

Input Parameters
name type description
queryId (arg0) int  
Return Value
type description
list of ProjectIssue an array of ProjectIssue objects

getProjectIssuesForQuery Operation

Get a paginated array of ProjectIssue objects that is the result of executing the specified Query.

Input Parameters
name type description
queryId (arg0) int  
start (arg1) int  
limit (arg2) int  
Return Value
type description
list of ProjectIssue an array of ProjectIssue objects

getQueryResultCount Operation

Get the number of ProjectIssue objects resulting from the execution of the specified Query.

Input Parameters
name type description
queryId (arg0) int  
Return Value
type description
int the number of ProjectIssues

getSubscribedProjectIssuesForUser Operation

Load array of ProjectIssue objects that the specified user is subscribed to

Input Parameters
name type description
systemUserId (arg0) int id of the user
Return Value
type description
list of int