Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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:

  • All

  • Active

  • Archived

Query string

Returns

On success, 200 Ok

...

Example

Code Block
languagec#
const int serviceRequestId = 2245;

var allArtifacts = await ArtifactManager.GetArtifacts(serviceRequestId, ArtifactSelectionType.All);