Passa al contenuto principale
Versione: 2025.003.000 (beta)

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

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

ClassMethodHTTP requestDescription
CarrierMGApiApiV1EnvironmentMGCarrierMGGetGET /api/v1/production/MG/CarrierMGGet new
CarrierMGApiApiV1EnvironmentMGCarrierMGIdDeleteDELETE /api/v1/production/MG/CarrierMG/0Delete
CarrierMGApiApiV1EnvironmentMGCarrierMGIdGetGET /api/v1/production/MG/CarrierMG/0Get by ID
CarrierMGApiApiV1EnvironmentMGCarrierMGIdPatchPATCH /api/v1/production/MG/CarrierMG/0Update partial
CarrierMGApiApiV1EnvironmentMGCarrierMGIdPutPUT /api/v1/production/MG/CarrierMG/0Update
CarrierMGApiApiV1EnvironmentMGCarrierMGPostPOST /api/v1/production/MG/CarrierMGCreate
CarrierMGApiApiV1EnvironmentMGCarrierMGValidatePostPOST /api/v1/production/MG/CarrierMG/validateValidate
CarrierMGApiApiV1EnvironmentMGCarrierMGValidatePropertiesPostPOST /api/v1/production/MG/CarrierMG/validatePropertiesValidation of one on more properties of Type
CompanyDocumentMasterDataMGApiApiV1EnvironmentMGCompanyDocumentMasterDataMGGetGET /api/v1/production/MG/CompanyDocumentMasterDataMGGet new
CompanyDocumentMasterDataMGApiApiV1EnvironmentMGCompanyDocumentMasterDataMGIdEnablementwizardGetGET /api/v1/production/MG/CompanyDocumentMasterDataMG/0/enablementwizardService to view the guided authorizations based on the Document Wizard.
CompanyDocumentMasterDataMGApiApiV1EnvironmentMGCompanyDocumentMasterDataMGIdGetGET /api/v1/production/MG/CompanyDocumentMasterDataMG/0Get by ID
CompanyDocumentMasterDataMGApiApiV1EnvironmentMGCompanyDocumentMasterDataMGValidatePostPOST /api/v1/production/MG/CompanyDocumentMasterDataMG/validateValidate
CompanyDocumentMasterDataMGApiApiV1EnvironmentMGCompanyDocumentMasterDataMGValidatePropertiesPostPOST /api/v1/production/MG/CompanyDocumentMasterDataMG/validatePropertiesValidation of one on more properties of Type
CustomerSupplierExtensionMGApiApiV1EnvironmentMGCustomerSupplierExtensionMGIdGetGET /api/v1/production/MG/CustomerSupplierExtensionMG/0Get by ID
CustomerSupplierExtensionMGApiApiV1EnvironmentMGCustomerSupplierExtensionMGIdPatchPATCH /api/v1/production/MG/CustomerSupplierExtensionMG/0Update partial
CustomerSupplierExtensionMGApiApiV1EnvironmentMGCustomerSupplierExtensionMGIdPutPUT /api/v1/production/MG/CustomerSupplierExtensionMG/0Update
CustomerSupplierExtensionMGApiApiV1EnvironmentMGCustomerSupplierExtensionMGValidatePostPOST /api/v1/production/MG/CustomerSupplierExtensionMG/validateValidate
CustomerSupplierMGApiApiV1EnvironmentMGCustomerSupplierMGGetGET /api/v1/production/MG/CustomerSupplierMGGet new
CustomerSupplierMGApiApiV1EnvironmentMGCustomerSupplierMGIdGetGET /api/v1/production/MG/CustomerSupplierMG/0Get by ID
CustomerSupplierMGApiApiV1EnvironmentMGCustomerSupplierMGValidatePostPOST /api/v1/production/MG/CustomerSupplierMG/validateValidate
CustomerSupplierMGApiApiV1EnvironmentMGCustomerSupplierMGValidatePropertiesPostPOST /api/v1/production/MG/CustomerSupplierMG/validatePropertiesValidation of one on more properties of Type
DocumentServiceApiApiV1EnvironmentMGDocumentServiceDocprocessingstatusPostPOST /api/v1/production/MG/DocumentService/docprocessingstatusReturn Document processing status
DocumentServiceApiApiV1EnvironmentMGDocumentServiceMultiplecreatePostPOST /api/v1/production/MG/DocumentService/multiplecreateInsert Multiple Documents for async process
DocumentServiceApiApiV1EnvironmentMGDocumentServiceMultiplecreatehistoryIdDeleteDELETE /api/v1/production/MG/DocumentService/multiplecreatehistory/0Delete records for multiple insert documents by guid
DocumentServiceApiApiV1EnvironmentMGDocumentServiceMultiplecreatereprocessGuidPostPOST /api/v1/production/MG/DocumentService/multiplecreatereprocess/000-000-000-000Multiple Documents reprocess operations for async insert by guid
DocumentServiceApiApiV1EnvironmentMGDocumentServiceOrderavailabilityIdDeleteDELETE /api/v1/production/MG/DocumentService/orderavailability/0Delete record for async process portfolio orders
DocumentServiceApiApiV1EnvironmentMGDocumentServiceOrderavailabilityPostPOST /api/v1/production/MG/DocumentService/orderavailabilityReturn Documents Order Portfolio
DocumentServiceApiApiV1EnvironmentMGDocumentServiceTransformPostPOST /api/v1/production/MG/DocumentService/transformDocument transformation based on the required parameters
DocumentoApiApiV1EnvironmentMGDocumentoGetGET /api/v1/production/MG/DocumentoGet new
DocumentoApiApiV1EnvironmentMGDocumentoIdDeleteDELETE /api/v1/production/MG/Documento/0Delete the document having Numreg equals to 0
DocumentoApiApiV1EnvironmentMGDocumentoIdGetGET /api/v1/production/MG/Documento/0Get the document having Numreg equals to 0
DocumentoApiApiV1EnvironmentMGDocumentoIdPrintGetGET /api/v1/production/MG/Documento/0/printGet by ID with print document
DocumentoApiApiV1EnvironmentMGDocumentoIdPrintReportnameGetGET /api/v1/production/MG/Documento/0/print/reportnameGet list of report names usable for the document
DocumentoApiApiV1EnvironmentMGDocumentoIdPutPUT /api/v1/production/MG/Documento/0Update the document having Numreg equals to 0
DocumentoApiApiV1EnvironmentMGDocumentoPostPOST /api/v1/production/MG/DocumentoCreate
GiacenzaMGApiApiV1EnvironmentMGGiacenzaMGDisponibilitaPostPOST /api/v1/production/MG/GiacenzaMG/disponibilitaCalculate stock availability based on the required parameters
GiacenzaMGApiApiV1EnvironmentMGGiacenzaMGRicalcologiacenzaPostPOST /api/v1/production/MG/GiacenzaMG/ricalcologiacenzaRecalculate the stock based on the required parameters
GiacenzaMGApiApiV1EnvironmentMGGiacenzaMGValidatePostPOST /api/v1/production/MG/GiacenzaMG/validateValidate
IEExportMGApiApiV1EnvironmentMGIEExportMGDocumentPostPOST /api/v1/production/MG/IEExportMG/documentExport Documents based on the required parameters
IEImportMGApiApiV1EnvironmentMGIEImportMGDocumentPostPOST /api/v1/production/MG/IEImportMG/documentImport Documents based on the required parameters
KitDocumentServiceApiApiV1EnvironmentMGKitDocumentServiceLoadkitPostPOST /api/v1/production/MG/KitDocumentService/loadkitCreation of component unloading documents from loading documents based on the required parameters
KitDocumentServiceApiApiV1EnvironmentMGKitDocumentServiceUnloadcompPostPOST /api/v1/production/MG/KitDocumentService/unloadcompCreation of component unloading documents from loading documents based on the required parameters
RecipientMGApiApiV1EnvironmentMGRecipientMGGetGET /api/v1/production/MG/RecipientMGGet new
RecipientMGApiApiV1EnvironmentMGRecipientMGIdDeleteDELETE /api/v1/production/MG/RecipientMG/0Delete
RecipientMGApiApiV1EnvironmentMGRecipientMGIdGetGET /api/v1/production/MG/RecipientMG/0Get by ID
RecipientMGApiApiV1EnvironmentMGRecipientMGIdPatchPATCH /api/v1/production/MG/RecipientMG/0Update partial
RecipientMGApiApiV1EnvironmentMGRecipientMGIdPutPUT /api/v1/production/MG/RecipientMG/0Update
RecipientMGApiApiV1EnvironmentMGRecipientMGPostPOST /api/v1/production/MG/RecipientMGCreate
RecipientMGApiApiV1EnvironmentMGRecipientMGValidatePostPOST /api/v1/production/MG/RecipientMG/validateValidate
RecipientMGApiApiV1EnvironmentMGRecipientMGValidatePropertiesPostPOST /api/v1/production/MG/RecipientMG/validatePropertiesValidation of one on more properties of Type
SpesaVariaMGApiApiV1EnvironmentMGSpesaVariaMGGetGET /api/v1/production/MG/SpesaVariaMGGet new
SpesaVariaMGApiApiV1EnvironmentMGSpesaVariaMGIdDeleteDELETE /api/v1/production/MG/SpesaVariaMG/0Delete
SpesaVariaMGApiApiV1EnvironmentMGSpesaVariaMGIdGetGET /api/v1/production/MG/SpesaVariaMG/0Get by ID
SpesaVariaMGApiApiV1EnvironmentMGSpesaVariaMGIdPatchPATCH /api/v1/production/MG/SpesaVariaMG/0Update partial
SpesaVariaMGApiApiV1EnvironmentMGSpesaVariaMGIdPutPUT /api/v1/production/MG/SpesaVariaMG/0Update
SpesaVariaMGApiApiV1EnvironmentMGSpesaVariaMGPostPOST /api/v1/production/MG/SpesaVariaMGCreate
SpesaVariaMGApiApiV1EnvironmentMGSpesaVariaMGValidatePostPOST /api/v1/production/MG/SpesaVariaMG/validateValidate
SpesaVariaMGApiApiV1EnvironmentMGSpesaVariaMGValidatePropertiesPostPOST /api/v1/production/MG/SpesaVariaMG/validatePropertiesValidation of one on more properties of Type
TransportReasonMGApiApiV1EnvironmentMGTransportReasonMGGetGET /api/v1/production/MG/TransportReasonMGGet new
TransportReasonMGApiApiV1EnvironmentMGTransportReasonMGIdGetGET /api/v1/production/MG/TransportReasonMG/0Get by ID
TransportReasonMGApiApiV1EnvironmentMGTransportReasonMGValidatePostPOST /api/v1/production/MG/TransportReasonMG/validateValidate
TransportReasonMGApiApiV1EnvironmentMGTransportReasonMGValidatePropertiesPostPOST /api/v1/production/MG/TransportReasonMG/validatePropertiesValidation of one on more properties of Type

Documentation for Models

Documentation for Authorization

Basic

  • Type: HTTP basic authentication

Bearer