Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Comment:
Updated the code macro with the following parameter(s): [theme]
Scroll ignore | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
Scroll export button scope current template-id 4fda9400-a7df-4ede-a95f-e4ae5fcf4796 caption Download this Page add-on Scroll PDF Exporter
scope | current |
---|---|
template-id | 4fda9400-a7df-4ede-a95f-e4ae5fcf4796 |
caption | Download this Page |
add-on | Scroll PDF Exporter |
Service Name: WO_UpdateWorkorderDetails | Description |
---|
Updates all the details of a Workorder |
URL
http://<<Customer_URL>>/REST/Summit_RESTWCF.svc/RESTService/Common WS_JsonObjCall
Replace <Customer_URL> with the customer’s Host name.
Method
Background Color |
---|
POST |
Request
Code Block | |||||||
---|---|---|---|---|---|---|---|
| |||||||
{ "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" } } } } |
Request Parameters
Parameter Name | Type | Description | Notes | ||||||
---|---|---|---|---|---|---|---|---|---|
IsWebServiceRequest * |
| Unique Identification of the Organization. | |||||||
LoggedAnalystEmailID * |
| Name of the Instance. | For Example: Information Technology | ||||||
_Sup_Function * |
| ||||||||
_Workorder_No * |
| ||||||||
_Status * |
| ||||||||
_Assigned_Engineer_Email * |
| ||||||||
_Classification * |
| ||||||||
_Category * |
| ||||||||
Priority_Name * |
| ||||||||
_PendingReason * |
| ||||||||
CancelRemarks |
| ||||||||
_Closure_Code_Name |
| ||||||||
_Assigned_WorkGroup_Name |
| ||||||||
GroupName |
| ||||||||
Attribute_Name |
| ||||||||
Attribute_Value |
| ||||||||
GroupArea |
| ||||||||
* Indicates mandatory fields |
Tip | ||
---|---|---|
| ||
Go to the Web Services page in the SummiAI application to execute the APIs and see the response. |
Response
Code Block | theme | Midnight|||
---|---|---|---|---|
| ||||
{ "Errors": "", "Message": "", "OrgID": 0, "Output": "Service request Details Updated Successfully.", "OutputObject": null, "TokenID": "" } |
Note | ||
---|---|---|
| ||
The Response Parameters are dynamic and based on the selections made by the user. |
Status and Error Codes
See: Status and Error Messages
Scroll ignore | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|