Create a new document
Description
Description
Gets a collection of artifacts related to a specific service request.
Package Details
Interface
IArtifactManager
Syntax
Task<ICollection<ArtifactInfo>> GetArtifacts(int serviceRequestId, ArtifactSelectionType artifactSelectionType);
Returns
Task<ICollection<ArtifactInfo>>
API Endpoint
GET
api/v1/servicerequests/{id}/artifacts
Parameters
Parameter | Description | Parameter Type |
---|---|---|
id |
Sample request body
...
Service request id | Path | |
artifactSelectionType | Possible values are:
| Query string |
Returns
On success, 200 Ok
...
Example
Code Block | ||
---|---|---|
| ||
const int serviceRequestId = 2245;
var allArtifacts = await ArtifactManager.GetArtifacts(serviceRequestId, ArtifactSelectionType.All); |