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: 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
Background Color |
---|
POST |
Request
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{ "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 | ||||||
---|---|---|---|---|---|---|---|---|---|
FromWorkorderNo * |
| ||||||||
ToWorkorderNo * |
| ||||||||
FromDate * |
| ||||||||
ToDate * |
| ||||||||
InstanceCode * |
| ||||||||
Status * |
| ||||||||
Workgroup * |
| ||||||||
* 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 | ||||
---|---|---|---|---|
| ||||
{ "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
Scroll ignore | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|