|
Attributes
|
Values
|
|---|---|
|
Web Service Class Name
|
APMCreateServiceRequest
|
|
REST Endpoint URI*
|
http://<your salesforce org url>/services/ apexrest/SVMXC/svmx/rest/IOTServiceIntf/<name of the custom event created in IoT event setup>/2.0/
|
|
Fields Received in the Payload
|
Service Request Fields
|
|---|---|
|
Event > Subject
|
SVMXC__Subject__c
|
|
Event > Description
|
SVMXC__Problem_Description__c
|
|
Event > Priority
|
SVMXC__Priority__c
|
|
Event > AlertType
|
SVMXC__Type__c
|
|
Others > ServiceRequestSource
|
SVMXC__Service_Request_Source__c
|
|
Others > Status
|
SVMXC__Status__c
|
|
Others > PreferredStartTime
|
SVMXC__Preferred_Start_Time__c
|
|
Others > Installed Product records based on IB lookup fields
|
SVMXC__Product__c
SVMXC__Serial_Number__c
SVMXC__Contact__c
SVMXC__Account__c
|
{
"Asset": {
},
"Event": {
"Subject": "Pollution test"
"Description": Need to fix air quality"
"Priority": "Medium"
"EventTime": "2017-12-10 12: 27: 06.006"
"AlertType": "Depot Repair",
}
"Others":{
"RecordID": "a0N1I0000012BMY",
"FamilyID": "MI_OPR_REC",
"CurrentStateID": "MI_PROPOSED",
"RecommendationId": "REC-57195",
"RecommendationType": "GENERAL",
"RelatedAlert": "MI_PROPOSED",
"ConnectionType": "SVMX","
"SystemID": "XXXXXX",
"SystemName": "YYYYYY",
"AssetDescription": "thing",
"StateKey": "64255992427",
"GenerateWorkRequest": "TRUE",
"LocationID": "a2H1I000000QT4h"
}
}