All URIs are relative to https://tt-devs.com
Method | HTTP request | Description |
---|---|---|
seatsAttachDirectReport | POST /api/v1/seats/{SEAT_ID}/directreport/{USER_ID} | Add a user below a seat |
seatsAttachPosition | POST /api/v1/seats/{SEAT_ID}/position/{POSITION_ID} | Set the position for a seat |
seatsAttachUser | POST /api/v1/seats/{SEAT_ID}/user/{USER_ID} | Set a user for a seat |
seatsDetachUser | DELETE /api/v1/seats/{SEAT_ID}/user | Remove user from a seat |
seatsGetPosition | GET /api/v1/seats/{SEAT_ID}/position | Get the position attached to a seat |
seatsGetSeat | GET /api/v1/seats/{SEAT_ID} | Get a particular seat |
seatsGetSeatUser | GET /api/v1/seats/{SEAT_ID}/user | Get the user for a seat |
seatsGetSeatsForMe | GET /api/v1/seats/user/mine | Get your seats |
seatsGetSeatsForUser | GET /api/v1/seats/user/{USER_ID} | Get seats for a user |
seatsRemovePosition | DELETE /api/v1/seats/{SEAT_ID}/position | Remove position for a seat |
seatsRemoveSeat | DELETE /api/v1/seats/{SEAT_ID} | Delete a seat from the accountability chart |
Seat seatsAttachDirectReport(SEAT_ID, USER_ID)
Add a user below a seat
var TractionToolsApiV1 = require('traction_tools_api___v1');
var apiInstance = new TractionToolsApiV1.SeatsApi();
var SEAT_ID = 789; // Number | Seat ID
var USER_ID = 789; // Number | User ID
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.seatsAttachDirectReport(SEAT_ID, USER_ID, callback);
Name | Type | Description | Notes |
---|---|---|---|
SEAT_ID | Number | Seat ID | |
USER_ID | Number | User ID |
No authorization required
- Content-Type: Not defined
- Accept: application/json, text/json
seatsAttachPosition(SEAT_ID, POSITION_ID)
Set the position for a seat
var TractionToolsApiV1 = require('traction_tools_api___v1');
var apiInstance = new TractionToolsApiV1.SeatsApi();
var SEAT_ID = 789; // Number | Seat ID
var POSITION_ID = 789; // Number | Position ID
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
};
apiInstance.seatsAttachPosition(SEAT_ID, POSITION_ID, callback);
Name | Type | Description | Notes |
---|---|---|---|
SEAT_ID | Number | Seat ID | |
POSITION_ID | Number | Position ID |
null (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
seatsAttachUser(SEAT_ID, USER_ID)
Set a user for a seat
var TractionToolsApiV1 = require('traction_tools_api___v1');
var apiInstance = new TractionToolsApiV1.SeatsApi();
var SEAT_ID = 789; // Number | Seat ID
var USER_ID = 789; // Number | User ID
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
};
apiInstance.seatsAttachUser(SEAT_ID, USER_ID, callback);
Name | Type | Description | Notes |
---|---|---|---|
SEAT_ID | Number | Seat ID | |
USER_ID | Number | User ID |
null (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
seatsDetachUser(SEAT_ID)
Remove user from a seat
var TractionToolsApiV1 = require('traction_tools_api___v1');
var apiInstance = new TractionToolsApiV1.SeatsApi();
var SEAT_ID = 789; // Number | Seat ID
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
};
apiInstance.seatsDetachUser(SEAT_ID, callback);
Name | Type | Description | Notes |
---|---|---|---|
SEAT_ID | Number | Seat ID |
null (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
Position seatsGetPosition(SEAT_ID)
Get the position attached to a seat
var TractionToolsApiV1 = require('traction_tools_api___v1');
var apiInstance = new TractionToolsApiV1.SeatsApi();
var SEAT_ID = 789; // Number | Seat ID
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.seatsGetPosition(SEAT_ID, callback);
Name | Type | Description | Notes |
---|---|---|---|
SEAT_ID | Number | Seat ID |
No authorization required
- Content-Type: Not defined
- Accept: application/json, text/json
Seat seatsGetSeat(SEAT_ID)
Get a particular seat
var TractionToolsApiV1 = require('traction_tools_api___v1');
var apiInstance = new TractionToolsApiV1.SeatsApi();
var SEAT_ID = 789; // Number | Seat ID
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.seatsGetSeat(SEAT_ID, callback);
Name | Type | Description | Notes |
---|---|---|---|
SEAT_ID | Number | Seat ID |
No authorization required
- Content-Type: Not defined
- Accept: application/json, text/json
User seatsGetSeatUser(SEAT_ID)
Get the user for a seat
var TractionToolsApiV1 = require('traction_tools_api___v1');
var apiInstance = new TractionToolsApiV1.SeatsApi();
var SEAT_ID = 789; // Number | Seat ID
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.seatsGetSeatUser(SEAT_ID, callback);
Name | Type | Description | Notes |
---|---|---|---|
SEAT_ID | Number | Seat ID |
No authorization required
- Content-Type: Not defined
- Accept: application/json, text/json
[Seat] seatsGetSeatsForMe()
Get your seats
var TractionToolsApiV1 = require('traction_tools_api___v1');
var apiInstance = new TractionToolsApiV1.SeatsApi();
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.seatsGetSeatsForMe(callback);
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json, text/json
[Seat] seatsGetSeatsForUser(USER_ID)
Get seats for a user
var TractionToolsApiV1 = require('traction_tools_api___v1');
var apiInstance = new TractionToolsApiV1.SeatsApi();
var USER_ID = 789; // Number | User ID
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.seatsGetSeatsForUser(USER_ID, callback);
Name | Type | Description | Notes |
---|---|---|---|
USER_ID | Number | User ID |
No authorization required
- Content-Type: Not defined
- Accept: application/json, text/json
seatsRemovePosition(SEAT_ID)
Remove position for a seat
var TractionToolsApiV1 = require('traction_tools_api___v1');
var apiInstance = new TractionToolsApiV1.SeatsApi();
var SEAT_ID = 789; // Number | Seat ID
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
};
apiInstance.seatsRemovePosition(SEAT_ID, callback);
Name | Type | Description | Notes |
---|---|---|---|
SEAT_ID | Number | Seat ID |
null (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
seatsRemoveSeat(SEAT_ID)
Delete a seat from the accountability chart
var TractionToolsApiV1 = require('traction_tools_api___v1');
var apiInstance = new TractionToolsApiV1.SeatsApi();
var SEAT_ID = 789; // Number | Seat ID
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
};
apiInstance.seatsRemoveSeat(SEAT_ID, callback);
Name | Type | Description | Notes |
---|---|---|---|
SEAT_ID | Number | Seat ID |
null (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined