You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 14 Current »
http://<<Customer_URL>>/REST/Summit_RESTWCF.svc/RESTService/Common WS_JsonObjCallReplace <Customer_URL> with the customer’s Host name.
{ "ServiceName": "WO_UpdateWorkorderDetails", "objCommonParameters": { "_ProxyDetails": { "AuthType": "APIKEY", "APIKey": "XXXXX", "ProxyID": 0, "OrgID": "1", "ReturnType": "JSON" }, "oWorkorderParam": { "IsWebServiceRequest": true, "LoggedAnalystEmailID": "LoggedAnalyst@xyz.com", "_Sup_Function": "IT", "_Workorder_No": "212", "_Status": "Resolved", "_Assigned_Engineer_Email": "AssignedEngineer@xyz.com", "_Classification": null, "_Category": null, "Priority_Name": "Priority1", "_PendingReason": "Awaiting Response", "CancelRemarks": "cancelled", "_Closure_Code_Name": "Closed", "_Assigned_WorkGroup_Name": "Workgroup1", "CustomFields": [ { "GroupName": "Default Group", "Attribute_Name": "GTB", "Attribute_Value": "gtbvalue23455", "GroupArea": "General Area" }, { "GroupName": "Default Group", "Attribute_Name": "gDrp", "Attribute_Value": "3000", "GroupArea": "General Area" }, { "GroupName": "Default Group", "Attribute_Name": "GDate", "Attribute_Value": "2018-08-23", "GroupArea": "General Area" }, { "GroupName": "Default Group", "Attribute_Name": "GWebsite", "Attribute_Value": "https://docs.microsoft.com", "GroupArea": "General Area" }, { "GroupName": "Default Group", "Attribute_Name": "GChk", "Attribute_Value": "true", "GroupArea": "General Area" }, { "GroupName": "Default Group", "Attribute_Name": "Text", "Attribute_Value": "Text area data", "GroupArea": "General Area" } ], "EffortEstimation": { "NumberOfDays": "1", "NumberOfHours": "1", "NumberOfMinutes": "20", "EffortComments": "test from api" }, "Communication": { "_Information": "information 1", "_UserLog": "_UserLog 1", "_InternalLog": "_InternalLog 1", "_Solution": "_Solution 1" }, "SRCommunication": { "_UserLog": "SR_UserLog 1", "_InternalLog": "SR_InternalLog 1" } } } }
IsWebServiceRequest *
BOOLEAN
Unique Identification of the Organization.
LoggedAnalystEmailID *
STRING
Name of the Instance.
For Example: Information Technology
_Sup_Function *
_Workorder_No *
INTEGER
_Status *
_Assigned_Engineer_Email *
_Classification *
_Category *
Priority_Name *
_PendingReason *
Run API
{ "Errors": "", "Message": "", "OrgID": 0, "Output": "Service request Details Updated Successfully.", "OutputObject": null, "TokenID": "" }
Note:
See: Status and Error Messages