WebApi - MG
This is Swagger Docs for Document WebApi Teamsystemn Enterprise Cloud, more detail at https://swagger.io.
This C# SDK is automatically generated by the Swagger Codegen project:
- API version: v2025.1000
- SDK version: 1.0.0
- Build package: io.swagger.codegen.v3.generators.dotnet.CSharpClientCodegen For more information, please visit https://mysupport.teamsystem.com/
Frameworks supported
- .NET 4.7.1 or later
Dependencies
- RestSharp - 111.4.1 or later
- Json.NET - 7.0.0 or later
- JsonSubTypes - 1.2.0 or later
The DLLs included in the package may not be the latest version. We recommend using NuGet to obtain the latest version of the packages:
Install-Package RestSharp
Install-Package Newtonsoft.Json
Install-Package JsonSubTypes
NOTE: RestSharp versions greater than 105.1.0 have a bug which causes file uploads to fail. See RestSharp#742
Installation
Run the following commands to generate the DLL
cd src/IO.Swagger
dotnet restore
dotnet build
Then include the DLL (under the bin folder) in the C# project, and use the namespaces:
using Api;
using Client;
using Model;
Packaging
A .nuspec is included with the project. You can follow the Nuget quickstart to create and publish packages.
This .nuspec uses placeholders from the .csproj, so build the .csproj directly:
nuget pack -Build -OutputDirectory out csproj
Then, publish to a local feed or other host and consume the new package via Nuget as usual.
Getting Started
using System;
using System.Diagnostics;
using Api;
using Client;
using Model;
namespace Example
{
public class Example
{
public void main()
{
// Configure HTTP basic authorization: Basic
Configuration.Default.Username = "YOUR_USERNAME";
Configuration.Default.Password = "YOUR_PASSWORD";
var apiInstance = new CarrierMGApi();
var op = op_example; // string | The value must be 'new'
var environment = environment_example; // string |
var authorizationScope = authorizationScope_example; // string | The environment where this operation will be executed. This must match with the environment in the url.
var company = company_example; // string | Company code (optional)
var user = user_example; // string | Application user (mandatory if the WebApi user does not have any mapped application user) (optional)
var acceptLanguage = acceptLanguage_example; // string | Example for multilanguage (optional) (default to it-IT)
try
{
// Get new
CarrierMGDTO result = apiInstance.ApiV1EnvironmentMGCarrierMGGet(op, environment, authorizationScope, company, user, acceptLanguage);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling CarrierMGApi.ApiV1EnvironmentMGCarrierMGGet: " + e.Message );
}
}
}
}
Documentation for API Endpoints
All URIs are relative to https://apicsdemo.teamsystem.io
| Class | Method | HTTP request | Description |
|---|---|---|---|
| CarrierMGApi | ApiV1EnvironmentMGCarrierMGGet | GET /api/v1/production/MG/CarrierMG | Get new |
| CarrierMGApi | ApiV1EnvironmentMGCarrierMGIdDelete | DELETE /api/v1/production/MG/CarrierMG/0 | Delete |
| CarrierMGApi | ApiV1EnvironmentMGCarrierMGIdGet | GET /api/v1/production/MG/CarrierMG/0 | Get by ID |
| CarrierMGApi | ApiV1EnvironmentMGCarrierMGIdPatch | PATCH /api/v1/production/MG/CarrierMG/0 | Update partial |
| CarrierMGApi | ApiV1EnvironmentMGCarrierMGIdPut | PUT /api/v1/production/MG/CarrierMG/0 | Update |
| CarrierMGApi | ApiV1EnvironmentMGCarrierMGPost | POST /api/v1/production/MG/CarrierMG | Create |
| CarrierMGApi | ApiV1EnvironmentMGCarrierMGValidatePost | POST /api/v1/production/MG/CarrierMG/validate | Validate |
| CarrierMGApi | ApiV1EnvironmentMGCarrierMGValidatePropertiesPost | POST /api/v1/production/MG/CarrierMG/validateProperties | Validation of one on more properties of Type |
| CompanyDocumentMasterDataMGApi | ApiV1EnvironmentMGCompanyDocumentMasterDataMGGet | GET /api/v1/production/MG/CompanyDocumentMasterDataMG | Get new |
| CompanyDocumentMasterDataMGApi | ApiV1EnvironmentMGCompanyDocumentMasterDataMGIdEnablementwizardGet | GET /api/v1/production/MG/CompanyDocumentMasterDataMG/0/enablementwizard | Service to view the guided authorizations based on the Document Wizard. |
| CompanyDocumentMasterDataMGApi | ApiV1EnvironmentMGCompanyDocumentMasterDataMGIdGet | GET /api/v1/production/MG/CompanyDocumentMasterDataMG/0 | Get by ID |
| CompanyDocumentMasterDataMGApi | ApiV1EnvironmentMGCompanyDocumentMasterDataMGValidatePost | POST /api/v1/production/MG/CompanyDocumentMasterDataMG/validate | Validate |
| CompanyDocumentMasterDataMGApi | ApiV1EnvironmentMGCompanyDocumentMasterDataMGValidatePropertiesPost | POST /api/v1/production/MG/CompanyDocumentMasterDataMG/validateProperties | Validation of one on more properties of Type |
| CustomerSupplierExtensionMGApi | ApiV1EnvironmentMGCustomerSupplierExtensionMGIdGet | GET /api/v1/production/MG/CustomerSupplierExtensionMG/0 | Get by ID |
| CustomerSupplierExtensionMGApi | ApiV1EnvironmentMGCustomerSupplierExtensionMGIdPatch | PATCH /api/v1/production/MG/CustomerSupplierExtensionMG/0 | Update partial |
| CustomerSupplierExtensionMGApi | ApiV1EnvironmentMGCustomerSupplierExtensionMGIdPut | PUT /api/v1/production/MG/CustomerSupplierExtensionMG/0 | Update |
| CustomerSupplierExtensionMGApi | ApiV1EnvironmentMGCustomerSupplierExtensionMGValidatePost | POST /api/v1/production/MG/CustomerSupplierExtensionMG/validate | Validate |
| CustomerSupplierMGApi | ApiV1EnvironmentMGCustomerSupplierMGGet | GET /api/v1/production/MG/CustomerSupplierMG | Get new |
| CustomerSupplierMGApi | ApiV1EnvironmentMGCustomerSupplierMGIdGet | GET /api/v1/production/MG/CustomerSupplierMG/0 | Get by ID |
| CustomerSupplierMGApi | ApiV1EnvironmentMGCustomerSupplierMGValidatePost | POST /api/v1/production/MG/CustomerSupplierMG/validate | Validate |
| CustomerSupplierMGApi | ApiV1EnvironmentMGCustomerSupplierMGValidatePropertiesPost | POST /api/v1/production/MG/CustomerSupplierMG/validateProperties | Validation of one on more properties of Type |
| DocumentServiceApi | ApiV1EnvironmentMGDocumentServiceDocprocessingstatusPost | POST /api/v1/production/MG/DocumentService/docprocessingstatus | Return Document processing status |
| DocumentServiceApi | ApiV1EnvironmentMGDocumentServiceMultiplecreatePost | POST /api/v1/production/MG/DocumentService/multiplecreate | Insert Multiple Documents for async process |
| DocumentServiceApi | ApiV1EnvironmentMGDocumentServiceMultiplecreatehistoryIdDelete | DELETE /api/v1/production/MG/DocumentService/multiplecreatehistory/0 | Delete records for multiple insert documents by guid |
| DocumentServiceApi | ApiV1EnvironmentMGDocumentServiceMultiplecreatereprocessGuidPost | POST /api/v1/production/MG/DocumentService/multiplecreatereprocess/000-000-000-000 | Multiple Documents reprocess operations for async insert by guid |
| DocumentServiceApi | ApiV1EnvironmentMGDocumentServiceOrderavailabilityIdDelete | DELETE /api/v1/production/MG/DocumentService/orderavailability/0 | Delete record for async process portfolio orders |
| DocumentServiceApi | ApiV1EnvironmentMGDocumentServiceOrderavailabilityPost | POST /api/v1/production/MG/DocumentService/orderavailability | Return Documents Order Portfolio |
| DocumentServiceApi | ApiV1EnvironmentMGDocumentServiceTransformPost | POST /api/v1/production/MG/DocumentService/transform | Document transformation based on the required parameters |
| DocumentoApi | ApiV1EnvironmentMGDocumentoGet | GET /api/v1/production/MG/Documento | Get new |
| DocumentoApi | ApiV1EnvironmentMGDocumentoIdDelete | DELETE /api/v1/production/MG/Documento/0 | Delete the document having Numreg equals to 0 |
| DocumentoApi | ApiV1EnvironmentMGDocumentoIdGet | GET /api/v1/production/MG/Documento/0 | Get the document having Numreg equals to 0 |
| DocumentoApi | ApiV1EnvironmentMGDocumentoIdPrintGet | GET /api/v1/production/MG/Documento/0/print | Get by ID with print document |
| DocumentoApi | ApiV1EnvironmentMGDocumentoIdPrintReportnameGet | GET /api/v1/production/MG/Documento/0/print/reportname | Get list of report names usable for the document |
| DocumentoApi | ApiV1EnvironmentMGDocumentoIdPut | PUT /api/v1/production/MG/Documento/0 | Update the document having Numreg equals to 0 |
| DocumentoApi | ApiV1EnvironmentMGDocumentoPost | POST /api/v1/production/MG/Documento | Create |
| GiacenzaMGApi | ApiV1EnvironmentMGGiacenzaMGDisponibilitaPost | POST /api/v1/production/MG/GiacenzaMG/disponibilita | Calculate stock availability based on the required parameters |
| GiacenzaMGApi | ApiV1EnvironmentMGGiacenzaMGRicalcologiacenzaPost | POST /api/v1/production/MG/GiacenzaMG/ricalcologiacenza | Recalculate the stock based on the required parameters |
| GiacenzaMGApi | ApiV1EnvironmentMGGiacenzaMGValidatePost | POST /api/v1/production/MG/GiacenzaMG/validate | Validate |
| IEExportMGApi | ApiV1EnvironmentMGIEExportMGDocumentPost | POST /api/v1/production/MG/IEExportMG/document | Export Documents based on the required parameters |
| IEImportMGApi | ApiV1EnvironmentMGIEImportMGDocumentPost | POST /api/v1/production/MG/IEImportMG/document | Import Documents based on the required parameters |
| KitDocumentServiceApi | ApiV1EnvironmentMGKitDocumentServiceLoadkitPost | POST /api/v1/production/MG/KitDocumentService/loadkit | Creation of component unloading documents from loading documents based on the required parameters |
| KitDocumentServiceApi | ApiV1EnvironmentMGKitDocumentServiceUnloadcompPost | POST /api/v1/production/MG/KitDocumentService/unloadcomp | Creation of component unloading documents from loading documents based on the required parameters |
| RecipientMGApi | ApiV1EnvironmentMGRecipientMGGet | GET /api/v1/production/MG/RecipientMG | Get new |
| RecipientMGApi | ApiV1EnvironmentMGRecipientMGIdDelete | DELETE /api/v1/production/MG/RecipientMG/0 | Delete |
| RecipientMGApi | ApiV1EnvironmentMGRecipientMGIdGet | GET /api/v1/production/MG/RecipientMG/0 | Get by ID |
| RecipientMGApi | ApiV1EnvironmentMGRecipientMGIdPatch | PATCH /api/v1/production/MG/RecipientMG/0 | Update partial |
| RecipientMGApi | ApiV1EnvironmentMGRecipientMGIdPut | PUT /api/v1/production/MG/RecipientMG/0 | Update |
| RecipientMGApi | ApiV1EnvironmentMGRecipientMGPost | POST /api/v1/production/MG/RecipientMG | Create |
| RecipientMGApi | ApiV1EnvironmentMGRecipientMGValidatePost | POST /api/v1/production/MG/RecipientMG/validate | Validate |
| RecipientMGApi | ApiV1EnvironmentMGRecipientMGValidatePropertiesPost | POST /api/v1/production/MG/RecipientMG/validateProperties | Validation of one on more properties of Type |
| SpesaVariaMGApi | ApiV1EnvironmentMGSpesaVariaMGGet | GET /api/v1/production/MG/SpesaVariaMG | Get new |
| SpesaVariaMGApi | ApiV1EnvironmentMGSpesaVariaMGIdDelete | DELETE /api/v1/production/MG/SpesaVariaMG/0 | Delete |
| SpesaVariaMGApi | ApiV1EnvironmentMGSpesaVariaMGIdGet | GET /api/v1/production/MG/SpesaVariaMG/0 | Get by ID |
| SpesaVariaMGApi | ApiV1EnvironmentMGSpesaVariaMGIdPatch | PATCH /api/v1/production/MG/SpesaVariaMG/0 | Update partial |
| SpesaVariaMGApi | ApiV1EnvironmentMGSpesaVariaMGIdPut | PUT /api/v1/production/MG/SpesaVariaMG/0 | Update |
| SpesaVariaMGApi | ApiV1EnvironmentMGSpesaVariaMGPost | POST /api/v1/production/MG/SpesaVariaMG | Create |
| SpesaVariaMGApi | ApiV1EnvironmentMGSpesaVariaMGValidatePost | POST /api/v1/production/MG/SpesaVariaMG/validate | Validate |
| SpesaVariaMGApi | ApiV1EnvironmentMGSpesaVariaMGValidatePropertiesPost | POST /api/v1/production/MG/SpesaVariaMG/validateProperties | Validation of one on more properties of Type |
| TransportReasonMGApi | ApiV1EnvironmentMGTransportReasonMGGet | GET /api/v1/production/MG/TransportReasonMG | Get new |
| TransportReasonMGApi | ApiV1EnvironmentMGTransportReasonMGIdGet | GET /api/v1/production/MG/TransportReasonMG/0 | Get by ID |
| TransportReasonMGApi | ApiV1EnvironmentMGTransportReasonMGValidatePost | POST /api/v1/production/MG/TransportReasonMG/validate | Validate |
| TransportReasonMGApi | ApiV1EnvironmentMGTransportReasonMGValidatePropertiesPost | POST /api/v1/production/MG/TransportReasonMG/validateProperties | Validation of one on more properties of Type |
Documentation for Models
- Model.AddressCODTO
- Model.AddressTypeCODTO
- Model.AreaCODTO
- Model.BatchDataWHDTO
- Model.BlockLevelCODTO
- Model.COAAccountCustomizationFIDTO
- Model.COAAccountFIDTO
- Model.COAAccountProposalFIDTO
- Model.COAAccountStateFIDTO
- Model.COAGroupCodeFIDTO
- Model.COAInternationalCustomizationFIDTO
- Model.CalcolaDisponibilitaParams
- Model.CarrierMGDTO
- Model.CategoryCODTO
- Model.CliForDatiAccompagnamentoMGDTO
- Model.CompanyDocumentMasterDataMGDTO
- Model.CurrencyCODTO
- Model.CustSuppClassificationMGDTO
- Model.CustomerSupplierExtensionMGDTO
- Model.CustomerSupplierMGDTO
- Model.DMSPublishedEntityFWDTO
- Model.DocumPortfolioEvaMGDTO
- Model.DocumentEnablementWizardResultDTO
- Model.DocumentHeaderCallOptionsDTO
- Model.DocumentMasterCODTO
- Model.DocumentReportDTO
- Model.DocumentReportListResultDTO
- Model.DocumentTransfomationDocDestParamsDTO
- Model.DocumentTransformationGeneralDataDTO
- Model.DocumentTransformationParameterDTO
- Model.DocumentTransformationPartialEvadContainerGeneralDataDTO
- Model.DocumentTransformationProcessExtremLimitDTO
- Model.DocumentoDatiAccompagnamentoMGDTO
- Model.DocumentoPortfolioEvadInMGDTO
- Model.DocumentoPortfolioEvadOrdineOutMGSetDTO
- Model.DocumentoRigaCOINMGDTO
- Model.DocumentoRigaConfMGDTO
- Model.DocumentoRigaEstesaMGDTO
- Model.DocumentoRigaIntraMGDTO
- Model.DocumentoRigaLottoMGDTO
- Model.DocumentoRigaMGDTO
- Model.DocumentoRigaOrdineMGDTO
- Model.DocumentoRigaPersonalizzataMGDTO
- Model.DocumentoRigaProgettiMGDTO
- Model.DocumentoRigaProvvigioniMGDTO
- Model.DocumentoRigaRateiMGDTO
- Model.DocumentoRigaRiferimentoMGDTO
- Model.DocumentoStatoEvasoCorpoRifMGDTO
- Model.DocumentoStatoEvasoMGDTO
- Model.DocumentoTestataAgentiMGDTO
- Model.DocumentoTestataEstesaMGDTO
- Model.DocumentoTestataMGDTO
- Model.DocumentoTestataOrdiniMGDTO
- Model.DocumentoTestataOutMGDTO
- Model.DocumentoTestataPersonalizzataMGDTO
- Model.DocumentoTestataProgettiMGDTO
- Model.DocumentoTestataProvvigioniMGDTO
- Model.DocumentoTestataRateiMGDTO
- Model.ExchangeRateCODTO
- Model.ExportDocumentMGAddParameterDTO
- Model.ExportDocumentMGParameterDTO
- Model.FederalStateViewCODTO
- Model.FiltroDispArticolo
- Model.ForeignPaymentCodeCODTO
- Model.GLReverseTypeFIDTO
- Model.GeneralMasterDataCODTO
- Model.GiacenzaMGDTO
- Model.GroupDocumentoTestataMGDTO
- Model.Grouping1CODTO
- Model.Grouping2CODTO
- Model.Grouping3CODTO
- Model.HeadingReferenceDocumentMGDTO
- Model.ImportDocumentMGAddParameterDTO
- Model.ImportDocumentMGParameterDTO
- Model.ImportExportHeadResultDTO
- Model.ImportExportResultDTO
- Model.ImportExportRowResultDTO
- Model.IntragroupStructureCODTO
- Model.KitDocumentResultDTO
- Model.KitLoadProductParameterDTO
- Model.KitUnloadComponentParameterDTO
- Model.LanguageCODTO
- Model.LoadProductKitParameterDTO
- Model.LocationWHDTO
- Model.LotMovParameterWHDTO
- Model.MacroAreaCODTO
- Model.MacroCategoryCODTO
- Model.NationCODTO
- Model.NatureAssCODTO
- Model.NatureEsCODTO
- Model.OfficeCODTO
- Model.OneOfSearchGroupDTOItemsItems
- Model.PaymentTermCODTO
- Model.PaymentTermDetailCODTO
- Model.PriceListWithMultipleItemsMGDTO
- Model.RaggruppamentoCliForMGDTO
- Model.RecipientMGDTO
- Model.RicalcoloGiacenzaParams
- Model.RiskMGDTO
- Model.SalePurchasePriceListCodeMGDTO
- Model.SearchDTO
- Model.SearchElementDTO
- Model.SearchGroupDTO
- Model.SearchNodeDTO
- Model.SearchNodeValueDTO
- Model.SpesaVariaMGDTO
- Model.StatoAttualeDTO
- Model.StatoDTO
- Model.StorageWHDTO
- Model.StringObjectKeyValuePair
- Model.SubCategoryCODTO
- Model.SubTypeCODTO
- Model.TestoFissoMGDTO
- Model.TotaleDocumentoMGDTO
- Model.TransportReasonMGDTO
- Model.UnloadComponentKitParameterDTO
- Model.VATTypeFIDTO
- Model.ValidateDTO
- Model.ValidationResultDTO
- Model.VatCodeCODTO
- Model.WTCodeCODTO
- Model.ZoneCODTO
Documentation for Authorization
Basic
- Type: HTTP basic authentication