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 - FileService Services

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

uploadMicrosoftProjectAndAssociate FILE Interface

Method: FILE

Relative URL: file/upload-mpp-project

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
transactionMessageTransactionMessage

Example Request:

Example Response:

{
   "id":2147483647,
   "recordId":"?",
   "message":"?",
   "status":?
}

getAllPictures GET Interface

Method: GET

Relative URL: file/get-all-pictures

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseResponseThe response

Example Request:

Example Response:

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

getAllServiceCatalogPictures GET Interface

Method: GET

Relative URL: file/get-all-servicecatalog-pictures

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseResponseThe response

Example Request:

Example Response:

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

uploadDocument FILE Interface

Method: FILE

Relative URL: file/upload-file

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseMsgTransactionMessageThe response

Example Request:

Example Response:

{
   "id":2147483647,
   "recordId":"?",
   "message":"?",
   "status":?
}

uploadSoftwareFile FILE Interface

Method: FILE

Relative URL: file/upload-software-file/version

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseResponseThe response

Example Request:

Example Response:

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

uploadSoftwareFile FILE Interface

Method: FILE

Relative URL: file/import-software-file

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseResponseThe response

Example Request:

Example Response:

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

saveSoftwareLink POST Interface

Method: POST

Relative URL: file/save-software-link/version

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Request Structure:

Field NameTypeDescription
linkDataInputLink of software

Response Structure:

Field NameTypeDescription
responseResponseThe response

Example Request:

SAVESOFTWARELINK 
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
   "id":2147483647,
   "name":"?",
   "dataValue":"?",
   "description":"?"
}

Example Response:

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

getUploadedFiles GET Interface

Method: GET

Relative URL: file/get-uploaded-files/entity-id/entity-name

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseMsgArrayAttachListArray of files with fileId

Example Request:

Example Response:

{
   "id":1348100403,
   "customerId":"?",
   "userId":"?",
   "listFiles":[
      {
         "id":2147483647,
         "attachmentId":?,
         "name":"?",
         "fileName":"?",
         "entity":"?",
         "status":"?",
         "version":"?",
         "uploadedBy": {
               "id":1750503779,
               "stringobj":"?",
               "shortName":"?",
               "s3Name":"?",
               "uniqueId":"?",
               "lineType":"?",
            },
         "uploadedOn":?,
         "driveFileId":"?",
         "fileSize":?,
         "description":"?",
         "isRunBookAttachment":?
      }   ]
}

detachFile POST Interface

Method: POST

Relative URL: file/detach-file

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Request Structure:

Field NameTypeDescription
attachFileListArrayAttachList

Response Structure:

Field NameTypeDescription
responseMsgResponseResponse

Example Request:

DETACHFILE 
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
   "customerId":"?",
   "userId":"?",
   "listFiles":[
      {
         "attachmentId":?,
         "name":"?",
         "fileName":"?",
         "entity":"?",
         "status":"?",
         "version":"?",
         "uploadedBy": {
               "stringobj":"?",
               "shortName":"?",
               "s3Name":"?",
               "uniqueId":"?",
               "lineType":"?",
            },
         "uploadedOn":?,
         "driveFileId":"?",
         "fileSize":?,
         "description":"?",
         "isRunBookAttachment":?
      }   ]
}

Example Response:

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

uploadProfilePicture FILE Interface

Method: FILE

Relative URL: file/upload-profile-picture/module

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseResponseThe response

Example Request:

Example Response:

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

uploadWorkflowPicture FILE Interface

Method: FILE

Relative URL: file/upload-workflow-picture/module

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseResponseThe response

Example Request:

Example Response:

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

downloadProfilePicture GET Interface

Method: GET

Relative URL: file/download-profile-picture/module/entity-id

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseResponseThe response

Example Request:

Example Response:

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

uploadITSMCategoryPicture FILE Interface

Method: FILE

Relative URL: file/upload-itsm-category-picture/module

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseResponseThe response

Example Request:

Example Response:

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

downloadITSMCategoryPicture GET Interface

Method: GET

Relative URL: file/download-itsm-category-picture/module/entity-id

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseResponseThe response

Example Request:

Example Response:

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

uploadCIData FILE Interface

Method: FILE

Relative URL: file/upload-ci-data/module/template-id

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseResponseThe response

Example Request:

Example Response:

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

uploadTagsData FILE Interface

Method: FILE

Relative URL: file/upload-tags-data/module

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseResponseThe response

Example Request:

Example Response:

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

uploadScheduleScan FILE Interface

Method: FILE

Relative URL: file/upload-schedulescan-data

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseResponseThe response

Example Request:

Example Response:

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

uploadCIAssetRelationship FILE Interface

Method: FILE

Relative URL: file/upload-ci-asset-relationship

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseResponseThe response

Example Request:

Example Response:

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

uploadCIProperties FILE Interface

Method: FILE

Relative URL: file/upload-ci-properties

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseResponseThe response

Example Request:

Example Response:

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

uploadRelationshipTypes FILE Interface

Method: FILE

Relative URL: file/upload-relationship-types

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseResponseThe response

Example Request:

Example Response:

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

uploadITSMData FILE Interface

Method: FILE

Relative URL: file/upload-itsm-data/module

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseResponseThe response

Example Request:

Example Response:

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

uploadSpiceworkData FILE Interface

Method: FILE

Relative URL: file/upload-spicework-data/module

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseResponseThe response

Example Request:

Example Response:

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

getUploadedCIFiles GET Interface

Method: GET

Relative URL: file/get-uploaded-ci-files/page-no/limit

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseArrayAttachListArray of files with fileId

Example Request:

Example Response:

{
   "id":493262544,
   "customerId":"?",
   "userId":"?",
   "listFiles":[
      {
         "id":2147483647,
         "attachmentId":?,
         "name":"?",
         "fileName":"?",
         "entity":"?",
         "status":"?",
         "version":"?",
         "uploadedBy": {
               "id":2147483647,
               "stringobj":"?",
               "shortName":"?",
               "s3Name":"?",
               "uniqueId":"?",
               "lineType":"?",
            },
         "uploadedOn":?,
         "driveFileId":"?",
         "fileSize":?,
         "description":"?",
         "isRunBookAttachment":?
      }   ]
}

deleteFile POST Interface

Method: POST

Relative URL: file/delete-file

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Request Structure:

Field NameTypeDescription
fileDetailsDataInputDetails of file(id and name)

Response Structure:

Field NameTypeDescription
responseResponseThe response

Example Request:

DELETEFILE 
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
   "id":2147483647,
   "name":"?",
   "dataValue":"?",
   "description":"?"
}

Example Response:

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

uploadPropertyFile FILE Interface

Method: FILE

Relative URL: file/upload-property-file

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseResponseThe response

Example Request:

Example Response:

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

deletePropertyFile GET Interface

Method: GET

Relative URL: file/delete-property-file/file-id

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseResponseThe response

Example Request:

Example Response:

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

deleteCommentsAttachment POST Interface

Method: POST

Relative URL: file/delete-comments-attachment

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Request Structure:

Field NameTypeDescription
attachmentIdRecordID

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

DELETECOMMENTSATTACHMENT 
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
   "recordId":"?"
}

Example Response:

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

uploadCategoryFile FILE Interface

Method: FILE

Relative URL: file/upload-category-file

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseResponseThe response

Example Request:

Example Response:

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

uploadADZipFile FILE Interface

Service to upload the ucf ad zip file and extract it

Method: FILE

Relative URL: file/upload-ad-zip-file

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseResponseThe response

Example Request:

Example Response:

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

uploadExternalAlertFile FILE Interface

Method: FILE

Relative URL: file/upload-external-alert-file/name

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseResponseThe response

Example Request:

Example Response:

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

uploadChildAuditAttachment FILE Interface

Method: FILE

Relative URL: file/upload-child-audit-attachment/id

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseResponseThe response

Example Request:

Example Response:

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

uploadIDPMetaData FILE Interface

Method: FILE

Relative URL: file/upload-idp-metadata/id

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseResponseThe response

Example Request:

Example Response:

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

uploadAttachment FILE Interface

Method: FILE

Relative URL: file/upload-attachment

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

Example Response:

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

uploadCommentsAttachment FILE Interface

Method: FILE

Relative URL: file/upload-comments-attachment

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

Example Response:

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

saveUploadCIData FILE Interface

Method: FILE

Relative URL: file/save-upload-ci-data/module/template-id

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseResponseThe response

Example Request:

Example Response:

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

getUploadedFilesForRunBook GET Interface

Method: GET

Relative URL: file/get-uploaded-files-for-runbook/entity-id/entity-name

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseMsgArrayAttachListArray of files with fileId

Example Request:

Example Response:

{
   "id":1208317871,
   "customerId":"?",
   "userId":"?",
   "listFiles":[
      {
         "id":2147483647,
         "attachmentId":?,
         "name":"?",
         "fileName":"?",
         "entity":"?",
         "status":"?",
         "version":"?",
         "uploadedBy": {
               "id":2147483647,
               "stringobj":"?",
               "shortName":"?",
               "s3Name":"?",
               "uniqueId":"?",
               "lineType":"?",
            },
         "uploadedOn":?,
         "driveFileId":"?",
         "fileSize":?,
         "description":"?",
         "isRunBookAttachment":?
      }   ]
}

sendFileToApp FILE Interface

Method: FILE

Relative URL: file/send-file-to-app

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseTransactionMessageThe response

Example Request:

Example Response:

{
   "id":749367696,
   "recordId":"?",
   "message":"?",
   "status":?
}

uploadCMDBProperties FILE Interface

Method: FILE

Relative URL: file/upload-cmdb-properties

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseResponseThe response

Example Request:

Example Response:

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

uploadFileToTemp FILE Interface

Method: FILE

Relative URL: file/upload-file-to-temp

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseResponseThe response

Example Request:

Example Response:

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