Base URL: /api/, Version:
This is the API for the Result Service version: '1.0.0' Results are immutable, once they are placed into a result service by a rule engine they cannot be changed/deleted.
Path | Operation | Description |
---|---|---|
/v1/ | GET |
Retrieves the basic metadata about the result server |
/v1/{building}/ | GET |
Returns a list of all compliance checks available for a given building |
PATCH |
Submits an update to the buildings UPRN |
|
/v1/{building}/all | GET |
Returns a list of all compliance results across all compliance checks for a given building |
/v1/{building}/{complianceCheckUID} | GET |
Returns a list of all compliance results from a given compliance check for a given building |
PUT |
Submits new compliance results |
An bearer authorization token to prove the service is authorized to submit compliance results
An bearer authorization token to prove the user is authorized to access compliance results. Acquired from the OATH2 Security Service related to this service.
Retrieves the basic metadata about the result server
Uses default content-types: application/json application/xml
Returns basic metadata about the Result Service. Equivalent XML Response is returned if content type is set appropriately.
Returns a list of all compliance checks available for a given building
building | The UPRN of the building being considered - as described here |
path | string |
Uses default content-types: application/json application/xml
Returns a list of Compliance Checks that the user is allowed to view. Equivalent XML Response is returned if content type is set appropriately.
authUser |
Submits an update to the buildings UPRN
Uses default content-types: application/json application/xml
An updated UPRN to be used in place of the existing UPRN
building | The UPRN of the building being considered - as described here |
path | string |
Uses default content-types: application/json application/xml
authUser |
Returns a list of all compliance results across all compliance checks for a given building
building | The UPRN of the building being considered - as described here |
path | string | |
start | The Start Date/Time to query |
query | string (date-time) | |
end | The End Date/Time to query |
query | string (date-time) | |
documentFilter | Filter based on the compliance document against which the compliance check was performed. This is free text - will will be matched against the document path provided within the result service i.e. AD_PartL2A/1 - for AD_PartL2A section 1 |
query | string | |
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 that the user is allowed to view. Equivalent XML Response is returned if content type is set appropriately.
authUser |
Returns a list of all compliance results from a given compliance check for a given building
building | The UPRN of the building being considered - as described here |
path | string | |
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 that the user is allowed to view. Equivalent XML Response is returned if content type is set appropriately.
authUser |
Submits new compliance results
Uses default content-types: application/json application/xml
A an array of conditions set on the approval by building control
building | The UPRN of the building being considered - as described here |
path | string | |
complianceCheckUID | The Unique ID of the compliance check being considered |
path | string |
Uses default content-types: application/json application/xml
authService |
Represents the lists of compliance checks for a given building
The URI of the compliance document this compliance check has checked against
The UID of this compliance check
The Final Result of this compliance check
The date/time that this comliance check was generated
Represents an individual result from a compliance check
The URI of the clause within a compliance document that this result is generated from
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)
Represents the basic metadata of the results service
The name of this result service
A description of this result service
The name of the organisation operating this result service
The type of authorisation/authentication service used by this result service
The URL of the OAUTH2 security service utilised by this result service