Beispiel #1
0
 /// <summary>
 /// Get entities from spice_companies
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='top'>
 /// </param>
 /// <param name='skip'>
 /// </param>
 /// <param name='search'>
 /// </param>
 /// <param name='filter'>
 /// </param>
 /// <param name='count'>
 /// </param>
 /// <param name='orderby'>
 /// Order items by property values
 /// </param>
 /// <param name='select'>
 /// Select properties to be returned
 /// </param>
 /// <param name='expand'>
 /// Expand related entities
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <CompaniesGetResponseModel> GetAsync(this ICompanies operations, int?top = default(int?), int?skip = default(int?), string search = default(string), string filter = default(string), bool?count = default(bool?), IList <string> orderby = default(IList <string>), IList <string> select = default(IList <string>), IList <string> expand = default(IList <string>), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.GetWithHttpMessagesAsync(top, skip, search, filter, count, orderby, select, expand, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
Beispiel #2
0
 /// <summary>
 /// 事業所の詳細情報の取得
 /// </summary>
 /// <remarks>
 /// ユーザが所属する事業所の詳細を取得する
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='id'>
 /// 事業所ID
 /// </param>
 /// <param name='details'>
 /// 取得情報に勘定科目・税区分コード・税区分・品目・取引先・部門・メモタグ・口座の一覧を含める
 /// </param>
 /// <param name='accountItems'>
 /// 取得情報に勘定科目一覧を含める
 /// </param>
 /// <param name='taxes'>
 /// 取得情報に税区分コード・税区分一覧を含める
 /// </param>
 /// <param name='items'>
 /// 取得情報に品目一覧を含める
 /// </param>
 /// <param name='partners'>
 /// 取得情報に取引先一覧を含める
 /// </param>
 /// <param name='sections'>
 /// 取得情報に部門一覧を含める
 /// </param>
 /// <param name='tags'>
 /// 取得情報にメモタグ一覧を含める
 /// </param>
 /// <param name='walletables'>
 /// 取得情報に口座一覧を含める
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <CompaniesShowResponse> GetAsync(this ICompanies operations, int id, bool?details = default(bool?), bool?accountItems = default(bool?), bool?taxes = default(bool?), bool?items = default(bool?), bool?partners = default(bool?), bool?sections = default(bool?), bool?tags = default(bool?), bool?walletables = default(bool?), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.GetWithHttpMessagesAsync(id, details, accountItems, taxes, items, partners, sections, tags, walletables, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
Beispiel #3
0
 /// <summary>
 /// Get entities from spice_companies
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='top'>
 /// </param>
 /// <param name='skip'>
 /// </param>
 /// <param name='search'>
 /// </param>
 /// <param name='filter'>
 /// </param>
 /// <param name='count'>
 /// </param>
 /// <param name='orderby'>
 /// Order items by property values
 /// </param>
 /// <param name='select'>
 /// Select properties to be returned
 /// </param>
 /// <param name='expand'>
 /// Expand related entities
 /// </param>
 /// <param name='customHeaders'>
 /// Headers that will be added to request.
 /// </param>
 public static HttpOperationResponse <MicrosoftDynamicsCRMspiceCompanyCollection> GetWithHttpMessages(this ICompanies operations, int?top = default(int?), int?skip = default(int?), string search = default(string), string filter = default(string), bool?count = default(bool?), IList <string> orderby = default(IList <string>), IList <string> select = default(IList <string>), IList <string> expand = default(IList <string>), Dictionary <string, List <string> > customHeaders = null)
 {
     return(operations.GetWithHttpMessagesAsync(top, skip, search, filter, count, orderby, select, expand, customHeaders, CancellationToken.None).ConfigureAwait(false).GetAwaiter().GetResult());
 }