Versions Compared

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-pdftrue
scroll-officetrue
scroll-chmtrue
scroll-docbooktrue
scroll-eclipsehelptrue
scroll-epubtrue
scroll-htmltrue
#F0F0F0#F0F0F0

3

Scroll export button
scopecurrent
template-id4fda9400-a7df-4ede-a95f-e4ae5fcf4796
captionDownload this Page
add-onScroll 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

theme
Code Block
DJangotitleSample Request
linenumberstrue
collapsetrue
{
  "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 NameTypeDescriptionNotes

IsWebServiceRequest * 

Status
colourBlue
titleBoolean

Unique Identification of the Organization.


LoggedAnalystEmailID 

Status
colourGreen
titleString

Name of the Instance.

For Example: Information Technology

_Sup_Function * 

Status
colourGreen
titleString



_Workorder_No * 

Status
titleInteger



_Status * 

Status
colourGreen
titleString



_Assigned_Engineer_Email * 

Status
colourGreen
titleString



_Classification * 

Status
colourGreen
titleString



_Category * 

Status
colourGreen
titleString



Priority_Name * 

Status
colourGreen
titleString



_PendingReason * 

Status
colourGreen
titleString



CancelRemarks

Status
colourGreen
titleString



_Closure_Code_Name

Status
colourGreen
titleString



_Assigned_WorkGroup_Name

Status
colourGreen
titleString



GroupName

Status
colourGreen
titleString



Attribute_Name

Status
colourGreen
titleString



Attribute_Value

Status
titleInteger



GroupArea

Status
colourGreen
titleString



* Indicates mandatory fields
Tip
titleRun API
Go to the Web Services page in the SummiAI application to execute the APIs and see the response.



Response

Midnight
Code Block
theme
titleSample Response
collapsetrue
{
  "Errors": "",
  "Message": "",
  "OrgID": 0,
  "Output": "Service request Details Updated Successfully.",
  "OutputObject": null,
  "TokenID": ""
}
Note
titleNote:
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
scroll-pdftrue
scroll-officetrue
scroll-chmtrue
scroll-docbooktrue
scroll-eclipsehelptrue
scroll-epubtrue
scroll-htmltrue
1

| |