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

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

addSurveyMaster POST Interface

Add Survey Master

Method: POST

Relative URL: survey/add-survey-master

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Request Structure:

Field NameTypeDescription
surveySurveyMaster

Response Structure:

Field NameTypeDescription
responseResponseResponse

Example Request:

ADDSURVEYMASTER 
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
   "uniqueId":"?",
   "name":"?",
   "introduction":"?",
   "endNotes":"?",
   "createdOn":?,
   "archive":?,
   "incidentThresholdForNthRecord":?,
   "requestThresholdForNthRecord":?,
   "changeThresholdForNthRecord":?,
   "problemThresholdForNthRecord":?,
   "incidentThresholdForNthDay":?,
   "requestThresholdForNthDay":?,
   "changeThresholdForNthDay":?,
   "problemThresholdForNthDay":?,
   "question":[
      {
         "stringobj":"?",
         "shortName":"?",
         "s3Name":"?",
         "uniqueId":"?",
         "lineType":"?",
      }   ]
}

Example Response:

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

addSurveyQuestion POST Interface

Add Survey Question

Method: POST

Relative URL: survey/add-survey-question

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Request Structure:

Field NameTypeDescription
questionSurveyQuestion

Response Structure:

Field NameTypeDescription
responseResponseResponse

Example Request:

ADDSURVEYQUESTION 
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
   "uniqueId":"?",
   "question":"?",
   "type":"?",
   "dafaultValue":"?",
   "createdOn":?,
   "archive":?,
   "master":[
      {
         "stringobj":"?",
         "shortName":"?",
         "s3Name":"?",
         "uniqueId":"?",
         "lineType":"?",
      }   ]
}

Example Response:

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

updateSurveyMaster POST Interface

Update Survey Master

Method: POST

Relative URL: survey/update-survey-master

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Request Structure:

Field NameTypeDescription
surveyMasterSurveyMaster

Response Structure:

Field NameTypeDescription
responseResponseResponse

Example Request:

UPDATESURVEYMASTER 
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
   "uniqueId":"?",
   "name":"?",
   "introduction":"?",
   "endNotes":"?",
   "createdOn":?,
   "archive":?,
   "incidentThresholdForNthRecord":?,
   "requestThresholdForNthRecord":?,
   "changeThresholdForNthRecord":?,
   "problemThresholdForNthRecord":?,
   "incidentThresholdForNthDay":?,
   "requestThresholdForNthDay":?,
   "changeThresholdForNthDay":?,
   "problemThresholdForNthDay":?,
   "question":[
      {
         "stringobj":"?",
         "shortName":"?",
         "s3Name":"?",
         "uniqueId":"?",
         "lineType":"?",
      }   ]
}

Example Response:

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

getAllExistingQuestions POST Interface

get all existing questions from survey question table

Method: POST

Relative URL: survey/get-all-existing-questions

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Request Structure:

Field NameTypeDescription
existingQuestionsExistingQuestion

Response Structure:

Field NameTypeDescription
respResponse

Example Request:

GETALLEXISTINGQUESTIONS 
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
   "searchKey":"?",
}

Example Response:

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

getAllSurveyQuesions GET Interface

Method: GET

Relative URL: survey/get-all-survey-questions/id

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
respResponse

Example Request:

Example Response:

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

addSurveyInstance POST Interface

Add Survey Response

Method: POST

Relative URL: survey/add-survey-instance

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Request Structure:

Field NameTypeDescription
answersSurveyInstance

Response Structure:

Field NameTypeDescription
responseResponseResponse

Example Request:

ADDSURVEYINSTANCE 
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
   "recordId":"?",
   "surveyMasterId":"?",
   "entity":"?",
   "title":"?",
   "userEmail":"?",
   "response":"?"
}

Example Response:

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

getAllSurveyResponse GET Interface

Method: GET

Relative URL: survey/get-all-survey-response/record-id/entity-name

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
respResponse

Example Request:

Example Response:

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

getAllSurveyMasters GET Interface

Method: GET

Relative URL: survey/get-all-survey-masters

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
respResponse

Example Request:

Example Response:

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

getSurveyUsedIn GET Interface

Get a list wherever this particular survey is being used

Method: GET

Relative URL: survey/get-survey-used-in/record-id

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
respResponse

Example Request:

Example Response:

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