Technician Web APIs enable you to:
- Request all of the system views for a workspace.
- Perform a logout for technicians that are logged in to the application.
The get calls are returned in JSON Format. The following details describe the Web APIs:
Click here for a description.
| Returns all the System Views for the specified Workspace Name in JSON format |
---|
| |
---|
| http(s)://<servernameOrIP>/<trackitvirtuadirectory>/WebApi/{workspaceName}/Views |
---|
| Specify the workSpaceName Valid values are as follows: - helpdesk
- change
- announcements
- inventory
- purchasing
- solutions
- configuration
- reporting
WarningNote Workspace names are case sensitive. |
---|
| |
---|
| The following fields are retrieved for the module: - name
- title
- key
- count
- isMultiModQry
|
---|
| - You must have View Permissions of the specified module to use this Web API.
- You can only request system views with this Web API.
- You cannot request user or private views with this Web API.
|
---|
Click here to view an example.
InformationExample
http(s)://<servernameOrIP>/<trackitvirtuadirectory>/WebApi/technicians/helpdesk/Views
Request Authorization Header:
Bearer access_token:"ExPqpLF79Zi+vHZJIXZOGBSQVPKXlFVOfmQzMyfS7SGYJolrDAf3/LZR1qm9X+2OVY60OlEuUYOYaflcIjj7ytZ336b50mu4ieuPnx2AU2vCFgO3eqUe22Up"
Response:
{ "name": "WebGrid.77", "title": "All Assignments", "key": null, "count": -1, "isMultiModQry": false }
Click here to expand...
| Enables a technician to log out |
---|
| |
---|
| API Key received through the login API call. |
---|
| http(s)://<servernameOrIP>/<trackitvirtuadirectory>/WebApi/technicians/logout |
---|
| |
---|
| |
---|
| The following responses can occur: - true – indicates a successful logout for the technician
- false – indicates that the logout for the technician was not performed
|
---|
| |
---|
Click here to view an example.
InformationExample
http(s)://<servernameOrIP>/<trackitvirtuadirectory>/WebApi/technicians/logout
Request Authorization Header:
Bearer access_token:"ExPqpLF79Zi+vHZJIXZOGBSQVPKXlFVOfmQzMyfS7SGYJolrDAf3/LZR1qm9X+2OVY60OlEuUYOYaflcIjj7ytZ336b50mu4ieuPnx2AU2vCFgO3eqUe22Up"
Response: