V1
Get SR Ticket Data
| API | GetSRTicketData |
|---|---|
| Purpose | To get data of Service Request Tasks that are dumped Save Service Request Task API. |
| API URL | https://<API URL>:<API Port>/iAutomateAPI/Request/GetSRTicketData/7 |
| Authentication type | Basic |
| Method Type | GET |
| Input Params in Query String |
You can pass the following filters in the URL to get desired data:
|
Input Parameters in Query String
| Filter field | Supported Filter operator |
|---|---|
| start_date | >= ,< , >, <=, = |
| end_date | >= ,< , >, <=, = |
| Ticket_number | = |
| assignment_group | = |
| sys_id | = |
| Example: | https://<API URL>:<API Port>/iAutomateAPI/Request/GetSRTicketData/7?start_date>=2020-01-29 07:12:23.607&end_date<=2019-11-18 06:24:52& |
Parameters Returned in Response of API
| Column | Column Type | Expected/Sample value | Remarks |
|---|---|---|---|
| TicketNumber | String | XXXXXXXX | This field contains Service Request Task number |
| Summary | String | testing | This field contains summary of Service Request Task |
| Description | String | testing | This field contains description of Service Request Task |
| sys_id | String | XXXXXXXX | This field contains unique number |
| RequestItemId | String | XXXXXXXX | This field contains unique number of Service Request Item |
| SRid | String | XXXXXXXX | This field contains unique number of Service Request |
| AssignedGroup | String | XXXXXXXX | This field contains assignment group of Service Request Task |
| StatusCode | String | 1 | This field contains status of Service Request Task |
| CreationDate | String | 2019-11-18 06:24:52 | This field contains creation date of Service Request Task |
| LastModifiedDate | String | 2019-11-18 07:24:52 | This field contains date whenever updating happen on Service Request Task |
| Col1 | String | You can use it for any custom value | |
| Col2 | String | You can use it for any custom value | |
| Col3 | String | You can use it for any custom value | |
| Col4 | String | You can use it for any custom value | |
| Col5 | String | You can use it for any custom value | |
| iAutomate_CreatedDateInGMT | String | 2020-05-04 05:25:36.350 | It returns date in GMT |
| iAutomate_UpdatedDateInGMT | String | 2020-05-04 05:25:36.350 | It returns date in GMT |