A service artifact is a JSON-based text which, when rendered in HTML, represents the control of a service form. Service artifacts are used exclusively by the Accelerated Forms project for now.
Service artifacts are stored in the TC219_SERVICE_ARTIFACT table where each artifact has the following properties:
Service ID
This is ID of the service this artifact is associated with.
Alias
This is the name of the artifact. It can be used (along with version and/or service id) in order to retrieve a specific artifact.
JSON
This is the JSON text of the artifact.
The following methods are available on the IServiceArtifactManager interface:
GetById(int id)
Description
Returns information on a service artifact based on it id in the database.
Syntax
GetById(int id)
Returns
Task<ServiceArtifactInfo>
API
GET /api/v1/service-artifact/{id}/info
Parameters
id: id of service artifact in the database
Returns
200 OK - ServiceArtifactInfo object.