From 62f651e9f60181a4a821d490a0261d7e0a362f76 Mon Sep 17 00:00:00 2001 From: ArjunSinghILX Date: Tue, 21 Oct 2025 15:18:56 +0530 Subject: [PATCH 01/13] [ILX-57292] Added doc for Emission GET --- source/includes/acts/get_api.md | 133 +++++++++++++++++++++++++++----- 1 file changed, 112 insertions(+), 21 deletions(-) diff --git a/source/includes/acts/get_api.md b/source/includes/acts/get_api.md index c4dc4466b32..d1e63cd6f5b 100644 --- a/source/includes/acts/get_api.md +++ b/source/includes/acts/get_api.md @@ -181,7 +181,98 @@ compoundNames | string | Compound Names The name of the compound which is a stri externalIdentifier | int | External Identifiers is a unique identifier for this record to an external data system cas | string | CAS Number is a Chemical Abstract Service number for the compound -### 3. Emission Category Table +### 3. Emission Table + +This section elaborates on how to obtain data from the Emission table using the designated API endpoint. The endpoint allows you to retrieve all data from the Emission table or selectively acquire information by providing the Emission ID. Moreover, the Emission endpoint features pagination to facilitate efficient management of substantial datasets. + +> Example Request + +```javascript +var request = require("request"); + +var options = { method: 'GET' + url: 'https://[tenant].actsapi.intelex.com/actsapi/v1/emission' }; + +request(options, function (error, response, body) { + if (error) throw new Error(error); + + console.log(body); +}); +``` + +```csharp +var client = new RestClient("https://[tenant].actsapi.intelex.com/actsapi/v1/emission"); +var request = new RestRequest(Method.GET); +IRestResponse response = client.Execute(request); +``` + +> Response Schema + +```json +{ + "currentPage": 1, + "totalPages": 3, + "currentPageSize": 500, + "maxAPIPageSize": 500, + "totalCount": 1346, + "hasPrevious": false, + "hasNext": true, + "data": [ + { + "activeDate": "2025-10-21T08:37:41.669Z", + "inactiveDate": "2025-10-21T08:37:41.669Z", + "lastModifiedDate": "2025-10-21T08:37:41.669Z", + "externalIdentifier": "string", + "comments": "string", + "emissionId": "number", + "equipmentId": "number", + "emissionTypeId": "number", + "emissionCategoryId": "number", + "compoundId": "number", + "unitId": "number", + "emissionAmount": "number", + "controlledInd": "string", + "estimatedInd": "string", + "limitEmissionAmount": "number", + "limitUnitId": "number", + "calculationId": "number", + "calculation": "string", + "limitCalculationId": "number", + "limitCalculation": "string", + "dataLockTypeId": "number", + "badDataFlag": "boolean" + } + ] +} +``` + +**API Endpoints** + +`GET` /actsapi/v1/emission + +**Query parameters** + +| Attribute | Type | Description | +| --------------------- | -------- | -------------------------------------------------------------------------- | +| PageNumber | int | Page number of the results to fetch. | +| PageSize | int | The number of results per page | +| emissionIds | int | Emission ID is one of the unique identifier for this emission record | +| emissionTypeIds | int | The unique identifier of the associated emission type | +| emissionCategoryIds | int | The unique identifier of the associated emission category | +| equipmentIds | int | The unique identifier of the associated equipment | +| unitIds | int | The unique identifier of the associated unit | +| compoundIds | int | The unique identifier of the associated compound | +| calculationIds | int | The unique identifier of the associated calculation | +| estimatedInd | string | Estimated Ind can be of value 'Y' or 'N' | +| badDataFlag | boolean | Bad Data flag can be of value true or false | +| lastModifiedStartDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" | +| lastModifiedEndDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" | +| activeStartDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" | +| activeEndDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" | +| inactiveStartDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" | +| inactiveEndDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" | + +### 4. Emission Category Table This section elaborates on how to obtain data from the Emission Category table using the designated API endpoint. The endpoint allows you to retrieve all data from the Emission Category table or selectively acquire information by providing the Emission Category ID. Moreover, the Emission Category endpoint features pagination to facilitate efficient management of substantial datasets. @@ -241,7 +332,7 @@ PageSize | int | The number of results per page emissionCategoryIds | int | Emission Category ID is one of the unique identifier for this emission category record and is one of the filter option provided for Emission Category emissionCategoryTypes | string | Emission Category Types is for the project to emission category detail types -### 4. Emission Factor Table +### 5. Emission Factor Table This section elaborates on how to obtain data from the Emission Factor table using the designated API endpoint. The endpoint allows you to retrieve all data from the Emission Factor table or You can optionally fetch specific data by including the emission factor Ids, emission factor names, emission type Ids, emission category Ids, unit Ids, compound Ids, equipment Ids, last modified start date and last modified end date. The Emission Factor endpoint supports pagination. @@ -318,7 +409,7 @@ equipmentIds | int | The unique identifier of the associated equipment lastModifiedStartDate | string | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" lastModifiedEndDate | string | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" -### 5. Emission Type Table +### 6. Emission Type Table This section guides you through the process of fetching data from the Emission Type table using the dedicated API endpoint. The endpoint enables you to retrieve data from the entire Emission Type table or selectively obtain information by including Emission Type Ids. Additionally, the Emission Type endpoint is equipped with pagination capabilities to facilitate the handling of extensive datasets. @@ -382,7 +473,7 @@ emissionTypeIds | int | Emission Type ID is one of the type of emissions and is emissionTypes | string | Emission Types is for the project to emission detail types -### 6. Equipment Table +### 7. Equipment Table This section provides guidance on retrieving data from the Equipment table using the designated API endpoint. The endpoint allows you to retrieve all data from the Equipment table or specify specific data based on equipment Ids. Additionally, the Equipment endpoint offers pagination support to facilitate the handling of substantial datasets. @@ -469,7 +560,7 @@ lastModifiedEndDate | string | Date time format "yyyy/mm/dd T hours:min:secZ - E externalIdentifier | string | External Identifier a unique identifier for this record to an external data system -### 7. Equipment Attribute Table +### 8. Equipment Attribute Table All data from the Equipment Attribute table will be returned from the endpoint below. You can optionally fetch specific data by including the facility attribute Ids, facility names, emission type Ids, facility type Ids, unit Ids, equipment Ids, last modified start date and last modified end date. The facility attribute endpoint supports pagination. @@ -539,7 +630,7 @@ lastModifiedStartDate | string | Date time format "yyyy/mm/dd T hours:min:secZ - lastModifiedEndDate | string | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" -### 8. Equipment Status Table +### 9. Equipment Status Table All data from the Equipment Status table will be returned from the endpoint below. You can optionally fetch specific data by including the equipment status ID and equipment status value. The Equipment Status endpoint supports pagination. @@ -604,7 +695,7 @@ equipmentStatus | string | Equipment Status is one of the identifier for the sta -### 9. Equipment Type Table +### 10. Equipment Type Table All data from the Equipment Type table will be returned from the endpoint below. You can optionally fetch specific data by including the equipment type ID and equipment types value. The Equipment type endpoint supports pagination. @@ -689,7 +780,7 @@ equipmentTypeIds | int | Equipment Type ID is one of the unique identifier for t equipmentTypes | string | Equipment Types is one of the filter option and the parameter is for the type of the equipment -### 10. Facility Table +### 11. Facility Table All data from the Facility table will be returned from the endpoint below. You can optionally fetch specific data by including the facility Ids, facility names, emission type Ids, facility type Ids, facility status Ids, county Ids, last modified start date and last modified end date. The facility endpoint supports pagination. @@ -782,7 +873,7 @@ lastModifiedStartDate | string | Date time format "yyyy/mm/dd T hours:min:secZ - lastModifiedEndDate | string | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" -### 11. Facility Attribute Table +### 12. Facility Attribute Table All data from the Facility Attribute table will be returned from the endpoint below. You can optionally fetch specific data by including the facility attribute Ids, facility names, emission type Ids, facility type Ids, facility attribute and last modified end date. The facility attribute endpoint supports pagination. @@ -855,7 +946,7 @@ externalidentifier | string | External Identifier a unique identifier for this r comments | string | Comments any comments associated with this record -### 12. Operation Table +### 13. Operation Table All data from the Operation table will be returned from the endpoint below. You can optionally fetch specific data by including the operation Ids, operation type Ids, emission type Ids, emission category Ids, unit Ids, equipment Ids, last modified start date and last modified end date. The Operation endpoint supports pagination. @@ -938,7 +1029,7 @@ lastModifiedStartDate | string | Date time format "yyyy/mm/dd T hours:min:secZ - lastModifiedEndDate | string | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" -### 13. Operation Type Table +### 14. Operation Type Table All data from the Operation Type table will be returned from the endpoint below. You can optionally fetch specific data by including the operation type ids, operation types . The Operation Type endpoint supports pagination. @@ -1005,7 +1096,7 @@ PageSize | int | The number of results per page operationTypeIDs | int | The unique identifier for this operation type record operationTypes | int | The type of operational data -### 14. Query Results +### 15. Query Results The QueryResults API end point will allow the user to run the views saved in Query view tables and returns the dynamic results based on the specific query view id value. The QueryResults endpoint supports pagination. @@ -1091,7 +1182,7 @@ PageSize | int | The number of results per page queryViewId | int | The unique identifier for this query view record -### 15. Unit Table +### 16. Unit Table This section outlines how to retrieve data from the Unit table using the provided endpoint. You have the flexibility to fetch specific data by including unit Ids, unit type Ids, and units. The Unit type endpoint also supports pagination for managing large datasets effectively. @@ -1159,7 +1250,7 @@ unitIds | int | Unit ID is one of the unique identifier for this Unit record unitTypeIds | int | Unit Type Ids is the unique identifier of the associated unit type units | string | Units is one of the filter option and the parameter is for the Name of the Unit -### 16. Workflow Table +### 17. Workflow Table This section outlines how to retrieve data from the Workflow table using the provided endpoint. You have the flexibility to fetch specific data by including workflow Ids, workflow type Ids, workflow date for both start date and end date along with the last modified date. The workflow endpoint also supports pagination for managing large datasets effectively. @@ -1229,7 +1320,7 @@ lastModifiedEndDate | dateTime | Date time format "yyyy/mm/dd T hours:min:secZ - externalIdentifier | string | External Identifier a unique identifier for this record to an external data system -### 17. Workflow Answer Table +### 18. Workflow Answer Table This section outlines how to retrieve data from the Workflow Answer table using the provided endpoint. You have the flexibility to fetch specific data by including workflow Answer Ids, workflow Ids, workflow question Ids, category Answer Index, category Revision Index, question Answer Index, question Revision Index, workflow Answer, lastModifiedStartDate and lastModifiedEndDate. The Workflow Answer endpoint also supports pagination for managing large datasets effectively. @@ -1307,7 +1398,7 @@ workflowAnswer | string | Wokflow Answer is the answer to the question.. lastModifiedStartDate | dateTime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" lastModifiedEndDate | dateTime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" -### 18. Workflow Equipment Table +### 19. Workflow Equipment Table This section outlines how to retrieve data from the Workflow Equipment table using the provided endpoint. Equipment workflows are typically labeled Inspection. You have the flexibility to fetch specific data by including workflow Equipment Ids, workflow Ids, and Equipment Ids. The Workflow Equipment endpoint also supports pagination for managing large datasets effectively. @@ -1372,7 +1463,7 @@ workflowEquipmentIds | int | Workflow Equipment ID is the unique identifier for workflowIds | int | Workflow Ids is the unique identifier of the associated workflow. equipmentIds | string | Equipment IDs are the unique identifier of the associated equipment. -### 19. Workflow Facility Table +### 20. Workflow Facility Table This section outlines how to retrieve data from the Workflow Facility table using the provided endpoint. Facility workflows are typically labeled Inspection. You have the flexibility to fetch specific data by including workflow Facility Ids, workflow Ids and facility Ids. The Workflow Facility endpoint also supports pagination for managing large datasets effectively. @@ -1439,7 +1530,7 @@ facilityIds | int | Facility IDs are the unique identifier for the associated fa -### 20. Workflow Person Table +### 21. Workflow Person Table This section outlines how to retrieve data from the Workflow Person table using the provided endpoint. You have the flexibility to fetch specific data by including workflow person Ids, workflow Ids and person Ids. The Unit type endpoint also supports pagination for managing large datasets effectively. @@ -1504,7 +1595,7 @@ workflowPersonIds | int | Workflow Person ID is the unique identifier for the as workflowIds | int | Workflow IDs are the unique identifier for workflows (the named form or workflow type+date completed). personIds | int | Person IDs are the assigned values for associated person(s) and can be used as a filter. -### 21. Workflow Question Table +### 22. Workflow Question Table This section outlines how to retrieve data from the Workflow Question table using the provided endpoint. You have the flexibility to fetch specific data by including workflow Question Ids, workflow question categoy Ids, data type Ids, required Inds and questions. The Workflow Question endpoint also supports pagination for managing large datasets effectively. @@ -1597,7 +1688,7 @@ dataTypeIds | int | Data Type IDs are the unique identifiers for the associated requiredInds | string | Required Inds is the value if an answer is required before saving the form. questions | string | Questions are the question content values included on the form. -### 22. Workflow Question Category Table +### 23. Workflow Question Category Table This section outlines how to retrieve data from the Workflow Question Category table using the provided endpoint. You have the flexibility to fetch specific data by including workflow question category Ids, workflow type Ids and workflow question category. The Workflow Question Category endpoint also supports pagination for managing large datasets effectively. @@ -1675,7 +1766,7 @@ workflowTypeIds | int | Workflow Type IDs are the unique identifiers for the ass workflow question category | string | Workflow Question Category is the category of the form type. -### 23. Workflow Type Table +### 24. Workflow Type Table This section outlines how to retrieve data from the Workflow Type table using the provided endpoint. You have the flexibility to fetch specific data by including workflow Ids, workflow type Ids, and workflows. The Unit type endpoint also supports pagination for managing large datasets effectively. From b6186669eb9c7eeac8302ea6af0968884b854077 Mon Sep 17 00:00:00 2001 From: ArjunSinghILX Date: Tue, 21 Oct 2025 16:02:58 +0530 Subject: [PATCH 02/13] [ILX-57292] Add doc for Regulation GET, and update doc for Emission GET --- source/includes/acts/get_api.md | 155 ++++++++++++++++++++++++++------ 1 file changed, 127 insertions(+), 28 deletions(-) diff --git a/source/includes/acts/get_api.md b/source/includes/acts/get_api.md index d1e63cd6f5b..f01c8d45b5d 100644 --- a/source/includes/acts/get_api.md +++ b/source/includes/acts/get_api.md @@ -252,25 +252,26 @@ IRestResponse response = client.Execute(request); **Query parameters** -| Attribute | Type | Description | -| --------------------- | -------- | -------------------------------------------------------------------------- | -| PageNumber | int | Page number of the results to fetch. | -| PageSize | int | The number of results per page | -| emissionIds | int | Emission ID is one of the unique identifier for this emission record | -| emissionTypeIds | int | The unique identifier of the associated emission type | -| emissionCategoryIds | int | The unique identifier of the associated emission category | -| equipmentIds | int | The unique identifier of the associated equipment | -| unitIds | int | The unique identifier of the associated unit | -| compoundIds | int | The unique identifier of the associated compound | -| calculationIds | int | The unique identifier of the associated calculation | -| estimatedInd | string | Estimated Ind can be of value 'Y' or 'N' | -| badDataFlag | boolean | Bad Data flag can be of value true or false | -| lastModifiedStartDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" | -| lastModifiedEndDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" | -| activeStartDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" | -| activeEndDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" | -| inactiveStartDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" | -| inactiveEndDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" | +Attribute| Type | Description +-------- | ---- |------------ +PageNumber| int | Page number of the results to fetch. +PageSize| int | The number of results per page +emissionIds| int | Emission ID is one of the unique identifier for this emission record +emissionTypeIds| int | The unique identifier of the associated emission type +emissionCategoryIds| int | The unique identifier of the associated emission category +equipmentIds| int | The unique identifier of the associated equipment +unitIds| int | The unique identifier of the associated unit +compoundIds| int | The unique identifier of the associated compound +calculationIds| int | The unique identifier of the associated calculation +estimatedInd| string | Estimated Ind can be of value 'Y' or 'N' +badDataFlag| boolean | Bad Data flag can be of value true or false +externalIdentifier| string | External Identifier a unique identifier for this record to an external data +lastModifiedStartDate| datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" +lastModifiedEndDate| datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" +activeStartDate| datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" +activeEndDate| datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" +inactiveStartDate| datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" +inactiveEndDate| datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" ### 4. Emission Category Table @@ -1181,8 +1182,106 @@ PageNumber | int | Page number of the results to fetch. PageSize | int | The number of results per page queryViewId | int | The unique identifier for this query view record +### 16. Regulation Table +This section elaborates on how to obtain data from the Regulation table using the designated API endpoint. The endpoint allows you to retrieve all data from the Regulation table or selectively acquire information by providing the Regulation ID. Moreover, the Regulation endpoint features pagination to facilitate efficient management of substantial datasets. -### 16. Unit Table +> Example Request + +```javascript +var request = require("request"); + +var options = { method: 'GET' + url: 'https://[tenant].actsapi.intelex.com/actsapi/v1/regulation' }; + +request(options, function (error, response, body) { + if (error) throw new Error(error); + + console.log(body); +}); +``` + +```csharp +var client = new RestClient("https://[tenant].actsapi.intelex.com/actsapi/v1/regulation"); +var request = new RestRequest(Method.GET); +IRestResponse response = client.Execute(request); +``` + +> Response Schema + +```json +{ + "currentPage": 1, + "totalPages": 3, + "currentPageSize": 500, + "maxAPIPageSize": 500, + "totalCount": 1346, + "hasPrevious": false, + "hasNext": true, + "data": [ + { + "activeDate": "2025-10-21T09:49:43.867Z", + "inactiveDate": "2025-10-21T09:49:43.867Z", + "lastModifiedDate": "2025-10-21T09:49:43.867Z", + "externalIdentifier": "string", + "comments": "string", + "regulationId": "number", + "agencyId": "number", + "regulationTypeId": "number", + "mediaId": "number", + "regulationName": "string", + "regulationStatusId": "number", + "applicationDate": "2025-10-21T09:49:43.867Z", + "completeDate": "2025-10-21T09:49:43.867Z", + "publicNoticeDate": "2025-10-21T09:49:43.867Z", + "issueDate": "2025-10-21T09:49:43.867Z", + "renewalDate": "2025-10-21T09:49:43.867Z", + "expirationDate": "2025-10-21T09:49:43.867Z", + "description": "string", + "applicabilityCriteria": "string", + "sortOrder": "number" + } + ] +} +``` + +**API Endpoints** + +`GET` /actsapi/v1/regulation + +**Query parameters** + +Attribute | Type | Description | +--------- |------|-------------| +PageNumber | int | Page number of the results to fetch. +PageSize | int | The number of results per page +regulationIds | int | Regulation ID is one of the unique identifier for this emission record +regulationNames| string | Regulation Names are one of the filter option and the parameter is for the names of the Regulations +RegulationTypeIds | int | The unique identifier of the associated regulation type +regulationStatusIds | int | The unique identifier of the associated regulation status +agencyIds | int | The unique identifier of the associated agency +mediaIds | int | The unique identifier of the associated media +applicationStartDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" +applicationEndDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" +completeStartDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" +completeEndDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" +publicNoticeStartDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" +publicNoticeEndDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" +issueStartDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" +issueEndDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" +renewalStartDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" +renewalEndDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" +expirationStartDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" +expirationEndDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" +externalIdentifier| string | External Identifier a unique identifier for this record to an external data +lastModifiedStartDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" +lastModifiedEndDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" +activeStartDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" +activeEndDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" +inactiveStartDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" +inactiveEndDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" + + +### 17. Unit Table This section outlines how to retrieve data from the Unit table using the provided endpoint. You have the flexibility to fetch specific data by including unit Ids, unit type Ids, and units. The Unit type endpoint also supports pagination for managing large datasets effectively. @@ -1250,7 +1349,7 @@ unitIds | int | Unit ID is one of the unique identifier for this Unit record unitTypeIds | int | Unit Type Ids is the unique identifier of the associated unit type units | string | Units is one of the filter option and the parameter is for the Name of the Unit -### 17. Workflow Table +### 18. Workflow Table This section outlines how to retrieve data from the Workflow table using the provided endpoint. You have the flexibility to fetch specific data by including workflow Ids, workflow type Ids, workflow date for both start date and end date along with the last modified date. The workflow endpoint also supports pagination for managing large datasets effectively. @@ -1320,7 +1419,7 @@ lastModifiedEndDate | dateTime | Date time format "yyyy/mm/dd T hours:min:secZ - externalIdentifier | string | External Identifier a unique identifier for this record to an external data system -### 18. Workflow Answer Table +### 19. Workflow Answer Table This section outlines how to retrieve data from the Workflow Answer table using the provided endpoint. You have the flexibility to fetch specific data by including workflow Answer Ids, workflow Ids, workflow question Ids, category Answer Index, category Revision Index, question Answer Index, question Revision Index, workflow Answer, lastModifiedStartDate and lastModifiedEndDate. The Workflow Answer endpoint also supports pagination for managing large datasets effectively. @@ -1398,7 +1497,7 @@ workflowAnswer | string | Wokflow Answer is the answer to the question.. lastModifiedStartDate | dateTime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" lastModifiedEndDate | dateTime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" -### 19. Workflow Equipment Table +### 20. Workflow Equipment Table This section outlines how to retrieve data from the Workflow Equipment table using the provided endpoint. Equipment workflows are typically labeled Inspection. You have the flexibility to fetch specific data by including workflow Equipment Ids, workflow Ids, and Equipment Ids. The Workflow Equipment endpoint also supports pagination for managing large datasets effectively. @@ -1463,7 +1562,7 @@ workflowEquipmentIds | int | Workflow Equipment ID is the unique identifier for workflowIds | int | Workflow Ids is the unique identifier of the associated workflow. equipmentIds | string | Equipment IDs are the unique identifier of the associated equipment. -### 20. Workflow Facility Table +### 21. Workflow Facility Table This section outlines how to retrieve data from the Workflow Facility table using the provided endpoint. Facility workflows are typically labeled Inspection. You have the flexibility to fetch specific data by including workflow Facility Ids, workflow Ids and facility Ids. The Workflow Facility endpoint also supports pagination for managing large datasets effectively. @@ -1530,7 +1629,7 @@ facilityIds | int | Facility IDs are the unique identifier for the associated fa -### 21. Workflow Person Table +### 22. Workflow Person Table This section outlines how to retrieve data from the Workflow Person table using the provided endpoint. You have the flexibility to fetch specific data by including workflow person Ids, workflow Ids and person Ids. The Unit type endpoint also supports pagination for managing large datasets effectively. @@ -1595,7 +1694,7 @@ workflowPersonIds | int | Workflow Person ID is the unique identifier for the as workflowIds | int | Workflow IDs are the unique identifier for workflows (the named form or workflow type+date completed). personIds | int | Person IDs are the assigned values for associated person(s) and can be used as a filter. -### 22. Workflow Question Table +### 23. Workflow Question Table This section outlines how to retrieve data from the Workflow Question table using the provided endpoint. You have the flexibility to fetch specific data by including workflow Question Ids, workflow question categoy Ids, data type Ids, required Inds and questions. The Workflow Question endpoint also supports pagination for managing large datasets effectively. @@ -1688,7 +1787,7 @@ dataTypeIds | int | Data Type IDs are the unique identifiers for the associated requiredInds | string | Required Inds is the value if an answer is required before saving the form. questions | string | Questions are the question content values included on the form. -### 23. Workflow Question Category Table +### 24. Workflow Question Category Table This section outlines how to retrieve data from the Workflow Question Category table using the provided endpoint. You have the flexibility to fetch specific data by including workflow question category Ids, workflow type Ids and workflow question category. The Workflow Question Category endpoint also supports pagination for managing large datasets effectively. @@ -1766,7 +1865,7 @@ workflowTypeIds | int | Workflow Type IDs are the unique identifiers for the ass workflow question category | string | Workflow Question Category is the category of the form type. -### 24. Workflow Type Table +### 25. Workflow Type Table This section outlines how to retrieve data from the Workflow Type table using the provided endpoint. You have the flexibility to fetch specific data by including workflow Ids, workflow type Ids, and workflows. The Unit type endpoint also supports pagination for managing large datasets effectively. From 111341d2f97795e9123d362af86f53c6a2e98cba Mon Sep 17 00:00:00 2001 From: ArjunSinghILX Date: Tue, 21 Oct 2025 16:27:28 +0530 Subject: [PATCH 03/13] [ILX-57292] Add doc for Regulation Type GET --- source/includes/acts/get_api.md | 103 ++++++++++++++++++++++++++++---- 1 file changed, 92 insertions(+), 11 deletions(-) diff --git a/source/includes/acts/get_api.md b/source/includes/acts/get_api.md index f01c8d45b5d..7c3c60d59fa 100644 --- a/source/includes/acts/get_api.md +++ b/source/includes/acts/get_api.md @@ -1254,9 +1254,9 @@ Attribute | Type | Description | --------- |------|-------------| PageNumber | int | Page number of the results to fetch. PageSize | int | The number of results per page -regulationIds | int | Regulation ID is one of the unique identifier for this emission record +regulationIds | int | Regulation ID is one of the unique identifier for this regulation record regulationNames| string | Regulation Names are one of the filter option and the parameter is for the names of the Regulations -RegulationTypeIds | int | The unique identifier of the associated regulation type +regulationTypeIds | int | The unique identifier of the associated regulation type regulationStatusIds | int | The unique identifier of the associated regulation status agencyIds | int | The unique identifier of the associated agency mediaIds | int | The unique identifier of the associated media @@ -1281,7 +1281,88 @@ inactiveStartDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - E inactiveEndDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" -### 17. Unit Table +### 17. Regulation Type Table +This section elaborates on how to obtain data from the Regulation Type table using the designated API endpoint. The endpoint allows you to retrieve all data from the Regulation Type table or selectively acquire information by providing the Regulation Type ID. Moreover, the Regulation Type endpoint features pagination to facilitate efficient management of substantial datasets. + +> Example Request + +```javascript +var request = require("request"); + +var options = { method: 'GET' + url: 'https://[tenant].actsapi.intelex.com/actsapi/v1/regulationType' }; + +request(options, function (error, response, body) { + if (error) throw new Error(error); + + console.log(body); +}); +``` + +```csharp +var client = new RestClient("https://[tenant].actsapi.intelex.com/actsapi/v1/regulationType"); +var request = new RestRequest(Method.GET); +IRestResponse response = client.Execute(request); +``` + +> Response Schema + +```json +{ + "currentPage": 1, + "totalPages": 3, + "currentPageSize": 500, + "maxAPIPageSize": 500, + "totalCount": 1346, + "hasPrevious": false, + "hasNext": true, + "data": [ + { + "regulationTypeId": "number", + "regulationType": "string", + "regulationAttributesInd": "string", + "regulationTermInd": "string", + "requirementsInd": "string", + "requirementLimitsInd": "string", + "areaAssociationsInd": "string", + "facilityAssociationsInd": "string", + "facilityRequirementsInd": "string", + "equipmentAssociationsInd": "string", + "projectAssociationsInd": "string", + "regulationTaskAssigneesInd": "string", + "requirementTaskAssigneesInd": "string", + "areaTaskAssigneesInd": "string", + "facilityTaskAssigneesInd": "string", + "requirementEquipTaskAsnInd": "string", + "ownershipInterestInd": "string", + "correspondenceInd": "string", + "fileAttachmentsInd": "string", + "sortOrder": "number", + "lastModifiedDate": "2025-10-21T10:39:13.942Z", + "externalIdentifier": "string", + "comments": "string" + } + ] +} +``` + +**API Endpoints** + +`GET` /actsapi/v1/regulationType + +**Query parameters** + +Attribute | Type | Description | +--------- |------|-------------| +PageNumber | int | Page number of the results to fetch. +PageSize | int | The number of results per page +regulationTypeIds | int | The unique identifier of the associated regulation type +reuglationTypes | string | Regulation Types is one of the filter option and the parameter is for the type of the regulation +externalIdentifier| string | External Identifier a unique identifier for this record to an external data +lastModifiedStartDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" +lastModifiedEndDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" + +### 18. Unit Table This section outlines how to retrieve data from the Unit table using the provided endpoint. You have the flexibility to fetch specific data by including unit Ids, unit type Ids, and units. The Unit type endpoint also supports pagination for managing large datasets effectively. @@ -1349,7 +1430,7 @@ unitIds | int | Unit ID is one of the unique identifier for this Unit record unitTypeIds | int | Unit Type Ids is the unique identifier of the associated unit type units | string | Units is one of the filter option and the parameter is for the Name of the Unit -### 18. Workflow Table +### 19. Workflow Table This section outlines how to retrieve data from the Workflow table using the provided endpoint. You have the flexibility to fetch specific data by including workflow Ids, workflow type Ids, workflow date for both start date and end date along with the last modified date. The workflow endpoint also supports pagination for managing large datasets effectively. @@ -1419,7 +1500,7 @@ lastModifiedEndDate | dateTime | Date time format "yyyy/mm/dd T hours:min:secZ - externalIdentifier | string | External Identifier a unique identifier for this record to an external data system -### 19. Workflow Answer Table +### 20. Workflow Answer Table This section outlines how to retrieve data from the Workflow Answer table using the provided endpoint. You have the flexibility to fetch specific data by including workflow Answer Ids, workflow Ids, workflow question Ids, category Answer Index, category Revision Index, question Answer Index, question Revision Index, workflow Answer, lastModifiedStartDate and lastModifiedEndDate. The Workflow Answer endpoint also supports pagination for managing large datasets effectively. @@ -1497,7 +1578,7 @@ workflowAnswer | string | Wokflow Answer is the answer to the question.. lastModifiedStartDate | dateTime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" lastModifiedEndDate | dateTime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" -### 20. Workflow Equipment Table +### 21. Workflow Equipment Table This section outlines how to retrieve data from the Workflow Equipment table using the provided endpoint. Equipment workflows are typically labeled Inspection. You have the flexibility to fetch specific data by including workflow Equipment Ids, workflow Ids, and Equipment Ids. The Workflow Equipment endpoint also supports pagination for managing large datasets effectively. @@ -1562,7 +1643,7 @@ workflowEquipmentIds | int | Workflow Equipment ID is the unique identifier for workflowIds | int | Workflow Ids is the unique identifier of the associated workflow. equipmentIds | string | Equipment IDs are the unique identifier of the associated equipment. -### 21. Workflow Facility Table +### 22. Workflow Facility Table This section outlines how to retrieve data from the Workflow Facility table using the provided endpoint. Facility workflows are typically labeled Inspection. You have the flexibility to fetch specific data by including workflow Facility Ids, workflow Ids and facility Ids. The Workflow Facility endpoint also supports pagination for managing large datasets effectively. @@ -1629,7 +1710,7 @@ facilityIds | int | Facility IDs are the unique identifier for the associated fa -### 22. Workflow Person Table +### 23. Workflow Person Table This section outlines how to retrieve data from the Workflow Person table using the provided endpoint. You have the flexibility to fetch specific data by including workflow person Ids, workflow Ids and person Ids. The Unit type endpoint also supports pagination for managing large datasets effectively. @@ -1694,7 +1775,7 @@ workflowPersonIds | int | Workflow Person ID is the unique identifier for the as workflowIds | int | Workflow IDs are the unique identifier for workflows (the named form or workflow type+date completed). personIds | int | Person IDs are the assigned values for associated person(s) and can be used as a filter. -### 23. Workflow Question Table +### 24. Workflow Question Table This section outlines how to retrieve data from the Workflow Question table using the provided endpoint. You have the flexibility to fetch specific data by including workflow Question Ids, workflow question categoy Ids, data type Ids, required Inds and questions. The Workflow Question endpoint also supports pagination for managing large datasets effectively. @@ -1787,7 +1868,7 @@ dataTypeIds | int | Data Type IDs are the unique identifiers for the associated requiredInds | string | Required Inds is the value if an answer is required before saving the form. questions | string | Questions are the question content values included on the form. -### 24. Workflow Question Category Table +### 25. Workflow Question Category Table This section outlines how to retrieve data from the Workflow Question Category table using the provided endpoint. You have the flexibility to fetch specific data by including workflow question category Ids, workflow type Ids and workflow question category. The Workflow Question Category endpoint also supports pagination for managing large datasets effectively. @@ -1865,7 +1946,7 @@ workflowTypeIds | int | Workflow Type IDs are the unique identifiers for the ass workflow question category | string | Workflow Question Category is the category of the form type. -### 25. Workflow Type Table +### 26. Workflow Type Table This section outlines how to retrieve data from the Workflow Type table using the provided endpoint. You have the flexibility to fetch specific data by including workflow Ids, workflow type Ids, and workflows. The Unit type endpoint also supports pagination for managing large datasets effectively. From d166caabcc7d15dd188b40cbc5a869ba447ddfa1 Mon Sep 17 00:00:00 2001 From: ArjunSinghILX Date: Tue, 21 Oct 2025 16:37:16 +0530 Subject: [PATCH 04/13] [ILX-57292] Add doc for Requirement GET --- source/includes/acts/get_api.md | 113 +++++++++++++++++++++++++++++--- 1 file changed, 103 insertions(+), 10 deletions(-) diff --git a/source/includes/acts/get_api.md b/source/includes/acts/get_api.md index 7c3c60d59fa..4a8b5efb46d 100644 --- a/source/includes/acts/get_api.md +++ b/source/includes/acts/get_api.md @@ -1356,13 +1356,106 @@ Attribute | Type | Description | --------- |------|-------------| PageNumber | int | Page number of the results to fetch. PageSize | int | The number of results per page -regulationTypeIds | int | The unique identifier of the associated regulation type +regulationTypeIds | int | Regulation Type ID is one of the unique identifier for this regulation type record reuglationTypes | string | Regulation Types is one of the filter option and the parameter is for the type of the regulation externalIdentifier| string | External Identifier a unique identifier for this record to an external data lastModifiedStartDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" lastModifiedEndDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" -### 18. Unit Table +### 18. Requirement Table +This section elaborates on how to obtain data from the Requirement table using the designated API endpoint. The endpoint allows you to retrieve all data from the Requirement table or selectively acquire information by providing the Requirement ID. Moreover, the Requirement endpoint features pagination to facilitate efficient management of substantial datasets. + +> Example Request + +```javascript +var request = require("request"); + +var options = { method: 'GET' + url: 'https://[tenant].actsapi.intelex.com/actsapi/v1/requirement' }; + +request(options, function (error, response, body) { + if (error) throw new Error(error); + + console.log(body); +}); +``` + +```csharp +var client = new RestClient("https://[tenant].actsapi.intelex.com/actsapi/v1/requirement"); +var request = new RestRequest(Method.GET); +IRestResponse response = client.Execute(request); +``` + +> Response Schema + +```json +{ + "currentPage": 1, + "totalPages": 3, + "currentPageSize": 500, + "maxAPIPageSize": 500, + "totalCount": 1346, + "hasPrevious": false, + "hasNext": true, + "data": [ + { + "requirementId": "number", + "regulationId": "number", + "requirementTypeId": "number", + "requirementName": "string", + "requirementFrequencyId": "number", + "requirementCategoryId": "number", + "regulationActivityId": "number", + "description": "string", + "associatedRequirements": "string", + "applicabilityCriteria": "string", + "sortOrder": "number", + "generateTaskInd": "string", + "taskText": "string", + "firstDueDate": "2025-10-21T10:58:41.085Z", + "generateFacilityTasksInd": "string", + "combineTasksInd": "string", + "attributeTypeId": "number", + "triggerOffset": "number", + "triggerOffsetType": "string", + "creationOffset": "number", + "dependentRequirementId": "number", + "conditionalFormula": "string", + "activeDate": "2025-10-21T10:58:41.085Z", + "inactiveDate": "2025-10-21T10:58:41.085Z", + "lastModifiedDate": "2025-10-21T10:58:41.085Z", + "externalIdentifier": "string", + "comments": "string" + } +] +} +``` + +**API Endpoints** + +`GET` /actsapi/v1/requirement + +**Query parameters** + +Attribute | Type | Description | +--------- |------|-------------| +PageNumber | int | Page number of the results to fetch. +PageSize | int | The number of results per page +requirementIds | int | Requirement ID is one of the unique identifier for this regulation record +regulationIds | int | The unique identifier of the associated regulation +requirementTypeIds | int | The unique identifier of the associated requirement type +requirementNames | string | Requirement Names is one of the filter option and the parameter is for the type of the requirement +requirementCategoryIds | int | The unique identifier of the associated requirement category type +regulationActivityIds | int | The unique identifier of the associated regulation activity +externalIdentifier| string | External Identifier a unique identifier for this record to an external data +lastModifiedStartDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" +lastModifiedEndDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" +activeStartDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" +activeEndDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" +inactiveStartDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" +inactiveEndDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" + +### 19. Unit Table This section outlines how to retrieve data from the Unit table using the provided endpoint. You have the flexibility to fetch specific data by including unit Ids, unit type Ids, and units. The Unit type endpoint also supports pagination for managing large datasets effectively. @@ -1430,7 +1523,7 @@ unitIds | int | Unit ID is one of the unique identifier for this Unit record unitTypeIds | int | Unit Type Ids is the unique identifier of the associated unit type units | string | Units is one of the filter option and the parameter is for the Name of the Unit -### 19. Workflow Table +### 20. Workflow Table This section outlines how to retrieve data from the Workflow table using the provided endpoint. You have the flexibility to fetch specific data by including workflow Ids, workflow type Ids, workflow date for both start date and end date along with the last modified date. The workflow endpoint also supports pagination for managing large datasets effectively. @@ -1500,7 +1593,7 @@ lastModifiedEndDate | dateTime | Date time format "yyyy/mm/dd T hours:min:secZ - externalIdentifier | string | External Identifier a unique identifier for this record to an external data system -### 20. Workflow Answer Table +### 21. Workflow Answer Table This section outlines how to retrieve data from the Workflow Answer table using the provided endpoint. You have the flexibility to fetch specific data by including workflow Answer Ids, workflow Ids, workflow question Ids, category Answer Index, category Revision Index, question Answer Index, question Revision Index, workflow Answer, lastModifiedStartDate and lastModifiedEndDate. The Workflow Answer endpoint also supports pagination for managing large datasets effectively. @@ -1578,7 +1671,7 @@ workflowAnswer | string | Wokflow Answer is the answer to the question.. lastModifiedStartDate | dateTime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" lastModifiedEndDate | dateTime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" -### 21. Workflow Equipment Table +### 22. Workflow Equipment Table This section outlines how to retrieve data from the Workflow Equipment table using the provided endpoint. Equipment workflows are typically labeled Inspection. You have the flexibility to fetch specific data by including workflow Equipment Ids, workflow Ids, and Equipment Ids. The Workflow Equipment endpoint also supports pagination for managing large datasets effectively. @@ -1643,7 +1736,7 @@ workflowEquipmentIds | int | Workflow Equipment ID is the unique identifier for workflowIds | int | Workflow Ids is the unique identifier of the associated workflow. equipmentIds | string | Equipment IDs are the unique identifier of the associated equipment. -### 22. Workflow Facility Table +### 23. Workflow Facility Table This section outlines how to retrieve data from the Workflow Facility table using the provided endpoint. Facility workflows are typically labeled Inspection. You have the flexibility to fetch specific data by including workflow Facility Ids, workflow Ids and facility Ids. The Workflow Facility endpoint also supports pagination for managing large datasets effectively. @@ -1710,7 +1803,7 @@ facilityIds | int | Facility IDs are the unique identifier for the associated fa -### 23. Workflow Person Table +### 24. Workflow Person Table This section outlines how to retrieve data from the Workflow Person table using the provided endpoint. You have the flexibility to fetch specific data by including workflow person Ids, workflow Ids and person Ids. The Unit type endpoint also supports pagination for managing large datasets effectively. @@ -1775,7 +1868,7 @@ workflowPersonIds | int | Workflow Person ID is the unique identifier for the as workflowIds | int | Workflow IDs are the unique identifier for workflows (the named form or workflow type+date completed). personIds | int | Person IDs are the assigned values for associated person(s) and can be used as a filter. -### 24. Workflow Question Table +### 25. Workflow Question Table This section outlines how to retrieve data from the Workflow Question table using the provided endpoint. You have the flexibility to fetch specific data by including workflow Question Ids, workflow question categoy Ids, data type Ids, required Inds and questions. The Workflow Question endpoint also supports pagination for managing large datasets effectively. @@ -1868,7 +1961,7 @@ dataTypeIds | int | Data Type IDs are the unique identifiers for the associated requiredInds | string | Required Inds is the value if an answer is required before saving the form. questions | string | Questions are the question content values included on the form. -### 25. Workflow Question Category Table +### 26. Workflow Question Category Table This section outlines how to retrieve data from the Workflow Question Category table using the provided endpoint. You have the flexibility to fetch specific data by including workflow question category Ids, workflow type Ids and workflow question category. The Workflow Question Category endpoint also supports pagination for managing large datasets effectively. @@ -1946,7 +2039,7 @@ workflowTypeIds | int | Workflow Type IDs are the unique identifiers for the ass workflow question category | string | Workflow Question Category is the category of the form type. -### 26. Workflow Type Table +### 27. Workflow Type Table This section outlines how to retrieve data from the Workflow Type table using the provided endpoint. You have the flexibility to fetch specific data by including workflow Ids, workflow type Ids, and workflows. The Unit type endpoint also supports pagination for managing large datasets effectively. From 492e7d295284a34bc8f4dba692ac45feace08c1e Mon Sep 17 00:00:00 2001 From: ArjunSinghILX Date: Tue, 21 Oct 2025 16:58:37 +0530 Subject: [PATCH 05/13] [ILX-57292] Add doc for Requirement Limit GET --- source/includes/acts/get_api.md | 121 ++++++++++++++++++++++++++++---- 1 file changed, 108 insertions(+), 13 deletions(-) diff --git a/source/includes/acts/get_api.md b/source/includes/acts/get_api.md index 4a8b5efb46d..a8b6abd3290 100644 --- a/source/includes/acts/get_api.md +++ b/source/includes/acts/get_api.md @@ -1255,7 +1255,7 @@ Attribute | Type | Description | PageNumber | int | Page number of the results to fetch. PageSize | int | The number of results per page regulationIds | int | Regulation ID is one of the unique identifier for this regulation record -regulationNames| string | Regulation Names are one of the filter option and the parameter is for the names of the Regulations +regulationNames| string | Regulation Names are one of the filter option and the parameter is for the name of the regulations regulationTypeIds | int | The unique identifier of the associated regulation type regulationStatusIds | int | The unique identifier of the associated regulation status agencyIds | int | The unique identifier of the associated agency @@ -1427,7 +1427,7 @@ IRestResponse response = client.Execute(request); "externalIdentifier": "string", "comments": "string" } -] + ] } ``` @@ -1441,10 +1441,10 @@ Attribute | Type | Description | --------- |------|-------------| PageNumber | int | Page number of the results to fetch. PageSize | int | The number of results per page -requirementIds | int | Requirement ID is one of the unique identifier for this regulation record +requirementIds | int | Requirement ID is one of the unique identifier for this requirement record regulationIds | int | The unique identifier of the associated regulation requirementTypeIds | int | The unique identifier of the associated requirement type -requirementNames | string | Requirement Names is one of the filter option and the parameter is for the type of the requirement +requirementNames | string | Requirement Names is one of the filter option and the parameter is for the name of the requirement requirementCategoryIds | int | The unique identifier of the associated requirement category type regulationActivityIds | int | The unique identifier of the associated regulation activity externalIdentifier| string | External Identifier a unique identifier for this record to an external data @@ -1455,7 +1455,102 @@ activeEndDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : inactiveStartDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" inactiveEndDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" -### 19. Unit Table +### 19. Requirement Limit Table +This section elaborates on how to obtain data from the Requirement Limit table using the designated API endpoint. The endpoint allows you to retrieve all data from the Requirement Limit table or selectively acquire information by providing the Requirement Limit ID. Moreover, the Requirement Limit endpoint features pagination to facilitate efficient management of substantial datasets. + +> Example Request + +```javascript +var request = require("request"); + +var options = { method: 'GET' + url: 'https://[tenant].actsapi.intelex.com/actsapi/v1/requirementLimit' }; + +request(options, function (error, response, body) { + if (error) throw new Error(error); + + console.log(body); +}); +``` + +```csharp +var client = new RestClient("https://[tenant].actsapi.intelex.com/actsapi/v1/requirementLimit"); +var request = new RestRequest(Method.GET); +IRestResponse response = client.Execute(request); +``` + +> Response Schema + +```json +{ + "currentPage": 1, + "totalPages": 3, + "currentPageSize": 500, + "maxAPIPageSize": 500, + "totalCount": 1346, + "hasPrevious": false, + "hasNext": true, + "data": [ + { + "activeDate": "2025-10-21T11:09:26.877Z", + "inactiveDate": "2025-10-21T11:09:26.877Z", + "lastModifiedDate": "2025-10-21T11:09:26.877Z", + "externalIdentifier": "string", + "comments": "string", + "requirementLimitId": "number", + "requirementId": "number", + "requirementLimitTypeId": "number", + "compoundId": "number", + "compoundGroupTypeId": "number", + "unitId": "number", + "operator": "string", + "limitThreshold": "number", + "compareLimitInd": "string", + "compareDecimalPlaces": "number", + "compareOffset": "number", + "compareDays": "number", + "limitViolationText": "string", + "emissionTypeId": "number", + "emissionCategoryId": "number", + "operationTypeId": "number", + "analysisTypeId": "number", + "analysisValueName": "string", + "customLimitThreshold": "string", + "sortOrder": "number" + } + ] +} +``` + +**API Endpoints** + +`GET` /actsapi/v1/requirementLimit + +**Query parameters** + +Attribute | Type | Description | +--------- |------|-------------| +PageNumber | int | Page number of the results to fetch. +PageSize | int | The number of results per page +requirementLimitIds | int | Requirement Limit ID is one of the unique identifier for this requirement limit record +requirementIds | int | The unique identifier of the associated requirement +requirementLimitTypeIds | int | The unique identifier of the associated requirement limit type +compoundIds | int | The unique identifier of the associated compound +compoundGroupTypeIds | int | The unique identifier of the associated compound group type +unitIds | int | The unique identifier of the associated unit +emissionTypeIds | int | The unique identifier of the associated emission type +emissionCategoryIds | int | The unique identifier of the associated emission category +operationTypeIds | int | The unique identifier of the associated operation type +analysisTypeIds | int | The unique identifier of the associated operation type +externalIdentifier| string | External Identifier a unique identifier for this record to an external data +lastModifiedStartDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" +lastModifiedEndDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" +activeStartDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" +activeEndDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" +inactiveStartDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" +inactiveEndDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" + +### 20. Unit Table This section outlines how to retrieve data from the Unit table using the provided endpoint. You have the flexibility to fetch specific data by including unit Ids, unit type Ids, and units. The Unit type endpoint also supports pagination for managing large datasets effectively. @@ -1523,7 +1618,7 @@ unitIds | int | Unit ID is one of the unique identifier for this Unit record unitTypeIds | int | Unit Type Ids is the unique identifier of the associated unit type units | string | Units is one of the filter option and the parameter is for the Name of the Unit -### 20. Workflow Table +### 21. Workflow Table This section outlines how to retrieve data from the Workflow table using the provided endpoint. You have the flexibility to fetch specific data by including workflow Ids, workflow type Ids, workflow date for both start date and end date along with the last modified date. The workflow endpoint also supports pagination for managing large datasets effectively. @@ -1593,7 +1688,7 @@ lastModifiedEndDate | dateTime | Date time format "yyyy/mm/dd T hours:min:secZ - externalIdentifier | string | External Identifier a unique identifier for this record to an external data system -### 21. Workflow Answer Table +### 22. Workflow Answer Table This section outlines how to retrieve data from the Workflow Answer table using the provided endpoint. You have the flexibility to fetch specific data by including workflow Answer Ids, workflow Ids, workflow question Ids, category Answer Index, category Revision Index, question Answer Index, question Revision Index, workflow Answer, lastModifiedStartDate and lastModifiedEndDate. The Workflow Answer endpoint also supports pagination for managing large datasets effectively. @@ -1671,7 +1766,7 @@ workflowAnswer | string | Wokflow Answer is the answer to the question.. lastModifiedStartDate | dateTime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" lastModifiedEndDate | dateTime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" -### 22. Workflow Equipment Table +### 23. Workflow Equipment Table This section outlines how to retrieve data from the Workflow Equipment table using the provided endpoint. Equipment workflows are typically labeled Inspection. You have the flexibility to fetch specific data by including workflow Equipment Ids, workflow Ids, and Equipment Ids. The Workflow Equipment endpoint also supports pagination for managing large datasets effectively. @@ -1736,7 +1831,7 @@ workflowEquipmentIds | int | Workflow Equipment ID is the unique identifier for workflowIds | int | Workflow Ids is the unique identifier of the associated workflow. equipmentIds | string | Equipment IDs are the unique identifier of the associated equipment. -### 23. Workflow Facility Table +### 24. Workflow Facility Table This section outlines how to retrieve data from the Workflow Facility table using the provided endpoint. Facility workflows are typically labeled Inspection. You have the flexibility to fetch specific data by including workflow Facility Ids, workflow Ids and facility Ids. The Workflow Facility endpoint also supports pagination for managing large datasets effectively. @@ -1803,7 +1898,7 @@ facilityIds | int | Facility IDs are the unique identifier for the associated fa -### 24. Workflow Person Table +### 25. Workflow Person Table This section outlines how to retrieve data from the Workflow Person table using the provided endpoint. You have the flexibility to fetch specific data by including workflow person Ids, workflow Ids and person Ids. The Unit type endpoint also supports pagination for managing large datasets effectively. @@ -1868,7 +1963,7 @@ workflowPersonIds | int | Workflow Person ID is the unique identifier for the as workflowIds | int | Workflow IDs are the unique identifier for workflows (the named form or workflow type+date completed). personIds | int | Person IDs are the assigned values for associated person(s) and can be used as a filter. -### 25. Workflow Question Table +### 26. Workflow Question Table This section outlines how to retrieve data from the Workflow Question table using the provided endpoint. You have the flexibility to fetch specific data by including workflow Question Ids, workflow question categoy Ids, data type Ids, required Inds and questions. The Workflow Question endpoint also supports pagination for managing large datasets effectively. @@ -1961,7 +2056,7 @@ dataTypeIds | int | Data Type IDs are the unique identifiers for the associated requiredInds | string | Required Inds is the value if an answer is required before saving the form. questions | string | Questions are the question content values included on the form. -### 26. Workflow Question Category Table +### 27. Workflow Question Category Table This section outlines how to retrieve data from the Workflow Question Category table using the provided endpoint. You have the flexibility to fetch specific data by including workflow question category Ids, workflow type Ids and workflow question category. The Workflow Question Category endpoint also supports pagination for managing large datasets effectively. @@ -2039,7 +2134,7 @@ workflowTypeIds | int | Workflow Type IDs are the unique identifiers for the ass workflow question category | string | Workflow Question Category is the category of the form type. -### 27. Workflow Type Table +### 28. Workflow Type Table This section outlines how to retrieve data from the Workflow Type table using the provided endpoint. You have the flexibility to fetch specific data by including workflow Ids, workflow type Ids, and workflows. The Unit type endpoint also supports pagination for managing large datasets effectively. From 72f4196b4a628ca99faeac5b64e516b42e90e55c Mon Sep 17 00:00:00 2001 From: ArjunSinghILX Date: Tue, 21 Oct 2025 19:31:36 +0530 Subject: [PATCH 06/13] [ILX-57292] Add doc for Requirement POST --- source/includes/acts/post_api.md | 136 +++++++++++++++++++++++++++++-- 1 file changed, 131 insertions(+), 5 deletions(-) diff --git a/source/includes/acts/post_api.md b/source/includes/acts/post_api.md index 8c92cb8b69a..873c421bd14 100644 --- a/source/includes/acts/post_api.md +++ b/source/includes/acts/post_api.md @@ -1136,7 +1136,133 @@ IRestResponse response = client.Execute(request); ``` -### 12. Workflow Table +### 12. Requirement Table + +This section outlines the process of adding new entries or modifying existing records within the Requirement table using the dedicated API endpoint. + +**Workflow POST Endpoint** + +`POST` /actsapi/v1/requirement + +> Example Request & JSON Input Body + +```javascript +var request = require("request"); + +var options = { method: 'POST', + url: 'https://[tenant].actsapi.intelex.com/actsapi/v1/requirement', + headers: { 'content-type': 'application/json' }, + body: + [ + { + "requirementId": "number", + "regulationId": "number", + "requirementTypeId": "number", + "requirementName": "string", + "requirementFrequencyId": "number", + "requirementCategoryId": "number", + "regulationActivityId": "number", + "description": "string", + "associatedRequirements": "string", + "applicabilityCriteria": "string", + "sortOrder": "number", + "generateTaskInd": "string", + "taskText": "string", + "firstDueDate": "2024-01-03T08:16:24.155Z", + "generateFacilityTasksInd": "string", + "combineTasksInd": "string", + "attributeTypeId": "number", + "triggerOffset": "number", + "triggerOffsetType": "string", + "creationOffset": "number", + "dependentRequirementId": "number", + "conditionalFormula": "string", + "activeDate": "2024-01-03T08:16:24.155Z", + "inactiveDate": "2024-01-03T08:16:24.155Z", + "lastModifiedDate": "2024-01-03T08:16:24.155Z", + "externalIdentifier": "string", + "comments": "string" + } + ], + json: true }; + + +request(options, function (error, response, body) { + if (error) throw new Error(error); + + console.log(body); +}); +``` + +```csharp +var client = new RestClient("https://[tenant].actsapi.intelex.com/actsapi/v1/workflow"); +var request = new RestRequest(Method.POST); +request.AddHeader("content-type", "application/json"); +request.AddParameter("application/json", "[{\"requirementId\":\"number\",\"regulationId\":\"number\",\"requirementTypeId\":\"number\",\"requirementName\":\"string\",\"requirementFrequencyId\":\"number\",\"requirementCategoryId\":\"number\",\"regulationActivityId\":\"number\",\"description\":\"string\",\"associatedRequirements\":\"string\",\"applicabilityCriteria\":\"string\",\"sortOrder\":\"number\",\"generateTaskInd\":\"string\",\"taskText\":\"string\",\"firstDueDate\":\"2024-01-03T08:16:24.155Z\",\"generateFacilityTasksInd\":\"string\",\"combineTasksInd\":\"string\",\"attributeTypeId\":\"number\",\"triggerOffset\":\"number\",\"triggerOffsetType\":\"string\",\"creationOffset\":\"number\",\"dependentRequirementId\":\"number\",\"conditionalFormula\":\"string\",\"activeDate\":\"2024-01-03T08:16:24.155Z\",\"inactiveDate\":\"2024-01-03T08:16:24.155Z\",\"lastModifiedDate\":\"2024-01-03T08:16:24.155Z\",\"externalIdentifier\":\"string\",\"comments\":\"string\"}]", ParameterType.RequestBody); +IRestResponse response = client.Execute(request); +``` + +> Input JSON Body + +```json +[ + { + "requirementId": "number", + "regulationId": "number", + "requirementTypeId": "number", + "requirementName": "string", + "requirementFrequencyId": "number", + "requirementCategoryId": "number", + "regulationActivityId": "number", + "description": "string", + "associatedRequirements": "string", + "applicabilityCriteria": "string", + "sortOrder": "number", + "generateTaskInd": "string", + "taskText": "string", + "firstDueDate": "2024-01-03T08:16:24.155Z", + "generateFacilityTasksInd": "string", + "combineTasksInd": "string", + "attributeTypeId": "number", + "triggerOffset": "number", + "triggerOffsetType": "string", + "creationOffset": "number", + "dependentRequirementId": "number", + "conditionalFormula": "string", + "activeDate": "2024-01-03T08:16:24.155Z", + "inactiveDate": "2024-01-03T08:16:24.155Z", + "lastModifiedDate": "2024-01-03T08:16:24.155Z", + "externalIdentifier": "string", + "comments": "string" + } +] +``` +> Example Response + +```json +{ + "insertedRowCount" : 2, + "updatedRowCount" : 3, + "failureCount" : 0, + "errorMessage" : [] +} +``` + +> Example Output For When Data Get's Failed To Insert or Update + +```json +{ + "insertedRowCount": 0, + "updatedRowCount": 0, + "failureCount": 1, + "errorMessage": [ + "RequirementId: 103356 does not exist" + ] +} + +``` + +### 13. Workflow Table This section outlines the process of adding new entries or modifying existing records within the Workflow table using the dedicated API endpoint. @@ -1222,7 +1348,7 @@ IRestResponse response = client.Execute(request); ``` -### 13. Workflow Answer Table +### 14. Workflow Answer Table This section outlines the process of adding new entries or modifying existing records within the Workflow Answer table using the dedicated API endpoint. @@ -1316,7 +1442,7 @@ IRestResponse response = client.Execute(request); ``` -### 14. Workflow Equipment Table +### 15. Workflow Equipment Table This section outlines the process of adding new entries or modifying existing records within the Workflow Equipment table using the dedicated API endpoint. @@ -1402,7 +1528,7 @@ IRestResponse response = client.Execute(request); ``` -### 15. Workflow Facility Table +### 16. Workflow Facility Table This section outlines the process of adding new entries or modifying existing records within the Workflow Facility table using the dedicated API endpoint. @@ -1489,7 +1615,7 @@ IRestResponse response = client.Execute(request); ``` -### 16. Workflow Person Table +### 17. Workflow Person Table This section outlines the process of adding new entries or modifying existing records within the Workflow Person table using the dedicated API endpoint. From 28f87717d1f15d84bd3ff1dbf56ae9d48a2d8bd5 Mon Sep 17 00:00:00 2001 From: ArjunSinghILX Date: Tue, 21 Oct 2025 20:54:52 +0530 Subject: [PATCH 07/13] [ILX-57292] Add doc for Regulation POST --- source/includes/acts/post_api.md | 129 ++++++++++++++++++++++++++++--- 1 file changed, 118 insertions(+), 11 deletions(-) diff --git a/source/includes/acts/post_api.md b/source/includes/acts/post_api.md index 873c421bd14..6523a6ac631 100644 --- a/source/includes/acts/post_api.md +++ b/source/includes/acts/post_api.md @@ -1136,11 +1136,120 @@ IRestResponse response = client.Execute(request); ``` -### 12. Requirement Table +### 12. Regulation Table + +This section outlines the process of adding new entries or modifying existing records within the Regulation table using the dedicated API endpoint. + +**Requirement POST Endpoint** + +`POST` /actsapi/v1/regulation + +> Example Request & JSON Input Body + +```javascript +var request = require("request"); + +var options = { method: 'POST', + url: 'https://[tenant].actsapi.intelex.com/actsapi/v1/regulation', + headers: { 'content-type': 'application/json' }, + body: + [ + { + "activeDate": "2025-10-21T15:14:09.542Z", + "inactiveDate": "2025-10-21T15:14:09.543Z", + "externalIdentifier": "string", + "comments": "string", + "regulationId": "number", + "agencyId": "number", + "regulationTypeId": "number", + "mediaId": "number", + "regulationName": "string", + "regulationStatusId": "number", + "applicationDate": "2025-10-21T15:14:09.543Z", + "completeDate": "2025-10-21T15:14:09.543Z", + "publicNoticeDate": "2025-10-21T15:14:09.543Z", + "issueDate": "2025-10-21T15:14:09.543Z", + "renewalDate": "2025-10-21T15:14:09.543Z", + "expirationDate": "2025-10-21T15:14:09.543Z", + "description": "string", + "applicabilityCriteria": "string", + "sortOrder": "number" + } + ], + json: true }; + + +request(options, function (error, response, body) { + if (error) throw new Error(error); + + console.log(body); +}); +``` + +```csharp +var client = new RestClient("https://[tenant].actsapi.intelex.com/actsapi/v1/regulation"); +var request = new RestRequest(Method.POST); +request.AddHeader("content-type", "application/json"); +request.AddParameter("application/json", "[{\"activeDate\":\"2025-10-21T15:14:09.542Z\",\"inactiveDate\":\"2025-10-21T15:14:09.543Z\",\"externalIdentifier\":\"string\",\"comments\":\"string\",\"regulationId\":\"number\",\"agencyId\":\"number\",\"regulationTypeId\":\"number\",\"mediaId\":\"number\",\"regulationName\":\"string\",\"regulationStatusId\":\"number\",\"applicationDate\":\"2025-10-21T15:14:09.543Z\",\"completeDate\":\"2025-10-21T15:14:09.543Z\",\"publicNoticeDate\":\"2025-10-21T15:14:09.543Z\",\"issueDate\":\"2025-10-21T15:14:09.543Z\",\"renewalDate\":\"2025-10-21T15:14:09.543Z\",\"expirationDate\":\"2025-10-21T15:14:09.543Z\",\"description\":\"string\",\"applicabilityCriteria\":\"string\",\"sortOrder\":\"number\"}]", ParameterType.RequestBody); +IRestResponse response = client.Execute(request); +``` + +> Input JSON Body + +```json +[ + { + "activeDate": "2025-10-21T15:14:09.542Z", + "inactiveDate": "2025-10-21T15:14:09.543Z", + "externalIdentifier": "string", + "comments": "string", + "regulationId": "number", + "agencyId": "number", + "regulationTypeId": "number", + "mediaId": "number", + "regulationName": "string", + "regulationStatusId": "number", + "applicationDate": "2025-10-21T15:14:09.543Z", + "completeDate": "2025-10-21T15:14:09.543Z", + "publicNoticeDate": "2025-10-21T15:14:09.543Z", + "issueDate": "2025-10-21T15:14:09.543Z", + "renewalDate": "2025-10-21T15:14:09.543Z", + "expirationDate": "2025-10-21T15:14:09.543Z", + "description": "string", + "applicabilityCriteria": "string", + "sortOrder": "number" + } +] +``` +> Example Response + +```json +{ + "insertedRowCount" : 2, + "updatedRowCount" : 3, + "failureCount" : 0, + "errorMessage" : [] +} +``` + +> Example Output For When Data Get's Failed To Insert or Update + +```json +{ + "insertedRowCount": 0, + "updatedRowCount": 0, + "failureCount": 1, + "errorMessage": [ + "RegulationId: 103356 does not exist" + ] +} +``` + +### 13. Requirement Table This section outlines the process of adding new entries or modifying existing records within the Requirement table using the dedicated API endpoint. -**Workflow POST Endpoint** +**Requirement POST Endpoint** `POST` /actsapi/v1/requirement @@ -1179,7 +1288,6 @@ var options = { method: 'POST', "conditionalFormula": "string", "activeDate": "2024-01-03T08:16:24.155Z", "inactiveDate": "2024-01-03T08:16:24.155Z", - "lastModifiedDate": "2024-01-03T08:16:24.155Z", "externalIdentifier": "string", "comments": "string" } @@ -1195,10 +1303,10 @@ request(options, function (error, response, body) { ``` ```csharp -var client = new RestClient("https://[tenant].actsapi.intelex.com/actsapi/v1/workflow"); +var client = new RestClient("https://[tenant].actsapi.intelex.com/actsapi/v1/requirement"); var request = new RestRequest(Method.POST); request.AddHeader("content-type", "application/json"); -request.AddParameter("application/json", "[{\"requirementId\":\"number\",\"regulationId\":\"number\",\"requirementTypeId\":\"number\",\"requirementName\":\"string\",\"requirementFrequencyId\":\"number\",\"requirementCategoryId\":\"number\",\"regulationActivityId\":\"number\",\"description\":\"string\",\"associatedRequirements\":\"string\",\"applicabilityCriteria\":\"string\",\"sortOrder\":\"number\",\"generateTaskInd\":\"string\",\"taskText\":\"string\",\"firstDueDate\":\"2024-01-03T08:16:24.155Z\",\"generateFacilityTasksInd\":\"string\",\"combineTasksInd\":\"string\",\"attributeTypeId\":\"number\",\"triggerOffset\":\"number\",\"triggerOffsetType\":\"string\",\"creationOffset\":\"number\",\"dependentRequirementId\":\"number\",\"conditionalFormula\":\"string\",\"activeDate\":\"2024-01-03T08:16:24.155Z\",\"inactiveDate\":\"2024-01-03T08:16:24.155Z\",\"lastModifiedDate\":\"2024-01-03T08:16:24.155Z\",\"externalIdentifier\":\"string\",\"comments\":\"string\"}]", ParameterType.RequestBody); +request.AddParameter("application/json", "[{\"requirementId\":\"number\",\"regulationId\":\"number\",\"requirementTypeId\":\"number\",\"requirementName\":\"string\",\"requirementFrequencyId\":\"number\",\"requirementCategoryId\":\"number\",\"regulationActivityId\":\"number\",\"description\":\"string\",\"associatedRequirements\":\"string\",\"applicabilityCriteria\":\"string\",\"sortOrder\":\"number\",\"generateTaskInd\":\"string\",\"taskText\":\"string\",\"firstDueDate\":\"2024-01-03T08:16:24.155Z\",\"generateFacilityTasksInd\":\"string\",\"combineTasksInd\":\"string\",\"attributeTypeId\":\"number\",\"triggerOffset\":\"number\",\"triggerOffsetType\":\"string\",\"creationOffset\":\"number\",\"dependentRequirementId\":\"number\",\"conditionalFormula\":\"string\",\"activeDate\":\"2024-01-03T08:16:24.155Z\",\"inactiveDate\":\"2024-01-03T08:16:24.155Z\",\"externalIdentifier\":\"string\",\"comments\":\"string\"}]", ParameterType.RequestBody); IRestResponse response = client.Execute(request); ``` @@ -1231,7 +1339,6 @@ IRestResponse response = client.Execute(request); "conditionalFormula": "string", "activeDate": "2024-01-03T08:16:24.155Z", "inactiveDate": "2024-01-03T08:16:24.155Z", - "lastModifiedDate": "2024-01-03T08:16:24.155Z", "externalIdentifier": "string", "comments": "string" } @@ -1262,7 +1369,7 @@ IRestResponse response = client.Execute(request); ``` -### 13. Workflow Table +### 14. Workflow Table This section outlines the process of adding new entries or modifying existing records within the Workflow table using the dedicated API endpoint. @@ -1348,7 +1455,7 @@ IRestResponse response = client.Execute(request); ``` -### 14. Workflow Answer Table +### 15. Workflow Answer Table This section outlines the process of adding new entries or modifying existing records within the Workflow Answer table using the dedicated API endpoint. @@ -1442,7 +1549,7 @@ IRestResponse response = client.Execute(request); ``` -### 15. Workflow Equipment Table +### 16. Workflow Equipment Table This section outlines the process of adding new entries or modifying existing records within the Workflow Equipment table using the dedicated API endpoint. @@ -1528,7 +1635,7 @@ IRestResponse response = client.Execute(request); ``` -### 16. Workflow Facility Table +### 17. Workflow Facility Table This section outlines the process of adding new entries or modifying existing records within the Workflow Facility table using the dedicated API endpoint. @@ -1615,7 +1722,7 @@ IRestResponse response = client.Execute(request); ``` -### 17. Workflow Person Table +### 18. Workflow Person Table This section outlines the process of adding new entries or modifying existing records within the Workflow Person table using the dedicated API endpoint. From b4c7b0885ee67c9674a0d239315ffa2f52285a9f Mon Sep 17 00:00:00 2001 From: ArjunSinghILX Date: Tue, 21 Oct 2025 20:58:39 +0530 Subject: [PATCH 08/13] [ILX-57292] Update doc for Regulation and Requirement POST --- source/includes/acts/post_api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/includes/acts/post_api.md b/source/includes/acts/post_api.md index 6523a6ac631..b4789940c79 100644 --- a/source/includes/acts/post_api.md +++ b/source/includes/acts/post_api.md @@ -1240,7 +1240,7 @@ IRestResponse response = client.Execute(request); "updatedRowCount": 0, "failureCount": 1, "errorMessage": [ - "RegulationId: 103356 does not exist" + "Not found RegulationIds: 123041" ] } ``` From bfc8cdd0fa1516020a776e596ecb10ef745c4a3d Mon Sep 17 00:00:00 2001 From: ArjunSinghILX Date: Tue, 21 Oct 2025 21:22:09 +0530 Subject: [PATCH 09/13] [ILX-57292] Add doc for Requirement Limit POST --- source/includes/acts/post_api.md | 126 +++++++++++++++++++++++++++++-- 1 file changed, 121 insertions(+), 5 deletions(-) diff --git a/source/includes/acts/post_api.md b/source/includes/acts/post_api.md index b4789940c79..c2eca1903ba 100644 --- a/source/includes/acts/post_api.md +++ b/source/includes/acts/post_api.md @@ -1368,8 +1368,124 @@ IRestResponse response = client.Execute(request); } ``` +### 14. Requirement Limit Table -### 14. Workflow Table +This section outlines the process of adding new entries or modifying existing records within the Requirement Limit table using the dedicated API endpoint. + +**Requirement Limit POST Endpoint** + +`POST` /actsapi/v1/requirementlimit + +> Example Request & JSON Input Body + +```javascript +var request = require("request"); + +var options = { method: 'POST', + url: 'https://[tenant].actsapi.intelex.com/actsapi/v1/requirementlimit', + headers: { 'content-type': 'application/json' }, + body: + [ + { + "activeDate": "2025-10-21T15:34:20.173Z", + "inactiveDate": "2025-10-21T15:34:20.173Z", + "externalIdentifier": "string", + "comments": "string", + "requirementLimitId": "number", + "requirementId": "number", + "requirementLimitTypeId": "number", + "compoundId": "number", + "compoundGroupTypeId": "number", + "unitId": "number", + "operator": "string", + "limitThreshold": "number", + "compareLimitInd": "string", + "compareDecimalPlaces": "number", + "compareOffset": "number", + "compareDays": "number", + "limitViolationText": "string", + "emissionTypeId": "number", + "emissionCategoryId": "number", + "operationTypeId": "number", + "analysisTypeId": "number", + "analysisValueName": "string", + "customLimitThreshold": "string", + "sortOrder": "number" + } + ], + json: true }; + +request(options, function (error, response, body) { + if (error) throw new Error(error); + console.log(body); +}); +``` + +```csharp +var client = new RestClient("https://[tenant].actsapi.intelex.com/actsapi/v1/requirementlimit"); +var request = new RestRequest(Method.POST); +request.AddHeader("content-type", "application/json"); +request.AddParameter("application/json", "[{\"activeDate\":\"2025-10-21T15:34:20.173Z\",\"inactiveDate\":\"2025-10-21T15:34:20.173Z\",\"externalIdentifier\":\"string\",\"comments\":\"string\",\"requirementLimitId\":\"number\",\"requirementId\":\"number\",\"requirementLimitTypeId\":\"number\",\"compoundId\":\"number\",\"compoundGroupTypeId\":\"number\",\"unitId\":\"number\",\"operator\":\"string\",\"limitThreshold\":\"number\",\"compareLimitInd\":\"string\",\"compareDecimalPlaces\":\"number\",\"compareOffset\":\"number\",\"compareDays\":\"number\",\"limitViolationText\":\"string\",\"emissionTypeId\":\"number\",\"emissionCategoryId\":\"number\",\"operationTypeId\":\"number\",\"analysisTypeId\":\"number\",\"analysisValueName\":\"string\",\"customLimitThreshold\":\"string\",\"sortOrder\":\"number\"}]", ParameterType.RequestBody); +IRestResponse response = client.Execute(request); +``` + +> Input JSON Body + +```json +[ + { + "activeDate": "2025-10-21T15:34:20.173Z", + "inactiveDate": "2025-10-21T15:34:20.173Z", + "externalIdentifier": "string", + "comments": "string", + "requirementLimitId": "number", + "requirementId": "number", + "requirementLimitTypeId": "number", + "compoundId": "number", + "compoundGroupTypeId": "number", + "unitId": "number", + "operator": "string", + "limitThreshold": "number", + "compareLimitInd": "string", + "compareDecimalPlaces": "number", + "compareOffset": "number", + "compareDays": "number", + "limitViolationText": "string", + "emissionTypeId": "number", + "emissionCategoryId": "number", + "operationTypeId": "number", + "analysisTypeId": "number", + "analysisValueName": "string", + "customLimitThreshold": "string", + "sortOrder": "number" + } +] +``` +> Example Response + +```json +{ + "insertedRowCount" : 1, + "updatedRowCount" : 0, + "failureCount" : 0, + "errorMessage" : [] +} +``` + +> Example Output For When Data Get's Failed To Insert or Update + +```json +{ + "insertedRowCount": 0, + "updatedRowCount": 0, + "failureCount": 1, + "errorMessage": [ + "Not found RequirementLimitIds: 12345" + ] +} +``` + +### 15. Workflow Table This section outlines the process of adding new entries or modifying existing records within the Workflow table using the dedicated API endpoint. @@ -1455,7 +1571,7 @@ IRestResponse response = client.Execute(request); ``` -### 15. Workflow Answer Table +### 16. Workflow Answer Table This section outlines the process of adding new entries or modifying existing records within the Workflow Answer table using the dedicated API endpoint. @@ -1549,7 +1665,7 @@ IRestResponse response = client.Execute(request); ``` -### 16. Workflow Equipment Table +### 17. Workflow Equipment Table This section outlines the process of adding new entries or modifying existing records within the Workflow Equipment table using the dedicated API endpoint. @@ -1635,7 +1751,7 @@ IRestResponse response = client.Execute(request); ``` -### 17. Workflow Facility Table +### 18. Workflow Facility Table This section outlines the process of adding new entries or modifying existing records within the Workflow Facility table using the dedicated API endpoint. @@ -1722,7 +1838,7 @@ IRestResponse response = client.Execute(request); ``` -### 18. Workflow Person Table +### 19. Workflow Person Table This section outlines the process of adding new entries or modifying existing records within the Workflow Person table using the dedicated API endpoint. From 30c92a327edd65520bd70e86ccf34c442f137761 Mon Sep 17 00:00:00 2001 From: ArjunSinghILX Date: Tue, 21 Oct 2025 21:30:30 +0530 Subject: [PATCH 10/13] [ILX-57292] Add doc for Requirement DELETE --- source/includes/acts/delete_api.md | 53 ++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/source/includes/acts/delete_api.md b/source/includes/acts/delete_api.md index 8464c372651..52d39134d94 100644 --- a/source/includes/acts/delete_api.md +++ b/source/includes/acts/delete_api.md @@ -306,3 +306,56 @@ IRestResponse response = client.Execute(request); ``` +### 6. Requirement Table + +This section guides you through the process of removing/deleting the existing records from the Requirement table using the designated API endpoint. + +**Requirement DELETE endpoint** + +`DELETE` /actsapi/v1/requirement + +> Example Request & JSON Input Body + +```javascript +var request = require("request"); + +var options = { method: 'DELETE', + url: 'https://[tenant].actsapi.intelex.com/actsapi/v1/requirement', + headers: { 'content-type': 'application/json' }, + body: + { [requirementId1, requirementId2, requirementId3....] + }, + json: true }; + +request(options, function (error, response, body) { + if (error) throw new Error(error); + + console.log(body); +}); +``` + +```csharp +var client = new RestClient("https://[tenant].actsapi.intelex.com/actsapi/v1/requirement"); +var request = new RestRequest(Method.DELETE); +request.AddHeader("content-type", "application/json"); +request.AddParameter("application/json", "{\r\n [requirementId1, requirementId2, requirementId3....]\r\n}", ParameterType.RequestBody); +IRestResponse response = client.Execute(request); +``` + +> Input JSON Body + +```json + { + [requirementId1, requirementId2, requirementId3....] + } +``` +> Example Response + +```json +{ + "deletedRowCount": 1, + "notFoundCount": 0, + "failureCount": 0, + "errorMessage" : [] +} +``` \ No newline at end of file From 656a9d6d6c4e0a0742e00acd2552f444f90f21ef Mon Sep 17 00:00:00 2001 From: ArjunSinghILX Date: Tue, 21 Oct 2025 21:31:31 +0530 Subject: [PATCH 11/13] [ILX-57292] Add doc for Regulation DELETE --- source/includes/acts/delete_api.md | 56 +++++++++++++++++++++++++++++- 1 file changed, 55 insertions(+), 1 deletion(-) diff --git a/source/includes/acts/delete_api.md b/source/includes/acts/delete_api.md index 52d39134d94..921109e71e4 100644 --- a/source/includes/acts/delete_api.md +++ b/source/includes/acts/delete_api.md @@ -306,7 +306,61 @@ IRestResponse response = client.Execute(request); ``` -### 6. Requirement Table +### 6. Regulation Table + +This section guides you through the process of removing/deleting the existing records from the Regulation table using the designated API endpoint. + +**Regulation DELETE endpoint** + +`DELETE` /actsapi/v1/regulation + +> Example Request & JSON Input Body + +```javascript +var request = require("request"); + +var options = { method: 'DELETE', + url: 'https://[tenant].actsapi.intelex.com/actsapi/v1/regulation', + headers: { 'content-type': 'application/json' }, + body: + { [regulationId1, regulationId2, regulationId3....] + }, + json: true }; + +request(options, function (error, response, body) { + if (error) throw new Error(error); + + console.log(body); +}); +``` + +```csharp +var client = new RestClient("https://[tenant].actsapi.intelex.com/actsapi/v1/regulation"); +var request = new RestRequest(Method.DELETE); +request.AddHeader("content-type", "application/json"); +request.AddParameter("application/json", "{\r\n [regulationId1, regulationId2, regulationId3....]\r\n}", ParameterType.RequestBody); +IRestResponse response = client.Execute(request); +``` + +> Input JSON Body + +```json + { + [regulationId1, regulationId2, regulationId3....] + } +``` +> Example Response + +```json +{ + "deletedRowCount": 1, + "notFoundCount": 0, + "failureCount": 0, + "errorMessage" : [] +} +``` + +### 7. Requirement Table This section guides you through the process of removing/deleting the existing records from the Requirement table using the designated API endpoint. From 4cedae063d83bb064a96a53c94e0e960f327e91a Mon Sep 17 00:00:00 2001 From: ArjunSinghILX Date: Tue, 21 Oct 2025 21:33:22 +0530 Subject: [PATCH 12/13] [ILX-57292] Add doc for Requirement Limit DELETE --- source/includes/acts/delete_api.md | 54 ++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/source/includes/acts/delete_api.md b/source/includes/acts/delete_api.md index 921109e71e4..22c89770f08 100644 --- a/source/includes/acts/delete_api.md +++ b/source/includes/acts/delete_api.md @@ -405,6 +405,60 @@ IRestResponse response = client.Execute(request); ``` > Example Response +```json +{ + "deletedRowCount": 1, + "notFoundCount": 0, + "failureCount": 0, + "errorMessage" : [] +} +``` + +### 8. Requirement Limit Table + +This section guides you through the process of removing/deleting the existing records from the Requirement Limit table using the designated API endpoint. + +**Requirement Limit DELETE endpoint** + +`DELETE` /actsapi/v1/requirementlimit + +> Example Request & JSON Input Body + +```javascript +var request = require("request"); + +var options = { method: 'DELETE', + url: 'https://[tenant].actsapi.intelex.com/actsapi/v1/requirementlimit', + headers: { 'content-type': 'application/json' }, + body: + { [requirementLimitId1, requirementLimitId2, requirementLimitId3....] + }, + json: true }; + +request(options, function (error, response, body) { + if (error) throw new Error(error); + + console.log(body); +}); +``` + +```csharp +var client = new RestClient("https://[tenant].actsapi.intelex.com/actsapi/v1/requirementlimit"); +var request = new RestRequest(Method.DELETE); +request.AddHeader("content-type", "application/json"); +request.AddParameter("application/json", "{\r\n [requirementLimitId1, requirementLimitId2, requirementLimitId3....]\r\n}", ParameterType.RequestBody); +IRestResponse response = client.Execute(request); +``` + +> Input JSON Body + +```json + { + [requirementLimitId1, requirementLimitId2, requirementLimitId3....] + } +``` +> Example Response + ```json { "deletedRowCount": 1, From 8d4d1480569634b5ca7d2df81daf935a8592215f Mon Sep 17 00:00:00 2001 From: ArjunSinghILX Date: Wed, 22 Oct 2025 16:30:48 +0530 Subject: [PATCH 13/13] [ILX-57292] Fix for typos and other issues --- source/includes/acts/get_api.md | 14 +++++++------- source/includes/acts/post_api.md | 8 ++++---- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/source/includes/acts/get_api.md b/source/includes/acts/get_api.md index a8b6abd3290..8818c1c9e24 100644 --- a/source/includes/acts/get_api.md +++ b/source/includes/acts/get_api.md @@ -265,7 +265,7 @@ compoundIds| int | The unique identifier of the associated compound calculationIds| int | The unique identifier of the associated calculation estimatedInd| string | Estimated Ind can be of value 'Y' or 'N' badDataFlag| boolean | Bad Data flag can be of value true or false -externalIdentifier| string | External Identifier a unique identifier for this record to an external data +externalIdentifier| string | External Identifier is a unique identifier for this record to an external data system lastModifiedStartDate| datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" lastModifiedEndDate| datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" activeStartDate| datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" @@ -1272,7 +1272,7 @@ renewalStartDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex renewalEndDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" expirationStartDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" expirationEndDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" -externalIdentifier| string | External Identifier a unique identifier for this record to an external data +externalIdentifier| string | External Identifier is a unique identifier for this record to an external data system lastModifiedStartDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" lastModifiedEndDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" activeStartDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" @@ -1357,8 +1357,8 @@ Attribute | Type | Description | PageNumber | int | Page number of the results to fetch. PageSize | int | The number of results per page regulationTypeIds | int | Regulation Type ID is one of the unique identifier for this regulation type record -reuglationTypes | string | Regulation Types is one of the filter option and the parameter is for the type of the regulation -externalIdentifier| string | External Identifier a unique identifier for this record to an external data +regulationTypes | string | Regulation Types is one of the filter option and the parameter is for the type of the regulation +externalIdentifier| string | External Identifier is a unique identifier for this record to an external data system lastModifiedStartDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" lastModifiedEndDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" @@ -1445,9 +1445,9 @@ requirementIds | int | Requirement ID is one of the unique identifier for this r regulationIds | int | The unique identifier of the associated regulation requirementTypeIds | int | The unique identifier of the associated requirement type requirementNames | string | Requirement Names is one of the filter option and the parameter is for the name of the requirement -requirementCategoryIds | int | The unique identifier of the associated requirement category type +requirementCategoryIds | int | The unique identifier of the associated requirement category regulationActivityIds | int | The unique identifier of the associated regulation activity -externalIdentifier| string | External Identifier a unique identifier for this record to an external data +externalIdentifier| string | External Identifier is a unique identifier for this record to an external data system lastModifiedStartDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" lastModifiedEndDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" activeStartDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" @@ -1542,7 +1542,7 @@ emissionTypeIds | int | The unique identifier of the associated emission type emissionCategoryIds | int | The unique identifier of the associated emission category operationTypeIds | int | The unique identifier of the associated operation type analysisTypeIds | int | The unique identifier of the associated operation type -externalIdentifier| string | External Identifier a unique identifier for this record to an external data +externalIdentifier| string | External Identifier is a unique identifier for this record to an external data system lastModifiedStartDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" lastModifiedEndDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" activeStartDate | datetime | Date time format "yyyy/mm/dd T hours:min:secZ - Ex : 2017-02-13T22:15:30Z" diff --git a/source/includes/acts/post_api.md b/source/includes/acts/post_api.md index c2eca1903ba..a651db78911 100644 --- a/source/includes/acts/post_api.md +++ b/source/includes/acts/post_api.md @@ -1140,7 +1140,7 @@ IRestResponse response = client.Execute(request); This section outlines the process of adding new entries or modifying existing records within the Regulation table using the dedicated API endpoint. -**Requirement POST Endpoint** +**Regulation POST Endpoint** `POST` /actsapi/v1/regulation @@ -1374,7 +1374,7 @@ This section outlines the process of adding new entries or modifying existing re **Requirement Limit POST Endpoint** -`POST` /actsapi/v1/requirementlimit +`POST` /actsapi/v1/requirementLimit > Example Request & JSON Input Body @@ -1382,7 +1382,7 @@ This section outlines the process of adding new entries or modifying existing re var request = require("request"); var options = { method: 'POST', - url: 'https://[tenant].actsapi.intelex.com/actsapi/v1/requirementlimit', + url: 'https://[tenant].actsapi.intelex.com/actsapi/v1/requirementLimit', headers: { 'content-type': 'application/json' }, body: [ @@ -1422,7 +1422,7 @@ request(options, function (error, response, body) { ``` ```csharp -var client = new RestClient("https://[tenant].actsapi.intelex.com/actsapi/v1/requirementlimit"); +var client = new RestClient("https://[tenant].actsapi.intelex.com/actsapi/v1/requirementLimit"); var request = new RestRequest(Method.POST); request.AddHeader("content-type", "application/json"); request.AddParameter("application/json", "[{\"activeDate\":\"2025-10-21T15:34:20.173Z\",\"inactiveDate\":\"2025-10-21T15:34:20.173Z\",\"externalIdentifier\":\"string\",\"comments\":\"string\",\"requirementLimitId\":\"number\",\"requirementId\":\"number\",\"requirementLimitTypeId\":\"number\",\"compoundId\":\"number\",\"compoundGroupTypeId\":\"number\",\"unitId\":\"number\",\"operator\":\"string\",\"limitThreshold\":\"number\",\"compareLimitInd\":\"string\",\"compareDecimalPlaces\":\"number\",\"compareOffset\":\"number\",\"compareDays\":\"number\",\"limitViolationText\":\"string\",\"emissionTypeId\":\"number\",\"emissionCategoryId\":\"number\",\"operationTypeId\":\"number\",\"analysisTypeId\":\"number\",\"analysisValueName\":\"string\",\"customLimitThreshold\":\"string\",\"sortOrder\":\"number\"}]", ParameterType.RequestBody);