Base URL: /v1/, Version:
This is the API that is implemented by a DCOM Rule Engine to connect to it. version: '1.0.0'
Path | Operation | Description |
---|---|---|
/v1/ | GET |
Retrieves the basic metadata about the Rule Engine |
PUT |
Initialises a compliance check |
|
/v1/{complianceCheckUID} | GET |
Returns an overview of the project entities that the rule engine is aware of and the data required for them |
POST |
Updates the ID Set used within the Rule Engine |
|
/v1/{complianceCheckUID}/answers | POST |
Enables the submission of answers to compliance questions to the rule engine |
/v1/{complianceCheckUID}/approval | POST |
Enables the signalling of approval (or not) and the transmission of associated conditions with an approval to the rule engine for onward transmission to the result service. |
/v1/{complianceCheckUID}/bcf | GET |
Enables the retrieval of a BCF File documenting any issues identified by the rule engine as part of the checking process |
/v1/{complianceCheckUID}/data | POST |
Enables the submission of compliance data to the rule engine to the implementing service. |
/v1/{complianceCheckUID}/messaging | PUT |
Enables the sending of a message to the other parties in the compliance checking process |
/v1/{complianceCheckUID}/results | GET |
Returns a list of all compliance results from a given compliance check |
POST |
Enables the submission of compliance results to the rule engine. This is used for the manual specification of top level results where automated computation is not possible |
|
/v1/{complianceCheckUID}/{clauseId} | GET |
Retrieves feedback on a given clause |
/v1/{complianceCheckUID}/{entityId} | GET |
Retrieves feedback on a given entity |
A bearer token to identify the connecting service as an authorizied software tool accredited to provide compliance data
A bearer token to identify the connecting user. Acquired from the OAUTH2 Security Service related to this service.
Retrieves the basic metadata about the Rule Engine
Uses default content-types: application/json application/xml
Returns basic metadata about the Rule Engine. Equivalent XML Response is returned if content type is set appropriately.
Initialises a compliance check
Uses default content-types: application/json application/xml
Uses default content-types: application/json application/xml
Returns a GUID for the compliance check
Returns an overview of the project entities that the rule engine is aware of and the data required for them
complianceCheckUID | The Unique ID of a given compliance check |
path | string |
Uses default content-types: application/json application/xml
Returns the set of entities and the data required for them
The set of IDs the rule engine is currently utilising
A set of conditions for the approval submitted to the rule engine.
The overall approval status of this application
A set of logs describing the process of this application.
A set of messages lodges about this application.
The type of authorisation/authentication service used by this rule engine
The URL of the OAUTH2 security service utilised by this rule engine
authUser | |
authService |
Updates the ID used within the Rule Engine
Uses default content-types: application/json application/xml
A list of entity IDs available on the connecting data source.
complianceCheckUID | The Unique ID of a given compliance check |
path | string |
Uses default content-types: application/json application/xml
authUser | |
authService |
Enables the submission of answers to compliance questions to the rule engine
Uses default content-types: application/json application/xml
A set of answers submitted to the rule engine.
complianceCheckUID | The Unique ID of a given compliance check |
path | string |
Uses default content-types: application/json application/xml
authUser | |
authService |
Enables the signalling of approval (or not) and the transmission of associated conditions with an approval to the rule engine for onward transmission to the result service.
Uses default content-types: application/json application/xml
A set of conditions for the approval submitted to the rule engine.
The overall approval status of this application (if changed)
complianceCheckUID | The Unique ID of a given compliance check |
path | string |
Uses default content-types: application/json application/xml
authUser |
Enables the submission of compliance data to the rule engine to the implementing service.
Uses default content-types: application/json application/xml
A set of data submitted to the rule engine.
complianceCheckUID | The Unique ID of a given compliance check |
path | string |
Uses default content-types: application/json application/xml
authUser | |
authService |
Enables the sending of a message to the other parties in the compliance checking process
Uses default content-types: application/json application/xml
The message to send.
complianceCheckUID | The Unique ID of a given compliance check |
path | string |
Uses default content-types: application/json application/xml
authUser |
Returns a list of all compliance results from a given compliance check
complianceCheckUID | The Unique ID of the compliance check being considered |
path | string | |
start | The Start Date/Time to query |
query | string (date-time) | |
end | The End Date/Time to query |
query | string (date-time) | |
search | A free text search field to search results |
query | string |
Uses default content-types: application/json application/xml
Returns a list of Compliance Results. Equivalent XML Response is returned if content type is set appropriately.
authUser |
Enables the submission of compliance results to the rule engine. This is used for the manual specification of top level results where automated computation is not possible
Uses default content-types: application/json application/xml
A set of results submitted to the rule engine.
complianceCheckUID | The Unique ID of a given compliance check |
path | string |
Uses default content-types: application/json application/xml
authUser |
Retrieves feedback on a given clause
complianceCheckUID | The Unique ID of a given compliance check |
path | string | |
clauseId | The unique ID of the clause§ about which feedback is requested. |
path | string |
Uses default content-types: application/json application/xml
returns a set of feedback on the request element/clause
A set of entity IDs that have results applicable to this clause
A set of compliance results grouped by entities (as per the order in in the entities field)
authUser | |
authService |
Retrieves feedback on a given entity
complianceCheckUID | The Unique ID of a given compliance check |
path | string | |
entityId | The unique ID of the entity about which feedback is requested. |
path | string |
Uses default content-types: application/json application/xml
returns a set of feedback on the request element/clause
The list of properties of the give entity that have compliance results
A set of compliance results for this entity grouped by properties (as per the order in in the properties field)
authUser | |
authService |
Represents an answer to questions posed by the rule engine
The id of the property being answered
The Entity ID to which this answer is relevant
The actual answer
The optional miss value. This is an indication, if the answer is false, how far out of tolerance the value is.
The BASE64 Encoded File Data that supports/evidences this answer
The MIME Content Type of the Support file data (if present)
Represents an individual result from a compliance check
Either the clause reference or the property reference depending on the context the reuslt is retrieved
The date/time that this result was generated
A set of reasons why this result has been computed this includes information on what data items have been used, what software tools produced this results, if the result was automatically or human generated etc...
A string describing what/who generated this result
The result that has been computed
The BASE64 Encoded File Data that supports/evidences this answer
The MIME Content Type of the Support file data (if present)
The Submission of a result of a clause
The URI of the clause within a compliance document that this result is generated from
A set of reasons why this result has been computed this includes information on what data items have been used, what software tools produced this results, if the result was automatically or human generated etc...
The result that has been computed
The BASE64 Encoded File Data that supports/evidences this answer
The MIME Content Type of the Support file data (if present)
Represents a data item returned in response to requests from the rule engine
The id of the property being answered
The Entity ID to which this data item is relevant
The data item being returned
Represents a set of entity IDs and their associated metadata
The entity ID
The type of the object
A friendly name to represent the object
A list of key data items for this entity that the rule engine thinks the connecting data source needs to be aware of in order to contextualise itself
A list of data required by the rule engine about this entity. This can either be a request for data or a request to answer a question
An ID of this data item to be used when sending its result back to the rule engine
The name of the property that we wish to retrieve
The unit requested - defaults to unitless if absent
The URI of the clause within a compliance document that this result is generated from
The Information Related to an individual named on a building regulations application
The individuals title.
The individual's name
The individual's company name
The individual's email address
The individual's address
The individual's postcode
The individual's telephone number
The individual's fax number
The individual's mobile phone number
The individual's position in the application
Represents a set of metadata to initialise the compliance check
The project lifecycle stage of this check. Taken from the RIBA2020/CIC plan of work - here.
The type of authorisation/authentication service used by this project
The URL of the OAUTH2 security service utilised by this project
The URI of the clause within a compliance document that is used for this compliance check
A textual identifcation of the type of model server being utilised.
A URI to access a model on a model server. This is passed to building control to allow model access.
The UPRN of the building being considered - as described here
A reference to the regulatory body that should assess this check, or blank if it is not for external assessment
A set of individuals involved in the compliance check
The address where the work is to be carried out
The postcode where the work is to be carried out
A full description of the work
The present use of the building
The proposed use of the building
In scope of Regulatory Reform (Fire Safety) Order 2005
Does applicant consent to extension of proscribed period
Does applicant consent to conditions being applied
Will any electrical installation work be designed, constructed, inspected and tested in accordance with BS7671 or will it be undertaken by an electrician registered with a competent persons scheme?