Retrieving Workorder List

Retrieving Workorder List

Service Name: GetAllMyWkgWorkorders | Description

Service Name: GetAllMyWkgWorkorders | Description

Retrieves all the list of Workorders

URL

http://<<Customer_URL>>/REST/Summit_RESTWCF.svc/RESTService/Common WS_JsonObjCall
Replace <Customer_URL> with the customer’s Host name.

Method

Request

{ "ServiceName": "GetAllMyWkgWorkorders", "objCommonParameters": { "_ProxyDetails": { "AuthType": "APIKEY", "APIKey": "XXXXX", "ProxyID": 0, "ReturnType": "JSON" }, "oWorkorderParam": { "FromWorkorderNo": 526, "ToWorkorderNo": 529, "FromDate": "2018-08-06 17:12:31", "ToDate": "2018-08-06 17:12:31" }, "InstanceCode": "InfoTe", "Status": "New,Closed", "Workgroup": "IT Infrastructure,WG1" } }

Request Parameters

Parameter Name

Type

Description

Notes

Parameter Name

Type

Description

Notes

FromWorkorderNo * 

Integer

 

 

ToWorkorderNo 

String

 

 

FromDate * 

Boolean

 

 

ToDate * 

Boolean

 

 

InstanceCode * 

Boolean

 

 

Status * 

Boolean

 

 

Workgroup * 

Boolean

 

 

* Indicates mandatory fields

Run API

Go to the Web Services page in the SummiAI application to execute the APIs and see the response.

 


Response

{ "Errors": "", "Message": "", "Output": "", "TokenID": null, "OrgID": 0, "OutputObject": [ { "ROWNUM": " 1", "Workorder_ID": "536", "TotalRows": "1", "Workorder No": "526", "Logged Time": "2018-08-06 17:12:31", "Sup_Function": "InfoTe", "Status": "New", "Caller": "Peter Paul", "Workgroup": "IT Infrastructure", "Executive": null, "Symptom": "(Finance)House Rent and Electricity Recovery", "Priority": "p1_1", "Workorder_Source": "SR", "SLAName": "" } ] }

Note:

The Response Parameters are dynamic and based on the selections made by the user.

Status and Error Codes

See: Status and Error Messages