| 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 .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /jsv/reply/GetCurrentEventsOption HTTP/1.1
Host: equipstage3.e-isg.com
Content-Type: text/jsv
Content-Length: length
{
UserID: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
CurrentEventsOption: 0,
GenerateWorkOrderPerAsset: False,
GenerateWorkOrderPerAssetID: String,
EmailTemplateData:
[
{
NotificationType: String,
EmailTemplateID: 0,
LastModifiedBy: String,
LastModifiedDate: 0001-01-01
}
]
}