Esempio n. 1
0
 /// <summary>
 /// Create a Journal Note with attachment
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='body'>
 /// The requestmodel to save as a journal note record, in the Core system
 /// </param>
 /// <param name='momentumCitizenId'>
 /// The MomentumCitizenID or CitizenId to Create the journal note record in the
 /// Core system
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <ProblemDetails> CreateJournalNoteAsync(this IInternalClient operations, JournalNoteRequestModel body, string momentumCitizenId, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.CreateJournalNoteWithHttpMessagesAsync(body, momentumCitizenId, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }