Virima API



Home
Commons
Constructs
Error Codes
Tester


SERVICES
CertificateManagementService
AgentResourceMonitor
AndroidService
AnnouncementService
AssetLicenseEntitlementService
ConsumableService
HardwareAssetService
OtherAssetService
SoftwareLicenseAssetService
StockRoomService
StockRoomTypeService
UserLicenseEntitlementService
AuditRecordService
BSMService
AvailabilityService
CommitmentScheduleService
OutagesService
OutScopeService
BusinessService
ServiceCommitment
ServiceOffering
InScopeService
ChangeAttributeService
ChangeApprovalServices
CherwellIntegrationService
CmdbAuditService
CMDBCIRelationship
CMDBCIVersion
CMDBCIService
CommentService
CommonService
ConfigurationServices
ContractService
CorrelationService
CostCenterService
CredentialService
CustomerService
CustomizedColumnsService
CyberArkService
DemandService
DesignationService
DevOpsService
DiscoveryService
DiscoveryMonitoringProfileService
DiscoveryClientService
DiscoveryPattern
DiscoveryScanService
DiscoveryScanSplitService
Document
DuplicatesAndRemediation
EMEmailService
EventService
ExternalAlertService
FederationService
FileService
FinanceService
GetRecordService
GroupProbeService
HelpDeskDashboardService
HomePageService
ImportCIService
ImportITILService
IncidentService
PriorityService
TimescaleService
IncidentAttributeService
InfoBloxService
AssetsAuditService
ITILMetricService
ITSMChangeService
ITSMTicketMgtService
IvantiIntegrationService
JiraIntegrationService
KnowledgeAttributeService
KnowledgeManagementService
LocationService
LoginService
MajorSoftwareService
MFAService
MMCCertificateService
OwnerService
PreprocessorService
PurchaseOrderService
PurchaseOrderLineItemService
ReceivingSlipService
ReceivingSlipsLineService
RequestItemService
RequestProcurementService
TransferOrderService
ProbeService
ProblemService
ProblemAttributeService
ProcessNetworkConnections
ProcessjobsService
ProgramService
ProjectService
PropertyGroupService
ReleaseManagementService
ReportDashBoardService
ReportingService
ReportingClauseService
ReportingOrderService
ReportPresentationService
RequestService
RequestAttributeService
AssessmentMasterAndQuestionService
RiskMangaementService
RoleAccessService
RuleService
RunBookService
SAMLService
SampleService
ScanService
SDPService
SearchService
SensorService
ServiceCatalog
ServiceNowMappingService
ServiceNowRecordService
SLAService
SoftwareMetricsService
ImportSpiceWorkTicketsService
SurveyMastersAndQuestions
TagService
TaskService
TaskTimeTrackingService
TimeTrackingExportService
TimeTrackingService
UCFADService
UnfuddleService
UserDepartmentService
UserGroupService
UserRoleService
UserService
VCenterHeirarchyService
VCenterTagsService
VendorService
WorkflowService
MenuService

Virima API Specification - TaskService Services

The requests documented in this section are directed to TaskService resources, which represent .

addTask POST Interface

Method: POST

Relative URL: task/add

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Request Structure:

Field NameTypeDescription
taskAddTask

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

ADDTASK 
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
   "entityId":?,
   "entity":"?",
   "customerId":"?",
   "userId":"?",
   "taskType":"?",
   "taskValue":"?",
   "dueDate":?,
   "assignee":?,
   "groupAssignee":?,
   "status":"?",
   "totalTimeSpent":?,
   "sentItemId":?,
   "notes":"?"
}

Example Response:

{
   "id":2147483647,
   "response":"?"
}

editTask POST Interface

Method: POST

Relative URL: task/edit

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Request Structure:

Field NameTypeDescription
updateTaskUpdateTask

Response Structure:

Field NameTypeDescription
taskTask

Example Request:

EDITTASK 
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
   "entityId":?,
   "entity":"?",
   "taskType":"?",
   "customerId":"?",
   "userId":"?",
   "taskValue":"?",
   "dueDate":?,
   "assignee":?,
   "groupAssignee":?,
   "status":"?",
   "completed":?,
   "archive":?,
   "sentItemId":?,
   "allowTemporaryAccess":?,
   "notes":"?"
}

Example Response:

{
   "id":2147483647,
   "entityId":?,
   "entity":"?",
   "taskType":"?",
   "taskValue":"?",
   "dueDate":?,
   "assignee":"?",
   "groupAssignee":"?",
   "status":"?",
   "lastModifiedBy":"?",
   "createdBy":"?",
   "createdOn":?,
   "lastModifiedOn":?,
   "completed":?,
   "totalTimeSpent":?,
   "sentItemId":?,
   "url":"?",
   "reAssignRestricted":?,
   "notes":"?"
}

getAllTask GET Interface

Method: GET

Relative URL: task/get-all/entity-i-d/entity

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
tasksArrayOfTask

Example Request:

Example Response:

{
   "id":2147483647,
   "totalTime":?,
   "tasks":[
      {
         "id":2147483647,
         "entityId":?,
         "entity":"?",
         "taskType":"?",
         "taskValue":"?",
         "dueDate":?,
         "assignee":"?",
         "groupAssignee":"?",
         "status":"?",
         "lastModifiedBy":"?",
         "createdBy":"?",
         "createdOn":?,
         "lastModifiedOn":?,
         "completed":?,
         "totalTimeSpent":?,
         "sentItemId":?,
         "url":"?",
         "reAssignRestricted":?,
         "notes":"?"
      }   ]
}

getAllAssignedTasks GET Interface

Method: GET

Relative URL: task/get-all-assigned-tasks/entity-i-d

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
tasksArrayOfTask

Example Request:

Example Response:

{
   "id":2147483647,
   "totalTime":?,
   "tasks":[
      {
         "id":2147483647,
         "entityId":?,
         "entity":"?",
         "taskType":"?",
         "taskValue":"?",
         "dueDate":?,
         "assignee":"?",
         "groupAssignee":"?",
         "status":"?",
         "lastModifiedBy":"?",
         "createdBy":"?",
         "createdOn":?,
         "lastModifiedOn":?,
         "completed":?,
         "totalTimeSpent":?,
         "sentItemId":?,
         "url":"?",
         "reAssignRestricted":?,
         "notes":"?"
      }   ]
}

getAllAssignedGroupTasks GET Interface

Method: GET

Relative URL: task/get-all-assigned-group-tasks/entity-i-d

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
tasksArrayOfTask

Example Request:

Example Response:

{
   "id":2147483647,
   "totalTime":?,
   "tasks":[
      {
         "id":1205666220,
         "entityId":?,
         "entity":"?",
         "taskType":"?",
         "taskValue":"?",
         "dueDate":?,
         "assignee":"?",
         "groupAssignee":"?",
         "status":"?",
         "lastModifiedBy":"?",
         "createdBy":"?",
         "createdOn":?,
         "lastModifiedOn":?,
         "completed":?,
         "totalTimeSpent":?,
         "sentItemId":?,
         "url":"?",
         "reAssignRestricted":?,
         "notes":"?"
      }   ]
}

getAllTaskNames GET Interface

Method: GET

Relative URL: task/get-all-task-names/entity-i-d/entity

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
tasksResponse

Example Request:

Example Response:

{
   "id":2147483647,
   "response":"?"
}

archiveTask POST Interface

Method: POST

Relative URL: task/archive

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Request Structure:

Field NameTypeDescription
taskIdArrayOfTaskId

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

ARCHIVETASK 
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
   "customerId":"?",
   "userId":"?",
   "tasks":[
      {
         "taskId":?
      }   ]
}

Example Response:

{
   "id":2147483647,
   "response":"?"
}

completeTask POST Interface

Method: POST

Relative URL: task/complete-task

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Request Structure:

Field NameTypeDescription
taskDataUpdateTask

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

COMPLETETASK 
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
   "entityId":?,
   "entity":"?",
   "taskType":"?",
   "customerId":"?",
   "userId":"?",
   "taskValue":"?",
   "dueDate":?,
   "assignee":?,
   "groupAssignee":?,
   "status":"?",
   "completed":?,
   "archive":?,
   "sentItemId":?,
   "allowTemporaryAccess":?,
   "notes":"?"
}

Example Response:

{
   "id":2147483647,
   "response":"?"
}