private async Task<Dictionary<string, object>> CreateMetadata(Uri hostUri, string id, Dictionary<string, object> metadata, string scope, string template)
{
BoxRequest request = new BoxRequest(hostUri, string.Format(Constants.MetadataPathString, id, scope, template))
.Method(RequestMethod.Post)
.Payload(_converter.Serialize(metadata));
request.ContentType = Constants.RequestParameters.ContentTypeJson;
IBoxResponse<Dictionary<string, object>> response = await ToResponseAsync<Dictionary<string, object>>(request).ConfigureAwait(false);
return response.ResponseObject;
}