Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

Get a file by service request id

Description

Gets a file attachment by a service request id.

Package Details

Interface

IFileAttachmentManager

Syntax

await fileAttachmentManager.GetByServiceRequest(<sr id>);

Returns

Task<FileAttachment>

API

GET
/api/v1/servicerequests/{id}/file-attachments

Parameters

Parameter

Description

Parameter Type

id

The service request id

path

Returns

200 OK - File Attachment

Example

const int = 123;
var attachment = await _fileAttachmentManager.GetByServiceRequest(id);

  • No labels