All URIs are relative to https://api-v2.fattureincloud.it
Method | HTTP request | Description |
---|---|---|
ListArchiveCategories | GET /c/{company_id}/info/archive_categories | List Archive Categories |
ListCities | GET /info/cities | List Cities |
ListCostCenters | GET /c/{company_id}/info/cost_centers | List Cost Centers |
ListCountries | GET /info/countries | List Countries |
ListCurrencies | GET /info/currencies | List Currencies |
ListDeliveryNotesDefaultCausals | GET /info/dn_causals | List Delivery Notes Default Causals |
ListDetailedCountries | GET /info/detailed_countries | List Detailed Countries |
ListLanguages | GET /info/languages | List Languages |
ListPaymentAccounts | GET /c/{company_id}/info/payment_accounts | List Payment Accounts |
ListPaymentMethods | GET /c/{company_id}/info/payment_methods | List Payment Methods |
ListProductCategories | GET /c/{company_id}/info/product_categories | List Product Categories |
ListReceivedDocumentCategories | GET /c/{company_id}/info/received_document_categories | List Received Document Categories |
ListRevenueCenters | GET /c/{company_id}/info/revenue_centers | List Revenue Centers |
ListTemplates | GET /info/templates | List Templates |
ListUnitsOfMeasure | GET /info/measures | List Units of Measure |
ListVatTypes | GET /c/{company_id}/info/vat_types | List Vat Types |
ListArchiveCategoriesResponse ListArchiveCategories (int companyId)
List Archive Categories
Lists the archive categories.
using System.Collections.Generic;
using System.Diagnostics;
using It.FattureInCloud.Sdk.Api;
using It.FattureInCloud.Sdk.Client;
using It.FattureInCloud.Sdk.Model;
namespace Example
{
public class ListArchiveCategoriesExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api-v2.fattureincloud.it";
// Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
config.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new InfoApi(config);
var companyId = 12345; // int | The ID of the company.
try
{
// List Archive Categories
ListArchiveCategoriesResponse result = apiInstance.ListArchiveCategories(companyId);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling InfoApi.ListArchiveCategories: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This returns an ApiResponse object which contains the response data, status code and headers.
try
{
// List Archive Categories
ApiResponse<ListArchiveCategoriesResponse> response = apiInstance.ListArchiveCategoriesWithHttpInfo(companyId);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling InfoApi.ListArchiveCategoriesWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
Name | Type | Description | Notes |
---|---|---|---|
companyId | int | The ID of the company. |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Archive Categories list. | - |
401 | Unauthorized | - |
404 | Not Found | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ListCitiesResponse ListCities (string postalCode = null, string city = null)
List Cities
Lists the Italian cities.
using System.Collections.Generic;
using System.Diagnostics;
using It.FattureInCloud.Sdk.Api;
using It.FattureInCloud.Sdk.Client;
using It.FattureInCloud.Sdk.Model;
namespace Example
{
public class ListCitiesExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api-v2.fattureincloud.it";
// Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
config.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new InfoApi(config);
var postalCode = "postalCode_example"; // string | Postal code for filtering. (optional)
var city = "city_example"; // string | City for filtering (ignored if postal_code is passed). (optional)
try
{
// List Cities
ListCitiesResponse result = apiInstance.ListCities(postalCode, city);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling InfoApi.ListCities: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This returns an ApiResponse object which contains the response data, status code and headers.
try
{
// List Cities
ApiResponse<ListCitiesResponse> response = apiInstance.ListCitiesWithHttpInfo(postalCode, city);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling InfoApi.ListCitiesWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
Name | Type | Description | Notes |
---|---|---|---|
postalCode | string | Postal code for filtering. | [optional] |
city | string | City for filtering (ignored if postal_code is passed). | [optional] |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Cities List. | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ListCostCentersResponse ListCostCenters (int companyId)
List Cost Centers
Lists the cost centers.
using System.Collections.Generic;
using System.Diagnostics;
using It.FattureInCloud.Sdk.Api;
using It.FattureInCloud.Sdk.Client;
using It.FattureInCloud.Sdk.Model;
namespace Example
{
public class ListCostCentersExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api-v2.fattureincloud.it";
// Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
config.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new InfoApi(config);
var companyId = 12345; // int | The ID of the company.
try
{
// List Cost Centers
ListCostCentersResponse result = apiInstance.ListCostCenters(companyId);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling InfoApi.ListCostCenters: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This returns an ApiResponse object which contains the response data, status code and headers.
try
{
// List Cost Centers
ApiResponse<ListCostCentersResponse> response = apiInstance.ListCostCentersWithHttpInfo(companyId);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling InfoApi.ListCostCentersWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
Name | Type | Description | Notes |
---|---|---|---|
companyId | int | The ID of the company. |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | List of Cost Centers | - |
401 | Unauthorized | - |
404 | Not Found | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ListCountriesResponse ListCountries ()
List Countries
Lists the supported countries.
using System.Collections.Generic;
using System.Diagnostics;
using It.FattureInCloud.Sdk.Api;
using It.FattureInCloud.Sdk.Client;
using It.FattureInCloud.Sdk.Model;
namespace Example
{
public class ListCountriesExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api-v2.fattureincloud.it";
// Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
config.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new InfoApi(config);
try
{
// List Countries
ListCountriesResponse result = apiInstance.ListCountries();
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling InfoApi.ListCountries: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This returns an ApiResponse object which contains the response data, status code and headers.
try
{
// List Countries
ApiResponse<ListCountriesResponse> response = apiInstance.ListCountriesWithHttpInfo();
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling InfoApi.ListCountriesWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | List of countries | - |
401 | Unauthorized | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ListCurrenciesResponse ListCurrencies ()
List Currencies
Lists the supported currencies.
using System.Collections.Generic;
using System.Diagnostics;
using It.FattureInCloud.Sdk.Api;
using It.FattureInCloud.Sdk.Client;
using It.FattureInCloud.Sdk.Model;
namespace Example
{
public class ListCurrenciesExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api-v2.fattureincloud.it";
// Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
config.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new InfoApi(config);
try
{
// List Currencies
ListCurrenciesResponse result = apiInstance.ListCurrencies();
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling InfoApi.ListCurrencies: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This returns an ApiResponse object which contains the response data, status code and headers.
try
{
// List Currencies
ApiResponse<ListCurrenciesResponse> response = apiInstance.ListCurrenciesWithHttpInfo();
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling InfoApi.ListCurrenciesWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Currencies List. | - |
401 | Unauthorized | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ListDeliveryNotesDefaultCausalsResponse ListDeliveryNotesDefaultCausals ()
List Delivery Notes Default Causals
Lists the delivery note default causals.
using System.Collections.Generic;
using System.Diagnostics;
using It.FattureInCloud.Sdk.Api;
using It.FattureInCloud.Sdk.Client;
using It.FattureInCloud.Sdk.Model;
namespace Example
{
public class ListDeliveryNotesDefaultCausalsExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api-v2.fattureincloud.it";
// Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
config.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new InfoApi(config);
try
{
// List Delivery Notes Default Causals
ListDeliveryNotesDefaultCausalsResponse result = apiInstance.ListDeliveryNotesDefaultCausals();
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling InfoApi.ListDeliveryNotesDefaultCausals: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This returns an ApiResponse object which contains the response data, status code and headers.
try
{
// List Delivery Notes Default Causals
ApiResponse<ListDeliveryNotesDefaultCausalsResponse> response = apiInstance.ListDeliveryNotesDefaultCausalsWithHttpInfo();
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling InfoApi.ListDeliveryNotesDefaultCausalsWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
This endpoint does not need any parameter.
ListDeliveryNotesDefaultCausalsResponse
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | List of Delivery Notes Default Causals | - |
401 | Unauthorized | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ListDetailedCountriesResponse ListDetailedCountries ()
List Detailed Countries
Lists the supported countries.
using System.Collections.Generic;
using System.Diagnostics;
using It.FattureInCloud.Sdk.Api;
using It.FattureInCloud.Sdk.Client;
using It.FattureInCloud.Sdk.Model;
namespace Example
{
public class ListDetailedCountriesExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api-v2.fattureincloud.it";
// Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
config.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new InfoApi(config);
try
{
// List Detailed Countries
ListDetailedCountriesResponse result = apiInstance.ListDetailedCountries();
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling InfoApi.ListDetailedCountries: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This returns an ApiResponse object which contains the response data, status code and headers.
try
{
// List Detailed Countries
ApiResponse<ListDetailedCountriesResponse> response = apiInstance.ListDetailedCountriesWithHttpInfo();
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling InfoApi.ListDetailedCountriesWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | List of detailed countries | - |
401 | Unauthorized | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ListLanguagesResponse ListLanguages ()
List Languages
Lists the supported languages.
using System.Collections.Generic;
using System.Diagnostics;
using It.FattureInCloud.Sdk.Api;
using It.FattureInCloud.Sdk.Client;
using It.FattureInCloud.Sdk.Model;
namespace Example
{
public class ListLanguagesExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api-v2.fattureincloud.it";
// Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
config.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new InfoApi(config);
try
{
// List Languages
ListLanguagesResponse result = apiInstance.ListLanguages();
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling InfoApi.ListLanguages: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This returns an ApiResponse object which contains the response data, status code and headers.
try
{
// List Languages
ApiResponse<ListLanguagesResponse> response = apiInstance.ListLanguagesWithHttpInfo();
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling InfoApi.ListLanguagesWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | LanguagesList | - |
401 | Unauthorized | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ListPaymentAccountsResponse ListPaymentAccounts (int companyId, string fields = null, string fieldset = null, string sort = null)
List Payment Accounts
Lists the available payment accounts.
using System.Collections.Generic;
using System.Diagnostics;
using It.FattureInCloud.Sdk.Api;
using It.FattureInCloud.Sdk.Client;
using It.FattureInCloud.Sdk.Model;
namespace Example
{
public class ListPaymentAccountsExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api-v2.fattureincloud.it";
// Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
config.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new InfoApi(config);
var companyId = 12345; // int | The ID of the company.
var fields = "fields_example"; // string | List of comma-separated fields. (optional)
var fieldset = "basic"; // string | Name of the fieldset. (optional)
var sort = "sort_example"; // string | List of comma-separated fields for result sorting (minus for desc sorting). (optional)
try
{
// List Payment Accounts
ListPaymentAccountsResponse result = apiInstance.ListPaymentAccounts(companyId, fields, fieldset, sort);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling InfoApi.ListPaymentAccounts: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This returns an ApiResponse object which contains the response data, status code and headers.
try
{
// List Payment Accounts
ApiResponse<ListPaymentAccountsResponse> response = apiInstance.ListPaymentAccountsWithHttpInfo(companyId, fields, fieldset, sort);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling InfoApi.ListPaymentAccountsWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
Name | Type | Description | Notes |
---|---|---|---|
companyId | int | The ID of the company. | |
fields | string | List of comma-separated fields. | [optional] |
fieldset | string | Name of the fieldset. | [optional] |
sort | string | List of comma-separated fields for result sorting (minus for desc sorting). | [optional] |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Payment accounts list. | - |
401 | Unauthorized | - |
404 | Not Found | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ListPaymentMethodsResponse ListPaymentMethods (int companyId, string fields = null, string fieldset = null, string sort = null)
List Payment Methods
Lists the available payment methods.
using System.Collections.Generic;
using System.Diagnostics;
using It.FattureInCloud.Sdk.Api;
using It.FattureInCloud.Sdk.Client;
using It.FattureInCloud.Sdk.Model;
namespace Example
{
public class ListPaymentMethodsExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api-v2.fattureincloud.it";
// Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
config.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new InfoApi(config);
var companyId = 12345; // int | The ID of the company.
var fields = "fields_example"; // string | List of comma-separated fields. (optional)
var fieldset = "basic"; // string | Name of the fieldset. (optional)
var sort = "sort_example"; // string | List of comma-separated fields for result sorting (minus for desc sorting). (optional)
try
{
// List Payment Methods
ListPaymentMethodsResponse result = apiInstance.ListPaymentMethods(companyId, fields, fieldset, sort);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling InfoApi.ListPaymentMethods: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This returns an ApiResponse object which contains the response data, status code and headers.
try
{
// List Payment Methods
ApiResponse<ListPaymentMethodsResponse> response = apiInstance.ListPaymentMethodsWithHttpInfo(companyId, fields, fieldset, sort);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling InfoApi.ListPaymentMethodsWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
Name | Type | Description | Notes |
---|---|---|---|
companyId | int | The ID of the company. | |
fields | string | List of comma-separated fields. | [optional] |
fieldset | string | Name of the fieldset. | [optional] |
sort | string | List of comma-separated fields for result sorting (minus for desc sorting). | [optional] |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Payment methods list. | - |
401 | Unauthorized | - |
404 | Not Found | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ListProductCategoriesResponse ListProductCategories (int companyId, string context)
List Product Categories
Lists the product categories.
using System.Collections.Generic;
using System.Diagnostics;
using It.FattureInCloud.Sdk.Api;
using It.FattureInCloud.Sdk.Client;
using It.FattureInCloud.Sdk.Model;
namespace Example
{
public class ListProductCategoriesExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api-v2.fattureincloud.it";
// Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
config.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new InfoApi(config);
var companyId = 12345; // int | The ID of the company.
var context = "products"; // string | Categories resource type.
try
{
// List Product Categories
ListProductCategoriesResponse result = apiInstance.ListProductCategories(companyId, context);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling InfoApi.ListProductCategories: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This returns an ApiResponse object which contains the response data, status code and headers.
try
{
// List Product Categories
ApiResponse<ListProductCategoriesResponse> response = apiInstance.ListProductCategoriesWithHttpInfo(companyId, context);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling InfoApi.ListProductCategoriesWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
Name | Type | Description | Notes |
---|---|---|---|
companyId | int | The ID of the company. | |
context | string | Categories resource type. |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Product Categories List | - |
401 | Unauthorized | - |
404 | Not Found | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ListReceivedDocumentCategoriesResponse ListReceivedDocumentCategories (int companyId)
List Received Document Categories
Lists the received document categories.
using System.Collections.Generic;
using System.Diagnostics;
using It.FattureInCloud.Sdk.Api;
using It.FattureInCloud.Sdk.Client;
using It.FattureInCloud.Sdk.Model;
namespace Example
{
public class ListReceivedDocumentCategoriesExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api-v2.fattureincloud.it";
// Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
config.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new InfoApi(config);
var companyId = 12345; // int | The ID of the company.
try
{
// List Received Document Categories
ListReceivedDocumentCategoriesResponse result = apiInstance.ListReceivedDocumentCategories(companyId);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling InfoApi.ListReceivedDocumentCategories: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This returns an ApiResponse object which contains the response data, status code and headers.
try
{
// List Received Document Categories
ApiResponse<ListReceivedDocumentCategoriesResponse> response = apiInstance.ListReceivedDocumentCategoriesWithHttpInfo(companyId);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling InfoApi.ListReceivedDocumentCategoriesWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
Name | Type | Description | Notes |
---|---|---|---|
companyId | int | The ID of the company. |
ListReceivedDocumentCategoriesResponse
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Received Document Categories List | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ListRevenueCentersResponse ListRevenueCenters (int companyId)
List Revenue Centers
Lists the revenue centers.
using System.Collections.Generic;
using System.Diagnostics;
using It.FattureInCloud.Sdk.Api;
using It.FattureInCloud.Sdk.Client;
using It.FattureInCloud.Sdk.Model;
namespace Example
{
public class ListRevenueCentersExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api-v2.fattureincloud.it";
// Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
config.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new InfoApi(config);
var companyId = 12345; // int | The ID of the company.
try
{
// List Revenue Centers
ListRevenueCentersResponse result = apiInstance.ListRevenueCenters(companyId);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling InfoApi.ListRevenueCenters: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This returns an ApiResponse object which contains the response data, status code and headers.
try
{
// List Revenue Centers
ApiResponse<ListRevenueCentersResponse> response = apiInstance.ListRevenueCentersWithHttpInfo(companyId);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling InfoApi.ListRevenueCentersWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
Name | Type | Description | Notes |
---|---|---|---|
companyId | int | The ID of the company. |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | List of Revenue Centers | - |
401 | Unauthorized | - |
404 | Not Found | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ListTemplatesResponse ListTemplates (string type = null, bool? byType = null)
List Templates
Lists the available templates.
using System.Collections.Generic;
using System.Diagnostics;
using It.FattureInCloud.Sdk.Api;
using It.FattureInCloud.Sdk.Client;
using It.FattureInCloud.Sdk.Model;
namespace Example
{
public class ListTemplatesExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api-v2.fattureincloud.it";
// Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
config.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new InfoApi(config);
var type = "all"; // string | Type of the templates. (optional) (default to all)
var byType = false; // bool? | [Only if type=all] If true, splits the list in objects, grouping templates by type. (optional) (default to false)
try
{
// List Templates
ListTemplatesResponse result = apiInstance.ListTemplates(type, byType);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling InfoApi.ListTemplates: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This returns an ApiResponse object which contains the response data, status code and headers.
try
{
// List Templates
ApiResponse<ListTemplatesResponse> response = apiInstance.ListTemplatesWithHttpInfo(type, byType);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling InfoApi.ListTemplatesWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
Name | Type | Description | Notes |
---|---|---|---|
type | string | Type of the templates. | [optional] [default to all] |
byType | bool? | [Only if type=all] If true, splits the list in objects, grouping templates by type. | [optional] [default to false] |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Templates list. | - |
401 | Unauthorized | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ListUnitsOfMeasureResponse ListUnitsOfMeasure ()
List Units of Measure
Lists the units of measure.
using System.Collections.Generic;
using System.Diagnostics;
using It.FattureInCloud.Sdk.Api;
using It.FattureInCloud.Sdk.Client;
using It.FattureInCloud.Sdk.Model;
namespace Example
{
public class ListUnitsOfMeasureExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api-v2.fattureincloud.it";
// Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
config.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new InfoApi(config);
try
{
// List Units of Measure
ListUnitsOfMeasureResponse result = apiInstance.ListUnitsOfMeasure();
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling InfoApi.ListUnitsOfMeasure: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This returns an ApiResponse object which contains the response data, status code and headers.
try
{
// List Units of Measure
ApiResponse<ListUnitsOfMeasureResponse> response = apiInstance.ListUnitsOfMeasureWithHttpInfo();
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling InfoApi.ListUnitsOfMeasureWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Units of measure. | - |
401 | Unauthorized | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ListVatTypesResponse ListVatTypes (int companyId, string fieldset = null)
List Vat Types
Lists the available vat types.
using System.Collections.Generic;
using System.Diagnostics;
using It.FattureInCloud.Sdk.Api;
using It.FattureInCloud.Sdk.Client;
using It.FattureInCloud.Sdk.Model;
namespace Example
{
public class ListVatTypesExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api-v2.fattureincloud.it";
// Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
config.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new InfoApi(config);
var companyId = 12345; // int | The ID of the company.
var fieldset = "basic"; // string | Name of the fieldset. (optional)
try
{
// List Vat Types
ListVatTypesResponse result = apiInstance.ListVatTypes(companyId, fieldset);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling InfoApi.ListVatTypes: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This returns an ApiResponse object which contains the response data, status code and headers.
try
{
// List Vat Types
ApiResponse<ListVatTypesResponse> response = apiInstance.ListVatTypesWithHttpInfo(companyId, fieldset);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling InfoApi.ListVatTypesWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
Name | Type | Description | Notes |
---|---|---|---|
companyId | int | The ID of the company. | |
fieldset | string | Name of the fieldset. | [optional] |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | List of Vat Types. | - |
401 | Unauthorized | - |
404 | Not Found | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]