Demo Using APIs and UI
1. Login as a User
1.1 Get the list of policies.
Displaying list of policies
{
[
{
id: "621376c8e6763a0014fb0de4",
config:{
id: "97379c43-2bce-4e67-9817-a79fbad3e53d",
blockType: "InterfaceContainerBlock"
}
}
]
}1.2 In the policy config there is a root block which is the top of the structure

1.3 Request the config for the root block
Requesting configuration of root block
1.4 Root block contains other blocks in the 'blocks' field. Request the config for the block by the block ID. Recursively repeat this operation for all contained blocks in order to construct all components.
Requesting configuration of block by block ID

1.5 At present only PolicyRolesBlock is available to the user. Select the "INSTALLER" role.
Registering the role as
Path Parameters
Name
Type
Description

1.6 Request the root block and all contained blocks.
1.6.1 Requesting InterfaceStepBlock
Requesting InterfaceStepBlock
1.6.2 Requesting requestVCDocumentBlock
Request requestVCDocumentBlock
1.6.3 Requesting Installer Details
Requesting Installer Details
1.7 Create json according to the schema and send to the requestVCDocumentBlock
Creating JSON and sending it to requestVCDocumentBlock
Request Body
Name
Type
Description

1.8 Request the root block and all contained blocks again.
1.8.1 Requesting InterfaceStepBlock
Requesting InterfaceStepBlock
1.8.2 Requesting InformationBlock
Requesting InformationBlock
1.8.3 Requesting data after approval
Waiting for the data to be approval

2. Login as a Standard Registry
2.1 Request the list of policies.
Request List of policies

2.2 Request the root block and all contained blocks.
2.2.1 Requesting InterfaceContainerBlock
Requesting InterfaceContainerBlock
2.2.2 Requesting InterfaceContainerBlock
Requesting InterfaceContainerBlock
2.2.3 Requesting InterfaceDocumentsSourceBlock
Requesting InterfaceDocumentsSourceBlock
2.2.4 Requesting Approval
Requesting Approval
2.3 In the 'Status Operation' field , there is a link to "approve_documents_btn" block, which requests the Block ID.
Requesting BlockID
Requesting InterfaceActioBlock
2.4 Approve the document


3. Login as the User
3.1 Request the root block and all the contained blocks.
3.1.1 Requesting InterfaceStepBlock
Requesting InterfaceStepBlock
3.1.2 Requesting InterfaceContainerBlock
Requesting InterfaceContainerBlock
3.1.3 Requesting multiple InterfaceContainerBlock
Requesting multiple InterfaceContainerBlock
3.1.4 Requesting InterfaceDocumentsSourceBlock and InterfaceStepBlock
Requesting InterfaceDocumentsSourceBlock and InterfaceStepBlock
3.1.5 Requesting Data
Requesting Data
3.1.6 Requesting requestVCDocumentBlock
Requesting requestVCDocumentBlock
3.1.7 Requesting Data and Schema
Requesting Data and Schema
3.2 In the fields of the grid there is a link to the "download_config_btn" bloc.
Requesting BlockID
3.2.1 Requesting InterfaceActionBlock
Requesting InterfaceActionBlock
3.3 Create a sensor
Creating a Sensor
Request Body
Name
Type
Description


3.4 Refresh the Blocks
3.5 Download the config
Downloading the configuration
Request Body
Name
Type
Description

3.6 Sample MRV Sender Data
Sending MRV Data
Request Body
Name
Type
Description
Last updated