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

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

getSentItems GET Interface

Method: GET

Relative URL: em-email/get-sent-items/pagenumber/limit

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
sentitemsSentItemArray

Example Request:

Example Response:

{
   "id":2147483647,
   "totalSentMailCount":?,
   "unreadCount":?,
   "responseList":[
      {
         "id":2147483647,
         "sentTo":"?",
         "sentCC":"?",
         "subject":"?",
         "message":"?",
         "sentTime":?,
         "isAttachment":?,
         "isStarred":?,
         "userId": {
               "id":2147483647,
               "stringobj":"?",
               "shortName":"?",
               "s3Name":"?",
               "uniqueId":"?",
               "lineType":"?",
            },
         "replyToMail":?,
         "relatedMailCount":?,
         "isRead":?,
         "archive":?
      }   ]
}

getReceivedItems GET Interface

Method: GET

Relative URL: em-email/get-received-items/pagenumber/limit

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
receiveditemsReceivedItemArray

Example Request:

Example Response:

{
   "id":816948207,
   "totalCount":?,
   "unreadCount":?,
   "responseList":[
      {
         "id":2147483647,
         "receivedFrom":"?",
         "subject":"?",
         "message":"?",
         "receivedTime":?,
         "relatedmailreceivedTime":?,
         "isAttachment":?,
         "relativemailisAttachment":?,
         "isStarred":?,
         "userId": {
               "id":2147483647,
               "stringobj":"?",
               "shortName":"?",
               "s3Name":"?",
               "uniqueId":"?",
               "lineType":"?",
            },
         "replyToMail":?,
         "relatedMailCount":?,
         "isRead":?
      }   ]
}

sendMail POST Interface

Method: POST

Relative URL: em-email/send-em-mail

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Request Structure:

Field NameTypeDescription
sentitemSentItem

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

SENDMAIL 
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
   "id":2147483647,
   "sentTo":"?",
   "sentCC":"?",
   "subject":"?",
   "message":"?",
   "sentTime":?,
   "isAttachment":?,
   "isStarred":?,
   "userId": {
         "id":2147483647,
         "stringobj":"?",
         "shortName":"?",
         "s3Name":"?",
         "uniqueId":"?",
         "lineType":"?",
      },
   "replyToMail":?,
   "relatedMailCount":?,
   "isRead":?,
   "archive":?
}

Example Response:

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

deleteInboxMail POST Interface

Method: POST

Relative URL: em-email/delete-inbox-mail

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Request Structure:

Field NameTypeDescription
deleteIdIntegerClass

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

DELETEINBOXMAIL 
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
   "id":815043620
}

Example Response:

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

deleteAllInboxMail POST Interface

Method: POST

Relative URL: em-email/delete-all-inbox-mail

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Request Structure:

Field NameTypeDescription
listOfIdsRecordList

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

DELETEALLINBOXMAIL 
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
   "id":2147483647,
   "scanId":?,
   "workflowId":?,
   "fromSACM":?,
   "customerId":"?",
   "userId":"?",
   "startTime":"?",
   "idList":[
      {
         "id":2147483647,
         "flag":?
      }   ]
}

Example Response:

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

deleteSentItemsMail POST Interface

Method: POST

Relative URL: em-email/delete-sentitems-mail

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Request Structure:

Field NameTypeDescription
deleteIdIntegerClass

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

DELETESENTITEMSMAIL 
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
   "id":2147483647
}

Example Response:

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

deleteAllSentItemsMail POST Interface

Method: POST

Relative URL: em-email/delete-all-sentitems-mail

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Request Structure:

Field NameTypeDescription
listsOfIdRecordList

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

DELETEALLSENTITEMSMAIL 
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
   "id":2147483647,
   "scanId":?,
   "workflowId":?,
   "fromSACM":?,
   "customerId":"?",
   "userId":"?",
   "startTime":"?",
   "idList":[
      {
         "id":2147483647,
         "flag":?
      }   ]
}

Example Response:

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

deleteStarredMail POST Interface

Method: POST

Relative URL: em-email/delete-starred-mail

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Request Structure:

Field NameTypeDescription
listsOfIdRecordList

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

DELETESTARREDMAIL 
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
   "id":2147483647,
   "scanId":?,
   "workflowId":?,
   "fromSACM":?,
   "customerId":"?",
   "userId":"?",
   "startTime":"?",
   "idList":[
      {
         "id":2147483647,
         "flag":?
      }   ]
}

Example Response:

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

deleteTrashMail POST Interface

Method: POST

Relative URL: em-email/delete-trash-mail

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Request Structure:

Field NameTypeDescription
deleteIdIntegerClass

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

DELETETRASHMAIL 
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
   "id":1761325685
}

Example Response:

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

deleteAllTrashMail POST Interface

Method: POST

Relative URL: em-email/delete-all-trash-mail

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Request Structure:

Field NameTypeDescription
listsOfIdRecordList

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

DELETEALLTRASHMAIL 
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
   "id":2147483647,
   "scanId":?,
   "workflowId":?,
   "fromSACM":?,
   "customerId":"?",
   "userId":"?",
   "startTime":"?",
   "idList":[
      {
         "id":2147483647,
         "flag":?
      }   ]
}

Example Response:

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

deleteTabTrashMail POST Interface

Method: POST

Relative URL: em-email/delete-tab-trash-mail

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Request Structure:

Field NameTypeDescription
listsOfIdRecordList

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

DELETETABTRASHMAIL 
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
   "id":1413952601,
   "scanId":?,
   "workflowId":?,
   "fromSACM":?,
   "customerId":"?",
   "userId":"?",
   "startTime":"?",
   "idList":[
      {
         "id":2147483647,
         "flag":?
      }   ]
}

Example Response:

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

starredMail POST Interface

Method: POST

Relative URL: em-email/starred-mail/is-starred

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Request Structure:

Field NameTypeDescription
listsOfIdRecordList

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

STARREDMAIL 
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
   "id":2147483647,
   "scanId":?,
   "workflowId":?,
   "fromSACM":?,
   "customerId":"?",
   "userId":"?",
   "startTime":"?",
   "idList":[
      {
         "id":117958251,
         "flag":?
      }   ]
}

Example Response:

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

starSingleMail GET Interface

Method: GET

Relative URL: em-email/starred-mail-single/id/is-starred

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

Example Response:

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

getMailDetails GET Interface

Method: GET

Relative URL: em-email/get-mail-details/sent-item-id/archive

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

Example Response:

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

getStarredMails GET Interface

Method: GET

Relative URL: em-email/get-starred-mails/pagenumber/limit

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseReceivedItemArray

Example Request:

Example Response:

{
   "id":1350008817,
   "totalCount":?,
   "unreadCount":?,
   "responseList":[
      {
         "id":2147483647,
         "receivedFrom":"?",
         "subject":"?",
         "message":"?",
         "receivedTime":?,
         "relatedmailreceivedTime":?,
         "isAttachment":?,
         "relativemailisAttachment":?,
         "isStarred":?,
         "userId": {
               "id":2147483647,
               "stringobj":"?",
               "shortName":"?",
               "s3Name":"?",
               "uniqueId":"?",
               "lineType":"?",
            },
         "replyToMail":?,
         "relatedMailCount":?,
         "isRead":?
      }   ]
}

getTrashMails GET Interface

Method: GET

Relative URL: em-email/get-trash-mails/pagenumber/limit

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
sentitemsSentItemArray

Example Request:

Example Response:

{
   "id":2147483647,
   "totalSentMailCount":?,
   "unreadCount":?,
   "responseList":[
      {
         "id":2147483647,
         "sentTo":"?",
         "sentCC":"?",
         "subject":"?",
         "message":"?",
         "sentTime":?,
         "isAttachment":?,
         "isStarred":?,
         "userId": {
               "id":2147483647,
               "stringobj":"?",
               "shortName":"?",
               "s3Name":"?",
               "uniqueId":"?",
               "lineType":"?",
            },
         "replyToMail":?,
         "relatedMailCount":?,
         "isRead":?,
         "archive":?
      }   ]
}

copyAttachments POST Interface

Method: POST

Relative URL: em-email/copy-attachments

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Request Structure:

Field NameTypeDescription
sentitemResponse

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

COPYATTACHMENTS 
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
   "id":2147483647,
   "response":"?"
}

Example Response:

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

mailSearch POST Interface

Method: POST

Relative URL: em-email/mail-search/pagenumber/limit

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Request Structure:

Field NameTypeDescription
searchResponse

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

MAILSEARCH 
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
   "id":652946969,
   "response":"?"
}

Example Response:

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