Versions Compared

Key

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

...

Returns

Task<T>

API Endpoint

...

Not applicable.

...

Parameter

...

Description

...

Parameter Type

Sample request body

Example

Code Block
languagejson

Returns

On success, 200 Ok

On error, 400 Bad Request

On authorization error, 403 Forbidden

Example

Code Block
languagec#c#
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);