REST APIs¶
The AgrEGG REST APIs provide service endpoints for getting and managing resources.
Dashboards¶
- Add Dashboard, Creates a new dashboardPOST apis/dashboardsRequest BodyName: The name of the new dashboardResponses200 OK
- Modify Dashboard, modify an existing dashboardPOST apis/dashboards/{dashboardId}Request BodyName: The name of the new dashboardResponses200 OK
- Delete Dashboard, Deletes the specified dashboardDELETE apis/dashboards/{dashboardId}dashboardId: The dashboard IDResponses:200 OK
- Get Dashboard, Returns the specified dashboardGET apis/dashboards/{dashboardId}dashboardId: The dashboard IDResponses200 OK
KPIs¶
- Add KPI, Creates a new KPIPOST apis/kpisRequest BodyCode: The name of the new KPIDescription: The description of the new KPI
- Modify KPI, Modify an existing KPIPOST apis/kpis/{kpiId}kpiId: The KPI IDResponses200 OK
- Delete KPI, Deletes the specified KPIDELETE apis/kpis/{kpiId}kpiId: The KPI IDResponses:200 OK
- Get KPI, Returns the specified KPIGET apis/kpis/{kpiId}kpiId: The KPI IDResponses200 OK
Data Filters¶
- Add Filter, Creates a new FilterPOST apis/filtersRequest BodyCode: The name of the new FilterDescription: The description of the new Filter
- Modify Filter, Modify an existing FilterPOST apis/filters/{filterId}filterId: The Filter IDResponses200 OK
- Delete Filter, Deletes the specified FilterDELETE apis/filters/{filterId}filterId: The Filter IDResponses:200 OK
- Get Filter, Returns the specified FilterGET apis/filters/{filterId}filterId: The Filter IDResponses200 OK
- Add Filter Item, Creates a new Filter ItemPOST apis/filters_itemsRequest BodyCode: The name of the new Filter ItemDescription: The description of the new Filter
- Modify Filter item, Modify an existing Filter itemPOST apis/filters_items /{filteritemId}filteritemId: The Filter items IDResponses200 OK
- Delete Filter item, Deletes the specified Filter itemDELETE apis/filters_items/{filteritemId}filteritemId: The Filter item IDResponses:200 OK
- Get Filter item, Returns the specified Filter itemGET apis/filters_items /{filteritemId}filteritemId: The Filter item IDResponses200 OK
Permission Groups¶
- Add Group User, Grants the specified user the specified permissions to the specified group.POST apis/groups/{groupId}/usersGroupId: The group ID
- Create Group, Creates a new permission group.POST apis/groupsGroupName: The new group name
- Delete Group, Deletes the specified permission group.POST apis/groups/{groupId}/deleteGroupId: The group ID
- Delete User in Group, Deletes the specified user permissions from the specified group.POST apis/groups/{groupId}/{userId}/deleteGroupId: The group IDuserId: The user ID
- Get Group, Returns a list of groups the user has access to.GET apis/groups/{groupId}GroupId: The group ID
- Get Group Users, Returns a list of users that have access to the specified group.GET apis/groups/{groupId}GroupId: The group ID
- Update Group User, Updates the specified user permissions to the specified groupPUT apis/groups/{groupId}/usersGroupId: The group ID
Data Imports¶
- Get Import Type, Returns the specified import typeGET apis/imports/type/{importId}importId: The import type ID
- New Import Type, create a new import typePUT apis/imports/type/
- Modify Import Type, modifies the specified import typePOST apis/imports/type/{importId}importId: The import type ID
- Get Import file, Returns the specified import fileGET apis/imports/file/{importId}importId: The import file ID
- Modify Import file, modifies the specified import filePOST apis/imports/file/{importId}importId: The import file ID
- Confirm Import file, confirms the specified import filePOST apis/imports/file/{importId}/confirmimportId: The import file ID
- Insert Import row, create a new row for the specified import filePOST apis/imports/file/{importId}/rowsimportId: The import file ID
- New Import file, create a new import filePUT apis/imports/file/
Reports¶
- Clone Report, Clones the specified reportPOST apis/reports/{reportId}/ClonereportId: The report ID
- Delete Report, Deletes the specified reportDELETE apis/reports/{reportId}reportId: The report IDResponses200: OK
- Get Report, Returns the specified reportGET apis/reports/{reportId}reportId: The report IDResponses200: OK
Users¶
- Add User, Grants the specified user the specified permissions to the specified group.POST apis/users/userId: The user ID
- Delete User, Deletes the specified permission group.POST apis/users/{userId}/deleteuserId: The user ID