KronoDesk: REST Web Service (v4.0)
Click here for a complete list of operations.
GET: artifacts/{artifact_type_id}/{artifact_id}/documents
Description
Gets a list of attached documents to an artifact
How to Execute
To access this REST web service, you need to use the following URL:
https://api.inflectra.com/KronoDesk/Services/v3_0/RestService.svc/artifacts/{artifact_type_id}/{artifact_id}/documents
Request Parameters
Name
|
Description
|
artifact_type_id
|
The type of the artifact. Valid values for documents are:
5 = Article
6 = Ticket
|
artifact_id
|
The artifact's ID.
|
Request Body
Return Data
<ArrayOfRemoteDocument xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Inflectra.KronoDesk.Web.Services.v3_0.DataObjects">
<RemoteDocument>
<ArtifactId i:nil="true" />
<ArtifactTypeId i:nil="true" />
<AttachmentId i:nil="true" />
<AttachmentTypeId>0</AttachmentTypeId>
<AuthorId i:nil="true" />
<AuthorName i:nil="true" />
<Description i:nil="true" />
<DocumentURL i:nil="true" />
<FilenameOrUrl i:nil="true" />
<Hash i:nil="true" />
<Size>0</Size>
<UploadDate>0001-01-01T00:00:00</UploadDate>
</RemoteDocument>
</ArrayOfRemoteDocument>
[{"ArtifactId":null,
"ArtifactTypeId":null,
"AttachmentId":null,
"AttachmentTypeId":0,
"AuthorId":null,
"AuthorName":null,
"Description":null,
"DocumentURL":null,
"FilenameOrUrl":null,
"Hash":null,
"Size":0,
"UploadDate":"\/Date(-62135578800000-0500)\/"}]