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 4 Current »

Get a document

Description

Gets an existing document.

Package Details

Interface

IDocumentManager

Syntax

Task<T> Get<T>(int serviceRequestId);

Returns

Task<T>

API Endpoint

Not applicable.

Example

public class MyServiceRequestData
{
     public string DisplayNameEn { get; set; }
     public string DisplayNameFr { get; set; }
     public string DataFieldA { get; set; }
}  
          
// Retrieve the service request document.
//This function accepets a generic parameter, it's not limited to MyServiceRequestData
const int serviceRequestId = 100;
var serviceRequest = await documentManager.Get<MyServiceRequestData>(serviceRequestId);
  • No labels