Module Web APIs
The Module Web API enables you to request all of the fields and the respective sequence for any module. The get call returns the category object in JSON Format. The following details describe the Web API:
GET /module/{moduleSequence}/fields
Description | Returns Sequence and Display Names of all fields for specified module in JSON format |
---|---|
Type of call | GET |
URL Syntax | http(s)://<servernameOrIP>/<trackitvirtuadirectory>/WebApi/module/{moduleSequence}/fields |
Request Authorization Header | Bearer access_token received through the Token API call. |
Request Parameters | Specify the Sequence ID of the Module Valid values are integers. For example, moduleSequence=24 for Tickets. |
Request Body | None |
Execution response | The following fields are retrieved for the module:
|
Important considerations |
|
Example
http(s)://<servernameOrIP>/<trackitvirtuadirectory>/WebApi/module/24/fields
Request Authorization Header:
Bearer access_token:"ExPqpLF79Zi+vHZJIXZOGBSQVPKXlFVOfmQzMyfS7SGYJolrDAf3/LZR1qm9X+2OVY60OlEuUYOYaflcIjj7ytZ336b50mu4ieuPnx2AU2vCFgO3eqUe22Up"
Response:
{
"1":
{ "DisplayName": "Ticket ID" }
,
"2":
{ "DisplayName": "Last Modified" }
,
"3":
{ "DisplayName": "Last User" }
,
"4":
{ "DisplayName": "Seq_Group" }
,....
}
}
Comments
Log in or register to comment.