eQuipAPI

<back to all web services

GetCurrentEventsOption

Get Current Events Option for Assign a Work Order to assignees (persons or group) using iCalendar or Outlook 365 event.

Get Current Events Option for Assign a Work Order to assignees (persons or group) using iCalendar or Outlook 365 event.
GetCurrentEventsOption Parameters:
NameParameterData TypeRequiredDescription
UserIDpathstringYesUser Internal ID
GetCurrentEventsOptionResponse Parameters:
NameParameterData TypeRequiredDescription
CurrentEventsOptionbodyshortNo
GenerateWorkOrderPerAssetbodyboolNo
GenerateWorkOrderPerAssetIDbodystringNo
EmailTemplateDatabodyList<MaintenanceManagementNotificationEmailTemplate>No
MaintenanceManagementNotificationEmailTemplate Parameters:
NameParameterData TypeRequiredDescription
UuidbodyGuidNo
NotificationTypebodystringNo
EmailTemplateIDbodyint?No
LastModifiedBybodystringNo
LastModifiedDatebodyDateTime?No

To override the Content-type in your clients, use the HTTP Accept Header, append the .soap11 suffix or ?format=soap11

HTTP + SOAP11

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /soap11 HTTP/1.1 
Host: equipstage2.e-isg.com 
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: GetCurrentEventsOption

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>

<GetCurrentEventsOption xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eQuipModel">
  <UserID>String</UserID>
</GetCurrentEventsOption>

    </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>

<GetCurrentEventsOptionResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eQuipModel">
  <CurrentEventsOption>0</CurrentEventsOption>
  <EmailTemplateData xmlns:d2p1="http://schemas.datacontract.org/2004/07/eQuip.Domain.MaintenanceManagement">
    <d2p1:MaintenanceManagementNotificationEmailTemplate>
      <d2p1:EmailTemplateID>0</d2p1:EmailTemplateID>
      <d2p1:LastModifiedBy>String</d2p1:LastModifiedBy>
      <d2p1:LastModifiedDate>0001-01-01T00:00:00</d2p1:LastModifiedDate>
      <d2p1:NotificationType>String</d2p1:NotificationType>
      <d2p1:Uuid>00000000-0000-0000-0000-000000000000</d2p1:Uuid>
    </d2p1:MaintenanceManagementNotificationEmailTemplate>
  </EmailTemplateData>
  <GenerateWorkOrderPerAsset>false</GenerateWorkOrderPerAsset>
  <GenerateWorkOrderPerAssetID>String</GenerateWorkOrderPerAssetID>
</GetCurrentEventsOptionResponse>

    </soap:Body>
</soap:Envelope>