![]() 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 |
RESTful Interfaces of the Virima API Specification - Common BehaviorsVersion: 0.1 Last Updated: 24 Dec 2024 07:03:05 GMT This document specifies constraints that apply to all of the requests and responses that occur in the RESTful Interfaces supported by the Virima API, hereinafter referred to as the "API". Contents
Imperative Specification TermsThe key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document, and all other documents that comprise the specification of the RESTful Interfaces, are to be interpreted as described in "Key words for use in RFCs to Indicate Requirement Levels" (RFC 2119). Transport ProtocolAll API Interfaces are based on the Hypertext Transfer Protocol, version 1.1 (RFC 2616). Each request is authenticated using HTTP Basic Authentication (RFC 2617). Therefore, requests sent from clients on the public Internet (and not on a secure channel such as a VPN) MUST use the https protocol. Media TypesResource representations and request bodies are normally encoded in JSON, as specified in RFC 4267. The API MUST provide representations of all resources available in JSON. The API MUST accept requests from clients encoded in JSON. Request HeadersIn requests made to services implementing the Virima API, several HTTP headers are used:
Note that, since all interactions with RESTful Interfaces of the Virima APIs are stateless, no Cookie header (or any other mechanism to provide a session identifier) is used. Request ParametersSince the URI space is controlled by the server, client programs MUST NOT make any assumptions regarding the meaning of request parameters. Response HeadersIn responses returned by the API, several HTTP headers are used:
Standard HTTP Status CodesThe API will return standard HTTP response codes, under the following conditions.
Error Response Message BodiesIntroductionSuccessful requests will return an HTTP status code of 200 (OK), 201 (Created), or 204 (No Content), to indicate the requested action has been successfully performed. In addition, the response might include a response message body (with an appropriate media type) containing a representation of the requested information. However, it is possible for a number of things to go wrong. The underlying causes are described (as discussed in the previous section) by HTTP status codes in the range 400-499 for client side errors and 500-599 for server side problems. The description of each request type SHOULD list the possible status codes returned by the request type. If a response is returned with an error status code (400-499 or 500-599), the server SHOULD also return a response message body containing a messages data model, containing zero or more message data models, describing the error. Data ModelsThe following generic data models are used to communicate error and status information. Note that these data models, while discussed in the context of reporting error conditions, are also suitable for a general event logging interface. Messages Data ModelThe entire list of messages included in an error response are encapsulated in a messages data model. The media type is application/json.
Message Data ModelAn individual message contains the following fields:
SECURITY NOTE: The action, source, and stack-trace fields may convey sensitive information about the service implementation, and generally WILL NOT be included in messages returned to third party clients outside the Virima firewall. However, they MAY be used in messages transmitted between internal application components. Version Request TypeIntroductionEach instance of an API request MUST include a request type that allows a client to determine the version of the particular API instance. The version should consist of the specification version(s) supported by this API instance, as well as an implementation version. This request type SHOULD have a URI matching {ServiceURI}/versions. Version Data ModelThe data model contains the following fields:
|