8 Service APIs
This section provides a reference for APIs that should be implemented by this Building Block.
Last updated
Was this helpful?
This section provides a reference for APIs that should be implemented by this Building Block.
Last updated
Was this helpful?
This section provides a reference for APIs that should be implemented by this Building Block. The APIs defined here establish a blueprint for how the Building Block will interact with other Building Blocks. Additional APIs may be implemented by the Building Block, but the listed APIs define a minimal set of functionality that should be provided by any implementation of this Building Block.
The provides additional information on how 'adaptors' may be used to translate an existing API to the patterns described here. This section also provides guidance on how candidate products are tested and how GovStack validates a product's API against the API specifications defined here.
The tests for the Consent Building Block can be found in .
The following is an automated rendition of the .
You can see the latest unreleased version of the OpenAPI specification in .
READ - get a Policy object + latest Revisio
Unique ID of an object
An object with id revisionId
GET /apis/GovStack/consent-management-bb//config/policy/{policyId}/ HTTP/1.1
Host: app.swaggerhub.com
Accept: */*
{
"policy": {
"id": "",
"name": "",
"version": "",
"url": "",
"jurisdiction": "",
"industrySector": "",
"dataRetentionPeriodDays": "",
"geographicRestriction": "",
"storageLocation": ""
},
"revision": {
"id": "",
"schemaName": "",
"objectId": "",
"signedWithoutObjectId": "",
"serializedSnapshot": "",
"serializedHash": "",
"timestamp": "",
"authorizedByIndividual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"authorizedByOther": "",
"successor": {
"id": "",
"schemaName": "",
"objectId": "",
"signedWithoutObjectId": "",
"serializedSnapshot": "",
"serializedHash": "",
"timestamp": "",
"authorizedByIndividual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"authorizedByOther": "",
"successor": {
"id": "",
"schemaName": "",
"objectId": "",
"signedWithoutObjectId": "",
"serializedSnapshot": "",
"serializedHash": "",
"timestamp": "",
"authorizedByIndividual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"authorizedByOther": "",
"successor": {
"id": "",
"schemaName": "",
"objectId": "",
"signedWithoutObjectId": "",
"serializedSnapshot": "",
"serializedHash": "",
"timestamp": "",
"authorizedByIndividual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"authorizedByOther": "",
"successor": {
"id": "",
"schemaName": "",
"objectId": "",
"signedWithoutObjectId": "",
"serializedSnapshot": "",
"serializedHash": "",
"timestamp": "",
"authorizedByIndividual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"authorizedByOther": "",
"successor": "[Circular Reference]",
"predecessorHash": "",
"predecessorSignature": ""
},
"predecessorHash": "",
"predecessorSignature": ""
},
"predecessorHash": "",
"predecessorSignature": ""
},
"predecessorHash": "",
"predecessorSignature": ""
},
"predecessorHash": "",
"predecessorSignature": ""
}
}
DELETE - Deletes an existing Policy object, returning a new revision. Deleting a Policy is not possible if it's associated with active DataAgreement.
Unique ID of an object
DELETE /apis/GovStack/consent-management-bb//config/policy/{policyId}/ HTTP/1.1
Host: app.swaggerhub.com
Accept: */*
{
"revision": {
"id": "",
"schemaName": "",
"objectId": "",
"signedWithoutObjectId": "",
"serializedSnapshot": "",
"serializedHash": "",
"timestamp": "",
"authorizedByIndividual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"authorizedByOther": "",
"successor": {
"id": "",
"schemaName": "",
"objectId": "",
"signedWithoutObjectId": "",
"serializedSnapshot": "",
"serializedHash": "",
"timestamp": "",
"authorizedByIndividual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"authorizedByOther": "",
"successor": {
"id": "",
"schemaName": "",
"objectId": "",
"signedWithoutObjectId": "",
"serializedSnapshot": "",
"serializedHash": "",
"timestamp": "",
"authorizedByIndividual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"authorizedByOther": "",
"successor": {
"id": "",
"schemaName": "",
"objectId": "",
"signedWithoutObjectId": "",
"serializedSnapshot": "",
"serializedHash": "",
"timestamp": "",
"authorizedByIndividual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"authorizedByOther": "",
"successor": {
"id": "",
"schemaName": "",
"objectId": "",
"signedWithoutObjectId": "",
"serializedSnapshot": "",
"serializedHash": "",
"timestamp": "",
"authorizedByIndividual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"authorizedByOther": "",
"successor": "[Circular Reference]",
"predecessorHash": "",
"predecessorSignature": ""
},
"predecessorHash": "",
"predecessorSignature": ""
},
"predecessorHash": "",
"predecessorSignature": ""
},
"predecessorHash": "",
"predecessorSignature": ""
},
"predecessorHash": "",
"predecessorSignature": ""
}
}
LIST - returns the current Policy
Unique ID of an object
Requested index for start of resources to be provided in response requested by client
Requested number of resources to be provided in response requested by client
GET /apis/GovStack/consent-management-bb//config/policy/{policyId}/revisions/ HTTP/1.1
Host: app.swaggerhub.com
Accept: */*
{
"policy": {
"id": "",
"name": "",
"version": "",
"url": "",
"jurisdiction": "",
"industrySector": "",
"dataRetentionPeriodDays": "",
"geographicRestriction": "",
"storageLocation": ""
}
}
LIST - Fetches list of readable Policy objects
An object with id revisionId
Requested index for start of resources to be provided in response requested by client
Requested number of resources to be provided in response requested by client
GET /apis/GovStack/consent-management-bb//config/policies/ HTTP/1.1
Host: app.swaggerhub.com
Accept: */*
{
"policies": [
{
"id": "",
"name": "",
"version": "",
"url": "",
"jurisdiction": "",
"industrySector": "",
"dataRetentionPeriodDays": "",
"geographicRestriction": "",
"storageLocation": ""
}
]
}
READ - fetches the latest version of an Agreement
Unique ID of an object
GET /apis/GovStack/consent-management-bb//config/data-agreement/{dataAgreementId}/ HTTP/1.1
Host: app.swaggerhub.com
Accept: */*
{
"dataAgreement": {
"id": "",
"version": "",
"controller": {
"id": "",
"name": "",
"url": ""
},
"policy": {
"id": "",
"name": "",
"version": "",
"url": "",
"jurisdiction": "",
"industrySector": "",
"dataRetentionPeriodDays": "",
"geographicRestriction": "",
"storageLocation": ""
},
"purpose": "",
"lawfulBasis": "",
"dataUse": "",
"dpia": "",
"active": "",
"forgettable": "",
"compatibleWithVersion": {
"id": "",
"version": "",
"controller": {
"id": "",
"name": "",
"url": ""
},
"policy": {
"id": "",
"name": "",
"version": "",
"url": "",
"jurisdiction": "",
"industrySector": "",
"dataRetentionPeriodDays": "",
"geographicRestriction": "",
"storageLocation": ""
},
"purpose": "",
"lawfulBasis": "",
"dataUse": "",
"dpia": "",
"active": "",
"forgettable": "",
"compatibleWithVersion": {
"id": "",
"version": "",
"controller": {
"id": "",
"name": "",
"url": ""
},
"policy": {
"id": "",
"name": "",
"version": "",
"url": "",
"jurisdiction": "",
"industrySector": "",
"dataRetentionPeriodDays": "",
"geographicRestriction": "",
"storageLocation": ""
},
"purpose": "",
"lawfulBasis": "",
"dataUse": "",
"dpia": "",
"active": "",
"forgettable": "",
"compatibleWithVersion": {
"id": "",
"version": "",
"controller": {
"id": "",
"name": "",
"url": ""
},
"policy": {
"id": "",
"name": "",
"version": "",
"url": "",
"jurisdiction": "",
"industrySector": "",
"dataRetentionPeriodDays": "",
"geographicRestriction": "",
"storageLocation": ""
},
"purpose": "",
"lawfulBasis": "",
"dataUse": "",
"dpia": "",
"active": "",
"forgettable": "",
"compatibleWithVersion": {
"id": "",
"version": "",
"controller": {
"id": "",
"name": "",
"url": ""
},
"policy": {
"id": "",
"name": "",
"version": "",
"url": "",
"jurisdiction": "",
"industrySector": "",
"dataRetentionPeriodDays": "",
"geographicRestriction": "",
"storageLocation": ""
},
"purpose": "",
"lawfulBasis": "",
"dataUse": "",
"dpia": "",
"active": "",
"forgettable": "",
"compatibleWithVersion": "[Circular Reference]",
"lifecycle": {
"id": "",
"name": ""
},
"signature": {
"id": "",
"payload": "",
"signature": "",
"verificationMethod": "",
"verificationPayload": "",
"verificationPayloadHash": "",
"verificationArtifact": "",
"verificationSignedBy": "",
"verificationSignedAs": "",
"verificationJwsHeader": "",
"timestamp": "",
"signedWithoutObjectReference": "",
"objectType": "",
"objectReference": ""
}
},
"lifecycle": {
"id": "",
"name": ""
},
"signature": {
"id": "",
"payload": "",
"signature": "",
"verificationMethod": "",
"verificationPayload": "",
"verificationPayloadHash": "",
"verificationArtifact": "",
"verificationSignedBy": "",
"verificationSignedAs": "",
"verificationJwsHeader": "",
"timestamp": "",
"signedWithoutObjectReference": "",
"objectType": "",
"objectReference": ""
}
},
"lifecycle": {
"id": "",
"name": ""
},
"signature": {
"id": "",
"payload": "",
"signature": "",
"verificationMethod": "",
"verificationPayload": "",
"verificationPayloadHash": "",
"verificationArtifact": "",
"verificationSignedBy": "",
"verificationSignedAs": "",
"verificationJwsHeader": "",
"timestamp": "",
"signedWithoutObjectReference": "",
"objectType": "",
"objectReference": ""
}
},
"lifecycle": {
"id": "",
"name": ""
},
"signature": {
"id": "",
"payload": "",
"signature": "",
"verificationMethod": "",
"verificationPayload": "",
"verificationPayloadHash": "",
"verificationArtifact": "",
"verificationSignedBy": "",
"verificationSignedAs": "",
"verificationJwsHeader": "",
"timestamp": "",
"signedWithoutObjectReference": "",
"objectType": "",
"objectReference": ""
}
},
"lifecycle": {
"id": "",
"name": ""
},
"signature": {
"id": "",
"payload": "",
"signature": "",
"verificationMethod": "",
"verificationPayload": "",
"verificationPayloadHash": "",
"verificationArtifact": "",
"verificationSignedBy": "",
"verificationSignedAs": "",
"verificationJwsHeader": "",
"timestamp": "",
"signedWithoutObjectReference": "",
"objectType": "",
"objectReference": ""
}
},
"revision": {
"id": "",
"schemaName": "",
"objectId": "",
"signedWithoutObjectId": "",
"serializedSnapshot": "",
"serializedHash": "",
"timestamp": "",
"authorizedByIndividual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"authorizedByOther": "",
"successor": {
"id": "",
"schemaName": "",
"objectId": "",
"signedWithoutObjectId": "",
"serializedSnapshot": "",
"serializedHash": "",
"timestamp": "",
"authorizedByIndividual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"authorizedByOther": "",
"successor": {
"id": "",
"schemaName": "",
"objectId": "",
"signedWithoutObjectId": "",
"serializedSnapshot": "",
"serializedHash": "",
"timestamp": "",
"authorizedByIndividual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"authorizedByOther": "",
"successor": {
"id": "",
"schemaName": "",
"objectId": "",
"signedWithoutObjectId": "",
"serializedSnapshot": "",
"serializedHash": "",
"timestamp": "",
"authorizedByIndividual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"authorizedByOther": "",
"successor": {
"id": "",
"schemaName": "",
"objectId": "",
"signedWithoutObjectId": "",
"serializedSnapshot": "",
"serializedHash": "",
"timestamp": "",
"authorizedByIndividual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"authorizedByOther": "",
"successor": "[Circular Reference]",
"predecessorHash": "",
"predecessorSignature": ""
},
"predecessorHash": "",
"predecessorSignature": ""
},
"predecessorHash": "",
"predecessorSignature": ""
},
"predecessorHash": "",
"predecessorSignature": ""
},
"predecessorHash": "",
"predecessorSignature": ""
}
}
Unique ID of an object
DELETE /apis/GovStack/consent-management-bb//config/data-agreement/{dataAgreementId}/ HTTP/1.1
Host: app.swaggerhub.com
Accept: */*
{
"revision": {
"id": "",
"schemaName": "",
"objectId": "",
"signedWithoutObjectId": "",
"serializedSnapshot": "",
"serializedHash": "",
"timestamp": "",
"authorizedByIndividual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"authorizedByOther": "",
"successor": {
"id": "",
"schemaName": "",
"objectId": "",
"signedWithoutObjectId": "",
"serializedSnapshot": "",
"serializedHash": "",
"timestamp": "",
"authorizedByIndividual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"authorizedByOther": "",
"successor": {
"id": "",
"schemaName": "",
"objectId": "",
"signedWithoutObjectId": "",
"serializedSnapshot": "",
"serializedHash": "",
"timestamp": "",
"authorizedByIndividual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"authorizedByOther": "",
"successor": {
"id": "",
"schemaName": "",
"objectId": "",
"signedWithoutObjectId": "",
"serializedSnapshot": "",
"serializedHash": "",
"timestamp": "",
"authorizedByIndividual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"authorizedByOther": "",
"successor": {
"id": "",
"schemaName": "",
"objectId": "",
"signedWithoutObjectId": "",
"serializedSnapshot": "",
"serializedHash": "",
"timestamp": "",
"authorizedByIndividual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"authorizedByOther": "",
"successor": "[Circular Reference]",
"predecessorHash": "",
"predecessorSignature": ""
},
"predecessorHash": "",
"predecessorSignature": ""
},
"predecessorHash": "",
"predecessorSignature": ""
},
"predecessorHash": "",
"predecessorSignature": ""
},
"predecessorHash": "",
"predecessorSignature": ""
}
}
LIST - fetch all DataAgreements
Requested index for start of resources to be provided in response requested by client
Requested number of resources to be provided in response requested by client
GET /apis/GovStack/consent-management-bb//config/data-agreements/ HTTP/1.1
Host: app.swaggerhub.com
Accept: */*
{
"dataAgreement": [
{
"id": "",
"version": "",
"controller": {
"id": "",
"name": "",
"url": ""
},
"policy": {
"id": "",
"name": "",
"version": "",
"url": "",
"jurisdiction": "",
"industrySector": "",
"dataRetentionPeriodDays": "",
"geographicRestriction": "",
"storageLocation": ""
},
"purpose": "",
"lawfulBasis": "",
"dataUse": "",
"dpia": "",
"active": "",
"forgettable": "",
"compatibleWithVersion": {
"id": "",
"version": "",
"controller": {
"id": "",
"name": "",
"url": ""
},
"policy": {
"id": "",
"name": "",
"version": "",
"url": "",
"jurisdiction": "",
"industrySector": "",
"dataRetentionPeriodDays": "",
"geographicRestriction": "",
"storageLocation": ""
},
"purpose": "",
"lawfulBasis": "",
"dataUse": "",
"dpia": "",
"active": "",
"forgettable": "",
"compatibleWithVersion": {
"id": "",
"version": "",
"controller": {
"id": "",
"name": "",
"url": ""
},
"policy": {
"id": "",
"name": "",
"version": "",
"url": "",
"jurisdiction": "",
"industrySector": "",
"dataRetentionPeriodDays": "",
"geographicRestriction": "",
"storageLocation": ""
},
"purpose": "",
"lawfulBasis": "",
"dataUse": "",
"dpia": "",
"active": "",
"forgettable": "",
"compatibleWithVersion": {
"id": "",
"version": "",
"controller": {
"id": "",
"name": "",
"url": ""
},
"policy": {
"id": "",
"name": "",
"version": "",
"url": "",
"jurisdiction": "",
"industrySector": "",
"dataRetentionPeriodDays": "",
"geographicRestriction": "",
"storageLocation": ""
},
"purpose": "",
"lawfulBasis": "",
"dataUse": "",
"dpia": "",
"active": "",
"forgettable": "",
"compatibleWithVersion": "[Circular Reference]",
"lifecycle": {
"id": "",
"name": ""
},
"signature": {
"id": "",
"payload": "",
"signature": "",
"verificationMethod": "",
"verificationPayload": "",
"verificationPayloadHash": "",
"verificationArtifact": "",
"verificationSignedBy": "",
"verificationSignedAs": "",
"verificationJwsHeader": "",
"timestamp": "",
"signedWithoutObjectReference": "",
"objectType": "",
"objectReference": ""
}
},
"lifecycle": {
"id": "",
"name": ""
},
"signature": {
"id": "",
"payload": "",
"signature": "",
"verificationMethod": "",
"verificationPayload": "",
"verificationPayloadHash": "",
"verificationArtifact": "",
"verificationSignedBy": "",
"verificationSignedAs": "",
"verificationJwsHeader": "",
"timestamp": "",
"signedWithoutObjectReference": "",
"objectType": "",
"objectReference": ""
}
},
"lifecycle": {
"id": "",
"name": ""
},
"signature": {
"id": "",
"payload": "",
"signature": "",
"verificationMethod": "",
"verificationPayload": "",
"verificationPayloadHash": "",
"verificationArtifact": "",
"verificationSignedBy": "",
"verificationSignedAs": "",
"verificationJwsHeader": "",
"timestamp": "",
"signedWithoutObjectReference": "",
"objectType": "",
"objectReference": ""
}
},
"lifecycle": {
"id": "",
"name": ""
},
"signature": {
"id": "",
"payload": "",
"signature": "",
"verificationMethod": "",
"verificationPayload": "",
"verificationPayloadHash": "",
"verificationArtifact": "",
"verificationSignedBy": "",
"verificationSignedAs": "",
"verificationJwsHeader": "",
"timestamp": "",
"signedWithoutObjectReference": "",
"objectType": "",
"objectReference": ""
}
}
]
}
READ - Fetch an Individual in the Consent system
Unique ID of an object
GET /apis/GovStack/consent-management-bb//config/individual/{individualId}/ HTTP/1.1
Host: app.swaggerhub.com
Accept: */*
{
"individual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
}
}
LIST - lists individuals in the system
Requested index for start of resources to be provided in response requested by client
Requested number of resources to be provided in response requested by client
GET /apis/GovStack/consent-management-bb//config/individuals/ HTTP/1.1
Host: app.swaggerhub.com
Accept: */*
{
"individuals": [
{
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
}
]
}
READ - get a Webhook object.
Unique ID of an object
An object with id revisionId
GET /apis/GovStack/consent-management-bb//config/webhook/{webhookId}/ HTTP/1.1
Host: app.swaggerhub.com
Accept: */*
{
"webhook": {
"id": "",
"payloadUrl": "",
"contentType": "",
"disabled": "",
"secretKey": ""
}
}
DELETE - Deletes an existing Webhook object.
Unique ID of an object
DELETE /apis/GovStack/consent-management-bb//config/webhook/{webhookId}/ HTTP/1.1
Host: app.swaggerhub.com
Accept: */*
No content
LIST - Fetches list of readable Webhook objects
An object with id revisionId
Requested index for start of resources to be provided in response requested by client
Requested number of resources to be provided in response requested by client
GET /apis/GovStack/consent-management-bb//config/webhooks/ HTTP/1.1
Host: app.swaggerhub.com
Accept: */*
{
"webhooks": [
{
"id": "",
"payloadUrl": "",
"contentType": "",
"disabled": "",
"secretKey": ""
}
]
}
READ - Fetch an Individual in the Consent system
Unique ID of an object
GET /apis/GovStack/consent-management-bb//service/individual/{individualId}/ HTTP/1.1
Host: app.swaggerhub.com
Accept: */*
{
"individual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
}
}
LIST - lists individuals in the system
Requested index for start of resources to be provided in response requested by client
Requested number of resources to be provided in response requested by client
GET /apis/GovStack/consent-management-bb//service/individuals/ HTTP/1.1
Host: app.swaggerhub.com
Accept: */*
{
"individuals": [
{
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
}
]
}
READ - fetches the latest version of an Agreement
Unique ID of an object
GET /apis/GovStack/consent-management-bb//service/data-agreement/{dataAgreementId}/ HTTP/1.1
Host: app.swaggerhub.com
Accept: */*
{
"dataAgreement": {
"id": "",
"version": "",
"controller": {
"id": "",
"name": "",
"url": ""
},
"policy": {
"id": "",
"name": "",
"version": "",
"url": "",
"jurisdiction": "",
"industrySector": "",
"dataRetentionPeriodDays": "",
"geographicRestriction": "",
"storageLocation": ""
},
"purpose": "",
"lawfulBasis": "",
"dataUse": "",
"dpia": "",
"active": "",
"forgettable": "",
"compatibleWithVersion": {
"id": "",
"version": "",
"controller": {
"id": "",
"name": "",
"url": ""
},
"policy": {
"id": "",
"name": "",
"version": "",
"url": "",
"jurisdiction": "",
"industrySector": "",
"dataRetentionPeriodDays": "",
"geographicRestriction": "",
"storageLocation": ""
},
"purpose": "",
"lawfulBasis": "",
"dataUse": "",
"dpia": "",
"active": "",
"forgettable": "",
"compatibleWithVersion": {
"id": "",
"version": "",
"controller": {
"id": "",
"name": "",
"url": ""
},
"policy": {
"id": "",
"name": "",
"version": "",
"url": "",
"jurisdiction": "",
"industrySector": "",
"dataRetentionPeriodDays": "",
"geographicRestriction": "",
"storageLocation": ""
},
"purpose": "",
"lawfulBasis": "",
"dataUse": "",
"dpia": "",
"active": "",
"forgettable": "",
"compatibleWithVersion": {
"id": "",
"version": "",
"controller": {
"id": "",
"name": "",
"url": ""
},
"policy": {
"id": "",
"name": "",
"version": "",
"url": "",
"jurisdiction": "",
"industrySector": "",
"dataRetentionPeriodDays": "",
"geographicRestriction": "",
"storageLocation": ""
},
"purpose": "",
"lawfulBasis": "",
"dataUse": "",
"dpia": "",
"active": "",
"forgettable": "",
"compatibleWithVersion": {
"id": "",
"version": "",
"controller": {
"id": "",
"name": "",
"url": ""
},
"policy": {
"id": "",
"name": "",
"version": "",
"url": "",
"jurisdiction": "",
"industrySector": "",
"dataRetentionPeriodDays": "",
"geographicRestriction": "",
"storageLocation": ""
},
"purpose": "",
"lawfulBasis": "",
"dataUse": "",
"dpia": "",
"active": "",
"forgettable": "",
"compatibleWithVersion": "[Circular Reference]",
"lifecycle": {
"id": "",
"name": ""
},
"signature": {
"id": "",
"payload": "",
"signature": "",
"verificationMethod": "",
"verificationPayload": "",
"verificationPayloadHash": "",
"verificationArtifact": "",
"verificationSignedBy": "",
"verificationSignedAs": "",
"verificationJwsHeader": "",
"timestamp": "",
"signedWithoutObjectReference": "",
"objectType": "",
"objectReference": ""
}
},
"lifecycle": {
"id": "",
"name": ""
},
"signature": {
"id": "",
"payload": "",
"signature": "",
"verificationMethod": "",
"verificationPayload": "",
"verificationPayloadHash": "",
"verificationArtifact": "",
"verificationSignedBy": "",
"verificationSignedAs": "",
"verificationJwsHeader": "",
"timestamp": "",
"signedWithoutObjectReference": "",
"objectType": "",
"objectReference": ""
}
},
"lifecycle": {
"id": "",
"name": ""
},
"signature": {
"id": "",
"payload": "",
"signature": "",
"verificationMethod": "",
"verificationPayload": "",
"verificationPayloadHash": "",
"verificationArtifact": "",
"verificationSignedBy": "",
"verificationSignedAs": "",
"verificationJwsHeader": "",
"timestamp": "",
"signedWithoutObjectReference": "",
"objectType": "",
"objectReference": ""
}
},
"lifecycle": {
"id": "",
"name": ""
},
"signature": {
"id": "",
"payload": "",
"signature": "",
"verificationMethod": "",
"verificationPayload": "",
"verificationPayloadHash": "",
"verificationArtifact": "",
"verificationSignedBy": "",
"verificationSignedAs": "",
"verificationJwsHeader": "",
"timestamp": "",
"signedWithoutObjectReference": "",
"objectType": "",
"objectReference": ""
}
},
"lifecycle": {
"id": "",
"name": ""
},
"signature": {
"id": "",
"payload": "",
"signature": "",
"verificationMethod": "",
"verificationPayload": "",
"verificationPayloadHash": "",
"verificationArtifact": "",
"verificationSignedBy": "",
"verificationSignedAs": "",
"verificationJwsHeader": "",
"timestamp": "",
"signedWithoutObjectReference": "",
"objectType": "",
"objectReference": ""
}
},
"revision": {
"id": "",
"schemaName": "",
"objectId": "",
"signedWithoutObjectId": "",
"serializedSnapshot": "",
"serializedHash": "",
"timestamp": "",
"authorizedByIndividual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"authorizedByOther": "",
"successor": {
"id": "",
"schemaName": "",
"objectId": "",
"signedWithoutObjectId": "",
"serializedSnapshot": "",
"serializedHash": "",
"timestamp": "",
"authorizedByIndividual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"authorizedByOther": "",
"successor": {
"id": "",
"schemaName": "",
"objectId": "",
"signedWithoutObjectId": "",
"serializedSnapshot": "",
"serializedHash": "",
"timestamp": "",
"authorizedByIndividual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"authorizedByOther": "",
"successor": {
"id": "",
"schemaName": "",
"objectId": "",
"signedWithoutObjectId": "",
"serializedSnapshot": "",
"serializedHash": "",
"timestamp": "",
"authorizedByIndividual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"authorizedByOther": "",
"successor": {
"id": "",
"schemaName": "",
"objectId": "",
"signedWithoutObjectId": "",
"serializedSnapshot": "",
"serializedHash": "",
"timestamp": "",
"authorizedByIndividual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"authorizedByOther": "",
"successor": "[Circular Reference]",
"predecessorHash": "",
"predecessorSignature": ""
},
"predecessorHash": "",
"predecessorSignature": ""
},
"predecessorHash": "",
"predecessorSignature": ""
},
"predecessorHash": "",
"predecessorSignature": ""
},
"predecessorHash": "",
"predecessorSignature": ""
}
}
READ - fetches the latest version of a Policy and the presented revisionId of an associated Agreement
Unique ID of an object
An object with id revisionId
GET /apis/GovStack/consent-management-bb//service/policy/{policyId}/ HTTP/1.1
Host: app.swaggerhub.com
Accept: */*
{
"policy": {
"id": "",
"name": "",
"version": "",
"url": "",
"jurisdiction": "",
"industrySector": "",
"dataRetentionPeriodDays": "",
"geographicRestriction": "",
"storageLocation": ""
},
"revision": {
"id": "",
"schemaName": "",
"objectId": "",
"signedWithoutObjectId": "",
"serializedSnapshot": "",
"serializedHash": "",
"timestamp": "",
"authorizedByIndividual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"authorizedByOther": "",
"successor": {
"id": "",
"schemaName": "",
"objectId": "",
"signedWithoutObjectId": "",
"serializedSnapshot": "",
"serializedHash": "",
"timestamp": "",
"authorizedByIndividual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"authorizedByOther": "",
"successor": {
"id": "",
"schemaName": "",
"objectId": "",
"signedWithoutObjectId": "",
"serializedSnapshot": "",
"serializedHash": "",
"timestamp": "",
"authorizedByIndividual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"authorizedByOther": "",
"successor": {
"id": "",
"schemaName": "",
"objectId": "",
"signedWithoutObjectId": "",
"serializedSnapshot": "",
"serializedHash": "",
"timestamp": "",
"authorizedByIndividual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"authorizedByOther": "",
"successor": {
"id": "",
"schemaName": "",
"objectId": "",
"signedWithoutObjectId": "",
"serializedSnapshot": "",
"serializedHash": "",
"timestamp": "",
"authorizedByIndividual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"authorizedByOther": "",
"successor": "[Circular Reference]",
"predecessorHash": "",
"predecessorSignature": ""
},
"predecessorHash": "",
"predecessorSignature": ""
},
"predecessorHash": "",
"predecessorSignature": ""
},
"predecessorHash": "",
"predecessorSignature": ""
},
"predecessorHash": "",
"predecessorSignature": ""
}
}
LIST - Fetch
Requested index for start of resources to be provided in response requested by client
Requested number of resources to be provided in response requested by client
GET /apis/GovStack/consent-management-bb//service/verification/data-agreements/ HTTP/1.1
Host: app.swaggerhub.com
Accept: */*
{
"dataAgreements": [
{
"id": "",
"version": "",
"controller": {
"id": "",
"name": "",
"url": ""
},
"policy": {
"id": "",
"name": "",
"version": "",
"url": "",
"jurisdiction": "",
"industrySector": "",
"dataRetentionPeriodDays": "",
"geographicRestriction": "",
"storageLocation": ""
},
"purpose": "",
"lawfulBasis": "",
"dataUse": "",
"dpia": "",
"active": "",
"forgettable": "",
"compatibleWithVersion": {
"id": "",
"version": "",
"controller": {
"id": "",
"name": "",
"url": ""
},
"policy": {
"id": "",
"name": "",
"version": "",
"url": "",
"jurisdiction": "",
"industrySector": "",
"dataRetentionPeriodDays": "",
"geographicRestriction": "",
"storageLocation": ""
},
"purpose": "",
"lawfulBasis": "",
"dataUse": "",
"dpia": "",
"active": "",
"forgettable": "",
"compatibleWithVersion": {
"id": "",
"version": "",
"controller": {
"id": "",
"name": "",
"url": ""
},
"policy": {
"id": "",
"name": "",
"version": "",
"url": "",
"jurisdiction": "",
"industrySector": "",
"dataRetentionPeriodDays": "",
"geographicRestriction": "",
"storageLocation": ""
},
"purpose": "",
"lawfulBasis": "",
"dataUse": "",
"dpia": "",
"active": "",
"forgettable": "",
"compatibleWithVersion": {
"id": "",
"version": "",
"controller": {
"id": "",
"name": "",
"url": ""
},
"policy": {
"id": "",
"name": "",
"version": "",
"url": "",
"jurisdiction": "",
"industrySector": "",
"dataRetentionPeriodDays": "",
"geographicRestriction": "",
"storageLocation": ""
},
"purpose": "",
"lawfulBasis": "",
"dataUse": "",
"dpia": "",
"active": "",
"forgettable": "",
"compatibleWithVersion": "[Circular Reference]",
"lifecycle": {
"id": "",
"name": ""
},
"signature": {
"id": "",
"payload": "",
"signature": "",
"verificationMethod": "",
"verificationPayload": "",
"verificationPayloadHash": "",
"verificationArtifact": "",
"verificationSignedBy": "",
"verificationSignedAs": "",
"verificationJwsHeader": "",
"timestamp": "",
"signedWithoutObjectReference": "",
"objectType": "",
"objectReference": ""
}
},
"lifecycle": {
"id": "",
"name": ""
},
"signature": {
"id": "",
"payload": "",
"signature": "",
"verificationMethod": "",
"verificationPayload": "",
"verificationPayloadHash": "",
"verificationArtifact": "",
"verificationSignedBy": "",
"verificationSignedAs": "",
"verificationJwsHeader": "",
"timestamp": "",
"signedWithoutObjectReference": "",
"objectType": "",
"objectReference": ""
}
},
"lifecycle": {
"id": "",
"name": ""
},
"signature": {
"id": "",
"payload": "",
"signature": "",
"verificationMethod": "",
"verificationPayload": "",
"verificationPayloadHash": "",
"verificationArtifact": "",
"verificationSignedBy": "",
"verificationSignedAs": "",
"verificationJwsHeader": "",
"timestamp": "",
"signedWithoutObjectReference": "",
"objectType": "",
"objectReference": ""
}
},
"lifecycle": {
"id": "",
"name": ""
},
"signature": {
"id": "",
"payload": "",
"signature": "",
"verificationMethod": "",
"verificationPayload": "",
"verificationPayloadHash": "",
"verificationArtifact": "",
"verificationSignedBy": "",
"verificationSignedAs": "",
"verificationJwsHeader": "",
"timestamp": "",
"signedWithoutObjectReference": "",
"objectType": "",
"objectReference": ""
}
}
]
}
LIST - Fetch consent records (latest revision). For a given ConsentRecordFilter, query if consent exists.
Requested index for start of resources to be provided in response requested by client
Requested number of resources to be provided in response requested by client
GET /apis/GovStack/consent-management-bb//service/verification/consent-records/ HTTP/1.1
Host: app.swaggerhub.com
Accept: */*
{
"consentRecords": [
{
"id": "",
"dataAgreement": {
"id": "",
"version": "",
"controller": {
"id": "",
"name": "",
"url": ""
},
"policy": {
"id": "",
"name": "",
"version": "",
"url": "",
"jurisdiction": "",
"industrySector": "",
"dataRetentionPeriodDays": "",
"geographicRestriction": "",
"storageLocation": ""
},
"purpose": "",
"lawfulBasis": "",
"dataUse": "",
"dpia": "",
"active": "",
"forgettable": "",
"compatibleWithVersion": {
"id": "",
"version": "",
"controller": {
"id": "",
"name": "",
"url": ""
},
"policy": {
"id": "",
"name": "",
"version": "",
"url": "",
"jurisdiction": "",
"industrySector": "",
"dataRetentionPeriodDays": "",
"geographicRestriction": "",
"storageLocation": ""
},
"purpose": "",
"lawfulBasis": "",
"dataUse": "",
"dpia": "",
"active": "",
"forgettable": "",
"compatibleWithVersion": {
"id": "",
"version": "",
"controller": {
"id": "",
"name": "",
"url": ""
},
"policy": {
"id": "",
"name": "",
"version": "",
"url": "",
"jurisdiction": "",
"industrySector": "",
"dataRetentionPeriodDays": "",
"geographicRestriction": "",
"storageLocation": ""
},
"purpose": "",
"lawfulBasis": "",
"dataUse": "",
"dpia": "",
"active": "",
"forgettable": "",
"compatibleWithVersion": "[Circular Reference]",
"lifecycle": {
"id": "",
"name": ""
},
"signature": {
"id": "",
"payload": "",
"signature": "",
"verificationMethod": "",
"verificationPayload": "",
"verificationPayloadHash": "",
"verificationArtifact": "",
"verificationSignedBy": "",
"verificationSignedAs": "",
"verificationJwsHeader": "",
"timestamp": "",
"signedWithoutObjectReference": "",
"objectType": "",
"objectReference": ""
}
},
"lifecycle": {
"id": "",
"name": ""
},
"signature": {
"id": "",
"payload": "",
"signature": "",
"verificationMethod": "",
"verificationPayload": "",
"verificationPayloadHash": "",
"verificationArtifact": "",
"verificationSignedBy": "",
"verificationSignedAs": "",
"verificationJwsHeader": "",
"timestamp": "",
"signedWithoutObjectReference": "",
"objectType": "",
"objectReference": ""
}
},
"lifecycle": {
"id": "",
"name": ""
},
"signature": {
"id": "",
"payload": "",
"signature": "",
"verificationMethod": "",
"verificationPayload": "",
"verificationPayloadHash": "",
"verificationArtifact": "",
"verificationSignedBy": "",
"verificationSignedAs": "",
"verificationJwsHeader": "",
"timestamp": "",
"signedWithoutObjectReference": "",
"objectType": "",
"objectReference": ""
}
},
"dataAgreementRevision": {
"id": "",
"schemaName": "",
"objectId": "",
"signedWithoutObjectId": "",
"serializedSnapshot": "",
"serializedHash": "",
"timestamp": "",
"authorizedByIndividual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"authorizedByOther": "",
"successor": {
"id": "",
"schemaName": "",
"objectId": "",
"signedWithoutObjectId": "",
"serializedSnapshot": "",
"serializedHash": "",
"timestamp": "",
"authorizedByIndividual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"authorizedByOther": "",
"successor": {
"id": "",
"schemaName": "",
"objectId": "",
"signedWithoutObjectId": "",
"serializedSnapshot": "",
"serializedHash": "",
"timestamp": "",
"authorizedByIndividual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"authorizedByOther": "",
"successor": "[Circular Reference]",
"predecessorHash": "",
"predecessorSignature": ""
},
"predecessorHash": "",
"predecessorSignature": ""
},
"predecessorHash": "",
"predecessorSignature": ""
},
"dataAgreementRevisionHash": "",
"individual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"optIn": "",
"state": "",
"signature": {
"id": "",
"payload": "",
"signature": "",
"verificationMethod": "",
"verificationPayload": "",
"verificationPayloadHash": "",
"verificationArtifact": "",
"verificationSignedBy": "",
"verificationSignedAs": "",
"verificationJwsHeader": "",
"timestamp": "",
"signedWithoutObjectReference": "",
"objectType": "",
"objectReference": ""
}
}
]
}
READ - Reads a consent record by its ID.
Unique ID of an object
GET /apis/GovStack/consent-management-bb//service/verification/consent-record/{consentRecordId}/ HTTP/1.1
Host: app.swaggerhub.com
Accept: */*
{
"consentRecord": {
"id": "",
"dataAgreement": {
"id": "",
"version": "",
"controller": {
"id": "",
"name": "",
"url": ""
},
"policy": {
"id": "",
"name": "",
"version": "",
"url": "",
"jurisdiction": "",
"industrySector": "",
"dataRetentionPeriodDays": "",
"geographicRestriction": "",
"storageLocation": ""
},
"purpose": "",
"lawfulBasis": "",
"dataUse": "",
"dpia": "",
"active": "",
"forgettable": "",
"compatibleWithVersion": {
"id": "",
"version": "",
"controller": {
"id": "",
"name": "",
"url": ""
},
"policy": {
"id": "",
"name": "",
"version": "",
"url": "",
"jurisdiction": "",
"industrySector": "",
"dataRetentionPeriodDays": "",
"geographicRestriction": "",
"storageLocation": ""
},
"purpose": "",
"lawfulBasis": "",
"dataUse": "",
"dpia": "",
"active": "",
"forgettable": "",
"compatibleWithVersion": {
"id": "",
"version": "",
"controller": {
"id": "",
"name": "",
"url": ""
},
"policy": {
"id": "",
"name": "",
"version": "",
"url": "",
"jurisdiction": "",
"industrySector": "",
"dataRetentionPeriodDays": "",
"geographicRestriction": "",
"storageLocation": ""
},
"purpose": "",
"lawfulBasis": "",
"dataUse": "",
"dpia": "",
"active": "",
"forgettable": "",
"compatibleWithVersion": {
"id": "",
"version": "",
"controller": {
"id": "",
"name": "",
"url": ""
},
"policy": {
"id": "",
"name": "",
"version": "",
"url": "",
"jurisdiction": "",
"industrySector": "",
"dataRetentionPeriodDays": "",
"geographicRestriction": "",
"storageLocation": ""
},
"purpose": "",
"lawfulBasis": "",
"dataUse": "",
"dpia": "",
"active": "",
"forgettable": "",
"compatibleWithVersion": "[Circular Reference]",
"lifecycle": {
"id": "",
"name": ""
},
"signature": {
"id": "",
"payload": "",
"signature": "",
"verificationMethod": "",
"verificationPayload": "",
"verificationPayloadHash": "",
"verificationArtifact": "",
"verificationSignedBy": "",
"verificationSignedAs": "",
"verificationJwsHeader": "",
"timestamp": "",
"signedWithoutObjectReference": "",
"objectType": "",
"objectReference": ""
}
},
"lifecycle": {
"id": "",
"name": ""
},
"signature": {
"id": "",
"payload": "",
"signature": "",
"verificationMethod": "",
"verificationPayload": "",
"verificationPayloadHash": "",
"verificationArtifact": "",
"verificationSignedBy": "",
"verificationSignedAs": "",
"verificationJwsHeader": "",
"timestamp": "",
"signedWithoutObjectReference": "",
"objectType": "",
"objectReference": ""
}
},
"lifecycle": {
"id": "",
"name": ""
},
"signature": {
"id": "",
"payload": "",
"signature": "",
"verificationMethod": "",
"verificationPayload": "",
"verificationPayloadHash": "",
"verificationArtifact": "",
"verificationSignedBy": "",
"verificationSignedAs": "",
"verificationJwsHeader": "",
"timestamp": "",
"signedWithoutObjectReference": "",
"objectType": "",
"objectReference": ""
}
},
"lifecycle": {
"id": "",
"name": ""
},
"signature": {
"id": "",
"payload": "",
"signature": "",
"verificationMethod": "",
"verificationPayload": "",
"verificationPayloadHash": "",
"verificationArtifact": "",
"verificationSignedBy": "",
"verificationSignedAs": "",
"verificationJwsHeader": "",
"timestamp": "",
"signedWithoutObjectReference": "",
"objectType": "",
"objectReference": ""
}
},
"dataAgreementRevision": {
"id": "",
"schemaName": "",
"objectId": "",
"signedWithoutObjectId": "",
"serializedSnapshot": "",
"serializedHash": "",
"timestamp": "",
"authorizedByIndividual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"authorizedByOther": "",
"successor": {
"id": "",
"schemaName": "",
"objectId": "",
"signedWithoutObjectId": "",
"serializedSnapshot": "",
"serializedHash": "",
"timestamp": "",
"authorizedByIndividual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"authorizedByOther": "",
"successor": {
"id": "",
"schemaName": "",
"objectId": "",
"signedWithoutObjectId": "",
"serializedSnapshot": "",
"serializedHash": "",
"timestamp": "",
"authorizedByIndividual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"authorizedByOther": "",
"successor": {
"id": "",
"schemaName": "",
"objectId": "",
"signedWithoutObjectId": "",
"serializedSnapshot": "",
"serializedHash": "",
"timestamp": "",
"authorizedByIndividual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"authorizedByOther": "",
"successor": "[Circular Reference]",
"predecessorHash": "",
"predecessorSignature": ""
},
"predecessorHash": "",
"predecessorSignature": ""
},
"predecessorHash": "",
"predecessorSignature": ""
},
"predecessorHash": "",
"predecessorSignature": ""
},
"dataAgreementRevisionHash": "",
"individual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"optIn": "",
"state": "",
"signature": {
"id": "",
"payload": "",
"signature": "",
"verificationMethod": "",
"verificationPayload": "",
"verificationPayloadHash": "",
"verificationArtifact": "",
"verificationSignedBy": "",
"verificationSignedAs": "",
"verificationJwsHeader": "",
"timestamp": "",
"signedWithoutObjectReference": "",
"objectType": "",
"objectReference": ""
}
},
"revision": {
"id": "",
"schemaName": "",
"objectId": "",
"signedWithoutObjectId": "",
"serializedSnapshot": "",
"serializedHash": "",
"timestamp": "",
"authorizedByIndividual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"authorizedByOther": "",
"successor": {
"id": "",
"schemaName": "",
"objectId": "",
"signedWithoutObjectId": "",
"serializedSnapshot": "",
"serializedHash": "",
"timestamp": "",
"authorizedByIndividual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"authorizedByOther": "",
"successor": {
"id": "",
"schemaName": "",
"objectId": "",
"signedWithoutObjectId": "",
"serializedSnapshot": "",
"serializedHash": "",
"timestamp": "",
"authorizedByIndividual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"authorizedByOther": "",
"successor": {
"id": "",
"schemaName": "",
"objectId": "",
"signedWithoutObjectId": "",
"serializedSnapshot": "",
"serializedHash": "",
"timestamp": "",
"authorizedByIndividual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"authorizedByOther": "",
"successor": "[Circular Reference]",
"predecessorHash": "",
"predecessorSignature": ""
},
"predecessorHash": "",
"predecessorSignature": ""
},
"predecessorHash": "",
"predecessorSignature": ""
},
"predecessorHash": "",
"predecessorSignature": ""
}
}
CREATE - For a particular Individual and a particular Agreement, create a new Consent Record pointing to the current Revision of a given Agreement. Individual ID supplied as HTTP header.
Unique ID of an object
An object with id individualId
An object with id revisionId
POST /apis/GovStack/consent-management-bb//service/individual/record/data-agreement/{dataAgreementId}/ HTTP/1.1
Host: app.swaggerhub.com
Accept: */*
{
"consentRecord": {
"id": "",
"dataAgreement": {
"id": "",
"version": "",
"controller": {
"id": "",
"name": "",
"url": ""
},
"policy": {
"id": "",
"name": "",
"version": "",
"url": "",
"jurisdiction": "",
"industrySector": "",
"dataRetentionPeriodDays": "",
"geographicRestriction": "",
"storageLocation": ""
},
"purpose": "",
"lawfulBasis": "",
"dataUse": "",
"dpia": "",
"active": "",
"forgettable": "",
"compatibleWithVersion": {
"id": "",
"version": "",
"controller": {
"id": "",
"name": "",
"url": ""
},
"policy": {
"id": "",
"name": "",
"version": "",
"url": "",
"jurisdiction": "",
"industrySector": "",
"dataRetentionPeriodDays": "",
"geographicRestriction": "",
"storageLocation": ""
},
"purpose": "",
"lawfulBasis": "",
"dataUse": "",
"dpia": "",
"active": "",
"forgettable": "",
"compatibleWithVersion": {
"id": "",
"version": "",
"controller": {
"id": "",
"name": "",
"url": ""
},
"policy": {
"id": "",
"name": "",
"version": "",
"url": "",
"jurisdiction": "",
"industrySector": "",
"dataRetentionPeriodDays": "",
"geographicRestriction": "",
"storageLocation": ""
},
"purpose": "",
"lawfulBasis": "",
"dataUse": "",
"dpia": "",
"active": "",
"forgettable": "",
"compatibleWithVersion": {
"id": "",
"version": "",
"controller": {
"id": "",
"name": "",
"url": ""
},
"policy": {
"id": "",
"name": "",
"version": "",
"url": "",
"jurisdiction": "",
"industrySector": "",
"dataRetentionPeriodDays": "",
"geographicRestriction": "",
"storageLocation": ""
},
"purpose": "",
"lawfulBasis": "",
"dataUse": "",
"dpia": "",
"active": "",
"forgettable": "",
"compatibleWithVersion": "[Circular Reference]",
"lifecycle": {
"id": "",
"name": ""
},
"signature": {
"id": "",
"payload": "",
"signature": "",
"verificationMethod": "",
"verificationPayload": "",
"verificationPayloadHash": "",
"verificationArtifact": "",
"verificationSignedBy": "",
"verificationSignedAs": "",
"verificationJwsHeader": "",
"timestamp": "",
"signedWithoutObjectReference": "",
"objectType": "",
"objectReference": ""
}
},
"lifecycle": {
"id": "",
"name": ""
},
"signature": {
"id": "",
"payload": "",
"signature": "",
"verificationMethod": "",
"verificationPayload": "",
"verificationPayloadHash": "",
"verificationArtifact": "",
"verificationSignedBy": "",
"verificationSignedAs": "",
"verificationJwsHeader": "",
"timestamp": "",
"signedWithoutObjectReference": "",
"objectType": "",
"objectReference": ""
}
},
"lifecycle": {
"id": "",
"name": ""
},
"signature": {
"id": "",
"payload": "",
"signature": "",
"verificationMethod": "",
"verificationPayload": "",
"verificationPayloadHash": "",
"verificationArtifact": "",
"verificationSignedBy": "",
"verificationSignedAs": "",
"verificationJwsHeader": "",
"timestamp": "",
"signedWithoutObjectReference": "",
"objectType": "",
"objectReference": ""
}
},
"lifecycle": {
"id": "",
"name": ""
},
"signature": {
"id": "",
"payload": "",
"signature": "",
"verificationMethod": "",
"verificationPayload": "",
"verificationPayloadHash": "",
"verificationArtifact": "",
"verificationSignedBy": "",
"verificationSignedAs": "",
"verificationJwsHeader": "",
"timestamp": "",
"signedWithoutObjectReference": "",
"objectType": "",
"objectReference": ""
}
},
"dataAgreementRevision": {
"id": "",
"schemaName": "",
"objectId": "",
"signedWithoutObjectId": "",
"serializedSnapshot": "",
"serializedHash": "",
"timestamp": "",
"authorizedByIndividual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"authorizedByOther": "",
"successor": {
"id": "",
"schemaName": "",
"objectId": "",
"signedWithoutObjectId": "",
"serializedSnapshot": "",
"serializedHash": "",
"timestamp": "",
"authorizedByIndividual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"authorizedByOther": "",
"successor": {
"id": "",
"schemaName": "",
"objectId": "",
"signedWithoutObjectId": "",
"serializedSnapshot": "",
"serializedHash": "",
"timestamp": "",
"authorizedByIndividual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"authorizedByOther": "",
"successor": {
"id": "",
"schemaName": "",
"objectId": "",
"signedWithoutObjectId": "",
"serializedSnapshot": "",
"serializedHash": "",
"timestamp": "",
"authorizedByIndividual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"authorizedByOther": "",
"successor": "[Circular Reference]",
"predecessorHash": "",
"predecessorSignature": ""
},
"predecessorHash": "",
"predecessorSignature": ""
},
"predecessorHash": "",
"predecessorSignature": ""
},
"predecessorHash": "",
"predecessorSignature": ""
},
"dataAgreementRevisionHash": "",
"individual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"optIn": "",
"state": "",
"signature": {
"id": "",
"payload": "",
"signature": "",
"verificationMethod": "",
"verificationPayload": "",
"verificationPayloadHash": "",
"verificationArtifact": "",
"verificationSignedBy": "",
"verificationSignedAs": "",
"verificationJwsHeader": "",
"timestamp": "",
"signedWithoutObjectReference": "",
"objectType": "",
"objectReference": ""
}
},
"revision": {
"id": "",
"schemaName": "",
"objectId": "",
"signedWithoutObjectId": "",
"serializedSnapshot": "",
"serializedHash": "",
"timestamp": "",
"authorizedByIndividual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"authorizedByOther": "",
"successor": {
"id": "",
"schemaName": "",
"objectId": "",
"signedWithoutObjectId": "",
"serializedSnapshot": "",
"serializedHash": "",
"timestamp": "",
"authorizedByIndividual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"authorizedByOther": "",
"successor": {
"id": "",
"schemaName": "",
"objectId": "",
"signedWithoutObjectId": "",
"serializedSnapshot": "",
"serializedHash": "",
"timestamp": "",
"authorizedByIndividual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"authorizedByOther": "",
"successor": {
"id": "",
"schemaName": "",
"objectId": "",
"signedWithoutObjectId": "",
"serializedSnapshot": "",
"serializedHash": "",
"timestamp": "",
"authorizedByIndividual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"authorizedByOther": "",
"successor": "[Circular Reference]",
"predecessorHash": "",
"predecessorSignature": ""
},
"predecessorHash": "",
"predecessorSignature": ""
},
"predecessorHash": "",
"predecessorSignature": ""
},
"predecessorHash": "",
"predecessorSignature": ""
}
}
READ - Individual ID supplied as HTTP header. Fetches the current ConsentRecord for an Agreement. There should be one unambiguous ConsentRecord for an Individual and an Agreement.
Unique ID of an object
GET /apis/GovStack/consent-management-bb//service/individual/record/data-agreement/{dataAgreementId}/ HTTP/1.1
Host: app.swaggerhub.com
Accept: */*
{
"consentRecord": {
"id": "",
"dataAgreement": {
"id": "",
"version": "",
"controller": {
"id": "",
"name": "",
"url": ""
},
"policy": {
"id": "",
"name": "",
"version": "",
"url": "",
"jurisdiction": "",
"industrySector": "",
"dataRetentionPeriodDays": "",
"geographicRestriction": "",
"storageLocation": ""
},
"purpose": "",
"lawfulBasis": "",
"dataUse": "",
"dpia": "",
"active": "",
"forgettable": "",
"compatibleWithVersion": {
"id": "",
"version": "",
"controller": {
"id": "",
"name": "",
"url": ""
},
"policy": {
"id": "",
"name": "",
"version": "",
"url": "",
"jurisdiction": "",
"industrySector": "",
"dataRetentionPeriodDays": "",
"geographicRestriction": "",
"storageLocation": ""
},
"purpose": "",
"lawfulBasis": "",
"dataUse": "",
"dpia": "",
"active": "",
"forgettable": "",
"compatibleWithVersion": {
"id": "",
"version": "",
"controller": {
"id": "",
"name": "",
"url": ""
},
"policy": {
"id": "",
"name": "",
"version": "",
"url": "",
"jurisdiction": "",
"industrySector": "",
"dataRetentionPeriodDays": "",
"geographicRestriction": "",
"storageLocation": ""
},
"purpose": "",
"lawfulBasis": "",
"dataUse": "",
"dpia": "",
"active": "",
"forgettable": "",
"compatibleWithVersion": {
"id": "",
"version": "",
"controller": {
"id": "",
"name": "",
"url": ""
},
"policy": {
"id": "",
"name": "",
"version": "",
"url": "",
"jurisdiction": "",
"industrySector": "",
"dataRetentionPeriodDays": "",
"geographicRestriction": "",
"storageLocation": ""
},
"purpose": "",
"lawfulBasis": "",
"dataUse": "",
"dpia": "",
"active": "",
"forgettable": "",
"compatibleWithVersion": "[Circular Reference]",
"lifecycle": {
"id": "",
"name": ""
},
"signature": {
"id": "",
"payload": "",
"signature": "",
"verificationMethod": "",
"verificationPayload": "",
"verificationPayloadHash": "",
"verificationArtifact": "",
"verificationSignedBy": "",
"verificationSignedAs": "",
"verificationJwsHeader": "",
"timestamp": "",
"signedWithoutObjectReference": "",
"objectType": "",
"objectReference": ""
}
},
"lifecycle": {
"id": "",
"name": ""
},
"signature": {
"id": "",
"payload": "",
"signature": "",
"verificationMethod": "",
"verificationPayload": "",
"verificationPayloadHash": "",
"verificationArtifact": "",
"verificationSignedBy": "",
"verificationSignedAs": "",
"verificationJwsHeader": "",
"timestamp": "",
"signedWithoutObjectReference": "",
"objectType": "",
"objectReference": ""
}
},
"lifecycle": {
"id": "",
"name": ""
},
"signature": {
"id": "",
"payload": "",
"signature": "",
"verificationMethod": "",
"verificationPayload": "",
"verificationPayloadHash": "",
"verificationArtifact": "",
"verificationSignedBy": "",
"verificationSignedAs": "",
"verificationJwsHeader": "",
"timestamp": "",
"signedWithoutObjectReference": "",
"objectType": "",
"objectReference": ""
}
},
"lifecycle": {
"id": "",
"name": ""
},
"signature": {
"id": "",
"payload": "",
"signature": "",
"verificationMethod": "",
"verificationPayload": "",
"verificationPayloadHash": "",
"verificationArtifact": "",
"verificationSignedBy": "",
"verificationSignedAs": "",
"verificationJwsHeader": "",
"timestamp": "",
"signedWithoutObjectReference": "",
"objectType": "",
"objectReference": ""
}
},
"dataAgreementRevision": {
"id": "",
"schemaName": "",
"objectId": "",
"signedWithoutObjectId": "",
"serializedSnapshot": "",
"serializedHash": "",
"timestamp": "",
"authorizedByIndividual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"authorizedByOther": "",
"successor": {
"id": "",
"schemaName": "",
"objectId": "",
"signedWithoutObjectId": "",
"serializedSnapshot": "",
"serializedHash": "",
"timestamp": "",
"authorizedByIndividual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"authorizedByOther": "",
"successor": {
"id": "",
"schemaName": "",
"objectId": "",
"signedWithoutObjectId": "",
"serializedSnapshot": "",
"serializedHash": "",
"timestamp": "",
"authorizedByIndividual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"authorizedByOther": "",
"successor": {
"id": "",
"schemaName": "",
"objectId": "",
"signedWithoutObjectId": "",
"serializedSnapshot": "",
"serializedHash": "",
"timestamp": "",
"authorizedByIndividual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"authorizedByOther": "",
"successor": "[Circular Reference]",
"predecessorHash": "",
"predecessorSignature": ""
},
"predecessorHash": "",
"predecessorSignature": ""
},
"predecessorHash": "",
"predecessorSignature": ""
},
"predecessorHash": "",
"predecessorSignature": ""
},
"dataAgreementRevisionHash": "",
"individual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"optIn": "",
"state": "",
"signature": {
"id": "",
"payload": "",
"signature": "",
"verificationMethod": "",
"verificationPayload": "",
"verificationPayloadHash": "",
"verificationArtifact": "",
"verificationSignedBy": "",
"verificationSignedAs": "",
"verificationJwsHeader": "",
"timestamp": "",
"signedWithoutObjectReference": "",
"objectType": "",
"objectReference": ""
}
}
}
CREATE - Gets a DRAFT (unsaved) ConsentRecord and Signature objects (without a PK) for a given dataAgreementId.
An object with id individualId
An object with id dataAgreementId
An object with id revisionId
POST /apis/GovStack/consent-management-bb//service/individual/record/consent-record/draft/ HTTP/1.1
Host: app.swaggerhub.com
Accept: */*
{
"consentRecord": {
"id": "",
"dataAgreement": {
"id": "",
"version": "",
"controller": {
"id": "",
"name": "",
"url": ""
},
"policy": {
"id": "",
"name": "",
"version": "",
"url": "",
"jurisdiction": "",
"industrySector": "",
"dataRetentionPeriodDays": "",
"geographicRestriction": "",
"storageLocation": ""
},
"purpose": "",
"lawfulBasis": "",
"dataUse": "",
"dpia": "",
"active": "",
"forgettable": "",
"compatibleWithVersion": {
"id": "",
"version": "",
"controller": {
"id": "",
"name": "",
"url": ""
},
"policy": {
"id": "",
"name": "",
"version": "",
"url": "",
"jurisdiction": "",
"industrySector": "",
"dataRetentionPeriodDays": "",
"geographicRestriction": "",
"storageLocation": ""
},
"purpose": "",
"lawfulBasis": "",
"dataUse": "",
"dpia": "",
"active": "",
"forgettable": "",
"compatibleWithVersion": {
"id": "",
"version": "",
"controller": {
"id": "",
"name": "",
"url": ""
},
"policy": {
"id": "",
"name": "",
"version": "",
"url": "",
"jurisdiction": "",
"industrySector": "",
"dataRetentionPeriodDays": "",
"geographicRestriction": "",
"storageLocation": ""
},
"purpose": "",
"lawfulBasis": "",
"dataUse": "",
"dpia": "",
"active": "",
"forgettable": "",
"compatibleWithVersion": {
"id": "",
"version": "",
"controller": {
"id": "",
"name": "",
"url": ""
},
"policy": {
"id": "",
"name": "",
"version": "",
"url": "",
"jurisdiction": "",
"industrySector": "",
"dataRetentionPeriodDays": "",
"geographicRestriction": "",
"storageLocation": ""
},
"purpose": "",
"lawfulBasis": "",
"dataUse": "",
"dpia": "",
"active": "",
"forgettable": "",
"compatibleWithVersion": "[Circular Reference]",
"lifecycle": {
"id": "",
"name": ""
},
"signature": {
"id": "",
"payload": "",
"signature": "",
"verificationMethod": "",
"verificationPayload": "",
"verificationPayloadHash": "",
"verificationArtifact": "",
"verificationSignedBy": "",
"verificationSignedAs": "",
"verificationJwsHeader": "",
"timestamp": "",
"signedWithoutObjectReference": "",
"objectType": "",
"objectReference": ""
}
},
"lifecycle": {
"id": "",
"name": ""
},
"signature": {
"id": "",
"payload": "",
"signature": "",
"verificationMethod": "",
"verificationPayload": "",
"verificationPayloadHash": "",
"verificationArtifact": "",
"verificationSignedBy": "",
"verificationSignedAs": "",
"verificationJwsHeader": "",
"timestamp": "",
"signedWithoutObjectReference": "",
"objectType": "",
"objectReference": ""
}
},
"lifecycle": {
"id": "",
"name": ""
},
"signature": {
"id": "",
"payload": "",
"signature": "",
"verificationMethod": "",
"verificationPayload": "",
"verificationPayloadHash": "",
"verificationArtifact": "",
"verificationSignedBy": "",
"verificationSignedAs": "",
"verificationJwsHeader": "",
"timestamp": "",
"signedWithoutObjectReference": "",
"objectType": "",
"objectReference": ""
}
},
"lifecycle": {
"id": "",
"name": ""
},
"signature": {
"id": "",
"payload": "",
"signature": "",
"verificationMethod": "",
"verificationPayload": "",
"verificationPayloadHash": "",
"verificationArtifact": "",
"verificationSignedBy": "",
"verificationSignedAs": "",
"verificationJwsHeader": "",
"timestamp": "",
"signedWithoutObjectReference": "",
"objectType": "",
"objectReference": ""
}
},
"dataAgreementRevision": {
"id": "",
"schemaName": "",
"objectId": "",
"signedWithoutObjectId": "",
"serializedSnapshot": "",
"serializedHash": "",
"timestamp": "",
"authorizedByIndividual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"authorizedByOther": "",
"successor": {
"id": "",
"schemaName": "",
"objectId": "",
"signedWithoutObjectId": "",
"serializedSnapshot": "",
"serializedHash": "",
"timestamp": "",
"authorizedByIndividual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"authorizedByOther": "",
"successor": {
"id": "",
"schemaName": "",
"objectId": "",
"signedWithoutObjectId": "",
"serializedSnapshot": "",
"serializedHash": "",
"timestamp": "",
"authorizedByIndividual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"authorizedByOther": "",
"successor": {
"id": "",
"schemaName": "",
"objectId": "",
"signedWithoutObjectId": "",
"serializedSnapshot": "",
"serializedHash": "",
"timestamp": "",
"authorizedByIndividual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"authorizedByOther": "",
"successor": "[Circular Reference]",
"predecessorHash": "",
"predecessorSignature": ""
},
"predecessorHash": "",
"predecessorSignature": ""
},
"predecessorHash": "",
"predecessorSignature": ""
},
"predecessorHash": "",
"predecessorSignature": ""
},
"dataAgreementRevisionHash": "",
"individual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"optIn": "",
"state": "",
"signature": {
"id": "",
"payload": "",
"signature": "",
"verificationMethod": "",
"verificationPayload": "",
"verificationPayloadHash": "",
"verificationArtifact": "",
"verificationSignedBy": "",
"verificationSignedAs": "",
"verificationJwsHeader": "",
"timestamp": "",
"signedWithoutObjectReference": "",
"objectType": "",
"objectReference": ""
}
},
"signature": {
"id": "",
"payload": "",
"signature": "",
"verificationMethod": "",
"verificationPayload": "",
"verificationPayloadHash": "",
"verificationArtifact": "",
"verificationSignedBy": "",
"verificationSignedAs": "",
"verificationJwsHeader": "",
"timestamp": "",
"signedWithoutObjectReference": "",
"objectType": "",
"objectReference": ""
}
}
LIST - Fetches all current unambiguous consent records stored for Individual ID. Individual ID supplied as HTTP header.
Requested index for start of resources to be provided in response requested by client
Requested number of resources to be provided in response requested by client
GET /apis/GovStack/consent-management-bb//service/individual/record/consent-record/ HTTP/1.1
Host: app.swaggerhub.com
Accept: */*
{
"consentRecords": [
{
"id": "",
"dataAgreement": {
"id": "",
"version": "",
"controller": {
"id": "",
"name": "",
"url": ""
},
"policy": {
"id": "",
"name": "",
"version": "",
"url": "",
"jurisdiction": "",
"industrySector": "",
"dataRetentionPeriodDays": "",
"geographicRestriction": "",
"storageLocation": ""
},
"purpose": "",
"lawfulBasis": "",
"dataUse": "",
"dpia": "",
"active": "",
"forgettable": "",
"compatibleWithVersion": {
"id": "",
"version": "",
"controller": {
"id": "",
"name": "",
"url": ""
},
"policy": {
"id": "",
"name": "",
"version": "",
"url": "",
"jurisdiction": "",
"industrySector": "",
"dataRetentionPeriodDays": "",
"geographicRestriction": "",
"storageLocation": ""
},
"purpose": "",
"lawfulBasis": "",
"dataUse": "",
"dpia": "",
"active": "",
"forgettable": "",
"compatibleWithVersion": {
"id": "",
"version": "",
"controller": {
"id": "",
"name": "",
"url": ""
},
"policy": {
"id": "",
"name": "",
"version": "",
"url": "",
"jurisdiction": "",
"industrySector": "",
"dataRetentionPeriodDays": "",
"geographicRestriction": "",
"storageLocation": ""
},
"purpose": "",
"lawfulBasis": "",
"dataUse": "",
"dpia": "",
"active": "",
"forgettable": "",
"compatibleWithVersion": "[Circular Reference]",
"lifecycle": {
"id": "",
"name": ""
},
"signature": {
"id": "",
"payload": "",
"signature": "",
"verificationMethod": "",
"verificationPayload": "",
"verificationPayloadHash": "",
"verificationArtifact": "",
"verificationSignedBy": "",
"verificationSignedAs": "",
"verificationJwsHeader": "",
"timestamp": "",
"signedWithoutObjectReference": "",
"objectType": "",
"objectReference": ""
}
},
"lifecycle": {
"id": "",
"name": ""
},
"signature": {
"id": "",
"payload": "",
"signature": "",
"verificationMethod": "",
"verificationPayload": "",
"verificationPayloadHash": "",
"verificationArtifact": "",
"verificationSignedBy": "",
"verificationSignedAs": "",
"verificationJwsHeader": "",
"timestamp": "",
"signedWithoutObjectReference": "",
"objectType": "",
"objectReference": ""
}
},
"lifecycle": {
"id": "",
"name": ""
},
"signature": {
"id": "",
"payload": "",
"signature": "",
"verificationMethod": "",
"verificationPayload": "",
"verificationPayloadHash": "",
"verificationArtifact": "",
"verificationSignedBy": "",
"verificationSignedAs": "",
"verificationJwsHeader": "",
"timestamp": "",
"signedWithoutObjectReference": "",
"objectType": "",
"objectReference": ""
}
},
"dataAgreementRevision": {
"id": "",
"schemaName": "",
"objectId": "",
"signedWithoutObjectId": "",
"serializedSnapshot": "",
"serializedHash": "",
"timestamp": "",
"authorizedByIndividual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"authorizedByOther": "",
"successor": {
"id": "",
"schemaName": "",
"objectId": "",
"signedWithoutObjectId": "",
"serializedSnapshot": "",
"serializedHash": "",
"timestamp": "",
"authorizedByIndividual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"authorizedByOther": "",
"successor": {
"id": "",
"schemaName": "",
"objectId": "",
"signedWithoutObjectId": "",
"serializedSnapshot": "",
"serializedHash": "",
"timestamp": "",
"authorizedByIndividual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"authorizedByOther": "",
"successor": "[Circular Reference]",
"predecessorHash": "",
"predecessorSignature": ""
},
"predecessorHash": "",
"predecessorSignature": ""
},
"predecessorHash": "",
"predecessorSignature": ""
},
"dataAgreementRevisionHash": "",
"individual": {
"id": "",
"externalId": "",
"externalIdType": "",
"identityProviderId": ""
},
"optIn": "",
"state": "",
"signature": {
"id": "",
"payload": "",
"signature": "",
"verificationMethod": "",
"verificationPayload": "",
"verificationPayloadHash": "",
"verificationArtifact": "",
"verificationSignedBy": "",
"verificationSignedAs": "",
"verificationJwsHeader": "",
"timestamp": "",
"signedWithoutObjectReference": "",
"objectType": "",
"objectReference": ""
}
}
]
}
LIST - Fetches all consent records given to a particular agreement. Individual ID supplied as HTTP header.
Unique ID of an object
Requested index for start of resources to be provided in response requested by client
Requested number of resources to be provided in response requested by client
GET /apis/GovStack/consent-management-bb//service/individual/record/data-agreement/{dataAgreementId}/all/ HTTP/1.1
Host: app.swaggerhub.com
Accept: */*
{
"consentRecords": [
{
"id": "",
"dataAgreement": {
"id": "",
"version": "",
"controller": {
"id": "",
"name": "",
"url": ""
},
"policy": {
"id": "",
"name": "",
"version": "",
"url": "",
"jurisdiction": "",
"industrySector": "",
"dataRetentionPeriodDays": "",
"geographicRestriction": "",
"storageLocation": ""
},
"purpose": "",
"lawfulBasis": "",
"dataUse": "",
"dpia": "",
"active": "",
"forgettable": "",
"compatibleWithVersion": {
"id": "",
"version": "",
"controller": {
"id": "",
"name": "",
"url": ""
},
"policy": {
"id": "",
"name": "",
"version": "",
"url": "",
"jurisdiction": "",
"industrySector": "",
"dataRetentionPeriodDays": "",
"geographicRestriction": "",
"storageLocation": ""
},
"purpose": "",
"lawfulBasis": "",
"dataUse": "",
"dpia": "",
"active": "",
"forgettable": "",
"compatibleWithVersion": {
"id": "",
"version": "",
"controller": {
"id": "",
"name": "",
"url": ""
},
"policy": {
"id": "",
"name": "",
"version": "",
"url": "",
"jurisdiction": "",
"industrySector": "",
"dataRetentionPeriodDays": "",
"geographicRestriction": "",
"storageLocation": ""
},
"purpose": "",
"lawfulBasis": "",
"dataUse": "",
"dpia": "",
"active": "",
"forgettable": "",
"compatibleWithVersion": "[Circular Reference]",
"lifecycle": {
"id": "",
"name": ""
},
"signature": {
"id": "",
"payload": "",
"signature": "",
"verificationMethod": "",
"verificationPayload": "",
"verificationPayloadHash": "",
"verificationArtifact": "",
"verificationSignedBy": "",
"verificationSignedAs": "",
"verificationJwsHeader": "",
"timestamp": "",
"signedWithoutObjectReference": "",
"objectType": "",
"objectReference": ""
}
},
"lifecycle": {
"id": "",
"name": ""
},
"signature": {
"id": "",
"payload": "",
"signature": "",
"verificationMethod": "",
"verificationPayload": "",
"verificationPayloadHash": "",