public async Task <FileAttachment> AddAsync(string userId, string messageId, FileAttachment officeAttachments)
 {
     return(await _call.PostAsync <FileAttachment, FileAttachment>($"users/{userId}/messages/{messageId}/attachments", officeAttachments).ConfigureAwait(false));
 }
Ejemplo n.º 2
0
 public async Task <User> AssignAsync(string userId, UserLicense UserLicense)
 {
     return(await _call.PostAsync <User, UserLicense>($"users/{userId}/assignLicense", UserLicense).ConfigureAwait(false));
 }
Ejemplo n.º 3
0
 public async Task <Message> ComposeAsync(string userId, Message message)
 {
     return(await _call.PostAsync <Message, Message>($"users/{userId}/messages", message).ConfigureAwait(false));
 }
 public async Task <User> CreateUserAsync(CreateUserRequest user)
 {
     return(await _call.PostAsync <User, CreateUserRequest>($"users", user).ConfigureAwait(false));
 }
Ejemplo n.º 5
0
 public async Task <Subscription> CreateAsync(Subscription officeSubscription)
 {
     return(await _call.PostAsync <Subscription, Subscription>($"subscriptions", officeSubscription).ConfigureAwait(false));
 }
 public async Task <OpenTypeExtensionResponse> CreateAsync(string userId, string messageId, IList <Extension> extensions)
 {
     return(await _call.PostAsync <OpenTypeExtensionResponse, IList <Extension> >($"users/{userId}/messages/{messageId}/extensions", extensions).ConfigureAwait(false));
 }