| POST | /EventsOption/CurrentEventsOption | Get Current Events Option for Assign a Work Order to assignees (persons or group) using iCalendar or Outlook 365 event. |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| UserID | path | string | Yes | User Internal ID |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| CurrentEventsOption | body | short | No | |
| GenerateWorkOrderPerAsset | body | bool | No | |
| GenerateWorkOrderPerAssetID | body | string | No | |
| EmailTemplateData | body | List<MaintenanceManagementNotificationEmailTemplate> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Uuid | body | Guid | No | |
| NotificationType | body | string | No | |
| EmailTemplateID | body | int? | No | |
| LastModifiedBy | body | string | No | |
| LastModifiedDate | body | DateTime? | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /json/reply/GetCurrentEventsOption HTTP/1.1
Host: equipstage2.e-isg.com
Content-Type: application/json
Content-Length: length
{"UserID":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"CurrentEventsOption":0,"GenerateWorkOrderPerAsset":false,"GenerateWorkOrderPerAssetID":"String","EmailTemplateData":[{"NotificationType":"String","EmailTemplateID":0,"LastModifiedBy":"String","LastModifiedDate":"\/Date(-62135596800000-0000)\/"}]}