Documentation for enova365 Soneta.WebApi OAS 3.0

Documentation version: v. 5.1

For database: TESTYINTEGRACYJNE

License number: 68840001

To generate strongly-typed code from the JSON Schema, you can use: https://app.quicktype.io

Documentation generator author: Piotr Maj. Copyright © 2020-2025 Alt One Wojnarowski Zaworski Spółka Komandytowa

The following libraries were found for documentation (AltOne.WCF.* and AltOne.WebAPI.*):

WebAPI Architecture

Introduction to the Soneta WebAPI

The Soneta WebAPI provides a programming interface that allows other applications and web services to communicate with the system. This enables external applications to read and write data, allowing seamless integration with other systems and automation of business processes.

Using the WebAPI, developers can easily and quickly build external applications that access system data, automate workflows, and increase the overall efficiency of business operations.

DYNAMIC WEB API enova365 (since 10.2024)

The DYNAMIC WEB API enova365 is a new communication technology that replaces the previous WebAPI version, while maintaining full compatibility of all existing contracts and methods.

Main changes:

The AltOne.WCF.Core (or AltOne.WebAPI.Core) library provides:

Additionally, the AltOne.DataExchangeTable library enables differential data synchronization — retrieving only changed or newly added records since the last synchronization.

API Endpoints

Below are the main endpoints used when working with the DYNAMIC WebAPI:

All methods require POST requests with a valid Bearer Token header. The token is obtained from the login response and must be included in every authorized request.

Example Usage (Postman)

Example request to retrieve contractors with specified IDs:
{{baseAddress}}/api/OperationFunctionsWebAPI/GetPackableContractors
Requires POST method and Bearer Token authorization.

// Example request:
{
  "IDs": [1,2,3,4]
}

// Response class:
public class ResponseWebAPI
{
    public bool IsException { get; set; }
    public string ExceptionMessage { get; set; }
    public bool IsEmpty { get; set; }
    public object ResultInstance { get; set; }
}

// Sample server response:
Response time: 97 ms, Status Code: 200 OK
            

Sample JSON Response:

{
  "AllRows": true,
  "LastID": 2,
  "ToReadRecords": 0,
  "ReadRecords": 2,
  "Data": [
    {
      "Guid": "00000000-0009-0002-0001-000000000000",
      "Kod": "!INCYDENTALNY",
      "Nazwa": "!INCYDENTALNY",
      "Blokada": false,
      "Zamiennik": null,
      "EuVAT": "",
      "StatusPodmiotu": "Finalny",
      "REGON": "",
      "Features": [],
      "Attachments": []
    },
    {
      "Guid": "ba66f540-1660-11d7-9ab0-000795c951c8",
      "Kod": "Abc",
      "Nazwa": "ABC Sp. z o.o",
      "Blokada": false,
      "Zamiennik": null,
      "EuVAT": "111-11-11-128",
      "StatusPodmiotu": "PodmiotGospodarczy",
      "REGON": "",
      "Features": [],
      "Attachments": []
    }
  ],
  "Success": true,
  "Description": "Successfully retrieved record batch from 'Contractors' table",
  "Errors": [],
  "Warnings": null
}
            

Logging Out

After completing synchronization, you should log out of the service. If not done manually, automatic logout will occur after 5 minutes of inactivity.

{{baseUrl}}/api/LogoutApi

Synchronization Tip

To ensure data consistency and uniqueness during synchronization of main objects between systems, it is recommended to use Guid values for those objects. When adding a new object in enova365, you can assign a GUID identical to the external system’s identifier, which simplifies integration and data management.


AltOne.WebAPI.Core

Assembly name: AltOne.WCF.Core
Version: 2510.1.1-0.7.4.0+c68779ddbd46b470f0edfec7b61b316e620a4f6b,
Last modified: 27.11.2025 22:43:54

List of available methods:

Interface: IHandel2

Interface: IKadryPlace2

Interface: IKsiegowosc2

Interface: IOperationFunctions2

Method descriptions and usage examples:

Method name: GetCommercialDocument

URL: https://{{baseAddress}}/api/HandelWebAPI/GetCommercialDocument

HTTP method: POST

Params type: GetDokumentHandlowyParams

Result type: GetResultDokumentHandlowy

Description: The method for reading commercial document data / Metoda odczytu danych dokumentu handlowego

Comment: Reading a commercial document data / Odczyt danych dokumentu handlowego

Sample request for object GetDokumentHandlowyParams. Replace placeholders with real values.

Schema (JSON) for class GetDokumentHandlowyParams:
{
"title": "GetDokumentHandlowyParams",
"definitions": {
"NumerObcy": {
"type": "object",
"properties": {
"Numer": {
"type": "string"
},
"KodKontrahenta": {
"type": "string"
}
},
"required": [
"Numer",
"KodKontrahenta"
]
}
},
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"NumerObcy": {
"$ref": "#/definitions/NumerObcy"
}
}
}
Sample JSON file:
{
  "ID": 1,
  "NumerObcy": {
    "Numer": "Numer",
    "KodKontrahenta": "KodKontrahenta"
  }
}
Sample response:
Schema (JSON) for class GetResultDokumentHandlowy:
{
"title": "GetResultDokumentHandlowy",
"definitions": {
"AdresDTO": {
"type": "object",
"properties": {
"Ulica": {
"type": "string"
},
"NrDomu": {
"type": "string"
},
"NrLokalu": {
"type": "string"
},
"KodPocztowyS": {
"type": "string"
},
"Miejscowosc": {
"type": "string"
},
"Poczta": {
"type": "string"
},
"Gmina": {
"type": "string"
},
"Powiat": {
"type": "string"
},
"Wojewodztwo": {
"type": "string",
"enum": [
"nieokreślone",
"dolnośląskie",
"kujawsko_pomorskie",
"lubelskie",
"lubuskie",
"łódzkie",
"małopolskie",
"mazowieckie",
"opolskie",
"podkarpackie",
"podlaskie",
"pomorskie",
"śląskie",
"świętokrzyskie",
"warmińsko_mazurskie",
"wielkopolskie",
"zachodniopomorskie"
]
},
"KodKraju": {
"type": "string"
},
"Kraj": {
"type": "string"
},
"Telefon": {
"type": "string"
},
"Faks": {
"type": "string"
}
}
},
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"CurrencyDTO": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"Symbol": {
"type": "string"
}
},
"required": [
"Value",
"Symbol"
]
},
"DaneKontrahentaDTO": {
"type": "object",
"properties": {
"Kod": {
"type": "string"
},
"NIP": {
"type": "string"
},
"EuVAT": {
"type": "string"
},
"Adres": {
"$ref": "#/definitions/AdresDTO"
}
}
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DataDTO-1": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DokumentHandlowyDTO": {
"type": "object",
"properties": {
"Guid": {
"type": "string"
},
"NumerPelny": {
"type": "string"
},
"Definicja": {
"type": "string"
},
"Magazyn": {
"type": "string"
},
"Kategoria": {
"type": "string"
},
"Seria": {
"type": "string"
},
"Opis": {
"type": "string"
},
"Data": {
"$ref": "#/definitions/DataDTO"
},
"DataOperacji": {
"$ref": "#/definitions/DataDTO"
},
"SposobLiczeniaVAT": {
"type": "string",
"enum": [
"OdNetto",
"OdBrutto",
"OdBruttoMinusNetto",
"ZależyOdKontrahenta"
]
},
"DaneKontrahenta": {
"$ref": "#/definitions/DaneKontrahentaDTO"
},
"Obcy": {
"$ref": "#/definitions/ObcyDTO"
},
"NettoCy": {
"$ref": "#/definitions/CurrencyDTO"
},
"BruttoCy": {
"$ref": "#/definitions/CurrencyDTO"
},
"VatCy": {
"$ref": "#/definitions/CurrencyDTO"
},
"Pozycje": {
"type": "array",
"items": {
"$ref": "#/definitions/PozycjaDTO"
}
},
"SumyVAT": {
"$ref": "#/definitions/SumyVatDTO"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
}
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name"
]
},
"ObcyDTO": {
"type": "object",
"properties": {
"Numer": {
"type": "string"
},
"DataOtrzymania": {
"$ref": "#/definitions/DataDTO"
}
}
},
"OpisAnalitycznyDTO": {
"type": "object",
"properties": {
"Data": {
"$ref": "#/definitions/DataDTO"
},
"Symbol": {
"type": "string"
},
"Wymiar": {
"type": "string"
},
"Kwota": {
"$ref": "#/definitions/CurrencyDTO"
},
"KwotaDodatkowa": {
"$ref": "#/definitions/CurrencyDTO"
},
"Opis": {
"type": "string"
}
},
"required": [
"Symbol",
"Wymiar",
"Kwota"
]
},
"PozycjaDTO": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"KodTowaru": {
"type": "string"
},
"PelnaNazwa": {
"type": "string"
},
"Ilosc": {
"$ref": "#/definitions/QuantityDTO"
},
"Cena": {
"$ref": "#/definitions/CurrencyDTO"
},
"CenaPoRabacie": {
"$ref": "#/definitions/CurrencyDTO"
},
"Wartosc": {
"$ref": "#/definitions/CurrencyDTO"
},
"StawkaVAT": {
"type": "string"
},
"OpisAnalityczny": {
"type": "array",
"items": {
"$ref": "#/definitions/OpisAnalitycznyDTO"
}
}
}
},
"PozycjaVatDTO": {
"type": "object",
"properties": {
"StawkaVAT": {
"type": "string"
},
"Netto": {
"type": "number"
},
"VAT": {
"type": "number"
}
},
"required": [
"StawkaVAT",
"Netto",
"VAT"
]
},
"QuantityDTO": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"Symbol": {
"type": "string"
}
},
"required": [
"Value",
"Symbol"
]
},
"SumyVatDTO": {
"type": "object",
"properties": {
"Korekta": {
"type": "boolean"
},
"PozycjeVAT": {
"type": "array",
"items": {
"$ref": "#/definitions/PozycjaVatDTO"
}
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"DokumentHandlowy": {
"$ref": "#/definitions/DokumentHandlowyDTO"
},
"Key": {
"type": "string"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "DokumentHandlowy": {
    "Guid": "c8758b1f-365f-4874-9d24-8b192e8c5b4c",
    "NumerPelny": "NumerPelny",
    "Definicja": "Definicja",
    "Magazyn": "Magazyn",
    "Kategoria": "Kategoria",
    "Seria": "Seria",
    "Opis": "Opis",
    "Data": {
      "Year": 2025,
      "Month": 12,
      "Day": 18
    },
    "DataOperacji": {
      "Year": 2025,
      "Month": 12,
      "Day": 18
    },
    "SposobLiczeniaVAT": "OdNetto",
    "DaneKontrahenta": {
      "Kod": "Kod",
      "NIP": "5242873585",
      "EuVAT": "EuVAT",
      "Adres": {
        "Ulica": "Ulica",
        "NrDomu": "1",
        "NrLokalu": "2",
        "KodPocztowyS": "00-000",
        "Miejscowosc": "Miejscowosc",
        "Poczta": "Poczta",
        "Gmina": "Gmina",
        "Powiat": "Powiat",
        "Wojewodztwo": "nieokreślone",
        "KodKraju": "PL",
        "Kraj": "Polska",
        "Telefon": "Telefon",
        "Faks": "Faks"
      }
    },
    "Obcy": {
      "Numer": "Numer",
      "DataOtrzymania": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      }
    },
    "NettoCy": {
      "Value": 1.0,
      "Symbol": "Symbol"
    },
    "BruttoCy": {
      "Value": 1.0,
      "Symbol": "Symbol"
    },
    "VatCy": {
      "Value": 1.0,
      "Symbol": "Symbol"
    },
    "Pozycje": [
      {
        "Lp": 1,
        "KodTowaru": "KodTowaru",
        "PelnaNazwa": "PelnaNazwa",
        "Ilosc": {
          "Value": 1.0,
          "Symbol": "Symbol"
        },
        "Cena": {
          "Value": 1.0,
          "Symbol": "Symbol"
        },
        "CenaPoRabacie": {
          "Value": 1.0,
          "Symbol": "Symbol"
        },
        "Wartosc": {
          "Value": 1.0,
          "Symbol": "Symbol"
        },
        "StawkaVAT": "StawkaVAT",
        "OpisAnalityczny": [
          {
            "Data": {
              "Year": 2025,
              "Month": 12,
              "Day": 18
            },
            "Symbol": "Symbol",
            "Wymiar": "Wymiar",
            "Kwota": {
              "Value": 1.0,
              "Symbol": "Symbol"
            },
            "KwotaDodatkowa": {
              "Value": 1.0,
              "Symbol": "Symbol"
            },
            "Opis": "Opis"
          }
        ]
      }
    ],
    "SumyVAT": {
      "Korekta": false,
      "PozycjeVAT": [
        {
          "StawkaVAT": "StawkaVAT",
          "Netto": 1.0,
          "VAT": 1.0
        }
      ]
    },
    "ID": 1,
    "AttachmentsCount": 1,
    "TableName": "TableName",
    "Features": [
      {
        "Name": "Name",
        "Value": "Value",
        "Type": "Type",
        "UpdateDate": null
      }
    ],
    "Attachments": [
      {
        "ID": 1,
        "TableName": "TableName",
        "Name": "Name",
        "Parent": 1,
        "Description": "Description",
        "IsDefault": false,
        "SendEmail": false,
        "Extension": "Extension",
        "Link": "Link",
        "SubType": "None",
        "Base64": "/2u8yx1/LAieSA==",
        "Features": [
          {
            "Name": "Name",
            "Value": "Value",
            "Type": "Type",
            "UpdateDate": null
          }
        ]
      }
    ]
  },
  "Key": "Key",
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WCF.Core

Method name: UpdateEmployee

URL: https://{{baseAddress}}/api/KadryPlaceWebAPI/UpdateEmployee

HTTP method: POST

Params type: PracownikDTO

Result type: UpdateResult

Description: The method for adding or updating an employee / Metoda dodawania lub aktualizacji pracownika

Comment: Creating or updating employee data / Tworzenie lub aktualizacja danych pracownika

Sample request for object PracownikDTO. Replace placeholders with real values.

Schema (JSON) for class PracownikDTO:
{
"title": "PracownikDTO",
"definitions": {
"AdresDTO": {
"type": "object",
"properties": {
"Ulica": {
"type": "string"
},
"NrDomu": {
"type": "string"
},
"NrLokalu": {
"type": "string"
},
"KodPocztowyS": {
"type": "string"
},
"Miejscowosc": {
"type": "string"
},
"Poczta": {
"type": "string"
},
"Gmina": {
"type": "string"
},
"Powiat": {
"type": "string"
},
"Wojewodztwo": {
"type": "string",
"enum": [
"nieokreślone",
"dolnośląskie",
"kujawsko_pomorskie",
"lubelskie",
"lubuskie",
"łódzkie",
"małopolskie",
"mazowieckie",
"opolskie",
"podkarpackie",
"podlaskie",
"pomorskie",
"śląskie",
"świętokrzyskie",
"warmińsko_mazurskie",
"wielkopolskie",
"zachodniopomorskie"
]
},
"KodKraju": {
"type": "string"
},
"Kraj": {
"type": "string"
},
"Telefon": {
"type": "string"
},
"Faks": {
"type": "string"
}
}
},
"AdresKorespondencyjnyDTO": {
"type": "object",
"properties": {
"NazwaFirmy": {
"type": "string"
},
"Ulica": {
"type": "string"
},
"NrDomu": {
"type": "string"
},
"NrLokalu": {
"type": "string"
},
"KodPocztowyS": {
"type": "string"
},
"Miejscowosc": {
"type": "string"
},
"Poczta": {
"type": "string"
},
"Gmina": {
"type": "string"
},
"Powiat": {
"type": "string"
},
"Wojewodztwo": {
"type": "string",
"enum": [
"nieokreślone",
"dolnośląskie",
"kujawsko_pomorskie",
"lubelskie",
"lubuskie",
"łódzkie",
"małopolskie",
"mazowieckie",
"opolskie",
"podkarpackie",
"podlaskie",
"pomorskie",
"śląskie",
"świętokrzyskie",
"warmińsko_mazurskie",
"wielkopolskie",
"zachodniopomorskie"
]
},
"KodKraju": {
"type": "string"
},
"Kraj": {
"type": "string"
},
"Telefon": {
"type": "string"
},
"Faks": {
"type": "string"
}
}
},
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DataDTO-1": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DokumentDTO": {
"type": "object",
"properties": {
"Rodzaj": {
"type": "string",
"enum": [
"Niezdefiniowany",
"DowodOsobisty",
"Paszport"
]
},
"SeriaNumer": {
"type": "string"
}
}
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name"
]
},
"FractionDTO": {
"type": "object",
"properties": {
"Numerator": {
"type": "integer"
},
"Denominator": {
"type": "integer"
}
},
"required": [
"Numerator",
"Denominator"
]
},
"KontaktDTO": {
"type": "object",
"properties": {
"TelefonKomorkowy": {
"type": "string"
},
"SkrytkaPocztowa": {
"type": "string"
},
"EMAIL": {
"type": "string"
},
"Skype": {
"type": "string"
},
"WWW": {
"type": "string"
}
}
},
"ObywatelstwoDTO": {
"type": "object",
"properties": {
"KodKraju": {
"type": "string"
},
"Nazwa": {
"type": "string"
},
"RodzajNumeruPodatnika": {
"type": "string",
"enum": [
"Nieokreślony",
"NumerIdentyfikacyjnyTIN",
"NumerUbezpieczeniowy",
"Paszport",
"UrzędowyDokumentStwierdzającyTożsamość",
"InnyRodzajIdentyfikacjiPodatkowej",
"InnyDokumentPotwierdzającyTożsamość"
]
},
"NumerPodatnika": {
"type": "string"
},
"KodKrajuDokumentu": {
"type": "string"
},
"KrajDokumentu": {
"type": "string"
}
}
},
"PodatkiDTO": {
"type": "object",
"properties": {
"KodUrzeduSkarbowego": {
"type": "string"
},
"Pit26": {
"type": "string",
"enum": [
"Warunkowo2020",
"Warunkowo2019",
"NieNaliczaj"
]
},
"IdentyfikatorPodatkowy": {
"type": "string",
"enum": [
"PESEL",
"NIP"
]
}
}
},
"RachunekBankowyDTO": {
"type": "object",
"properties": {
"Priorytet": {
"type": "integer"
},
"Blokada": {
"type": "boolean"
},
"KodBanku": {
"type": "string"
},
"SWIFT": {
"type": "string"
},
"Kraj": {
"type": "string"
},
"Numer": {
"type": "string"
},
"Domyslne": {
"type": "boolean"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Numer"
]
},
"ZatrudnienieDTO": {
"type": "object",
"properties": {
"OkresOd": {
"$ref": "#/definitions/DataDTO"
},
"OkresDo": {
"$ref": "#/definitions/DataDTO"
},
"TypUmowy": {
"type": "string",
"enum": [
"Brak",
"NaCzasNieokreślony",
"NaOkresPróbny",
"NaCzasOkreślony",
"NaCzasWykonywniaPracy",
"NaOkresZastępstwa",
"NaOkresTrwaniaMandatu",
"NaCzasPełnieniaFunkcji",
"DoDniaPorodu",
"NaCzasOkreślonyDorywczySezonowy",
"NaOkresPróbnyDoDniaPorodu"
]
},
"Stanowisko": {
"type": "string"
},
"JednostkaOrg": {
"type": "string"
},
"Wymiar": {
"$ref": "#/definitions/FractionDTO"
},
"Zwolniony": {
"type": "boolean"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
}
}
},
"type": "object",
"properties": {
"Guid": {
"type": "string"
},
"DataAktualizacji": {
"type": "string",
"format": "date-time"
},
"Aktualizuj": {
"type": "boolean"
},
"PowodAktualizacji": {
"type": "string"
},
"Kod": {
"type": "string"
},
"NumerAkt": {
"type": "string"
},
"Imie": {
"type": "string"
},
"ImieDrugie": {
"type": "string"
},
"Nazwisko": {
"type": "string"
},
"NazwiskoRodowe": {
"type": "string"
},
"ImieOjca": {
"type": "string"
},
"ImieMatki": {
"type": "string"
},
"ObywatelstwoExt": {
"$ref": "#/definitions/ObywatelstwoDTO"
},
"Obywatelstwo": {
"type": "string"
},
"Plec": {
"type": "string",
"enum": [
"Kobieta",
"Mężczyzna"
]
},
"DataUrodzenia": {
"type": "string",
"format": "date-time"
},
"MiejsceUrodzenia": {
"type": "string"
},
"PESEL": {
"type": "string"
},
"NIP": {
"type": "string"
},
"KodPrawaDostepu": {
"type": "string"
},
"Dokument": {
"$ref": "#/definitions/DokumentDTO"
},
"AdresZamieszkania": {
"$ref": "#/definitions/AdresDTO"
},
"AdresZameldowania": {
"$ref": "#/definitions/AdresDTO"
},
"AdresDoKorespondencji": {
"$ref": "#/definitions/AdresKorespondencyjnyDTO"
},
"Kontakt": {
"$ref": "#/definitions/KontaktDTO"
},
"Podatki": {
"$ref": "#/definitions/PodatkiDTO"
},
"Zatrudnienie": {
"$ref": "#/definitions/ZatrudnienieDTO"
},
"Rachunki": {
"type": "array",
"items": {
"$ref": "#/definitions/RachunekBankowyDTO"
}
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Imie",
"Nazwisko"
]
}
Sample JSON file:
{
  "TestMode": false,
  "Guid": "0d154f0b-11e5-4ffd-91b0-94e23adec24b",
  "DataAktualizacji": "2025-12-18T12:03:53.1627810Z",
  "Aktualizuj": false,
  "PowodAktualizacji": "PowodAktualizacji",
  "Kod": "Kod",
  "NumerAkt": "NumerAkt",
  "Imie": "Imie",
  "ImieDrugie": "ImieDrugie",
  "Nazwisko": "Nazwisko",
  "NazwiskoRodowe": "NazwiskoRodowe",
  "ImieOjca": "ImieOjca",
  "ImieMatki": "ImieMatki",
  "ObywatelstwoExt": {
    "KodKraju": "PL",
    "Nazwa": "Nazwa",
    "RodzajNumeruPodatnika": "Nieokreślony",
    "NumerPodatnika": "NumerPodatnika",
    "KodKrajuDokumentu": "KodKrajuDokumentu",
    "KrajDokumentu": "KrajDokumentu"
  },
  "Obywatelstwo": "Obywatelstwo",
  "Plec": "Kobieta",
  "DataUrodzenia": "2025-12-18T12:03:53.1629310Z",
  "MiejsceUrodzenia": "MiejsceUrodzenia",
  "PESEL": "PESEL",
  "NIP": "5242873585",
  "KodPrawaDostepu": "KodPrawaDostepu",
  "Dokument": {
    "Rodzaj": "Niezdefiniowany",
    "SeriaNumer": "SeriaNumer"
  },
  "AdresZamieszkania": {
    "Ulica": "Ulica",
    "NrDomu": "1",
    "NrLokalu": "2",
    "KodPocztowyS": "00-000",
    "Miejscowosc": "Miejscowosc",
    "Poczta": "Poczta",
    "Gmina": "Gmina",
    "Powiat": "Powiat",
    "Wojewodztwo": "nieokreślone",
    "KodKraju": "PL",
    "Kraj": "Polska",
    "Telefon": "Telefon",
    "Faks": "Faks"
  },
  "AdresZameldowania": {
    "Ulica": "Ulica",
    "NrDomu": "1",
    "NrLokalu": "2",
    "KodPocztowyS": "00-000",
    "Miejscowosc": "Miejscowosc",
    "Poczta": "Poczta",
    "Gmina": "Gmina",
    "Powiat": "Powiat",
    "Wojewodztwo": "nieokreślone",
    "KodKraju": "PL",
    "Kraj": "Polska",
    "Telefon": "Telefon",
    "Faks": "Faks"
  },
  "AdresDoKorespondencji": {
    "NazwaFirmy": "NazwaFirmy",
    "Ulica": "Ulica",
    "NrDomu": "1",
    "NrLokalu": "2",
    "KodPocztowyS": "00-000",
    "Miejscowosc": "Miejscowosc",
    "Poczta": "Poczta",
    "Gmina": "Gmina",
    "Powiat": "Powiat",
    "Wojewodztwo": "nieokreślone",
    "KodKraju": "PL",
    "Kraj": "Polska",
    "Telefon": "Telefon",
    "Faks": "Faks"
  },
  "Kontakt": {
    "TelefonKomorkowy": "TelefonKomorkowy",
    "SkrytkaPocztowa": "Sk.22",
    "EMAIL": "EMAIL",
    "Skype": "Skype",
    "WWW": "WWW"
  },
  "Podatki": {
    "KodUrzeduSkarbowego": "KodUrzeduSkarbowego",
    "Pit26": "Warunkowo2020",
    "IdentyfikatorPodatkowy": "PESEL"
  },
  "Zatrudnienie": {
    "OkresOd": {
      "Year": 2025,
      "Month": 12,
      "Day": 18
    },
    "OkresDo": {
      "Year": 2025,
      "Month": 12,
      "Day": 18
    },
    "TypUmowy": "Brak",
    "Stanowisko": "Stanowisko",
    "JednostkaOrg": "JednostkaOrg",
    "Wymiar": {
      "Numerator": 1,
      "Denominator": 1
    },
    "Zwolniony": false,
    "ID": 1,
    "Features": [
      {
        "Name": "Name",
        "Value": "Value",
        "Type": "Type",
        "UpdateDate": null
      }
    ],
    "Attachments": [
      {
        "ID": 1,
        "Name": "Name",
        "Parent": 1,
        "Description": "Description",
        "IsDefault": false,
        "SendEmail": false,
        "Extension": "Extension",
        "Link": "Link",
        "SubType": "None",
        "Base64": "XnaqRhXBO0SoUA==",
        "Features": [
          {
            "Name": "Name",
            "Value": "Value",
            "Type": "Type",
            "UpdateDate": null
          }
        ]
      }
    ]
  },
  "Rachunki": [
    {
      "Priorytet": 1,
      "Blokada": false,
      "KodBanku": "KodBanku",
      "SWIFT": "SWIFT",
      "Kraj": "Polska",
      "Numer": "Numer",
      "Domyslne": false,
      "ID": 1,
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "eoxwtUchMKAZXg==",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "ID": 1,
  "Features": [
    {
      "Name": "Name",
      "Value": "Value",
      "Type": "Type",
      "UpdateDate": null
    }
  ],
  "Attachments": [
    {
      "ID": 1,
      "Name": "Name",
      "Parent": 1,
      "Description": "Description",
      "IsDefault": false,
      "SendEmail": false,
      "Extension": "Extension",
      "Link": "Link",
      "SubType": "None",
      "Base64": "xmElLibw0auV+Q==",
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ]
    }
  ]
}
Sample response:
Schema (JSON) for class UpdateResult:
{
"title": "UpdateResult",
"definitions": {
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"Kod": {
"type": "string"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "TestMode": false,
  "ID": 1,
  "Kod": "Kod",
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WCF.Core

Method name: GetEmployee

URL: https://{{baseAddress}}/api/KadryPlaceWebAPI/GetEmployee

HTTP method: POST

Params type: GetPracownikParams

Result type: GetResultPracownik

Description: The method for reading employee data / Metoda odczytu danych pracownika

Comment: Reading employee data for a specific day / Odczyt danych pracownika na wybrany dzień

Sample request for object GetPracownikParams. Replace placeholders with real values.

Schema (JSON) for class GetPracownikParams:
{
"title": "GetPracownikParams",
"definitions": {
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"Filter": {
"type": "object",
"properties": {
"LogicalOperator": {
"type": "string",
"enum": [
"And",
"Or"
]
},
"Operator": {
"type": "string",
"enum": [
"Equal",
"NotEqual",
"Like",
"Null"
]
},
"ColumnName": {
"type": "string"
},
"FilterValue": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"Kod": {
"type": "string"
},
"ID": {
"type": "integer"
},
"Guid": {
"type": "string"
},
"CechaExternalID": {
"type": "string"
},
"DataAktualnosci": {
"type": "string",
"format": "date-time"
},
"Zatrudnienie": {
"type": "boolean"
},
"AdresDoKorespondencji": {
"type": "boolean"
},
"Rachunki": {
"type": "boolean"
},
"IDs": {
"type": "array",
"items": {
"type": "integer"
}
},
"LastID": {
"type": "integer"
},
"PacketSize": {
"type": "integer"
},
"Conditions": {
"type": "array",
"items": {
"$ref": "#/definitions/Filter"
}
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
}
}
Sample JSON file:
{
  "Kod": "Kod",
  "ID": 1,
  "Guid": "99bd48b9-c818-4a10-82c0-716fa516046f",
  "CechaExternalID": "CechaExternalID",
  "DataAktualnosci": "2025-12-18T12:03:53.1673658Z",
  "Zatrudnienie": false,
  "AdresDoKorespondencji": false,
  "Rachunki": false,
  "IDs": [
    1
  ],
  "LastID": 1,
  "PacketSize": 1,
  "Conditions": [
    {
      "LogicalOperator": "And",
      "Operator": "Equal",
      "ColumnName": "ColumnName",
      "FilterValue": "FilterValue"
    }
  ],
  "UpdateDate": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  }
}
Sample response:
Schema (JSON) for class GetResultPracownik:
{
"title": "GetResultPracownik",
"definitions": {
"AdresDTO": {
"type": "object",
"properties": {
"Ulica": {
"type": "string"
},
"NrDomu": {
"type": "string"
},
"NrLokalu": {
"type": "string"
},
"KodPocztowyS": {
"type": "string"
},
"Miejscowosc": {
"type": "string"
},
"Poczta": {
"type": "string"
},
"Gmina": {
"type": "string"
},
"Powiat": {
"type": "string"
},
"Wojewodztwo": {
"type": "string",
"enum": [
"nieokreślone",
"dolnośląskie",
"kujawsko_pomorskie",
"lubelskie",
"lubuskie",
"łódzkie",
"małopolskie",
"mazowieckie",
"opolskie",
"podkarpackie",
"podlaskie",
"pomorskie",
"śląskie",
"świętokrzyskie",
"warmińsko_mazurskie",
"wielkopolskie",
"zachodniopomorskie"
]
},
"KodKraju": {
"type": "string"
},
"Kraj": {
"type": "string"
},
"Telefon": {
"type": "string"
},
"Faks": {
"type": "string"
}
}
},
"AdresKorespondencyjnyDTO": {
"type": "object",
"properties": {
"NazwaFirmy": {
"type": "string"
},
"Ulica": {
"type": "string"
},
"NrDomu": {
"type": "string"
},
"NrLokalu": {
"type": "string"
},
"KodPocztowyS": {
"type": "string"
},
"Miejscowosc": {
"type": "string"
},
"Poczta": {
"type": "string"
},
"Gmina": {
"type": "string"
},
"Powiat": {
"type": "string"
},
"Wojewodztwo": {
"type": "string",
"enum": [
"nieokreślone",
"dolnośląskie",
"kujawsko_pomorskie",
"lubelskie",
"lubuskie",
"łódzkie",
"małopolskie",
"mazowieckie",
"opolskie",
"podkarpackie",
"podlaskie",
"pomorskie",
"śląskie",
"świętokrzyskie",
"warmińsko_mazurskie",
"wielkopolskie",
"zachodniopomorskie"
]
},
"KodKraju": {
"type": "string"
},
"Kraj": {
"type": "string"
},
"Telefon": {
"type": "string"
},
"Faks": {
"type": "string"
}
}
},
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DataDTO-1": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DokumentDTO": {
"type": "object",
"properties": {
"Rodzaj": {
"type": "string",
"enum": [
"Niezdefiniowany",
"DowodOsobisty",
"Paszport"
]
},
"SeriaNumer": {
"type": "string"
}
}
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name"
]
},
"FractionDTO": {
"type": "object",
"properties": {
"Numerator": {
"type": "integer"
},
"Denominator": {
"type": "integer"
}
},
"required": [
"Numerator",
"Denominator"
]
},
"KontaktDTO": {
"type": "object",
"properties": {
"TelefonKomorkowy": {
"type": "string"
},
"SkrytkaPocztowa": {
"type": "string"
},
"EMAIL": {
"type": "string"
},
"Skype": {
"type": "string"
},
"WWW": {
"type": "string"
}
}
},
"ObywatelstwoDTO": {
"type": "object",
"properties": {
"KodKraju": {
"type": "string"
},
"Nazwa": {
"type": "string"
},
"RodzajNumeruPodatnika": {
"type": "string",
"enum": [
"Nieokreślony",
"NumerIdentyfikacyjnyTIN",
"NumerUbezpieczeniowy",
"Paszport",
"UrzędowyDokumentStwierdzającyTożsamość",
"InnyRodzajIdentyfikacjiPodatkowej",
"InnyDokumentPotwierdzającyTożsamość"
]
},
"NumerPodatnika": {
"type": "string"
},
"KodKrajuDokumentu": {
"type": "string"
},
"KrajDokumentu": {
"type": "string"
}
}
},
"PodatkiDTO": {
"type": "object",
"properties": {
"KodUrzeduSkarbowego": {
"type": "string"
},
"Pit26": {
"type": "string",
"enum": [
"Warunkowo2020",
"Warunkowo2019",
"NieNaliczaj"
]
},
"IdentyfikatorPodatkowy": {
"type": "string",
"enum": [
"PESEL",
"NIP"
]
}
}
},
"PracownikDTO": {
"type": "object",
"properties": {
"Guid": {
"type": "string"
},
"DataAktualizacji": {
"type": "string",
"format": "date-time"
},
"Aktualizuj": {
"type": "boolean"
},
"PowodAktualizacji": {
"type": "string"
},
"Kod": {
"type": "string"
},
"NumerAkt": {
"type": "string"
},
"Imie": {
"type": "string"
},
"ImieDrugie": {
"type": "string"
},
"Nazwisko": {
"type": "string"
},
"NazwiskoRodowe": {
"type": "string"
},
"ImieOjca": {
"type": "string"
},
"ImieMatki": {
"type": "string"
},
"ObywatelstwoExt": {
"$ref": "#/definitions/ObywatelstwoDTO"
},
"Obywatelstwo": {
"type": "string"
},
"Plec": {
"type": "string",
"enum": [
"Kobieta",
"Mężczyzna"
]
},
"DataUrodzenia": {
"type": "string",
"format": "date-time"
},
"MiejsceUrodzenia": {
"type": "string"
},
"PESEL": {
"type": "string"
},
"NIP": {
"type": "string"
},
"KodPrawaDostepu": {
"type": "string"
},
"Dokument": {
"$ref": "#/definitions/DokumentDTO"
},
"AdresZamieszkania": {
"$ref": "#/definitions/AdresDTO"
},
"AdresZameldowania": {
"$ref": "#/definitions/AdresDTO"
},
"AdresDoKorespondencji": {
"$ref": "#/definitions/AdresKorespondencyjnyDTO"
},
"Kontakt": {
"$ref": "#/definitions/KontaktDTO"
},
"Podatki": {
"$ref": "#/definitions/PodatkiDTO"
},
"Zatrudnienie": {
"$ref": "#/definitions/ZatrudnienieDTO"
},
"Rachunki": {
"type": "array",
"items": {
"$ref": "#/definitions/RachunekBankowyDTO"
}
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Imie",
"Nazwisko"
]
},
"RachunekBankowyDTO": {
"type": "object",
"properties": {
"Priorytet": {
"type": "integer"
},
"Blokada": {
"type": "boolean"
},
"KodBanku": {
"type": "string"
},
"SWIFT": {
"type": "string"
},
"Kraj": {
"type": "string"
},
"Numer": {
"type": "string"
},
"Domyslne": {
"type": "boolean"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Numer"
]
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
},
"ZatrudnienieDTO": {
"type": "object",
"properties": {
"OkresOd": {
"$ref": "#/definitions/DataDTO"
},
"OkresDo": {
"$ref": "#/definitions/DataDTO"
},
"TypUmowy": {
"type": "string",
"enum": [
"Brak",
"NaCzasNieokreślony",
"NaOkresPróbny",
"NaCzasOkreślony",
"NaCzasWykonywniaPracy",
"NaOkresZastępstwa",
"NaOkresTrwaniaMandatu",
"NaCzasPełnieniaFunkcji",
"DoDniaPorodu",
"NaCzasOkreślonyDorywczySezonowy",
"NaOkresPróbnyDoDniaPorodu"
]
},
"Stanowisko": {
"type": "string"
},
"JednostkaOrg": {
"type": "string"
},
"Wymiar": {
"$ref": "#/definitions/FractionDTO"
},
"Zwolniony": {
"type": "boolean"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
}
}
},
"type": "object",
"properties": {
"PracownikDTO": {
"$ref": "#/definitions/PracownikDTO"
},
"Key": {
"type": "string"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "PracownikDTO": {
    "Guid": "df4a1d83-b22b-4eab-aef4-0638640a53c8",
    "DataAktualizacji": "2025-12-18T12:03:53.1802700Z",
    "Aktualizuj": false,
    "PowodAktualizacji": "PowodAktualizacji",
    "Kod": "Kod",
    "NumerAkt": "NumerAkt",
    "Imie": "Imie",
    "ImieDrugie": "ImieDrugie",
    "Nazwisko": "Nazwisko",
    "NazwiskoRodowe": "NazwiskoRodowe",
    "ImieOjca": "ImieOjca",
    "ImieMatki": "ImieMatki",
    "ObywatelstwoExt": {
      "KodKraju": "PL",
      "Nazwa": "Nazwa",
      "RodzajNumeruPodatnika": "Nieokreślony",
      "NumerPodatnika": "NumerPodatnika",
      "KodKrajuDokumentu": "KodKrajuDokumentu",
      "KrajDokumentu": "KrajDokumentu"
    },
    "Obywatelstwo": "Obywatelstwo",
    "Plec": "Kobieta",
    "DataUrodzenia": "2025-12-18T12:03:53.1803270Z",
    "MiejsceUrodzenia": "MiejsceUrodzenia",
    "PESEL": "PESEL",
    "NIP": "5242873585",
    "KodPrawaDostepu": "KodPrawaDostepu",
    "Dokument": {
      "Rodzaj": "Niezdefiniowany",
      "SeriaNumer": "SeriaNumer"
    },
    "AdresZamieszkania": {
      "Ulica": "Ulica",
      "NrDomu": "1",
      "NrLokalu": "2",
      "KodPocztowyS": "00-000",
      "Miejscowosc": "Miejscowosc",
      "Poczta": "Poczta",
      "Gmina": "Gmina",
      "Powiat": "Powiat",
      "Wojewodztwo": "nieokreślone",
      "KodKraju": "PL",
      "Kraj": "Polska",
      "Telefon": "Telefon",
      "Faks": "Faks"
    },
    "AdresZameldowania": {
      "Ulica": "Ulica",
      "NrDomu": "1",
      "NrLokalu": "2",
      "KodPocztowyS": "00-000",
      "Miejscowosc": "Miejscowosc",
      "Poczta": "Poczta",
      "Gmina": "Gmina",
      "Powiat": "Powiat",
      "Wojewodztwo": "nieokreślone",
      "KodKraju": "PL",
      "Kraj": "Polska",
      "Telefon": "Telefon",
      "Faks": "Faks"
    },
    "AdresDoKorespondencji": {
      "NazwaFirmy": "NazwaFirmy",
      "Ulica": "Ulica",
      "NrDomu": "1",
      "NrLokalu": "2",
      "KodPocztowyS": "00-000",
      "Miejscowosc": "Miejscowosc",
      "Poczta": "Poczta",
      "Gmina": "Gmina",
      "Powiat": "Powiat",
      "Wojewodztwo": "nieokreślone",
      "KodKraju": "PL",
      "Kraj": "Polska",
      "Telefon": "Telefon",
      "Faks": "Faks"
    },
    "Kontakt": {
      "TelefonKomorkowy": "TelefonKomorkowy",
      "SkrytkaPocztowa": "Sk.22",
      "EMAIL": "EMAIL",
      "Skype": "Skype",
      "WWW": "WWW"
    },
    "Podatki": {
      "KodUrzeduSkarbowego": "KodUrzeduSkarbowego",
      "Pit26": "Warunkowo2020",
      "IdentyfikatorPodatkowy": "PESEL"
    },
    "Zatrudnienie": {
      "OkresOd": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "OkresDo": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "TypUmowy": "Brak",
      "Stanowisko": "Stanowisko",
      "JednostkaOrg": "JednostkaOrg",
      "Wymiar": {
        "Numerator": 1,
        "Denominator": 1
      },
      "Zwolniony": false,
      "ID": 1,
      "AttachmentsCount": 1,
      "TableName": "TableName",
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "TableName": "TableName",
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "t4oZC5n8lVE6sw==",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    },
    "Rachunki": [
      {
        "Priorytet": 1,
        "Blokada": false,
        "KodBanku": "KodBanku",
        "SWIFT": "SWIFT",
        "Kraj": "Polska",
        "Numer": "Numer",
        "Domyslne": false,
        "ID": 1,
        "AttachmentsCount": 1,
        "TableName": "TableName",
        "Features": [
          {
            "Name": "Name",
            "Value": "Value",
            "Type": "Type",
            "UpdateDate": null
          }
        ],
        "Attachments": [
          {
            "ID": 1,
            "TableName": "TableName",
            "Name": "Name",
            "Parent": 1,
            "Description": "Description",
            "IsDefault": false,
            "SendEmail": false,
            "Extension": "Extension",
            "Link": "Link",
            "SubType": "None",
            "Base64": "xGjQBarxDMfO0Q==",
            "Features": [
              {
                "Name": "Name",
                "Value": "Value",
                "Type": "Type",
                "UpdateDate": null
              }
            ]
          }
        ]
      }
    ],
    "ID": 1,
    "AttachmentsCount": 1,
    "TableName": "TableName",
    "Features": [
      {
        "Name": "Name",
        "Value": "Value",
        "Type": "Type",
        "UpdateDate": null
      }
    ],
    "Attachments": [
      {
        "ID": 1,
        "TableName": "TableName",
        "Name": "Name",
        "Parent": 1,
        "Description": "Description",
        "IsDefault": false,
        "SendEmail": false,
        "Extension": "Extension",
        "Link": "Link",
        "SubType": "None",
        "Base64": "q13Wyqsgd1IsEQ==",
        "Features": [
          {
            "Name": "Name",
            "Value": "Value",
            "Type": "Type",
            "UpdateDate": null
          }
        ]
      }
    ]
  },
  "Key": "Key",
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WCF.Core

Method name: GetPackableEmployees

URL: https://{{baseAddress}}/api/KadryPlaceWebAPI/GetPackableEmployees

HTTP method: POST

Params type: GetPracownikParams

Result type: PackableDataResponse<PracownikDTO>

Description: The method to retrieve a collection of employees by key / Metoda pobierania kolekcji pracowników według klucza

Comment: The method allows for retrieving a list of employees based on the specified key / Metoda pozwala na pobranie listy pracowników na podstawie określonego klucza

Sample request for object GetPracownikParams. Replace placeholders with real values.

Schema (JSON) for class GetPracownikParams:
{
"title": "GetPracownikParams",
"definitions": {
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"Filter": {
"type": "object",
"properties": {
"LogicalOperator": {
"type": "string",
"enum": [
"And",
"Or"
]
},
"Operator": {
"type": "string",
"enum": [
"Equal",
"NotEqual",
"Like",
"Null"
]
},
"ColumnName": {
"type": "string"
},
"FilterValue": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"Kod": {
"type": "string"
},
"ID": {
"type": "integer"
},
"Guid": {
"type": "string"
},
"CechaExternalID": {
"type": "string"
},
"DataAktualnosci": {
"type": "string",
"format": "date-time"
},
"Zatrudnienie": {
"type": "boolean"
},
"AdresDoKorespondencji": {
"type": "boolean"
},
"Rachunki": {
"type": "boolean"
},
"IDs": {
"type": "array",
"items": {
"type": "integer"
}
},
"LastID": {
"type": "integer"
},
"PacketSize": {
"type": "integer"
},
"Conditions": {
"type": "array",
"items": {
"$ref": "#/definitions/Filter"
}
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
}
}
Sample JSON file:
{
  "Kod": "Kod",
  "ID": 1,
  "Guid": "345ae9a7-4e14-4685-8e60-b89c07c20610",
  "CechaExternalID": "CechaExternalID",
  "DataAktualnosci": "2025-12-18T12:03:53.1823784Z",
  "Zatrudnienie": false,
  "AdresDoKorespondencji": false,
  "Rachunki": false,
  "IDs": [
    1
  ],
  "LastID": 1,
  "PacketSize": 1,
  "Conditions": [
    {
      "LogicalOperator": "And",
      "Operator": "Equal",
      "ColumnName": "ColumnName",
      "FilterValue": "FilterValue"
    }
  ],
  "UpdateDate": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  }
}
Sample response:
Schema (JSON) for class PackableDataResponse<PracownikDTO>:
{
"title": "PackableDataResponse`1",
"definitions": {
"AdresDTO": {
"type": "object",
"properties": {
"Ulica": {
"type": "string"
},
"NrDomu": {
"type": "string"
},
"NrLokalu": {
"type": "string"
},
"KodPocztowyS": {
"type": "string"
},
"Miejscowosc": {
"type": "string"
},
"Poczta": {
"type": "string"
},
"Gmina": {
"type": "string"
},
"Powiat": {
"type": "string"
},
"Wojewodztwo": {
"type": "string",
"enum": [
"nieokreślone",
"dolnośląskie",
"kujawsko_pomorskie",
"lubelskie",
"lubuskie",
"łódzkie",
"małopolskie",
"mazowieckie",
"opolskie",
"podkarpackie",
"podlaskie",
"pomorskie",
"śląskie",
"świętokrzyskie",
"warmińsko_mazurskie",
"wielkopolskie",
"zachodniopomorskie"
]
},
"KodKraju": {
"type": "string"
},
"Kraj": {
"type": "string"
},
"Telefon": {
"type": "string"
},
"Faks": {
"type": "string"
}
}
},
"AdresKorespondencyjnyDTO": {
"type": "object",
"properties": {
"NazwaFirmy": {
"type": "string"
},
"Ulica": {
"type": "string"
},
"NrDomu": {
"type": "string"
},
"NrLokalu": {
"type": "string"
},
"KodPocztowyS": {
"type": "string"
},
"Miejscowosc": {
"type": "string"
},
"Poczta": {
"type": "string"
},
"Gmina": {
"type": "string"
},
"Powiat": {
"type": "string"
},
"Wojewodztwo": {
"type": "string",
"enum": [
"nieokreślone",
"dolnośląskie",
"kujawsko_pomorskie",
"lubelskie",
"lubuskie",
"łódzkie",
"małopolskie",
"mazowieckie",
"opolskie",
"podkarpackie",
"podlaskie",
"pomorskie",
"śląskie",
"świętokrzyskie",
"warmińsko_mazurskie",
"wielkopolskie",
"zachodniopomorskie"
]
},
"KodKraju": {
"type": "string"
},
"Kraj": {
"type": "string"
},
"Telefon": {
"type": "string"
},
"Faks": {
"type": "string"
}
}
},
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DataDTO-1": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DokumentDTO": {
"type": "object",
"properties": {
"Rodzaj": {
"type": "string",
"enum": [
"Niezdefiniowany",
"DowodOsobisty",
"Paszport"
]
},
"SeriaNumer": {
"type": "string"
}
}
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name"
]
},
"FractionDTO": {
"type": "object",
"properties": {
"Numerator": {
"type": "integer"
},
"Denominator": {
"type": "integer"
}
},
"required": [
"Numerator",
"Denominator"
]
},
"KontaktDTO": {
"type": "object",
"properties": {
"TelefonKomorkowy": {
"type": "string"
},
"SkrytkaPocztowa": {
"type": "string"
},
"EMAIL": {
"type": "string"
},
"Skype": {
"type": "string"
},
"WWW": {
"type": "string"
}
}
},
"ObywatelstwoDTO": {
"type": "object",
"properties": {
"KodKraju": {
"type": "string"
},
"Nazwa": {
"type": "string"
},
"RodzajNumeruPodatnika": {
"type": "string",
"enum": [
"Nieokreślony",
"NumerIdentyfikacyjnyTIN",
"NumerUbezpieczeniowy",
"Paszport",
"UrzędowyDokumentStwierdzającyTożsamość",
"InnyRodzajIdentyfikacjiPodatkowej",
"InnyDokumentPotwierdzającyTożsamość"
]
},
"NumerPodatnika": {
"type": "string"
},
"KodKrajuDokumentu": {
"type": "string"
},
"KrajDokumentu": {
"type": "string"
}
}
},
"PodatkiDTO": {
"type": "object",
"properties": {
"KodUrzeduSkarbowego": {
"type": "string"
},
"Pit26": {
"type": "string",
"enum": [
"Warunkowo2020",
"Warunkowo2019",
"NieNaliczaj"
]
},
"IdentyfikatorPodatkowy": {
"type": "string",
"enum": [
"PESEL",
"NIP"
]
}
}
},
"PracownikDTO": {
"type": "object",
"properties": {
"Guid": {
"type": "string"
},
"DataAktualizacji": {
"type": "string",
"format": "date-time"
},
"Aktualizuj": {
"type": "boolean"
},
"PowodAktualizacji": {
"type": "string"
},
"Kod": {
"type": "string"
},
"NumerAkt": {
"type": "string"
},
"Imie": {
"type": "string"
},
"ImieDrugie": {
"type": "string"
},
"Nazwisko": {
"type": "string"
},
"NazwiskoRodowe": {
"type": "string"
},
"ImieOjca": {
"type": "string"
},
"ImieMatki": {
"type": "string"
},
"ObywatelstwoExt": {
"$ref": "#/definitions/ObywatelstwoDTO"
},
"Obywatelstwo": {
"type": "string"
},
"Plec": {
"type": "string",
"enum": [
"Kobieta",
"Mężczyzna"
]
},
"DataUrodzenia": {
"type": "string",
"format": "date-time"
},
"MiejsceUrodzenia": {
"type": "string"
},
"PESEL": {
"type": "string"
},
"NIP": {
"type": "string"
},
"KodPrawaDostepu": {
"type": "string"
},
"Dokument": {
"$ref": "#/definitions/DokumentDTO"
},
"AdresZamieszkania": {
"$ref": "#/definitions/AdresDTO"
},
"AdresZameldowania": {
"$ref": "#/definitions/AdresDTO"
},
"AdresDoKorespondencji": {
"$ref": "#/definitions/AdresKorespondencyjnyDTO"
},
"Kontakt": {
"$ref": "#/definitions/KontaktDTO"
},
"Podatki": {
"$ref": "#/definitions/PodatkiDTO"
},
"Zatrudnienie": {
"$ref": "#/definitions/ZatrudnienieDTO"
},
"Rachunki": {
"type": "array",
"items": {
"$ref": "#/definitions/RachunekBankowyDTO"
}
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Imie",
"Nazwisko"
]
},
"RachunekBankowyDTO": {
"type": "object",
"properties": {
"Priorytet": {
"type": "integer"
},
"Blokada": {
"type": "boolean"
},
"KodBanku": {
"type": "string"
},
"SWIFT": {
"type": "string"
},
"Kraj": {
"type": "string"
},
"Numer": {
"type": "string"
},
"Domyslne": {
"type": "boolean"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Numer"
]
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
},
"ZatrudnienieDTO": {
"type": "object",
"properties": {
"OkresOd": {
"$ref": "#/definitions/DataDTO"
},
"OkresDo": {
"$ref": "#/definitions/DataDTO"
},
"TypUmowy": {
"type": "string",
"enum": [
"Brak",
"NaCzasNieokreślony",
"NaOkresPróbny",
"NaCzasOkreślony",
"NaCzasWykonywniaPracy",
"NaOkresZastępstwa",
"NaOkresTrwaniaMandatu",
"NaCzasPełnieniaFunkcji",
"DoDniaPorodu",
"NaCzasOkreślonyDorywczySezonowy",
"NaOkresPróbnyDoDniaPorodu"
]
},
"Stanowisko": {
"type": "string"
},
"JednostkaOrg": {
"type": "string"
},
"Wymiar": {
"$ref": "#/definitions/FractionDTO"
},
"Zwolniony": {
"type": "boolean"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
}
}
},
"type": "object",
"properties": {
"AllRows": {
"type": "boolean"
},
"LastID": {
"type": "integer"
},
"ToReadRecords": {
"type": "integer"
},
"ReadRecords": {
"type": "integer"
},
"Data": {
"type": "array",
"items": {
"$ref": "#/definitions/PracownikDTO"
}
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"AllRows",
"LastID",
"ReadRecords",
"Success"
]
}
Sample JSON file:
{
  "AllRows": false,
  "LastID": 1,
  "ToReadRecords": 1,
  "ReadRecords": 1,
  "Data": [
    {
      "Guid": "7a9b7e2c-640b-4e86-873f-49eedf726853",
      "DataAktualizacji": "2025-12-18T12:03:53.1948292Z",
      "Aktualizuj": false,
      "PowodAktualizacji": "PowodAktualizacji",
      "Kod": "Kod",
      "NumerAkt": "NumerAkt",
      "Imie": "Imie",
      "ImieDrugie": "ImieDrugie",
      "Nazwisko": "Nazwisko",
      "NazwiskoRodowe": "NazwiskoRodowe",
      "ImieOjca": "ImieOjca",
      "ImieMatki": "ImieMatki",
      "ObywatelstwoExt": {
        "KodKraju": "PL",
        "Nazwa": "Nazwa",
        "RodzajNumeruPodatnika": "Nieokreślony",
        "NumerPodatnika": "NumerPodatnika",
        "KodKrajuDokumentu": "KodKrajuDokumentu",
        "KrajDokumentu": "KrajDokumentu"
      },
      "Obywatelstwo": "Obywatelstwo",
      "Plec": "Kobieta",
      "DataUrodzenia": "2025-12-18T12:03:53.1948860Z",
      "MiejsceUrodzenia": "MiejsceUrodzenia",
      "PESEL": "PESEL",
      "NIP": "5242873585",
      "KodPrawaDostepu": "KodPrawaDostepu",
      "Dokument": {
        "Rodzaj": "Niezdefiniowany",
        "SeriaNumer": "SeriaNumer"
      },
      "AdresZamieszkania": {
        "Ulica": "Ulica",
        "NrDomu": "1",
        "NrLokalu": "2",
        "KodPocztowyS": "00-000",
        "Miejscowosc": "Miejscowosc",
        "Poczta": "Poczta",
        "Gmina": "Gmina",
        "Powiat": "Powiat",
        "Wojewodztwo": "nieokreślone",
        "KodKraju": "PL",
        "Kraj": "Polska",
        "Telefon": "Telefon",
        "Faks": "Faks"
      },
      "AdresZameldowania": {
        "Ulica": "Ulica",
        "NrDomu": "1",
        "NrLokalu": "2",
        "KodPocztowyS": "00-000",
        "Miejscowosc": "Miejscowosc",
        "Poczta": "Poczta",
        "Gmina": "Gmina",
        "Powiat": "Powiat",
        "Wojewodztwo": "nieokreślone",
        "KodKraju": "PL",
        "Kraj": "Polska",
        "Telefon": "Telefon",
        "Faks": "Faks"
      },
      "AdresDoKorespondencji": {
        "NazwaFirmy": "NazwaFirmy",
        "Ulica": "Ulica",
        "NrDomu": "1",
        "NrLokalu": "2",
        "KodPocztowyS": "00-000",
        "Miejscowosc": "Miejscowosc",
        "Poczta": "Poczta",
        "Gmina": "Gmina",
        "Powiat": "Powiat",
        "Wojewodztwo": "nieokreślone",
        "KodKraju": "PL",
        "Kraj": "Polska",
        "Telefon": "Telefon",
        "Faks": "Faks"
      },
      "Kontakt": {
        "TelefonKomorkowy": "TelefonKomorkowy",
        "SkrytkaPocztowa": "Sk.22",
        "EMAIL": "EMAIL",
        "Skype": "Skype",
        "WWW": "WWW"
      },
      "Podatki": {
        "KodUrzeduSkarbowego": "KodUrzeduSkarbowego",
        "Pit26": "Warunkowo2020",
        "IdentyfikatorPodatkowy": "PESEL"
      },
      "Zatrudnienie": {
        "OkresOd": {
          "Year": 2025,
          "Month": 12,
          "Day": 18
        },
        "OkresDo": {
          "Year": 2025,
          "Month": 12,
          "Day": 18
        },
        "TypUmowy": "Brak",
        "Stanowisko": "Stanowisko",
        "JednostkaOrg": "JednostkaOrg",
        "Wymiar": {
          "Numerator": 1,
          "Denominator": 1
        },
        "Zwolniony": false,
        "ID": 1,
        "AttachmentsCount": 1,
        "TableName": "TableName",
        "Features": [
          {
            "Name": "Name",
            "Value": "Value",
            "Type": "Type",
            "UpdateDate": null
          }
        ],
        "Attachments": [
          {
            "ID": 1,
            "TableName": "TableName",
            "Name": "Name",
            "Parent": 1,
            "Description": "Description",
            "IsDefault": false,
            "SendEmail": false,
            "Extension": "Extension",
            "Link": "Link",
            "SubType": "None",
            "Base64": "dauE6fK+ix2ClA==",
            "Features": [
              {
                "Name": "Name",
                "Value": "Value",
                "Type": "Type",
                "UpdateDate": null
              }
            ]
          }
        ]
      },
      "Rachunki": [
        {
          "Priorytet": 1,
          "Blokada": false,
          "KodBanku": "KodBanku",
          "SWIFT": "SWIFT",
          "Kraj": "Polska",
          "Numer": "Numer",
          "Domyslne": false,
          "ID": 1,
          "AttachmentsCount": 1,
          "TableName": "TableName",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ],
          "Attachments": [
            {
              "ID": 1,
              "TableName": "TableName",
              "Name": "Name",
              "Parent": 1,
              "Description": "Description",
              "IsDefault": false,
              "SendEmail": false,
              "Extension": "Extension",
              "Link": "Link",
              "SubType": "None",
              "Base64": "zr2QkUjXLYskiw==",
              "Features": [
                {
                  "Name": "Name",
                  "Value": "Value",
                  "Type": "Type",
                  "UpdateDate": null
                }
              ]
            }
          ]
        }
      ],
      "ID": 1,
      "AttachmentsCount": 1,
      "TableName": "TableName",
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "TableName": "TableName",
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "rN7ARPDIcX8geQ==",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WCF.Core

Method name: GetPackableBasicEmployees

URL: https://{{baseAddress}}/api/KadryPlaceWebAPI/GetPackableBasicEmployees

HTTP method: POST

Params type: GetPracownikParams

Result type: PackableDataResponse<BasicPracownikDTO>

Description: The method allows retrieving a list of employees based on a specified key with basic data / Metoda pozwalająca na pobranie listy pracowników na podstawie określonego klucza z podstawowymi danymi

Comment: The method allows retrieving a list of employees based on a specified key with basic data / Metoda pozwalająca na pobranie listy pracowników na podstawie określonego klucza z podstawowymi danymi

Sample request for object GetPracownikParams. Replace placeholders with real values.

Schema (JSON) for class GetPracownikParams:
{
"title": "GetPracownikParams",
"definitions": {
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"Filter": {
"type": "object",
"properties": {
"LogicalOperator": {
"type": "string",
"enum": [
"And",
"Or"
]
},
"Operator": {
"type": "string",
"enum": [
"Equal",
"NotEqual",
"Like",
"Null"
]
},
"ColumnName": {
"type": "string"
},
"FilterValue": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"Kod": {
"type": "string"
},
"ID": {
"type": "integer"
},
"Guid": {
"type": "string"
},
"CechaExternalID": {
"type": "string"
},
"DataAktualnosci": {
"type": "string",
"format": "date-time"
},
"Zatrudnienie": {
"type": "boolean"
},
"AdresDoKorespondencji": {
"type": "boolean"
},
"Rachunki": {
"type": "boolean"
},
"IDs": {
"type": "array",
"items": {
"type": "integer"
}
},
"LastID": {
"type": "integer"
},
"PacketSize": {
"type": "integer"
},
"Conditions": {
"type": "array",
"items": {
"$ref": "#/definitions/Filter"
}
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
}
}
Sample JSON file:
{
  "Kod": "Kod",
  "ID": 1,
  "Guid": "70030dd2-5946-4f70-b475-8df82a5e69c0",
  "CechaExternalID": "CechaExternalID",
  "DataAktualnosci": "2025-12-18T12:03:53.1969278Z",
  "Zatrudnienie": false,
  "AdresDoKorespondencji": false,
  "Rachunki": false,
  "IDs": [
    1
  ],
  "LastID": 1,
  "PacketSize": 1,
  "Conditions": [
    {
      "LogicalOperator": "And",
      "Operator": "Equal",
      "ColumnName": "ColumnName",
      "FilterValue": "FilterValue"
    }
  ],
  "UpdateDate": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  }
}
Sample response:
Schema (JSON) for class PackableDataResponse<BasicPracownikDTO>:
{
"title": "PackableDataResponse`1",
"definitions": {
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"BasicPracownikDTO": {
"type": "object",
"properties": {
"Guid": {
"type": "string"
},
"Kod": {
"type": "string"
},
"NumerAkt": {
"type": "string"
},
"Imie": {
"type": "string"
},
"ImieDrugie": {
"type": "string"
},
"Nazwisko": {
"type": "string"
},
"Kontakt": {
"$ref": "#/definitions/KontaktDTO"
},
"Zatrudnienie": {
"$ref": "#/definitions/BasicZatrudnienieDTO"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Imie",
"Nazwisko"
]
},
"BasicZatrudnienieDTO": {
"type": "object",
"properties": {
"OkresOd": {
"$ref": "#/definitions/DataDTO"
},
"OkresDo": {
"$ref": "#/definitions/DataDTO"
},
"JednostkaOrg": {
"type": "string"
}
}
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DataDTO-1": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name"
]
},
"KontaktDTO": {
"type": "object",
"properties": {
"TelefonKomorkowy": {
"type": "string"
},
"SkrytkaPocztowa": {
"type": "string"
},
"EMAIL": {
"type": "string"
},
"Skype": {
"type": "string"
},
"WWW": {
"type": "string"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"AllRows": {
"type": "boolean"
},
"LastID": {
"type": "integer"
},
"ToReadRecords": {
"type": "integer"
},
"ReadRecords": {
"type": "integer"
},
"Data": {
"type": "array",
"items": {
"$ref": "#/definitions/BasicPracownikDTO"
}
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"AllRows",
"LastID",
"ReadRecords",
"Success"
]
}
Sample JSON file:
{
  "AllRows": false,
  "LastID": 1,
  "ToReadRecords": 1,
  "ReadRecords": 1,
  "Data": [
    {
      "Guid": "85f81f48-ced1-4695-8792-dbc1a85417c2",
      "Kod": "Kod",
      "NumerAkt": "NumerAkt",
      "Imie": "Imie",
      "ImieDrugie": "ImieDrugie",
      "Nazwisko": "Nazwisko",
      "Kontakt": {
        "TelefonKomorkowy": "TelefonKomorkowy",
        "SkrytkaPocztowa": "Sk.22",
        "EMAIL": "EMAIL",
        "Skype": "Skype",
        "WWW": "WWW"
      },
      "Zatrudnienie": {
        "OkresOd": {
          "Year": 2025,
          "Month": 12,
          "Day": 18
        },
        "OkresDo": {
          "Year": 2025,
          "Month": 12,
          "Day": 18
        },
        "JednostkaOrg": "JednostkaOrg"
      },
      "ID": 1,
      "AttachmentsCount": 1,
      "TableName": "TableName",
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "TableName": "TableName",
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "bvpHAhvuXFlTpw==",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WCF.Core

Method name: GetAccountingRecords

URL: https://{{baseAddress}}/api/KsiegowoscWebAPI/GetAccountingRecords

HTTP method: POST

Params type: GetKontaKsiegoweParams

Result type: GetResultKontaKsiegowe

Description: The method for reading accounting accounts / Metoda odczytu kont księgowych

Comment: Reading accounting accounts - chart of accounts from the accounting module / Odczyt kont księgowych - plan kont z modułu księgowego

Sample request for object GetKontaKsiegoweParams. Replace placeholders with real values.

Schema (JSON) for class GetKontaKsiegoweParams:
{
"title": "GetKontaKsiegoweParams",
"type": "object",
"properties": {
"SymbolOkresuObrachunkowego": {
"type": "string"
},
"SymbolKonta": {
"type": "string"
},
"Nazwa": {
"type": "string"
},
"Rodzaj2": {
"type": "string",
"enum": [
"Syntetyczne",
"Analityczne"
]
}
},
"required": [
"SymbolOkresuObrachunkowego"
]
}
Sample JSON file:
{
  "SymbolOkresuObrachunkowego": "SymbolOkresuObrachunkowego",
  "SymbolKonta": "SymbolKonta",
  "Nazwa": "Nazwa",
  "Rodzaj2": "Syntetyczne"
}
Sample response:
Schema (JSON) for class GetResultKontaKsiegowe:
{
"title": "GetResultKontaKsiegowe",
"definitions": {
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"DataDTO": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"Name"
]
},
"KontoDTO": {
"type": "object",
"properties": {
"Symbol": {
"type": "string"
},
"Nazwa": {
"type": "string"
},
"Rodzaj2": {
"type": "string",
"enum": [
"Syntetyczne",
"Analityczne"
]
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"Count": {
"type": "integer"
},
"KontaKsiegowe": {
"type": "array",
"items": {
"$ref": "#/definitions/KontoDTO"
}
},
"Key": {
"type": "string"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "Count": 1,
  "KontaKsiegowe": [
    {
      "Symbol": "Symbol",
      "Nazwa": "Nazwa",
      "Rodzaj2": "Syntetyczne",
      "ID": 1,
      "AttachmentsCount": 1,
      "TableName": "TableName",
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "TableName": "TableName",
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "iptvnfhuJS2A9A==",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "Key": "Key",
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WCF.Core

Method name: GetWebServiceInfo

URL: https://{{baseAddress}}/api/OperationFunctionsWebAPI/GetWebServiceInfo

HTTP method: POST

Params type: GetWebServiceInfoParams

Result type: GetResultWebServiceInfo

Description: The method for diagnosing the service's status / Metoda diagnostyczna statusu serwisu

Comment: It returns the connection status, service version, database connection, etc. / Zwraca status połączenia, wersję serwisu, połączenie z bazą danych, itd.

Sample request for object GetWebServiceInfoParams. Replace placeholders with real values.

Schema (JSON) for class GetWebServiceInfoParams:
{
"title": "GetWebServiceInfoParams",
"type": "object"
}
Sample JSON file:
{}
Sample response:
Schema (JSON) for class GetResultWebServiceInfo:
{
"title": "GetResultWebServiceInfo",
"definitions": {
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
},
"WebServiceInfoDTO": {
"type": "object",
"properties": {
"BiezacaData": {
"type": "string"
},
"AssemblyTitle": {
"type": "string"
},
"AssemblyTrendmark": {
"type": "string"
},
"WersjaBibliotekiWS": {
"type": "string"
},
"WersjaEnova": {
"type": "string"
},
"SerwerSQL": {
"type": "string"
},
"NazwaBazyEnova": {
"type": "string"
},
"NazwaBazySQL": {
"type": "string"
},
"OpisBazy": {
"type": "string"
},
"StanBazy": {
"type": "string"
},
"ServerVersion": {
"type": "string"
},
"Copyright": {
"type": "string"
},
"LoginSuccess": {
"type": "boolean"
},
"ZalogowanyOperator": {
"type": "string"
},
"InformationError": {
"type": "string"
},
"RefreshConfig": {
"type": "string",
"format": "date-time"
}
}
}
},
"type": "object",
"properties": {
"WebServiceInfoDTO": {
"$ref": "#/definitions/WebServiceInfoDTO"
},
"Key": {
"type": "string"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "WebServiceInfoDTO": {
    "BiezacaData": "BiezacaData",
    "AssemblyTitle": "AssemblyTitle",
    "AssemblyTrendmark": "AssemblyTrendmark",
    "WersjaBibliotekiWS": "WersjaBibliotekiWS",
    "WersjaEnova": "WersjaEnova",
    "SerwerSQL": "SerwerSQL",
    "NazwaBazyEnova": "NazwaBazyEnova",
    "NazwaBazySQL": "NazwaBazySQL",
    "OpisBazy": "OpisBazy",
    "StanBazy": "StanBazy",
    "ServerVersion": "ServerVersion",
    "Copyright": "Copyright",
    "LoginSuccess": false,
    "ZalogowanyOperator": "ZalogowanyOperator",
    "InformationError": "InformationError",
    "RefreshConfig": "2025-12-18T12:03:53.2159121Z"
  },
  "Key": "Key",
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WCF.Core

Method name: GetDocumentation

URL: https://{{baseAddress}}/api/OperationFunctionsWebAPI/GetDocumentation

HTTP method: POST

Params type: GetDocumentationParams

Result type: GetResultDocumentation

Description: The method for retrieving service documentation / Metoda pobierania dokumentacji serwisu

Comment: The method provides the service's documentation as an HTML file / Metoda dostarcza dokumentację serwisu w formie pliku HTML

Sample request for object GetDocumentationParams. Replace placeholders with real values.

Schema (JSON) for class GetDocumentationParams:
{
"title": "GetDocumentationParams",
"type": "object",
"properties": {
"TypUslugi": {
"type": "string"
},
"Wersja": {
"type": "integer"
},
"SchemaJson": {
"type": "boolean"
},
"DlaZapisu": {
"type": "boolean"
},
"DynamicApi": {
"type": "boolean"
}
}
}
Sample JSON file:
{
  "TypUslugi": "TypUslugi",
  "Wersja": 1,
  "SchemaJson": false,
  "DlaZapisu": false,
  "DynamicApi": false
}
Sample response:
Schema (JSON) for class GetResultDocumentation:
{
"title": "GetResultDocumentation",
"definitions": {
"DocumentationDTO": {
"type": "object",
"properties": {
"Version": {
"type": "string"
},
"Html": {
"type": "string"
}
}
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"DocumentationDTO": {
"$ref": "#/definitions/DocumentationDTO"
},
"Key": {
"type": "string"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "DocumentationDTO": {
    "Version": "Version",
    "Html": "Html"
  },
  "Key": "Key",
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WCF.Core

Method name: GetDictionary

URL: https://{{baseAddress}}/api/OperationFunctionsWebAPI/GetDictionary

HTTP method: POST

Params type: GetSlownikElementowParams

Result type: GetResultSlownikElementow

Description: The method retrieves items from the selected dictionary / Metoda pobierania elementów wybranego słownika

Comment: This method allows fetching all elements from a specified dictionary along with their properties / Metoda pozwala na pobranie wszystkich elementów wybranego słownika wraz z ich właściwościami.

Sample request for object GetSlownikElementowParams. Replace placeholders with real values.

Schema (JSON) for class GetSlownikElementowParams:
{
"title": "GetSlownikElementowParams",
"type": "object",
"properties": {
"NazwaSlownika": {
"type": "string"
}
},
"required": [
"NazwaSlownika"
]
}
Sample JSON file:
{
  "NazwaSlownika": "NazwaSlownika"
}
Sample response:
Schema (JSON) for class GetResultSlownikElementow:
{
"title": "GetResultSlownikElementow",
"definitions": {
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"DataDTO": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"ElementSlownikaDTO": {
"type": "object",
"properties": {
"Blokada": {
"type": "boolean"
},
"Symbol": {
"type": "string"
},
"Nazwa": {
"type": "string"
},
"Note": {
"type": "string"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Symbol",
"Nazwa"
]
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"Name"
]
},
"SlownikElementowDTO": {
"type": "object",
"properties": {
"NazwaSlownika": {
"type": "string"
},
"AutomatycznieNowy": {
"type": "boolean"
},
"LiczbaElementow": {
"type": "integer"
},
"ElementySlownika": {
"type": "array",
"items": {
"$ref": "#/definitions/ElementSlownikaDTO"
}
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"NazwaSlownika"
]
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"SlownikElementowDTO": {
"$ref": "#/definitions/SlownikElementowDTO"
},
"Key": {
"type": "string"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "SlownikElementowDTO": {
    "NazwaSlownika": "NazwaSlownika",
    "AutomatycznieNowy": false,
    "LiczbaElementow": 1,
    "ElementySlownika": [
      {
        "Blokada": false,
        "Symbol": "Symbol",
        "Nazwa": "Nazwa",
        "Note": "Note",
        "ID": 1,
        "AttachmentsCount": 1,
        "TableName": "TableName",
        "Features": [
          {
            "Name": "Name",
            "Value": "Value",
            "Type": "Type",
            "UpdateDate": null
          }
        ],
        "Attachments": [
          {
            "ID": 1,
            "TableName": "TableName",
            "Name": "Name",
            "Parent": 1,
            "Description": "Description",
            "IsDefault": false,
            "SendEmail": false,
            "Extension": "Extension",
            "Link": "Link",
            "SubType": "None",
            "Base64": "vtlfhG5K/5bw4w==",
            "Features": [
              {
                "Name": "Name",
                "Value": "Value",
                "Type": "Type",
                "UpdateDate": null
              }
            ]
          }
        ]
      }
    ],
    "ID": 1,
    "AttachmentsCount": 1,
    "TableName": "TableName",
    "Features": [
      {
        "Name": "Name",
        "Value": "Value",
        "Type": "Type",
        "UpdateDate": null
      }
    ],
    "Attachments": [
      {
        "ID": 1,
        "TableName": "TableName",
        "Name": "Name",
        "Parent": 1,
        "Description": "Description",
        "IsDefault": false,
        "SendEmail": false,
        "Extension": "Extension",
        "Link": "Link",
        "SubType": "None",
        "Base64": "yXuWxvz+Z6Xzsw==",
        "Features": [
          {
            "Name": "Name",
            "Value": "Value",
            "Type": "Type",
            "UpdateDate": null
          }
        ]
      }
    ]
  },
  "Key": "Key",
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WCF.Core

Method name: UpdateDictionary

URL: https://{{baseAddress}}/api/OperationFunctionsWebAPI/UpdateDictionary

HTTP method: POST

Params type: SlownikElementowDTO

Result type: UpdateResult

Description: The method allows adding new elements or updating existing ones in the dictionary / Metoda umożliwia dodawanie nowych elementów lub aktualizację istniejących w słowniku

Comment: Configuration can be done in enova365: Tools -> General -> Dictionary Definitions / Konfiguracja odbywa się w enova365: Narzędzia -> Ogólne -> Definicje słowników

Sample request for object SlownikElementowDTO. Replace placeholders with real values.

Schema (JSON) for class SlownikElementowDTO:
{
"title": "SlownikElementowDTO",
"definitions": {
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"DataDTO": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"ElementSlownikaDTO": {
"type": "object",
"properties": {
"Blokada": {
"type": "boolean"
},
"Symbol": {
"type": "string"
},
"Nazwa": {
"type": "string"
},
"Note": {
"type": "string"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Symbol",
"Nazwa"
]
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"Name"
]
}
},
"type": "object",
"properties": {
"NazwaSlownika": {
"type": "string"
},
"AutomatycznieNowy": {
"type": "boolean"
},
"LiczbaElementow": {
"type": "integer"
},
"ElementySlownika": {
"type": "array",
"items": {
"$ref": "#/definitions/ElementSlownikaDTO"
}
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"NazwaSlownika"
]
}
Sample JSON file:
{
  "TestMode": false,
  "NazwaSlownika": "NazwaSlownika",
  "AutomatycznieNowy": false,
  "LiczbaElementow": 1,
  "ElementySlownika": [
    {
      "Blokada": false,
      "Symbol": "Symbol",
      "Nazwa": "Nazwa",
      "Note": "Note",
      "ID": 1,
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "S/+TgbfmD3USlw==",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "ID": 1,
  "Features": [
    {
      "Name": "Name",
      "Value": "Value",
      "Type": "Type",
      "UpdateDate": null
    }
  ],
  "Attachments": [
    {
      "ID": 1,
      "Name": "Name",
      "Parent": 1,
      "Description": "Description",
      "IsDefault": false,
      "SendEmail": false,
      "Extension": "Extension",
      "Link": "Link",
      "SubType": "None",
      "Base64": "lzqgm65JwmhBQw==",
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ]
    }
  ]
}
Sample response:
Schema (JSON) for class UpdateResult:
{
"title": "UpdateResult",
"definitions": {
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"Kod": {
"type": "string"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "TestMode": false,
  "ID": 1,
  "Kod": "Kod",
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WCF.Core

Method name: GetAttachments

URL: https://{{baseAddress}}/api/OperationFunctionsWebAPI/GetAttachments

HTTP method: POST

Params type: GetAttachmentsParams

Result type: GetResultAttachments

Description: The method retrieves attachments for a specific object / Metoda pobierania załączników dla określonego obiektu

Comment: Attachments must have the 'VisibleInWCF' attribute set to 'True' to be retrieved / Załączniki muszą mieć ustawiony atrybut 'VisibleInWCF' na 'True', aby mogły zostać pobrane

Sample request for object GetAttachmentsParams. Replace placeholders with real values.

Schema (JSON) for class GetAttachmentsParams:
{
"title": "GetAttachmentsParams",
"type": "object",
"properties": {
"ParentID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Extension": {
"type": "string"
}
},
"required": [
"ParentID",
"TableName"
]
}
Sample JSON file:
{
  "ParentID": 1,
  "TableName": "TableName",
  "Name": "Name",
  "Extension": "Extension"
}
Sample response:
Schema (JSON) for class GetResultAttachments:
{
"title": "GetResultAttachments",
"definitions": {
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"DataDTO": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"Name"
]
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"Count": {
"type": "integer"
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"Key": {
"type": "string"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "Count": 1,
  "Attachments": [
    {
      "ID": 1,
      "TableName": "TableName",
      "Name": "Name",
      "Parent": 1,
      "Description": "Description",
      "IsDefault": false,
      "SendEmail": false,
      "Extension": "Extension",
      "Link": "Link",
      "SubType": "None",
      "Base64": "xHVam6gKkHHZ2Q==",
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ]
    }
  ],
  "Key": "Key",
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WCF.Core

Method name: InsertAttachment

URL: https://{{baseAddress}}/api/OperationFunctionsWebAPI/InsertAttachment

HTTP method: POST

Params type: AttachmentDTO

Result type: UpdateResult

Description: The method allows saving attachments for a specific object / Metoda umożliwia zapisanie załączników dla określonego obiektu

Comment: You need to provide the object's ID and the name of the table it belongs to / Wymagane jest podanie ID obiektu oraz nazwy tabeli, do której należy

Sample request for object AttachmentDTO. Replace placeholders with real values.

Schema (JSON) for class AttachmentDTO:
{
"title": "AttachmentDTO",
"definitions": {
"DataDTO": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"Name"
]
}
},
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
}
Sample JSON file:
{
  "TestMode": false,
  "ID": 1,
  "Name": "Name",
  "Parent": 1,
  "Description": "Description",
  "IsDefault": false,
  "SendEmail": false,
  "Extension": "Extension",
  "Link": "Link",
  "SubType": "None",
  "Base64": "YHHKErNexD4ujA==",
  "Features": [
    {
      "Name": "Name",
      "Value": "Value",
      "Type": "Type",
      "UpdateDate": null
    }
  ]
}
Sample response:
Schema (JSON) for class UpdateResult:
{
"title": "UpdateResult",
"definitions": {
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"Kod": {
"type": "string"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "TestMode": false,
  "ID": 1,
  "Kod": "Kod",
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WCF.Core

Method name: GetContractors

URL: https://{{baseAddress}}/api/OperationFunctionsWebAPI/GetContractors

HTTP method: POST

Params type: GetListaKontrahentowParams

Result type: GetResultListaKontrahentow

Description: The method retrieves a list of contractors by key / Metoda pobierania listy kontrahentów według klucza

Comment: The method allows downloading a list of contractors based on a specified key / Metoda pozwala na pobranie listy kontrahentów na podstawie określonego klucza

Sample request for object GetListaKontrahentowParams. Replace placeholders with real values.

Schema (JSON) for class GetListaKontrahentowParams:
{
"title": "GetListaKontrahentowParams",
"definitions": {
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"Filter": {
"type": "object",
"properties": {
"LogicalOperator": {
"type": "string",
"enum": [
"And",
"Or"
]
},
"Operator": {
"type": "string",
"enum": [
"Equal",
"NotEqual",
"Like",
"Null"
]
},
"ColumnName": {
"type": "string"
},
"FilterValue": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"Kod": {
"type": "string"
},
"Nazwa": {
"type": "string"
},
"EuVAT": {
"type": "string"
},
"PESEL": {
"type": "string"
},
"Miejscowosc": {
"type": "string"
},
"Guid": {
"type": "string"
},
"CechaExternalID": {
"type": "string"
},
"Powiazania": {
"type": "boolean"
},
"IDs": {
"type": "array",
"items": {
"type": "integer"
}
},
"LastID": {
"type": "integer"
},
"PacketSize": {
"type": "integer"
},
"Conditions": {
"type": "array",
"items": {
"$ref": "#/definitions/Filter"
}
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
}
}
Sample JSON file:
{
  "Kod": "Kod",
  "Nazwa": "Nazwa",
  "EuVAT": "EuVAT",
  "PESEL": "PESEL",
  "Miejscowosc": "Miejscowosc",
  "Guid": "e30b7c97-50f8-468f-84ed-cb1416b378b0",
  "CechaExternalID": "CechaExternalID",
  "Powiazania": false,
  "IDs": [
    1
  ],
  "LastID": 1,
  "PacketSize": 1,
  "Conditions": [
    {
      "LogicalOperator": "And",
      "Operator": "Equal",
      "ColumnName": "ColumnName",
      "FilterValue": "FilterValue"
    }
  ],
  "UpdateDate": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  }
}
Sample response:
Schema (JSON) for class GetResultListaKontrahentow:
{
"title": "GetResultListaKontrahentow",
"definitions": {
"AdresDTO": {
"type": "object",
"properties": {
"Ulica": {
"type": "string"
},
"NrDomu": {
"type": "string"
},
"NrLokalu": {
"type": "string"
},
"KodPocztowyS": {
"type": "string"
},
"Miejscowosc": {
"type": "string"
},
"Poczta": {
"type": "string"
},
"Gmina": {
"type": "string"
},
"Powiat": {
"type": "string"
},
"Wojewodztwo": {
"type": "string",
"enum": [
"nieokreślone",
"dolnośląskie",
"kujawsko_pomorskie",
"lubelskie",
"lubuskie",
"łódzkie",
"małopolskie",
"mazowieckie",
"opolskie",
"podkarpackie",
"podlaskie",
"pomorskie",
"śląskie",
"świętokrzyskie",
"warmińsko_mazurskie",
"wielkopolskie",
"zachodniopomorskie"
]
},
"KodKraju": {
"type": "string"
},
"Kraj": {
"type": "string"
},
"Telefon": {
"type": "string"
},
"Faks": {
"type": "string"
}
}
},
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"DataDTO": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DataDTO-1": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"Name"
]
},
"FormaPlatnosciDTO": {
"type": "object",
"properties": {
"Blokada": {
"type": "boolean"
},
"Nazwa": {
"type": "string"
},
"TerminDni": {
"type": "integer"
},
"Waluta": {
"type": "string"
},
"KodPlatnika": {
"type": "string"
}
},
"required": [
"Nazwa"
]
},
"KontaktDTO": {
"type": "object",
"properties": {
"TelefonKomorkowy": {
"type": "string"
},
"SkrytkaPocztowa": {
"type": "string"
},
"EMAIL": {
"type": "string"
},
"Skype": {
"type": "string"
},
"WWW": {
"type": "string"
}
}
},
"KontrahentBaseDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"Kod": {
"type": "string"
},
"Nazwa": {
"type": "string"
}
},
"required": [
"ID"
]
},
"KontrahentDTO": {
"type": "object",
"properties": {
"Guid": {
"type": "string"
},
"Kod": {
"type": [
"string",
"null"
]
},
"Nazwa": {
"type": "string"
},
"Blokada": {
"type": "boolean"
},
"Zamiennik": {
"$ref": "#/definitions/KontrahentBaseDTO"
},
"EuVAT": {
"type": "string"
},
"StatusPodmiotu": {
"type": "string",
"enum": [
"PodmiotGospodarczy",
"Finalny"
]
},
"REGON": {
"type": "string"
},
"PESEL": {
"type": "string"
},
"KRS": {
"type": "string"
},
"Uwagi": {
"type": "string"
},
"Oddzial": {
"type": "string"
},
"BlokadaSprzedazy": {
"type": "boolean"
},
"Adres": {
"$ref": "#/definitions/AdresDTO"
},
"AdresKorespondencyjny": {
"$ref": "#/definitions/AdresDTO"
},
"Rachunki": {
"type": "array",
"items": {
"$ref": "#/definitions/RachunekBankowyDTO"
}
},
"FormaPlatnosci": {
"$ref": "#/definitions/FormaPlatnosciDTO"
},
"Kontakt": {
"$ref": "#/definitions/KontaktDTO"
},
"RachunekDomyslny": {
"type": "string"
},
"PodatnikVAT": {
"type": "boolean"
},
"FormaPrawnaKod": {
"type": "string"
},
"RodzajPodmiotu": {
"type": "string",
"enum": [
"Krajowy",
"Eksportowy",
"EksportowyPodróżny",
"Unijny",
"UnijnyTrójstronny",
"BezVAT"
]
},
"RodzajPodmiotuZakup": {
"type": "string",
"enum": [
"Krajowy",
"Eksportowy",
"EksportowyPodróżny",
"Unijny",
"UnijnyTrójstronny",
"BezVAT"
]
},
"VatLiczonyOd": {
"type": "string",
"enum": [
"OdNetto",
"OdBrutto"
]
},
"PowiazaniaKontrahenta": {
"$ref": "#/definitions/PowiazaniaKontrahentaDTO"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Nazwa"
]
},
"PowiazaniaKontrahentaDTO": {
"type": "object",
"properties": {
"Platnik": {
"$ref": "#/definitions/KontrahentBaseDTO"
},
"Powiazania": {
"type": "array",
"items": {
"$ref": "#/definitions/PowiazanieKontrahentaDTO"
}
},
"KontrahenciZastapieni": {
"type": "array",
"items": {
"$ref": "#/definitions/KontrahentBaseDTO"
}
}
}
},
"PowiazanieKontrahentaDTO": {
"type": "object",
"properties": {
"IdPowiazania": {
"type": "integer"
},
"Nadrzedny": {
"$ref": "#/definitions/KontrahentBaseDTO"
},
"Podrzedny": {
"$ref": "#/definitions/KontrahentBaseDTO"
},
"RodzajPowiazania": {
"type": "string",
"enum": [
"Inny",
"VAT",
"KSeF"
]
},
"DataOd": {
"$ref": "#/definitions/DataDTO-1"
},
"DataDo": {
"$ref": "#/definitions/DataDTO-1"
},
"RolaPodmiotu": {
"type": "string",
"enum": [
"Inna",
"JednostkaNadrzedna",
"CzlonekGrupyVAT",
"PrzedstawicielGrupyVAT",
"Odbiorca",
"DokonujacyPlatnosci",
"JednostkaSamorzaduTerytorialnego"
]
},
"OdbiorcaPlatnik": {
"type": "boolean"
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Nadrzedny",
"Podrzedny"
]
},
"RachunekBankowyDTO": {
"type": "object",
"properties": {
"Priorytet": {
"type": "integer"
},
"Blokada": {
"type": "boolean"
},
"KodBanku": {
"type": "string"
},
"SWIFT": {
"type": "string"
},
"Kraj": {
"type": "string"
},
"Numer": {
"type": "string"
},
"Domyslne": {
"type": "boolean"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Numer"
]
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"Count": {
"type": "integer"
},
"Kontrahenci": {
"type": "array",
"items": {
"$ref": "#/definitions/KontrahentDTO"
}
},
"Key": {
"type": "string"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "Count": 1,
  "Kontrahenci": [
    {
      "Guid": "731a2af3-97f2-468a-bb21-8d8557a69016",
      "Kod": null,
      "Nazwa": "Nazwa",
      "Blokada": false,
      "Zamiennik": {
        "ID": 1,
        "Kod": "Kod",
        "Nazwa": "Nazwa"
      },
      "EuVAT": "EuVAT",
      "StatusPodmiotu": "PodmiotGospodarczy",
      "REGON": "REGON",
      "PESEL": "PESEL",
      "KRS": "KRS",
      "Uwagi": "Uwagi",
      "Oddzial": "Oddzial",
      "BlokadaSprzedazy": false,
      "Adres": {
        "Ulica": "Ulica",
        "NrDomu": "1",
        "NrLokalu": "2",
        "KodPocztowyS": "00-000",
        "Miejscowosc": "Miejscowosc",
        "Poczta": "Poczta",
        "Gmina": "Gmina",
        "Powiat": "Powiat",
        "Wojewodztwo": "nieokreślone",
        "KodKraju": "PL",
        "Kraj": "Polska",
        "Telefon": "Telefon",
        "Faks": "Faks"
      },
      "AdresKorespondencyjny": {
        "Ulica": "Ulica",
        "NrDomu": "1",
        "NrLokalu": "2",
        "KodPocztowyS": "00-000",
        "Miejscowosc": "Miejscowosc",
        "Poczta": "Poczta",
        "Gmina": "Gmina",
        "Powiat": "Powiat",
        "Wojewodztwo": "nieokreślone",
        "KodKraju": "PL",
        "Kraj": "Polska",
        "Telefon": "Telefon",
        "Faks": "Faks"
      },
      "Rachunki": [
        {
          "Priorytet": 1,
          "Blokada": false,
          "KodBanku": "KodBanku",
          "SWIFT": "SWIFT",
          "Kraj": "Polska",
          "Numer": "Numer",
          "Domyslne": false,
          "ID": 1,
          "AttachmentsCount": 1,
          "TableName": "TableName",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ],
          "Attachments": [
            {
              "ID": 1,
              "TableName": "TableName",
              "Name": "Name",
              "Parent": 1,
              "Description": "Description",
              "IsDefault": false,
              "SendEmail": false,
              "Extension": "Extension",
              "Link": "Link",
              "SubType": "None",
              "Base64": "ok+7dn39pOmdwA==",
              "Features": [
                {
                  "Name": "Name",
                  "Value": "Value",
                  "Type": "Type",
                  "UpdateDate": null
                }
              ]
            }
          ]
        }
      ],
      "FormaPlatnosci": {
        "Blokada": false,
        "Nazwa": "Nazwa",
        "TerminDni": 1,
        "Waluta": "PLN",
        "KodPlatnika": "KodPlatnika"
      },
      "Kontakt": {
        "TelefonKomorkowy": "TelefonKomorkowy",
        "SkrytkaPocztowa": "Sk.22",
        "EMAIL": "EMAIL",
        "Skype": "Skype",
        "WWW": "WWW"
      },
      "RachunekDomyslny": "RachunekDomyslny",
      "PodatnikVAT": false,
      "FormaPrawnaKod": "FormaPrawnaKod",
      "RodzajPodmiotu": "Krajowy",
      "RodzajPodmiotuZakup": "Krajowy",
      "VatLiczonyOd": "OdNetto",
      "PowiazaniaKontrahenta": {
        "Platnik": {
          "ID": 1,
          "Kod": "Kod",
          "Nazwa": "Nazwa"
        },
        "Powiazania": [
          {
            "IdPowiazania": 1,
            "Nadrzedny": {
              "ID": 1,
              "Kod": "Kod",
              "Nazwa": "Nazwa"
            },
            "Podrzedny": {
              "ID": 1,
              "Kod": "Kod",
              "Nazwa": "Nazwa"
            },
            "RodzajPowiazania": "Inny",
            "DataOd": {
              "Year": 2025,
              "Month": 12,
              "Day": 18
            },
            "DataDo": {
              "Year": 2025,
              "Month": 12,
              "Day": 18
            },
            "RolaPodmiotu": "Inna",
            "OdbiorcaPlatnik": false
          }
        ],
        "KontrahenciZastapieni": [
          {
            "ID": 1,
            "Kod": "Kod",
            "Nazwa": "Nazwa"
          }
        ]
      },
      "ID": 1,
      "AttachmentsCount": 1,
      "TableName": "TableName",
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "TableName": "TableName",
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "WYrPD+8X4c+YZA==",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "Key": "Key",
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WCF.Core

Method name: GetPackableContractors

URL: https://{{baseAddress}}/api/OperationFunctionsWebAPI/GetPackableContractors

HTTP method: POST

Params type: GetListaKontrahentowParams

Result type: PackableDataResponse<KontrahentDTO>

Description: The method retrieves a list of contractors by key

Comment: The method allows downloading a list of contractors based on a specified key

Sample request for object GetListaKontrahentowParams. Replace placeholders with real values.

Schema (JSON) for class GetListaKontrahentowParams:
{
"title": "GetListaKontrahentowParams",
"definitions": {
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"Filter": {
"type": "object",
"properties": {
"LogicalOperator": {
"type": "string",
"enum": [
"And",
"Or"
]
},
"Operator": {
"type": "string",
"enum": [
"Equal",
"NotEqual",
"Like",
"Null"
]
},
"ColumnName": {
"type": "string"
},
"FilterValue": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"Kod": {
"type": "string"
},
"Nazwa": {
"type": "string"
},
"EuVAT": {
"type": "string"
},
"PESEL": {
"type": "string"
},
"Miejscowosc": {
"type": "string"
},
"Guid": {
"type": "string"
},
"CechaExternalID": {
"type": "string"
},
"Powiazania": {
"type": "boolean"
},
"IDs": {
"type": "array",
"items": {
"type": "integer"
}
},
"LastID": {
"type": "integer"
},
"PacketSize": {
"type": "integer"
},
"Conditions": {
"type": "array",
"items": {
"$ref": "#/definitions/Filter"
}
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
}
}
Sample JSON file:
{
  "Kod": "Kod",
  "Nazwa": "Nazwa",
  "EuVAT": "EuVAT",
  "PESEL": "PESEL",
  "Miejscowosc": "Miejscowosc",
  "Guid": "1a90f6f1-563d-4559-a752-d7dd6aadf2e4",
  "CechaExternalID": "CechaExternalID",
  "Powiazania": false,
  "IDs": [
    1
  ],
  "LastID": 1,
  "PacketSize": 1,
  "Conditions": [
    {
      "LogicalOperator": "And",
      "Operator": "Equal",
      "ColumnName": "ColumnName",
      "FilterValue": "FilterValue"
    }
  ],
  "UpdateDate": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  }
}
Sample response:
Schema (JSON) for class PackableDataResponse<KontrahentDTO>:
{
"title": "PackableDataResponse`1",
"definitions": {
"AdresDTO": {
"type": "object",
"properties": {
"Ulica": {
"type": "string"
},
"NrDomu": {
"type": "string"
},
"NrLokalu": {
"type": "string"
},
"KodPocztowyS": {
"type": "string"
},
"Miejscowosc": {
"type": "string"
},
"Poczta": {
"type": "string"
},
"Gmina": {
"type": "string"
},
"Powiat": {
"type": "string"
},
"Wojewodztwo": {
"type": "string",
"enum": [
"nieokreślone",
"dolnośląskie",
"kujawsko_pomorskie",
"lubelskie",
"lubuskie",
"łódzkie",
"małopolskie",
"mazowieckie",
"opolskie",
"podkarpackie",
"podlaskie",
"pomorskie",
"śląskie",
"świętokrzyskie",
"warmińsko_mazurskie",
"wielkopolskie",
"zachodniopomorskie"
]
},
"KodKraju": {
"type": "string"
},
"Kraj": {
"type": "string"
},
"Telefon": {
"type": "string"
},
"Faks": {
"type": "string"
}
}
},
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"DataDTO": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DataDTO-1": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"Name"
]
},
"FormaPlatnosciDTO": {
"type": "object",
"properties": {
"Blokada": {
"type": "boolean"
},
"Nazwa": {
"type": "string"
},
"TerminDni": {
"type": "integer"
},
"Waluta": {
"type": "string"
},
"KodPlatnika": {
"type": "string"
}
},
"required": [
"Nazwa"
]
},
"KontaktDTO": {
"type": "object",
"properties": {
"TelefonKomorkowy": {
"type": "string"
},
"SkrytkaPocztowa": {
"type": "string"
},
"EMAIL": {
"type": "string"
},
"Skype": {
"type": "string"
},
"WWW": {
"type": "string"
}
}
},
"KontrahentBaseDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"Kod": {
"type": "string"
},
"Nazwa": {
"type": "string"
}
},
"required": [
"ID"
]
},
"KontrahentDTO": {
"type": "object",
"properties": {
"Guid": {
"type": "string"
},
"Kod": {
"type": [
"string",
"null"
]
},
"Nazwa": {
"type": "string"
},
"Blokada": {
"type": "boolean"
},
"Zamiennik": {
"$ref": "#/definitions/KontrahentBaseDTO"
},
"EuVAT": {
"type": "string"
},
"StatusPodmiotu": {
"type": "string",
"enum": [
"PodmiotGospodarczy",
"Finalny"
]
},
"REGON": {
"type": "string"
},
"PESEL": {
"type": "string"
},
"KRS": {
"type": "string"
},
"Uwagi": {
"type": "string"
},
"Oddzial": {
"type": "string"
},
"BlokadaSprzedazy": {
"type": "boolean"
},
"Adres": {
"$ref": "#/definitions/AdresDTO"
},
"AdresKorespondencyjny": {
"$ref": "#/definitions/AdresDTO"
},
"Rachunki": {
"type": "array",
"items": {
"$ref": "#/definitions/RachunekBankowyDTO"
}
},
"FormaPlatnosci": {
"$ref": "#/definitions/FormaPlatnosciDTO"
},
"Kontakt": {
"$ref": "#/definitions/KontaktDTO"
},
"RachunekDomyslny": {
"type": "string"
},
"PodatnikVAT": {
"type": "boolean"
},
"FormaPrawnaKod": {
"type": "string"
},
"RodzajPodmiotu": {
"type": "string",
"enum": [
"Krajowy",
"Eksportowy",
"EksportowyPodróżny",
"Unijny",
"UnijnyTrójstronny",
"BezVAT"
]
},
"RodzajPodmiotuZakup": {
"type": "string",
"enum": [
"Krajowy",
"Eksportowy",
"EksportowyPodróżny",
"Unijny",
"UnijnyTrójstronny",
"BezVAT"
]
},
"VatLiczonyOd": {
"type": "string",
"enum": [
"OdNetto",
"OdBrutto"
]
},
"PowiazaniaKontrahenta": {
"$ref": "#/definitions/PowiazaniaKontrahentaDTO"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Nazwa"
]
},
"PowiazaniaKontrahentaDTO": {
"type": "object",
"properties": {
"Platnik": {
"$ref": "#/definitions/KontrahentBaseDTO"
},
"Powiazania": {
"type": "array",
"items": {
"$ref": "#/definitions/PowiazanieKontrahentaDTO"
}
},
"KontrahenciZastapieni": {
"type": "array",
"items": {
"$ref": "#/definitions/KontrahentBaseDTO"
}
}
}
},
"PowiazanieKontrahentaDTO": {
"type": "object",
"properties": {
"IdPowiazania": {
"type": "integer"
},
"Nadrzedny": {
"$ref": "#/definitions/KontrahentBaseDTO"
},
"Podrzedny": {
"$ref": "#/definitions/KontrahentBaseDTO"
},
"RodzajPowiazania": {
"type": "string",
"enum": [
"Inny",
"VAT",
"KSeF"
]
},
"DataOd": {
"$ref": "#/definitions/DataDTO-1"
},
"DataDo": {
"$ref": "#/definitions/DataDTO-1"
},
"RolaPodmiotu": {
"type": "string",
"enum": [
"Inna",
"JednostkaNadrzedna",
"CzlonekGrupyVAT",
"PrzedstawicielGrupyVAT",
"Odbiorca",
"DokonujacyPlatnosci",
"JednostkaSamorzaduTerytorialnego"
]
},
"OdbiorcaPlatnik": {
"type": "boolean"
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Nadrzedny",
"Podrzedny"
]
},
"RachunekBankowyDTO": {
"type": "object",
"properties": {
"Priorytet": {
"type": "integer"
},
"Blokada": {
"type": "boolean"
},
"KodBanku": {
"type": "string"
},
"SWIFT": {
"type": "string"
},
"Kraj": {
"type": "string"
},
"Numer": {
"type": "string"
},
"Domyslne": {
"type": "boolean"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Numer"
]
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"AllRows": {
"type": "boolean"
},
"LastID": {
"type": "integer"
},
"ToReadRecords": {
"type": "integer"
},
"ReadRecords": {
"type": "integer"
},
"Data": {
"type": "array",
"items": {
"$ref": "#/definitions/KontrahentDTO"
}
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"AllRows",
"LastID",
"ReadRecords",
"Success"
]
}
Sample JSON file:
{
  "AllRows": false,
  "LastID": 1,
  "ToReadRecords": 1,
  "ReadRecords": 1,
  "Data": [
    {
      "Guid": "5995ec16-d837-416c-9807-ac04b9a67bbc",
      "Kod": null,
      "Nazwa": "Nazwa",
      "Blokada": false,
      "Zamiennik": {
        "ID": 1,
        "Kod": "Kod",
        "Nazwa": "Nazwa"
      },
      "EuVAT": "EuVAT",
      "StatusPodmiotu": "PodmiotGospodarczy",
      "REGON": "REGON",
      "PESEL": "PESEL",
      "KRS": "KRS",
      "Uwagi": "Uwagi",
      "Oddzial": "Oddzial",
      "BlokadaSprzedazy": false,
      "Adres": {
        "Ulica": "Ulica",
        "NrDomu": "1",
        "NrLokalu": "2",
        "KodPocztowyS": "00-000",
        "Miejscowosc": "Miejscowosc",
        "Poczta": "Poczta",
        "Gmina": "Gmina",
        "Powiat": "Powiat",
        "Wojewodztwo": "nieokreślone",
        "KodKraju": "PL",
        "Kraj": "Polska",
        "Telefon": "Telefon",
        "Faks": "Faks"
      },
      "AdresKorespondencyjny": {
        "Ulica": "Ulica",
        "NrDomu": "1",
        "NrLokalu": "2",
        "KodPocztowyS": "00-000",
        "Miejscowosc": "Miejscowosc",
        "Poczta": "Poczta",
        "Gmina": "Gmina",
        "Powiat": "Powiat",
        "Wojewodztwo": "nieokreślone",
        "KodKraju": "PL",
        "Kraj": "Polska",
        "Telefon": "Telefon",
        "Faks": "Faks"
      },
      "Rachunki": [
        {
          "Priorytet": 1,
          "Blokada": false,
          "KodBanku": "KodBanku",
          "SWIFT": "SWIFT",
          "Kraj": "Polska",
          "Numer": "Numer",
          "Domyslne": false,
          "ID": 1,
          "AttachmentsCount": 1,
          "TableName": "TableName",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ],
          "Attachments": [
            {
              "ID": 1,
              "TableName": "TableName",
              "Name": "Name",
              "Parent": 1,
              "Description": "Description",
              "IsDefault": false,
              "SendEmail": false,
              "Extension": "Extension",
              "Link": "Link",
              "SubType": "None",
              "Base64": "OIhswZ90AFmF+A==",
              "Features": [
                {
                  "Name": "Name",
                  "Value": "Value",
                  "Type": "Type",
                  "UpdateDate": null
                }
              ]
            }
          ]
        }
      ],
      "FormaPlatnosci": {
        "Blokada": false,
        "Nazwa": "Nazwa",
        "TerminDni": 1,
        "Waluta": "PLN",
        "KodPlatnika": "KodPlatnika"
      },
      "Kontakt": {
        "TelefonKomorkowy": "TelefonKomorkowy",
        "SkrytkaPocztowa": "Sk.22",
        "EMAIL": "EMAIL",
        "Skype": "Skype",
        "WWW": "WWW"
      },
      "RachunekDomyslny": "RachunekDomyslny",
      "PodatnikVAT": false,
      "FormaPrawnaKod": "FormaPrawnaKod",
      "RodzajPodmiotu": "Krajowy",
      "RodzajPodmiotuZakup": "Krajowy",
      "VatLiczonyOd": "OdNetto",
      "PowiazaniaKontrahenta": {
        "Platnik": {
          "ID": 1,
          "Kod": "Kod",
          "Nazwa": "Nazwa"
        },
        "Powiazania": [
          {
            "IdPowiazania": 1,
            "Nadrzedny": {
              "ID": 1,
              "Kod": "Kod",
              "Nazwa": "Nazwa"
            },
            "Podrzedny": {
              "ID": 1,
              "Kod": "Kod",
              "Nazwa": "Nazwa"
            },
            "RodzajPowiazania": "Inny",
            "DataOd": {
              "Year": 2025,
              "Month": 12,
              "Day": 18
            },
            "DataDo": {
              "Year": 2025,
              "Month": 12,
              "Day": 18
            },
            "RolaPodmiotu": "Inna",
            "OdbiorcaPlatnik": false
          }
        ],
        "KontrahenciZastapieni": [
          {
            "ID": 1,
            "Kod": "Kod",
            "Nazwa": "Nazwa"
          }
        ]
      },
      "ID": 1,
      "AttachmentsCount": 1,
      "TableName": "TableName",
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "TableName": "TableName",
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "s2HkAr+pwutnQg==",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WCF.Core

Method name: UpdateContractor

URL: https://{{baseAddress}}/api/OperationFunctionsWebAPI/UpdateContractor

HTTP method: POST

Params type: KontrahentDTO

Result type: UpdateResult

Description: The method allows adding or updating a contractor in the database / Metoda umożliwia dodanie lub aktualizację kontrahenta w bazie danych

Comment: The contractor is added or updated based on the provided key / Kontrahent jest dodawany lub aktualizowany na podstawie podanego klucza

Sample request for object KontrahentDTO. Replace placeholders with real values.

Schema (JSON) for class KontrahentDTO:
{
"title": "KontrahentDTO",
"definitions": {
"AdresDTO": {
"type": "object",
"properties": {
"Ulica": {
"type": "string"
},
"NrDomu": {
"type": "string"
},
"NrLokalu": {
"type": "string"
},
"KodPocztowyS": {
"type": "string"
},
"Miejscowosc": {
"type": "string"
},
"Poczta": {
"type": "string"
},
"Gmina": {
"type": "string"
},
"Powiat": {
"type": "string"
},
"Wojewodztwo": {
"type": "string",
"enum": [
"nieokreślone",
"dolnośląskie",
"kujawsko_pomorskie",
"lubelskie",
"lubuskie",
"łódzkie",
"małopolskie",
"mazowieckie",
"opolskie",
"podkarpackie",
"podlaskie",
"pomorskie",
"śląskie",
"świętokrzyskie",
"warmińsko_mazurskie",
"wielkopolskie",
"zachodniopomorskie"
]
},
"KodKraju": {
"type": "string"
},
"Kraj": {
"type": "string"
},
"Telefon": {
"type": "string"
},
"Faks": {
"type": "string"
}
}
},
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"DataDTO": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DataDTO-1": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"Name"
]
},
"FormaPlatnosciDTO": {
"type": "object",
"properties": {
"Blokada": {
"type": "boolean"
},
"Nazwa": {
"type": "string"
},
"TerminDni": {
"type": "integer"
},
"Waluta": {
"type": "string"
},
"KodPlatnika": {
"type": "string"
}
},
"required": [
"Nazwa"
]
},
"KontaktDTO": {
"type": "object",
"properties": {
"TelefonKomorkowy": {
"type": "string"
},
"SkrytkaPocztowa": {
"type": "string"
},
"EMAIL": {
"type": "string"
},
"Skype": {
"type": "string"
},
"WWW": {
"type": "string"
}
}
},
"KontrahentBaseDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"Kod": {
"type": "string"
},
"Nazwa": {
"type": "string"
}
},
"required": [
"ID"
]
},
"PowiazaniaKontrahentaDTO": {
"type": "object",
"properties": {
"Platnik": {
"$ref": "#/definitions/KontrahentBaseDTO"
},
"Powiazania": {
"type": "array",
"items": {
"$ref": "#/definitions/PowiazanieKontrahentaDTO"
}
},
"KontrahenciZastapieni": {
"type": "array",
"items": {
"$ref": "#/definitions/KontrahentBaseDTO"
}
}
}
},
"PowiazanieKontrahentaDTO": {
"type": "object",
"properties": {
"IdPowiazania": {
"type": "integer"
},
"Nadrzedny": {
"$ref": "#/definitions/KontrahentBaseDTO"
},
"Podrzedny": {
"$ref": "#/definitions/KontrahentBaseDTO"
},
"RodzajPowiazania": {
"type": "string",
"enum": [
"Inny",
"VAT",
"KSeF"
]
},
"DataOd": {
"$ref": "#/definitions/DataDTO-1"
},
"DataDo": {
"$ref": "#/definitions/DataDTO-1"
},
"RolaPodmiotu": {
"type": "string",
"enum": [
"Inna",
"JednostkaNadrzedna",
"CzlonekGrupyVAT",
"PrzedstawicielGrupyVAT",
"Odbiorca",
"DokonujacyPlatnosci",
"JednostkaSamorzaduTerytorialnego"
]
},
"OdbiorcaPlatnik": {
"type": "boolean"
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Nadrzedny",
"Podrzedny"
]
},
"RachunekBankowyDTO": {
"type": "object",
"properties": {
"Priorytet": {
"type": "integer"
},
"Blokada": {
"type": "boolean"
},
"KodBanku": {
"type": "string"
},
"SWIFT": {
"type": "string"
},
"Kraj": {
"type": "string"
},
"Numer": {
"type": "string"
},
"Domyslne": {
"type": "boolean"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Numer"
]
}
},
"type": "object",
"properties": {
"Guid": {
"type": "string"
},
"Kod": {
"type": [
"string",
"null"
]
},
"Nazwa": {
"type": "string"
},
"Blokada": {
"type": "boolean"
},
"Zamiennik": {
"$ref": "#/definitions/KontrahentBaseDTO"
},
"EuVAT": {
"type": "string"
},
"StatusPodmiotu": {
"type": "string",
"enum": [
"PodmiotGospodarczy",
"Finalny"
]
},
"REGON": {
"type": "string"
},
"PESEL": {
"type": "string"
},
"KRS": {
"type": "string"
},
"Uwagi": {
"type": "string"
},
"Oddzial": {
"type": "string"
},
"BlokadaSprzedazy": {
"type": "boolean"
},
"Adres": {
"$ref": "#/definitions/AdresDTO"
},
"AdresKorespondencyjny": {
"$ref": "#/definitions/AdresDTO"
},
"Rachunki": {
"type": "array",
"items": {
"$ref": "#/definitions/RachunekBankowyDTO"
}
},
"FormaPlatnosci": {
"$ref": "#/definitions/FormaPlatnosciDTO"
},
"Kontakt": {
"$ref": "#/definitions/KontaktDTO"
},
"RachunekDomyslny": {
"type": "string"
},
"PodatnikVAT": {
"type": "boolean"
},
"FormaPrawnaKod": {
"type": "string"
},
"RodzajPodmiotu": {
"type": "string",
"enum": [
"Krajowy",
"Eksportowy",
"EksportowyPodróżny",
"Unijny",
"UnijnyTrójstronny",
"BezVAT"
]
},
"RodzajPodmiotuZakup": {
"type": "string",
"enum": [
"Krajowy",
"Eksportowy",
"EksportowyPodróżny",
"Unijny",
"UnijnyTrójstronny",
"BezVAT"
]
},
"VatLiczonyOd": {
"type": "string",
"enum": [
"OdNetto",
"OdBrutto"
]
},
"PowiazaniaKontrahenta": {
"$ref": "#/definitions/PowiazaniaKontrahentaDTO"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Nazwa"
]
}
Sample JSON file:
{
  "TestMode": false,
  "Guid": "776cd363-a193-480d-b6fe-5a32c3c46aef",
  "Kod": null,
  "Nazwa": "Nazwa",
  "Blokada": false,
  "Zamiennik": {
    "ID": 1,
    "Kod": "Kod",
    "Nazwa": "Nazwa"
  },
  "EuVAT": "EuVAT",
  "StatusPodmiotu": "PodmiotGospodarczy",
  "REGON": "REGON",
  "PESEL": "PESEL",
  "KRS": "KRS",
  "Uwagi": "Uwagi",
  "Oddzial": "Oddzial",
  "BlokadaSprzedazy": false,
  "Adres": {
    "Ulica": "Ulica",
    "NrDomu": "1",
    "NrLokalu": "2",
    "KodPocztowyS": "00-000",
    "Miejscowosc": "Miejscowosc",
    "Poczta": "Poczta",
    "Gmina": "Gmina",
    "Powiat": "Powiat",
    "Wojewodztwo": "nieokreślone",
    "KodKraju": "PL",
    "Kraj": "Polska",
    "Telefon": "Telefon",
    "Faks": "Faks"
  },
  "AdresKorespondencyjny": {
    "Ulica": "Ulica",
    "NrDomu": "1",
    "NrLokalu": "2",
    "KodPocztowyS": "00-000",
    "Miejscowosc": "Miejscowosc",
    "Poczta": "Poczta",
    "Gmina": "Gmina",
    "Powiat": "Powiat",
    "Wojewodztwo": "nieokreślone",
    "KodKraju": "PL",
    "Kraj": "Polska",
    "Telefon": "Telefon",
    "Faks": "Faks"
  },
  "Rachunki": [
    {
      "Priorytet": 1,
      "Blokada": false,
      "KodBanku": "KodBanku",
      "SWIFT": "SWIFT",
      "Kraj": "Polska",
      "Numer": "Numer",
      "Domyslne": false,
      "ID": 1,
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "F9wmC6xQ0QwILQ==",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "FormaPlatnosci": {
    "Blokada": false,
    "Nazwa": "Nazwa",
    "TerminDni": 1,
    "Waluta": "PLN",
    "KodPlatnika": "KodPlatnika"
  },
  "Kontakt": {
    "TelefonKomorkowy": "TelefonKomorkowy",
    "SkrytkaPocztowa": "Sk.22",
    "EMAIL": "EMAIL",
    "Skype": "Skype",
    "WWW": "WWW"
  },
  "RachunekDomyslny": "RachunekDomyslny",
  "PodatnikVAT": false,
  "FormaPrawnaKod": "FormaPrawnaKod",
  "RodzajPodmiotu": "Krajowy",
  "RodzajPodmiotuZakup": "Krajowy",
  "VatLiczonyOd": "OdNetto",
  "PowiazaniaKontrahenta": {
    "Platnik": {
      "ID": 1,
      "Kod": "Kod",
      "Nazwa": "Nazwa"
    },
    "Powiazania": [
      {
        "IdPowiazania": 1,
        "Nadrzedny": {
          "ID": 1,
          "Kod": "Kod",
          "Nazwa": "Nazwa"
        },
        "Podrzedny": {
          "ID": 1,
          "Kod": "Kod",
          "Nazwa": "Nazwa"
        },
        "RodzajPowiazania": "Inny",
        "DataOd": {
          "Year": 2025,
          "Month": 12,
          "Day": 18
        },
        "DataDo": {
          "Year": 2025,
          "Month": 12,
          "Day": 18
        },
        "RolaPodmiotu": "Inna",
        "OdbiorcaPlatnik": false
      }
    ],
    "KontrahenciZastapieni": [
      {
        "ID": 1,
        "Kod": "Kod",
        "Nazwa": "Nazwa"
      }
    ]
  },
  "ID": 1,
  "Features": [
    {
      "Name": "Name",
      "Value": "Value",
      "Type": "Type",
      "UpdateDate": null
    }
  ],
  "Attachments": [
    {
      "ID": 1,
      "Name": "Name",
      "Parent": 1,
      "Description": "Description",
      "IsDefault": false,
      "SendEmail": false,
      "Extension": "Extension",
      "Link": "Link",
      "SubType": "None",
      "Base64": "me8Hbl9tx7vB+g==",
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ]
    }
  ]
}
Sample response:
Schema (JSON) for class UpdateResult:
{
"title": "UpdateResult",
"definitions": {
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"Kod": {
"type": "string"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "TestMode": false,
  "ID": 1,
  "Kod": "Kod",
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WCF.Core

Method name: ZastapKontrahenta

URL: https://{{baseAddress}}/api/OperationFunctionsWebAPI/ZastapKontrahenta

HTTP method: POST

Params type: ZastapKontrahentaParams

Result type: UpdateResult

Description: The method for replacing a contractor / Metoda zastępowania kontrahenta

Comment: The operation replaces one contractor with another / Operacja zastępuje jednego kontrahenta innym

Sample request for object ZastapKontrahentaParams. Replace placeholders with real values.

Schema (JSON) for class ZastapKontrahentaParams:
{
"title": "ZastapKontrahentaParams",
"type": "object",
"properties": {
"IdNadrzedny": {
"type": "integer"
},
"IdZastepowany": {
"type": "integer"
},
"DefinicjaDokCesji": {
"type": "string"
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"IdNadrzedny",
"IdZastepowany",
"DefinicjaDokCesji"
]
}
Sample JSON file:
{
  "TestMode": false,
  "IdNadrzedny": 1,
  "IdZastepowany": 1,
  "DefinicjaDokCesji": "DefinicjaDokCesji"
}
Sample response:
Schema (JSON) for class UpdateResult:
{
"title": "UpdateResult",
"definitions": {
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"Kod": {
"type": "string"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "TestMode": false,
  "ID": 1,
  "Kod": "Kod",
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WCF.Core

Method name: DodajPowiazanieKontrahenta

URL: https://{{baseAddress}}/api/OperationFunctionsWebAPI/DodajPowiazanieKontrahenta

HTTP method: POST

Params type: PowiazanieKontrahentaDTO

Result type: UpdateResult

Description: The method for adding a relationship between contractors / Metoda dodania powiązania pomiędzy kontrahentami

Comment: You need to provide two contractor IDs to establish a relationship / Wymagane jest podanie dwóch ID kontrahentów, aby ustanowić powiązanie

Sample request for object PowiazanieKontrahentaDTO. Replace placeholders with real values.

Schema (JSON) for class PowiazanieKontrahentaDTO:
{
"title": "PowiazanieKontrahentaDTO",
"definitions": {
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"KontrahentBaseDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"Kod": {
"type": "string"
},
"Nazwa": {
"type": "string"
}
},
"required": [
"ID"
]
}
},
"type": "object",
"properties": {
"IdPowiazania": {
"type": "integer"
},
"Nadrzedny": {
"$ref": "#/definitions/KontrahentBaseDTO"
},
"Podrzedny": {
"$ref": "#/definitions/KontrahentBaseDTO"
},
"RodzajPowiazania": {
"type": "string",
"enum": [
"Inny",
"VAT",
"KSeF"
]
},
"DataOd": {
"$ref": "#/definitions/DataDTO"
},
"DataDo": {
"$ref": "#/definitions/DataDTO"
},
"RolaPodmiotu": {
"type": "string",
"enum": [
"Inna",
"JednostkaNadrzedna",
"CzlonekGrupyVAT",
"PrzedstawicielGrupyVAT",
"Odbiorca",
"DokonujacyPlatnosci",
"JednostkaSamorzaduTerytorialnego"
]
},
"OdbiorcaPlatnik": {
"type": "boolean"
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Nadrzedny",
"Podrzedny"
]
}
Sample JSON file:
{
  "TestMode": false,
  "IdPowiazania": 1,
  "Nadrzedny": {
    "ID": 1,
    "Kod": "Kod",
    "Nazwa": "Nazwa"
  },
  "Podrzedny": {
    "ID": 1,
    "Kod": "Kod",
    "Nazwa": "Nazwa"
  },
  "RodzajPowiazania": "Inny",
  "DataOd": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  },
  "DataDo": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  },
  "RolaPodmiotu": "Inna",
  "OdbiorcaPlatnik": false
}
Sample response:
Schema (JSON) for class UpdateResult:
{
"title": "UpdateResult",
"definitions": {
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"Kod": {
"type": "string"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "TestMode": false,
  "ID": 1,
  "Kod": "Kod",
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WCF.Core

Method name: GetVATRates

URL: https://{{baseAddress}}/api/OperationFunctionsWebAPI/GetVATRates

HTTP method: POST

Params type: GetSlownikStawekVatParams

Result type: GetResultSlownikStawekVat

Description: The method retrieves VAT rates defined in the system / Metoda pobierania stawek VAT zdefiniowanych w systemie

Comment: The method allows fetching all registered VAT rates / Metoda pozwala na pobranie wszystkich zarejestrowanych stawek VAT

Sample request for object GetSlownikStawekVatParams. Replace placeholders with real values.

Schema (JSON) for class GetSlownikStawekVatParams:
{
"title": "GetSlownikStawekVatParams",
"type": "object",
"properties": {
"PominZablokowane": {
"type": "boolean"
}
}
}
Sample JSON file:
{
  "PominZablokowane": false
}
Sample response:
Schema (JSON) for class GetResultSlownikStawekVat:
{
"title": "GetResultSlownikStawekVat",
"definitions": {
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"DataDTO": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DefinicjaStawkiVatDTO": {
"type": "object",
"properties": {
"Blokada": {
"type": "boolean"
},
"Kod": {
"type": "string"
},
"Procent": {
"type": "string"
},
"Status": {
"type": "string"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Kod",
"Procent"
]
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"Name"
]
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"Count": {
"type": "integer"
},
"StawkiVAT": {
"type": "array",
"items": {
"$ref": "#/definitions/DefinicjaStawkiVatDTO"
}
},
"Key": {
"type": "string"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "Count": 1,
  "StawkiVAT": [
    {
      "Blokada": false,
      "Kod": "Kod",
      "Procent": "Procent",
      "Status": "Status",
      "ID": 1,
      "AttachmentsCount": 1,
      "TableName": "TableName",
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "TableName": "TableName",
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "B/JB+AMwCOrPuQ==",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "Key": "Key",
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WCF.Core

Method name: GetPaymentMethods

URL: https://{{baseAddress}}/api/OperationFunctionsWebAPI/GetPaymentMethods

HTTP method: POST

Params type: GetSposobyZaplatyParams

Result type: GetResultSposobyZaplaty

Description: The method retrieves defined payment methods in the system / Metoda pobierania zdefiniowanych sposobów płatności w systemie

Comment: The method allows fetching all payment methods needed for configuration / Metoda pozwala na pobranie wszystkich sposobów płatności potrzebnych do konfiguracji

Sample request for object GetSposobyZaplatyParams. Replace placeholders with real values.

Schema (JSON) for class GetSposobyZaplatyParams:
{
"title": "GetSposobyZaplatyParams",
"type": "object",
"properties": {
"PominZablokowane": {
"type": "boolean"
}
}
}
Sample JSON file:
{
  "PominZablokowane": false
}
Sample response:
Schema (JSON) for class GetResultSposobyZaplaty:
{
"title": "GetResultSposobyZaplaty",
"definitions": {
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"DataDTO": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"Name"
]
},
"SposobZaplatyDTO": {
"type": "object",
"properties": {
"Blokada": {
"type": "boolean"
},
"Nazwa": {
"type": "string"
},
"Typ": {
"type": "string",
"enum": [
"Gotówka",
"Przelew",
"KartaPłatnicza",
"Bezgotówkowy"
]
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Nazwa"
]
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"Count": {
"type": "integer"
},
"SposobyZaplaty": {
"type": "array",
"items": {
"$ref": "#/definitions/SposobZaplatyDTO"
}
},
"Key": {
"type": "string"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "Count": 1,
  "SposobyZaplaty": [
    {
      "Blokada": false,
      "Nazwa": "Nazwa",
      "Typ": "Gotówka",
      "ID": 1,
      "AttachmentsCount": 1,
      "TableName": "TableName",
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "TableName": "TableName",
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "D/yY5jShfJ/WHQ==",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "Key": "Key",
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WCF.Core

Method name: GetCashRegister

URL: https://{{baseAddress}}/api/OperationFunctionsWebAPI/GetCashRegister

HTTP method: POST

Params type: GetEwidencjeSPParams

Result type: GetResultEwidencjeSP

Description: The method retrieves cash flow records / Metoda pobierania zapisów przepływów gotówkowych

Comment: The method allows fetching all cash flow records from the registry / Metoda pozwala na pobranie wszystkich zapisów przepływów gotówkowych z rejestru

Sample request for object GetEwidencjeSPParams. Replace placeholders with real values.

Schema (JSON) for class GetEwidencjeSPParams:
{
"title": "GetEwidencjeSPParams",
"type": "object",
"properties": {
"PominZablokowane": {
"type": "boolean"
},
"Waluta": {
"type": "string"
}
}
}
Sample JSON file:
{
  "PominZablokowane": false,
  "Waluta": "PLN"
}
Sample response:
Schema (JSON) for class GetResultEwidencjeSP:
{
"title": "GetResultEwidencjeSP",
"definitions": {
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"DataDTO": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"EwidencjaSP_DTO": {
"type": "object",
"properties": {
"Blokada": {
"type": "boolean"
},
"Nazwa": {
"type": "string"
},
"Symbol": {
"type": "string"
},
"Waluta": {
"type": "string"
},
"Bank": {
"type": "string"
},
"NumerRachunku": {
"type": "string"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
}
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"Name"
]
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"Count": {
"type": "integer"
},
"EwidencjeSP": {
"type": "array",
"items": {
"$ref": "#/definitions/EwidencjaSP_DTO"
}
},
"Key": {
"type": "string"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "Count": 1,
  "EwidencjeSP": [
    {
      "Blokada": false,
      "Nazwa": "Nazwa",
      "Symbol": "Symbol",
      "Waluta": "PLN",
      "Bank": "Bank",
      "NumerRachunku": "NumerRachunku",
      "ID": 1,
      "AttachmentsCount": 1,
      "TableName": "TableName",
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "TableName": "TableName",
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "gLtSnxR9epwGhA==",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "Key": "Key",
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WCF.Core

Method name: GetServicesToControllersMap

URL: https://{{baseAddress}}/api/OperationFunctionsWebAPI/GetServicesToControllersMap

HTTP method: POST

Params type: GetServicesToControllersMapParams

Result type: DataResponse<List<ServiceToControllerMapDTO>>

Description: The method returns information about the mapping of services to dynamic controllers / Metoda zwracają informacje o mapowaniu serwisów na dynamiczne kontrolery

Comment: The method returns information about the mapping of services to dynamic controllers / Metoda zwracają informacje o mapowaniu serwisów na dynamiczne kontrolery

Sample request for object GetServicesToControllersMapParams. Replace placeholders with real values.

Schema (JSON) for class GetServicesToControllersMapParams:
{
"title": "GetServicesToControllersMapParams",
"type": "object"
}
Sample JSON file:
{}
Sample response:
Schema (JSON) for class DataResponse<List<ServiceToControllerMapDTO>>:
{
"title": "DataResponse`1",
"definitions": {
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"ServiceToControllerMapDTO": {
"type": "object",
"properties": {
"Service": {
"type": "string"
},
"Controller": {
"type": "string"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"Data": {
"type": "array",
"items": {
"$ref": "#/definitions/ServiceToControllerMapDTO"
}
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "Data": [
    {
      "Service": "Service",
      "Controller": "Controller"
    }
  ],
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WCF.Core


AltOne.WebAPI.DataExchangeTable

Assembly name: AltOne.WCF.DataExchangeTable
Version: 2504.1.1-0.5.1.0+ab4e49c092f3edbf18749ddbc906680b0c6f8d3e,
Last modified: 31.10.2025 09:46:20

List of available methods:

Interface: IDataExchangeTable2

Method descriptions and usage examples:

Method name: GetTablesWaitingForExport

URL: https://{{baseAddress}}/api/DataTableExchchangeWebAPI/GetTablesWaitingForExport

HTTP method: POST

Params type: TablesDataChangeWaitingForReadParams

Result type: GetTablesDataChangeResult

Description: Returning number of records to synchronize / Zwrot liczby rekordów do synchronizacji

Comment: The method returns the number of records for each synchronized table for the given external system. ExternalSystem and SecurityCode parameters are provided by enova365 Partner and are to be given in the methods. / Metoda zwraca liczbę rekordów dla każdej synchronizowanej tabeli dla podanego systemu zewnętrznego. Parametry ExternalSystem i SecurityCode są dostarczane przez Partnera enova365 i powinny być przekazane w metodzie.

Sample request for object TablesDataChangeWaitingForReadParams. Replace placeholders with real values.

Schema (JSON) for class TablesDataChangeWaitingForReadParams:
{
"title": "TablesDataChangeWaitingForReadParams",
"type": "object",
"properties": {
"ExternalSystem": {
"type": "string"
},
"SecurityCode": {
"type": "string"
},
"ShowFutureRecords": {
"type": "string",
"format": "date-time"
}
},
"required": [
"ExternalSystem",
"SecurityCode"
]
}
Sample JSON file:
{
  "ExternalSystem": "ExternalSystem",
  "SecurityCode": "SecurityCode",
  "ShowFutureRecords": "2025-12-18T12:03:53.3676314Z"
}
Sample response:
Schema (JSON) for class GetTablesDataChangeResult:
{
"title": "GetTablesDataChangeResult",
"definitions": {
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"TableDataChange": {
"type": "object",
"properties": {
"SourceTable": {
"type": "string"
},
"ToReadRecords": {
"type": "integer"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"ExternalSystem": {
"type": "string"
},
"ListTablesRecordsChange": {
"type": "array",
"items": {
"$ref": "#/definitions/TableDataChange"
}
},
"Key": {
"type": "string"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "ExternalSystem": "ExternalSystem",
  "ListTablesRecordsChange": [
    {
      "SourceTable": "SourceTable",
      "ToReadRecords": 1
    }
  ],
  "Key": "Key",
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WCF.DataExchangeTable

Method name: GetRecordsChange

URL: https://{{baseAddress}}/api/DataTableExchchangeWebAPI/GetRecordsChange

HTTP method: POST

Params type: RecordsChangeParams

Result type: GetRecordsChangeResult

Description: Returning records for synchronization / Zwrot rekordów do synchronizacji

Comment: The method returns records to synchronize for the selected table, which can be read by the 'GetTableWaitingForExport' method. The method returns the object's identifier as an ID. You can use an additional object's key in OtherKey_Source provided by enova365 Partner. The returned identifier should be used in a personalized method for data read provided by enova365 Partner. Data can be returned in packages after completing LastID and PacketSize parameters. / Metoda zwraca rekordy do synchronizacji dla wybranej tabeli, które można odczytać metodą 'GetTableWaitingForExport'. Metoda zwraca identyfikator obiektu jako ID. Możesz użyć dodatkowego klucza obiektu w OtherKey_Source dostarczonego przez Partnera enova365. Zwrócony identyfikator powinien być użyty w spersonalizowanej metodzie odczytu danych dostarczonej przez Partnera enova365. Dane mogą być zwracane w paczkach po uzupełnieniu parametrów LastID i PacketSize.

Sample request for object RecordsChangeParams. Replace placeholders with real values.

Schema (JSON) for class RecordsChangeParams:
{
"title": "RecordsChangeParams",
"definitions": {
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"Filter": {
"type": "object",
"properties": {
"LogicalOperator": {
"type": "string",
"enum": [
"And",
"Or"
]
},
"Operator": {
"type": "string",
"enum": [
"Equal",
"NotEqual",
"Like",
"Null"
]
},
"ColumnName": {
"type": "string"
},
"FilterValue": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"SourceTable": {
"type": "string"
},
"ExternalSystem": {
"type": "string"
},
"SecurityCode": {
"type": "string"
},
"ShowFutureRecords": {
"type": "string",
"format": "date-time"
},
"SourceID": {
"type": "integer"
},
"HideErrors": {
"type": "boolean"
},
"Extended": {
"type": "boolean"
},
"LastID": {
"type": "integer"
},
"PacketSize": {
"type": "integer"
},
"Conditions": {
"type": "array",
"items": {
"$ref": "#/definitions/Filter"
}
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"SourceTable",
"ExternalSystem",
"SecurityCode"
]
}
Sample JSON file:
{
  "SourceTable": "SourceTable",
  "ExternalSystem": "ExternalSystem",
  "SecurityCode": "SecurityCode",
  "ShowFutureRecords": "2025-12-18T12:03:53.3713947Z",
  "SourceID": 1,
  "HideErrors": false,
  "Extended": false,
  "LastID": 1,
  "PacketSize": 1,
  "Conditions": [
    {
      "LogicalOperator": "And",
      "Operator": "Equal",
      "ColumnName": "ColumnName",
      "FilterValue": "FilterValue"
    }
  ],
  "UpdateDate": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  }
}
Sample response:
Schema (JSON) for class GetRecordsChangeResult:
{
"title": "GetRecordsChangeResult",
"definitions": {
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"RecordChange": {
"type": "object",
"properties": {
"ID_RecordChange": {
"type": "integer"
},
"ID_Source": {
"type": "integer"
},
"SourceState": {
"type": "string",
"enum": [
"Detached",
"Unchanged",
"Modified",
"Added",
"Deleted"
]
},
"Error": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Extended": {
"$ref": "#/definitions/RecordChangeExt"
}
}
},
"RecordChangeExt": {
"type": "object",
"properties": {
"CreationTime": {
"type": "string",
"format": "date-time"
},
"TermToExport": {
"type": "string",
"format": "date-time"
},
"Operator": {
"type": "string"
},
"Memo": {
"type": "string"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"SourceTable": {
"type": "string"
},
"ExternalSystem": {
"type": "string"
},
"Extended": {
"type": "boolean"
},
"AllRows": {
"type": "boolean"
},
"LastID": {
"type": "integer"
},
"ToReadRecords": {
"type": "integer"
},
"ReadRecords": {
"type": "integer"
},
"Data": {
"type": "array",
"items": {
"$ref": "#/definitions/RecordChange"
}
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"AllRows",
"LastID",
"ReadRecords",
"Success"
]
}
Sample JSON file:
{
  "SourceTable": "SourceTable",
  "ExternalSystem": "ExternalSystem",
  "Extended": false,
  "AllRows": false,
  "LastID": 1,
  "ToReadRecords": 1,
  "ReadRecords": 1,
  "Data": [
    {
      "ID_RecordChange": 1,
      "ID_Source": 1,
      "SourceState": "Detached",
      "Error": false,
      "Description": "Description",
      "Extended": {
        "CreationTime": "2025-12-18T12:03:53.3747196Z",
        "TermToExport": "2025-12-18T12:03:53.3747252Z",
        "Operator": "Operator",
        "Memo": "Memo"
      }
    }
  ],
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WCF.DataExchangeTable

Method name: UpdateRecordsChangeStatus

URL: https://{{baseAddress}}/api/DataTableExchchangeWebAPI/UpdateRecordsChangeStatus

HTTP method: POST

Params type: UpdateRecordsChangeStatusParams

Result type: UpdateRecordsChangeStatusResult

Description: Confirming read and saved records / Potwierdzenie odczytanych i zapisanych rekordów

Comment: The method changes records status from 'ToExport' to 'Exported'. / Metoda zmienia status rekordów z 'ToExport' na 'Exported'.

Sample request for object UpdateRecordsChangeStatusParams. Replace placeholders with real values.

Schema (JSON) for class UpdateRecordsChangeStatusParams:
{
"title": "UpdateRecordsChangeStatusParams",
"definitions": {
"ConfirmRecordChange": {
"type": "object",
"properties": {
"ID_RecordChange": {
"type": "integer"
},
"Success": {
"type": "boolean"
},
"Information": {
"type": "string"
}
},
"required": [
"ID_RecordChange",
"Success"
]
}
},
"type": "object",
"properties": {
"ExternalSystem": {
"type": "string"
},
"SecurityCode": {
"type": "string"
},
"ListConfirmDataChangeUpdate": {
"type": "array",
"items": {
"$ref": "#/definitions/ConfirmRecordChange"
}
}
},
"required": [
"ExternalSystem",
"SecurityCode",
"ListConfirmDataChangeUpdate"
]
}
Sample JSON file:
{
  "TestMode": false,
  "ExternalSystem": "ExternalSystem",
  "SecurityCode": "SecurityCode",
  "ListConfirmDataChangeUpdate": [
    {
      "ID_RecordChange": 1,
      "Success": false,
      "Information": "Information"
    }
  ]
}
Sample response:
Schema (JSON) for class UpdateRecordsChangeStatusResult:
{
"title": "UpdateRecordsChangeStatusResult",
"definitions": {
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"ExternalSystem": {
"type": "string"
},
"ID": {
"type": "integer"
},
"Kod": {
"type": "string"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "TestMode": false,
  "ExternalSystem": "ExternalSystem",
  "ID": 1,
  "Kod": "Kod",
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WCF.DataExchangeTable


AltOne.WCF.ZAIKS

Assembly name: AltOne.WCF.ZAIKS
Version: 2504.2.3-0.2.4.0-Alfa+bbbf568ebdc9d781856cb2117fd1c6216dc1154a,
Last modified: 15.12.2025 14:51:35

List of available methods:

Interface: IHandelZAIKS2

Method descriptions and usage examples:

Method name: SynchronizacjaKontrahenta

URL: https://{{baseAddress}}/api/HandelZAIKS_WebAPI/SynchronizacjaKontrahenta

HTTP method: POST

Params type: KontrahentDTO

Result type: UpdateResult

Description: Dodanie lub aktualizacja kontrahenta

Comment: Utworzenie lub aktualizacja kartoteki kontrahenta

Sample request for object KontrahentDTO. Replace placeholders with real values.

Schema (JSON) for class KontrahentDTO:
{
"title": "KontrahentDTO",
"definitions": {
"AdresDTO": {
"type": "object",
"properties": {
"Ulica": {
"type": "string"
},
"NrDomu": {
"type": "string"
},
"NrLokalu": {
"type": "string"
},
"KodPocztowyS": {
"type": "string"
},
"Miejscowosc": {
"type": "string"
},
"Poczta": {
"type": "string"
},
"Gmina": {
"type": "string"
},
"Powiat": {
"type": "string"
},
"Wojewodztwo": {
"type": "string",
"enum": [
"nieokreślone",
"dolnośląskie",
"kujawsko_pomorskie",
"lubelskie",
"lubuskie",
"łódzkie",
"małopolskie",
"mazowieckie",
"opolskie",
"podkarpackie",
"podlaskie",
"pomorskie",
"śląskie",
"świętokrzyskie",
"warmińsko_mazurskie",
"wielkopolskie",
"zachodniopomorskie"
]
},
"KodKraju": {
"type": "string"
},
"Telefon": {
"type": "string"
},
"Faks": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"Kod": {
"type": "string"
},
"Nazwa": {
"type": "string"
},
"EuVAT": {
"type": "string"
},
"GLN": {
"type": "string"
},
"Email": {
"type": "string"
},
"ZgodaEmail": {
"type": "boolean"
},
"Grupa": {
"type": "string"
},
"PlatnikVAT": {
"type": "boolean"
},
"Adres": {
"$ref": "#/definitions/AdresDTO"
},
"NazwaKorespondencyjna": {
"type": "string"
},
"AdresDoKorespondencji": {
"$ref": "#/definitions/AdresDTO"
},
"WWW": {
"type": "string"
},
"StatusPodmiotu": {
"type": "string",
"enum": [
"PodmiotGospodarczy",
"Finalny"
]
},
"RodzajPodmiotu": {
"type": "string",
"enum": [
"Krajowy",
"Eksportowy",
"EksportowyPodróżny",
"Unijny",
"UnijnyTrójstronny",
"BezVAT"
]
},
"RodzajPodmiotuZakup": {
"type": "string",
"enum": [
"Krajowy",
"Eksportowy",
"EksportowyPodróżny",
"Unijny",
"UnijnyTrójstronny",
"BezVAT"
]
},
"VATKontrahentaLiczonyOd": {
"type": "string",
"enum": [
"OdNetto",
"OdBrutto"
]
},
"Uwagi": {
"type": "string"
},
"SposobZaplaty": {
"type": "string"
},
"Termin": {
"type": "integer"
},
"KontrahentGlownyKod": {
"type": "string"
}
}
}
Sample JSON file:
{
  "TestMode": false,
  "Kod": "Kod",
  "Nazwa": "Nazwa",
  "EuVAT": "EuVAT",
  "GLN": "GLN",
  "Email": "Email",
  "ZgodaEmail": false,
  "Grupa": "Grupa",
  "PlatnikVAT": false,
  "Adres": {
    "Ulica": "Ulica",
    "NrDomu": "1",
    "NrLokalu": "2",
    "KodPocztowyS": "00-000",
    "Miejscowosc": "Miejscowosc",
    "Poczta": "Poczta",
    "Gmina": "Gmina",
    "Powiat": "Powiat",
    "Wojewodztwo": "nieokreślone",
    "KodKraju": "PL",
    "Telefon": "Telefon",
    "Faks": "Faks"
  },
  "NazwaKorespondencyjna": "NazwaKorespondencyjna",
  "AdresDoKorespondencji": {
    "Ulica": "Ulica",
    "NrDomu": "1",
    "NrLokalu": "2",
    "KodPocztowyS": "00-000",
    "Miejscowosc": "Miejscowosc",
    "Poczta": "Poczta",
    "Gmina": "Gmina",
    "Powiat": "Powiat",
    "Wojewodztwo": "nieokreślone",
    "KodKraju": "PL",
    "Telefon": "Telefon",
    "Faks": "Faks"
  },
  "WWW": "WWW",
  "StatusPodmiotu": "PodmiotGospodarczy",
  "RodzajPodmiotu": "Krajowy",
  "RodzajPodmiotuZakup": "Krajowy",
  "VATKontrahentaLiczonyOd": "OdNetto",
  "Uwagi": "Uwagi",
  "SposobZaplaty": "SposobZaplaty",
  "Termin": 1,
  "KontrahentGlownyKod": "KontrahentGlownyKod"
}
Sample response:
Schema (JSON) for class UpdateResult:
{
"title": "UpdateResult",
"definitions": {
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"Kod": {
"type": "string"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "TestMode": false,
  "ID": 1,
  "Kod": "Kod",
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WCF.ZAIKS

Method name: PobierzKontrahenta

URL: https://{{baseAddress}}/api/HandelZAIKS_WebAPI/PobierzKontrahenta

HTTP method: POST

Params type: GetKontrahentParams

Result type: DataResponse<KontrahentDTO>

Description: Odczyt danych kontrahenta

Comment: Odczyt danych kontrahenta

Sample request for object GetKontrahentParams. Replace placeholders with real values.

Schema (JSON) for class GetKontrahentParams:
{
"title": "GetKontrahentParams",
"type": "object",
"properties": {
"Kod": {
"type": "string"
}
}
}
Sample JSON file:
{
  "TestMode": false,
  "Kod": "Kod"
}
Sample response:
Schema (JSON) for class DataResponse<KontrahentDTO>:
{
"title": "DataResponse`1",
"definitions": {
"AdresDTO": {
"type": "object",
"properties": {
"Ulica": {
"type": "string"
},
"NrDomu": {
"type": "string"
},
"NrLokalu": {
"type": "string"
},
"KodPocztowyS": {
"type": "string"
},
"Miejscowosc": {
"type": "string"
},
"Poczta": {
"type": "string"
},
"Gmina": {
"type": "string"
},
"Powiat": {
"type": "string"
},
"Wojewodztwo": {
"type": "string",
"enum": [
"nieokreślone",
"dolnośląskie",
"kujawsko_pomorskie",
"lubelskie",
"lubuskie",
"łódzkie",
"małopolskie",
"mazowieckie",
"opolskie",
"podkarpackie",
"podlaskie",
"pomorskie",
"śląskie",
"świętokrzyskie",
"warmińsko_mazurskie",
"wielkopolskie",
"zachodniopomorskie"
]
},
"KodKraju": {
"type": "string"
},
"Telefon": {
"type": "string"
},
"Faks": {
"type": "string"
}
}
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"KontrahentDTO": {
"type": "object",
"properties": {
"Kod": {
"type": "string"
},
"Nazwa": {
"type": "string"
},
"EuVAT": {
"type": "string"
},
"GLN": {
"type": "string"
},
"Email": {
"type": "string"
},
"ZgodaEmail": {
"type": "boolean"
},
"Grupa": {
"type": "string"
},
"PlatnikVAT": {
"type": "boolean"
},
"Adres": {
"$ref": "#/definitions/AdresDTO"
},
"NazwaKorespondencyjna": {
"type": "string"
},
"AdresDoKorespondencji": {
"$ref": "#/definitions/AdresDTO"
},
"WWW": {
"type": "string"
},
"StatusPodmiotu": {
"type": "string",
"enum": [
"PodmiotGospodarczy",
"Finalny"
]
},
"RodzajPodmiotu": {
"type": "string",
"enum": [
"Krajowy",
"Eksportowy",
"EksportowyPodróżny",
"Unijny",
"UnijnyTrójstronny",
"BezVAT"
]
},
"RodzajPodmiotuZakup": {
"type": "string",
"enum": [
"Krajowy",
"Eksportowy",
"EksportowyPodróżny",
"Unijny",
"UnijnyTrójstronny",
"BezVAT"
]
},
"VATKontrahentaLiczonyOd": {
"type": "string",
"enum": [
"OdNetto",
"OdBrutto"
]
},
"Uwagi": {
"type": "string"
},
"SposobZaplaty": {
"type": "string"
},
"Termin": {
"type": "integer"
},
"KontrahentGlownyKod": {
"type": "string"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"Data": {
"$ref": "#/definitions/KontrahentDTO"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "TestMode": false,
  "Data": {
    "Kod": "Kod",
    "Nazwa": "Nazwa",
    "EuVAT": "EuVAT",
    "GLN": "GLN",
    "Email": "Email",
    "ZgodaEmail": false,
    "Grupa": "Grupa",
    "PlatnikVAT": false,
    "Adres": {
      "Ulica": "Ulica",
      "NrDomu": "1",
      "NrLokalu": "2",
      "KodPocztowyS": "00-000",
      "Miejscowosc": "Miejscowosc",
      "Poczta": "Poczta",
      "Gmina": "Gmina",
      "Powiat": "Powiat",
      "Wojewodztwo": "nieokreślone",
      "KodKraju": "PL",
      "Telefon": "Telefon",
      "Faks": "Faks"
    },
    "NazwaKorespondencyjna": "NazwaKorespondencyjna",
    "AdresDoKorespondencji": {
      "Ulica": "Ulica",
      "NrDomu": "1",
      "NrLokalu": "2",
      "KodPocztowyS": "00-000",
      "Miejscowosc": "Miejscowosc",
      "Poczta": "Poczta",
      "Gmina": "Gmina",
      "Powiat": "Powiat",
      "Wojewodztwo": "nieokreślone",
      "KodKraju": "PL",
      "Telefon": "Telefon",
      "Faks": "Faks"
    },
    "WWW": "WWW",
    "StatusPodmiotu": "PodmiotGospodarczy",
    "RodzajPodmiotu": "Krajowy",
    "RodzajPodmiotuZakup": "Krajowy",
    "VATKontrahentaLiczonyOd": "OdNetto",
    "Uwagi": "Uwagi",
    "SposobZaplaty": "SposobZaplaty",
    "Termin": 1,
    "KontrahentGlownyKod": "KontrahentGlownyKod"
  },
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WCF.ZAIKS

Method name: AddKorekta

URL: https://{{baseAddress}}/api/HandelZAIKS_WebAPI/AddKorekta

HTTP method: POST

Params type: KorektaDTO

Result type: WynikZapisuKorekty

Description: Dodanie korekty dla dokumentu handlowego.

Comment: Dodanie korekty dokumentu handlowego.

Sample request for object KorektaDTO. Replace placeholders with real values.

Schema (JSON) for class KorektaDTO:
{
"title": "KorektaDTO",
"definitions": {
"CurrencyDTO": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"Symbol": {
"type": "string"
}
},
"required": [
"Value",
"Symbol"
]
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DataDTO-1": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name"
]
},
"PozycjaKorektyDTO": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Ilosc": {
"$ref": "#/definitions/QuantityDTO"
},
"CenaCy": {
"$ref": "#/definitions/CurrencyDTO"
},
"Rabat": {
"type": "number"
},
"KodStawkaVAT": {
"type": "string"
},
"OpisPozycji": {
"type": "string"
}
}
},
"QuantityDTO": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"Symbol": {
"type": "string"
}
},
"required": [
"Value",
"Symbol"
]
},
"ZalacznikDTO": {
"type": "object",
"properties": {
"HostID": {
"type": "integer"
},
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
}
},
"type": "object",
"properties": {
"IdDokumentu": {
"type": "integer"
},
"NumerDokumentu": {
"type": "string"
},
"DataWystawienia": {
"$ref": "#/definitions/DataDTO"
},
"DataOperacji": {
"$ref": "#/definitions/DataDTO"
},
"TerminPlatnosci": {
"$ref": "#/definitions/DataDTO"
},
"Pozycje": {
"type": "array",
"items": {
"$ref": "#/definitions/PozycjaKorektyDTO"
}
},
"PrzyczynaKorekty": {
"type": "string"
},
"PrzyczynaKorektyCecha": {
"type": "string"
},
"Zalaczniki": {
"type": "array",
"items": {
"$ref": "#/definitions/ZalacznikDTO"
}
},
"KodKontrahenta": {
"type": "string"
},
"KodOdbiorca": {
"type": "string"
},
"IdLokalizacjaDostawy": {
"type": "integer"
},
"Opis": {
"type": "string"
},
"NrPaczki": {
"type": "string"
},
"TypZlecenia": {
"type": "string"
},
"NumerObcy": {
"type": "string"
},
"NrZlecenia": {
"type": "string"
},
"ZlecenieOsoba": {
"type": "string"
},
"SymbolDokumentu": {
"type": "string"
},
"Seria": {
"type": "string"
},
"Magazyn": {
"type": "string"
},
"Inspektorat": {
"type": "string"
},
"Zatwierdzony": {
"type": "boolean"
},
"SumaKontrolnaBrutto": {
"type": "number"
}
}
}
Sample JSON file:
{
  "TestMode": false,
  "IdDokumentu": 1,
  "NumerDokumentu": "NumerDokumentu",
  "DataWystawienia": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  },
  "DataOperacji": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  },
  "TerminPlatnosci": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  },
  "Pozycje": [
    {
      "Lp": 1,
      "Ilosc": {
        "Value": 1.0,
        "Symbol": "Symbol"
      },
      "CenaCy": {
        "Value": 1.0,
        "Symbol": "Symbol"
      },
      "Rabat": 1.0,
      "KodStawkaVAT": "KodStawkaVAT",
      "OpisPozycji": "OpisPozycji"
    }
  ],
  "PrzyczynaKorekty": "PrzyczynaKorekty",
  "PrzyczynaKorektyCecha": "PrzyczynaKorektyCecha",
  "Zalaczniki": [
    {
      "HostID": 1,
      "ID": 1,
      "Name": "Name",
      "Parent": 1,
      "Description": "Description",
      "IsDefault": false,
      "SendEmail": false,
      "Extension": "Extension",
      "Link": "Link",
      "SubType": "None",
      "Base64": "EiEFuVHZS1VWaQ==",
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ]
    }
  ],
  "KodKontrahenta": "KodKontrahenta",
  "KodOdbiorca": "KodOdbiorca",
  "IdLokalizacjaDostawy": 1,
  "Opis": "Opis",
  "NrPaczki": "NrPaczki",
  "TypZlecenia": "TypZlecenia",
  "NumerObcy": "NumerObcy",
  "NrZlecenia": "NrZlecenia",
  "ZlecenieOsoba": "ZlecenieOsoba",
  "SymbolDokumentu": "SymbolDokumentu",
  "Seria": "Seria",
  "Magazyn": "Magazyn",
  "Inspektorat": "Inspektorat",
  "Zatwierdzony": false,
  "SumaKontrolnaBrutto": 1.0
}
Sample response:
Schema (JSON) for class WynikZapisuKorekty:
{
"title": "WynikZapisuKorekty",
"definitions": {
"CurrencyDTO": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"Symbol": {
"type": "string"
}
},
"required": [
"Value",
"Symbol"
]
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"KwotaPrzedKorektaNetto": {
"type": "number"
},
"KwotaPrzedKorektaBrutto": {
"type": "number"
},
"KwotaPrzedKorektaVAT": {
"type": "number"
},
"KwotaPoKorekcieNetto": {
"type": "number"
},
"KwotaPoKorekcieBrutto": {
"type": "number"
},
"KwotaPoKorekcieVAT": {
"type": "number"
},
"NumerDokumentu": {
"type": "string"
},
"KwotaNettoCy": {
"$ref": "#/definitions/CurrencyDTO"
},
"KwotaBruttoCy": {
"$ref": "#/definitions/CurrencyDTO"
},
"KwotaVATCy": {
"$ref": "#/definitions/CurrencyDTO"
},
"ID": {
"type": "integer"
},
"Kod": {
"type": "string"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "TestMode": false,
  "KwotaPrzedKorektaNetto": 1.0,
  "KwotaPrzedKorektaBrutto": 1.0,
  "KwotaPrzedKorektaVAT": 1.0,
  "KwotaPoKorekcieNetto": 1.0,
  "KwotaPoKorekcieBrutto": 1.0,
  "KwotaPoKorekcieVAT": 1.0,
  "NumerDokumentu": "NumerDokumentu",
  "KwotaNettoCy": {
    "Value": 1.0,
    "Symbol": "Symbol"
  },
  "KwotaBruttoCy": {
    "Value": 1.0,
    "Symbol": "Symbol"
  },
  "KwotaVATCy": {
    "Value": 1.0,
    "Symbol": "Symbol"
  },
  "ID": 1,
  "Kod": "Kod",
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WCF.ZAIKS

Method name: AddZalacznik

URL: https://{{baseAddress}}/api/HandelZAIKS_WebAPI/AddZalacznik

HTTP method: POST

Params type: ZalacznikDTO

Result type: UpdateResult

Description: Dodanie załącznika do dokumentu handlowego

Comment: Dodanie załącznika do dokumentu handlowego.

Sample request for object ZalacznikDTO. Replace placeholders with real values.

Schema (JSON) for class ZalacznikDTO:
{
"title": "ZalacznikDTO",
"definitions": {
"DataDTO": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"Name"
]
}
},
"type": "object",
"properties": {
"HostID": {
"type": "integer"
},
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
}
Sample JSON file:
{
  "TestMode": false,
  "HostID": 1,
  "ID": 1,
  "Name": "Name",
  "Parent": 1,
  "Description": "Description",
  "IsDefault": false,
  "SendEmail": false,
  "Extension": "Extension",
  "Link": "Link",
  "SubType": "None",
  "Base64": "CBR27bo56846Zg==",
  "Features": [
    {
      "Name": "Name",
      "Value": "Value",
      "Type": "Type",
      "UpdateDate": null
    }
  ]
}
Sample response:
Schema (JSON) for class UpdateResult:
{
"title": "UpdateResult",
"definitions": {
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"Kod": {
"type": "string"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "TestMode": false,
  "ID": 1,
  "Kod": "Kod",
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WCF.ZAIKS

Method name: PobierzDokumentHandlowy

URL: https://{{baseAddress}}/api/HandelZAIKS_WebAPI/PobierzDokumentHandlowy

HTTP method: POST

Params type: GetDokHandlowyParams

Result type: DataResponse<DokumentHandlowyDTO>

Description: Odczyt dokumentu handlowego

Comment: Odczyt danych dokumentu handlowego

Sample request for object GetDokHandlowyParams. Replace placeholders with real values.

Schema (JSON) for class GetDokHandlowyParams:
{
"title": "GetDokHandlowyParams",
"type": "object",
"properties": {
"IDDokumentu": {
"type": "integer"
},
"NumerDokumentu": {
"type": "string"
},
"NumerObcy": {
"type": "string"
}
}
}
Sample JSON file:
{
  "TestMode": false,
  "IDDokumentu": 1,
  "NumerDokumentu": "NumerDokumentu",
  "NumerObcy": "NumerObcy"
}
Sample response:
Schema (JSON) for class DataResponse<DokumentHandlowyDTO>:
{
"title": "DataResponse`1",
"definitions": {
"CurrencyDTO": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"Symbol": {
"type": "string"
}
},
"required": [
"Value",
"Symbol"
]
},
"DaneKorektyDTO": {
"type": "object",
"properties": {
"DokumentKorygowany": {
"type": "string"
},
"NumerKorekty": {
"type": "string"
},
"PrzyczynaKorekty": {
"type": "string"
},
"KwotaNettoPrzed": {
"type": "number"
},
"KwotaVATPrzed": {
"type": "number"
},
"KwotaBruttoPrzed": {
"type": "number"
},
"KwotaNettoKorekta": {
"type": "number"
},
"KwotaVATKorekta": {
"type": "number"
},
"KwotaBruttoKorekta": {
"type": "number"
},
"KwotaNettoPo": {
"type": "number"
},
"KwotaVATPo": {
"type": "number"
},
"KwotaBruttoPo": {
"type": "number"
}
}
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DokumentHandlowyDTO": {
"type": "object",
"properties": {
"NrPaczki": {
"type": "string"
},
"TypZlecenia": {
"type": "string"
},
"SymbolDokumentu": {
"type": "string"
},
"Data": {
"$ref": "#/definitions/DataDTO"
},
"DataOperacji": {
"$ref": "#/definitions/DataDTO"
},
"Seria": {
"type": "string"
},
"Opis": {
"type": "string"
},
"KwotaNettoCy": {
"$ref": "#/definitions/CurrencyDTO"
},
"KwotaBruttoCy": {
"$ref": "#/definitions/CurrencyDTO"
},
"KwotaVAT": {
"type": "number"
},
"KwotaNettoPoKorekcie": {
"type": "number"
},
"KwotaVATPoKorekcie": {
"type": "number"
},
"KwotaBruttoPoKorekcie": {
"type": "number"
},
"NrZlecenia": {
"type": "string"
},
"NumerObcy": {
"type": "string"
},
"NumerDokumentu": {
"type": "string"
},
"ID": {
"type": "integer"
},
"StanDokumentu": {
"type": "string"
},
"NumeryWZ": {
"type": "string"
},
"NrUmowy": {
"type": "string"
},
"Inspektorat": {
"type": "string"
},
"NrFakturyKorygowanej": {
"type": "string"
},
"NrPoprzedniejZaliczki": {
"type": "string"
},
"Magazyn": {
"type": "string"
},
"ZlecenieOsoba": {
"type": "string"
},
"KodKontrahenta": {
"type": "string"
},
"KodOdbiorcy": {
"type": "string"
},
"IDLokalizacjaDostawy": {
"type": "integer"
},
"Pozycje": {
"type": "array",
"items": {
"$ref": "#/definitions/PozycjaDTO"
}
},
"Platnosc": {
"$ref": "#/definitions/PlatnoscDTO"
},
"StatusPaczki": {
"type": "string"
},
"DataWyslaniaPaczki": {
"$ref": "#/definitions/DataDTO"
},
"Korygowany": {
"type": "boolean"
},
"IloscKorekt": {
"type": "integer"
},
"DaneKorekty": {
"$ref": "#/definitions/DaneKorektyDTO"
}
}
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"PlatnoscDTO": {
"type": "object",
"properties": {
"KodPlatnika": {
"type": "string"
},
"SymbolEwidencji": {
"type": "string"
},
"NrRachunkuWirtualnego": {
"type": "string"
},
"SposobZaplaty": {
"type": "string"
},
"Termin": {
"$ref": "#/definitions/DataDTO"
},
"Wplaty": {
"type": "array",
"items": {
"$ref": "#/definitions/WplataDTO"
}
}
}
},
"PozycjaDTO": {
"type": "object",
"properties": {
"KodTowaru": {
"type": "string"
},
"CenaCy": {
"$ref": "#/definitions/CurrencyDTO"
},
"Ilosc": {
"$ref": "#/definitions/QuantityDTO"
},
"StawkaVAT": {
"type": "string"
},
"OpisPozycji": {
"type": "string"
},
"Lp": {
"type": "integer"
}
}
},
"QuantityDTO": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"Symbol": {
"type": "string"
}
},
"required": [
"Value",
"Symbol"
]
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
},
"WplataDTO": {
"type": "object",
"properties": {
"KwotaWplatyCy": {
"$ref": "#/definitions/CurrencyDTO"
},
"DataWplaty": {
"$ref": "#/definitions/DataDTO"
},
"SymbolRachunkuBankowego": {
"type": "string"
},
"Lp": {
"type": "integer"
}
}
}
},
"type": "object",
"properties": {
"Data": {
"$ref": "#/definitions/DokumentHandlowyDTO"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "TestMode": false,
  "Data": {
    "NrPaczki": "NrPaczki",
    "TypZlecenia": "TypZlecenia",
    "SymbolDokumentu": "SymbolDokumentu",
    "Data": {
      "Year": 2025,
      "Month": 12,
      "Day": 18
    },
    "DataOperacji": {
      "Year": 2025,
      "Month": 12,
      "Day": 18
    },
    "Seria": "Seria",
    "Opis": "Opis",
    "KwotaNettoCy": {
      "Value": 1.0,
      "Symbol": "Symbol"
    },
    "KwotaBruttoCy": {
      "Value": 1.0,
      "Symbol": "Symbol"
    },
    "KwotaVAT": 1.0,
    "KwotaNettoPoKorekcie": 1.0,
    "KwotaVATPoKorekcie": 1.0,
    "KwotaBruttoPoKorekcie": 1.0,
    "NrZlecenia": "NrZlecenia",
    "NumerObcy": "NumerObcy",
    "NumerDokumentu": "NumerDokumentu",
    "ID": 1,
    "StanDokumentu": "StanDokumentu",
    "NumeryWZ": "NumeryWZ",
    "NrUmowy": "NrUmowy",
    "Inspektorat": "Inspektorat",
    "NrFakturyKorygowanej": "NrFakturyKorygowanej",
    "NrPoprzedniejZaliczki": "NrPoprzedniejZaliczki",
    "Magazyn": "Magazyn",
    "ZlecenieOsoba": "ZlecenieOsoba",
    "KodKontrahenta": "KodKontrahenta",
    "KodOdbiorcy": "KodOdbiorcy",
    "IDLokalizacjaDostawy": 1,
    "Pozycje": [
      {
        "KodTowaru": "KodTowaru",
        "CenaCy": {
          "Value": 1.0,
          "Symbol": "Symbol"
        },
        "Ilosc": {
          "Value": 1.0,
          "Symbol": "Symbol"
        },
        "StawkaVAT": "StawkaVAT",
        "OpisPozycji": "OpisPozycji",
        "Lp": 1
      }
    ],
    "Platnosc": {
      "KodPlatnika": "KodPlatnika",
      "SymbolEwidencji": "SymbolEwidencji",
      "NrRachunkuWirtualnego": "NrRachunkuWirtualnego",
      "SposobZaplaty": "SposobZaplaty",
      "Termin": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "Wplaty": [
        {
          "KwotaWplatyCy": {
            "Value": 1.0,
            "Symbol": "Symbol"
          },
          "DataWplaty": {
            "Year": 2025,
            "Month": 12,
            "Day": 18
          },
          "SymbolRachunkuBankowego": "SymbolRachunkuBankowego",
          "Lp": 1
        }
      ]
    },
    "StatusPaczki": "StatusPaczki",
    "DataWyslaniaPaczki": {
      "Year": 2025,
      "Month": 12,
      "Day": 18
    },
    "Korygowany": false,
    "IloscKorekt": 1,
    "DaneKorekty": {
      "DokumentKorygowany": "DokumentKorygowany",
      "NumerKorekty": "NumerKorekty",
      "PrzyczynaKorekty": "PrzyczynaKorekty",
      "KwotaNettoPrzed": 1.0,
      "KwotaVATPrzed": 1.0,
      "KwotaBruttoPrzed": 1.0,
      "KwotaNettoKorekta": 1.0,
      "KwotaVATKorekta": 1.0,
      "KwotaBruttoKorekta": 1.0,
      "KwotaNettoPo": 1.0,
      "KwotaVATPo": 1.0,
      "KwotaBruttoPo": 1.0
    }
  },
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WCF.ZAIKS

Method name: DodajZlecenieSprzedazy

URL: https://{{baseAddress}}/api/HandelZAIKS_WebAPI/DodajZlecenieSprzedazy

HTTP method: POST

Params type: DokumentHandlowyDTO

Result type: WynikZapisuFaktury

Description: Dodanie zlecenia sprzedaży

Comment: Dodanie zlecenia sprzedaży jako dokument handlowy

Sample request for object DokumentHandlowyDTO. Replace placeholders with real values.

Schema (JSON) for class DokumentHandlowyDTO:
{
"title": "DokumentHandlowyDTO",
"definitions": {
"CurrencyDTO": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"Symbol": {
"type": "string"
}
},
"required": [
"Value",
"Symbol"
]
},
"DaneKorektyDTO": {
"type": "object",
"properties": {
"DokumentKorygowany": {
"type": "string"
},
"NumerKorekty": {
"type": "string"
},
"PrzyczynaKorekty": {
"type": "string"
},
"KwotaNettoPrzed": {
"type": "number"
},
"KwotaVATPrzed": {
"type": "number"
},
"KwotaBruttoPrzed": {
"type": "number"
},
"KwotaNettoKorekta": {
"type": "number"
},
"KwotaVATKorekta": {
"type": "number"
},
"KwotaBruttoKorekta": {
"type": "number"
},
"KwotaNettoPo": {
"type": "number"
},
"KwotaVATPo": {
"type": "number"
},
"KwotaBruttoPo": {
"type": "number"
}
}
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"PlatnoscDTO": {
"type": "object",
"properties": {
"KodPlatnika": {
"type": "string"
},
"SymbolEwidencji": {
"type": "string"
},
"NrRachunkuWirtualnego": {
"type": "string"
},
"SposobZaplaty": {
"type": "string"
},
"Termin": {
"$ref": "#/definitions/DataDTO"
},
"Wplaty": {
"type": "array",
"items": {
"$ref": "#/definitions/WplataDTO"
}
}
}
},
"PozycjaDTO": {
"type": "object",
"properties": {
"KodTowaru": {
"type": "string"
},
"CenaCy": {
"$ref": "#/definitions/CurrencyDTO"
},
"Ilosc": {
"$ref": "#/definitions/QuantityDTO"
},
"StawkaVAT": {
"type": "string"
},
"OpisPozycji": {
"type": "string"
},
"Lp": {
"type": "integer"
}
}
},
"QuantityDTO": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"Symbol": {
"type": "string"
}
},
"required": [
"Value",
"Symbol"
]
},
"WplataDTO": {
"type": "object",
"properties": {
"KwotaWplatyCy": {
"$ref": "#/definitions/CurrencyDTO"
},
"DataWplaty": {
"$ref": "#/definitions/DataDTO"
},
"SymbolRachunkuBankowego": {
"type": "string"
},
"Lp": {
"type": "integer"
}
}
}
},
"type": "object",
"properties": {
"NrPaczki": {
"type": "string"
},
"TypZlecenia": {
"type": "string"
},
"SymbolDokumentu": {
"type": "string"
},
"Data": {
"$ref": "#/definitions/DataDTO"
},
"DataOperacji": {
"$ref": "#/definitions/DataDTO"
},
"Seria": {
"type": "string"
},
"Opis": {
"type": "string"
},
"KwotaNettoCy": {
"$ref": "#/definitions/CurrencyDTO"
},
"KwotaBruttoCy": {
"$ref": "#/definitions/CurrencyDTO"
},
"KwotaVAT": {
"type": "number"
},
"KwotaNettoPoKorekcie": {
"type": "number"
},
"KwotaVATPoKorekcie": {
"type": "number"
},
"KwotaBruttoPoKorekcie": {
"type": "number"
},
"NrZlecenia": {
"type": "string"
},
"NumerObcy": {
"type": "string"
},
"NumerDokumentu": {
"type": "string"
},
"ID": {
"type": "integer"
},
"StanDokumentu": {
"type": "string"
},
"NumeryWZ": {
"type": "string"
},
"NrUmowy": {
"type": "string"
},
"Inspektorat": {
"type": "string"
},
"NrFakturyKorygowanej": {
"type": "string"
},
"NrPoprzedniejZaliczki": {
"type": "string"
},
"Magazyn": {
"type": "string"
},
"ZlecenieOsoba": {
"type": "string"
},
"KodKontrahenta": {
"type": "string"
},
"KodOdbiorcy": {
"type": "string"
},
"IDLokalizacjaDostawy": {
"type": "integer"
},
"Pozycje": {
"type": "array",
"items": {
"$ref": "#/definitions/PozycjaDTO"
}
},
"Platnosc": {
"$ref": "#/definitions/PlatnoscDTO"
},
"StatusPaczki": {
"type": "string"
},
"DataWyslaniaPaczki": {
"$ref": "#/definitions/DataDTO"
},
"Korygowany": {
"type": "boolean"
},
"IloscKorekt": {
"type": "integer"
},
"DaneKorekty": {
"$ref": "#/definitions/DaneKorektyDTO"
}
}
}
Sample JSON file:
{
  "TestMode": false,
  "NrPaczki": "NrPaczki",
  "TypZlecenia": "TypZlecenia",
  "SymbolDokumentu": "SymbolDokumentu",
  "Data": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  },
  "DataOperacji": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  },
  "Seria": "Seria",
  "Opis": "Opis",
  "KwotaNettoCy": {
    "Value": 1.0,
    "Symbol": "Symbol"
  },
  "KwotaBruttoCy": {
    "Value": 1.0,
    "Symbol": "Symbol"
  },
  "KwotaVAT": 1.0,
  "KwotaNettoPoKorekcie": 1.0,
  "KwotaVATPoKorekcie": 1.0,
  "KwotaBruttoPoKorekcie": 1.0,
  "NrZlecenia": "NrZlecenia",
  "NumerObcy": "NumerObcy",
  "NumerDokumentu": "NumerDokumentu",
  "ID": 1,
  "StanDokumentu": "StanDokumentu",
  "NumeryWZ": "NumeryWZ",
  "NrUmowy": "NrUmowy",
  "Inspektorat": "Inspektorat",
  "NrFakturyKorygowanej": "NrFakturyKorygowanej",
  "NrPoprzedniejZaliczki": "NrPoprzedniejZaliczki",
  "Magazyn": "Magazyn",
  "ZlecenieOsoba": "ZlecenieOsoba",
  "KodKontrahenta": "KodKontrahenta",
  "KodOdbiorcy": "KodOdbiorcy",
  "IDLokalizacjaDostawy": 1,
  "Pozycje": [
    {
      "KodTowaru": "KodTowaru",
      "CenaCy": {
        "Value": 1.0,
        "Symbol": "Symbol"
      },
      "Ilosc": {
        "Value": 1.0,
        "Symbol": "Symbol"
      },
      "StawkaVAT": "StawkaVAT",
      "OpisPozycji": "OpisPozycji",
      "Lp": 1
    }
  ],
  "Platnosc": {
    "KodPlatnika": "KodPlatnika",
    "SymbolEwidencji": "SymbolEwidencji",
    "NrRachunkuWirtualnego": "NrRachunkuWirtualnego",
    "SposobZaplaty": "SposobZaplaty",
    "Termin": {
      "Year": 2025,
      "Month": 12,
      "Day": 18
    },
    "Wplaty": [
      {
        "KwotaWplatyCy": {
          "Value": 1.0,
          "Symbol": "Symbol"
        },
        "DataWplaty": {
          "Year": 2025,
          "Month": 12,
          "Day": 18
        },
        "SymbolRachunkuBankowego": "SymbolRachunkuBankowego",
        "Lp": 1
      }
    ]
  },
  "StatusPaczki": "StatusPaczki",
  "DataWyslaniaPaczki": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  },
  "Korygowany": false,
  "IloscKorekt": 1,
  "DaneKorekty": {
    "DokumentKorygowany": "DokumentKorygowany",
    "NumerKorekty": "NumerKorekty",
    "PrzyczynaKorekty": "PrzyczynaKorekty",
    "KwotaNettoPrzed": 1.0,
    "KwotaVATPrzed": 1.0,
    "KwotaBruttoPrzed": 1.0,
    "KwotaNettoKorekta": 1.0,
    "KwotaVATKorekta": 1.0,
    "KwotaBruttoKorekta": 1.0,
    "KwotaNettoPo": 1.0,
    "KwotaVATPo": 1.0,
    "KwotaBruttoPo": 1.0
  }
}
Sample response:
Schema (JSON) for class WynikZapisuFaktury:
{
"title": "WynikZapisuFaktury",
"definitions": {
"CurrencyDTO": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"Symbol": {
"type": "string"
}
},
"required": [
"Value",
"Symbol"
]
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"NumerDokumentu": {
"type": "string"
},
"KwotaNettoCy": {
"$ref": "#/definitions/CurrencyDTO"
},
"KwotaBruttoCy": {
"$ref": "#/definitions/CurrencyDTO"
},
"KwotaVATCy": {
"$ref": "#/definitions/CurrencyDTO"
},
"ID": {
"type": "integer"
},
"Kod": {
"type": "string"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "TestMode": false,
  "NumerDokumentu": "NumerDokumentu",
  "KwotaNettoCy": {
    "Value": 1.0,
    "Symbol": "Symbol"
  },
  "KwotaBruttoCy": {
    "Value": 1.0,
    "Symbol": "Symbol"
  },
  "KwotaVATCy": {
    "Value": 1.0,
    "Symbol": "Symbol"
  },
  "ID": 1,
  "Kod": "Kod",
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WCF.ZAIKS

Method name: PobierzZaplaty

URL: https://{{baseAddress}}/api/HandelZAIKS_WebAPI/PobierzZaplaty

HTTP method: POST

Params type: GetZaplatyParams

Result type: DataResponse<ZaplatyDTO>

Description: Pobranie zapłat

Comment: Pobranie zapłat dla danej ewidencji ŚP

Sample request for object GetZaplatyParams. Replace placeholders with real values.

Schema (JSON) for class GetZaplatyParams:
{
"title": "GetZaplatyParams",
"definitions": {
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
}
},
"type": "object",
"properties": {
"SymbolRachunkuBankowego": {
"type": "string"
},
"Data": {
"$ref": "#/definitions/DataDTO"
},
"Lp": {
"type": "integer"
}
}
}
Sample JSON file:
{
  "TestMode": false,
  "SymbolRachunkuBankowego": "SymbolRachunkuBankowego",
  "Data": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  },
  "Lp": 1
}
Sample response:
Schema (JSON) for class DataResponse<ZaplatyDTO>:
{
"title": "DataResponse`1",
"definitions": {
"CurrencyDTO": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"Symbol": {
"type": "string"
}
},
"required": [
"Value",
"Symbol"
]
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"RozliczenieDTO": {
"type": "object",
"properties": {
"IdDokumentu": {
"type": "integer"
},
"NumerDokumentu": {
"type": "string"
},
"NumerObcy": {
"type": "string"
},
"Data": {
"$ref": "#/definitions/DataDTO"
},
"Kwota": {
"$ref": "#/definitions/CurrencyDTO"
},
"Rozliczenie": {
"$ref": "#/definitions/CurrencyDTO"
},
"DoRozliczenia": {
"$ref": "#/definitions/CurrencyDTO"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
},
"ZaplataDTO": {
"type": "object",
"properties": {
"KodKontrahenta": {
"type": "string"
},
"Rozliczana": {
"type": "boolean"
},
"StanRozliczenia": {
"type": "string"
},
"Kwota": {
"$ref": "#/definitions/CurrencyDTO"
},
"Lp": {
"type": "integer"
},
"KolejnaLp": {
"type": "string"
},
"Opis": {
"type": "string"
},
"Kierunek": {
"type": "string"
},
"Rozliczenia": {
"type": "array",
"items": {
"$ref": "#/definitions/RozliczenieDTO"
}
}
}
},
"ZaplatyDTO": {
"type": "object",
"properties": {
"NumerRaportu": {
"type": "string"
},
"Zaplaty": {
"type": "array",
"items": {
"$ref": "#/definitions/ZaplataDTO"
}
}
}
}
},
"type": "object",
"properties": {
"Data": {
"$ref": "#/definitions/ZaplatyDTO"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "TestMode": false,
  "Data": {
    "NumerRaportu": "NumerRaportu",
    "Zaplaty": [
      {
        "KodKontrahenta": "KodKontrahenta",
        "Rozliczana": false,
        "StanRozliczenia": "StanRozliczenia",
        "Kwota": {
          "Value": 1.0,
          "Symbol": "Symbol"
        },
        "Lp": 1,
        "KolejnaLp": "KolejnaLp",
        "Opis": "Opis",
        "Kierunek": "Kierunek",
        "Rozliczenia": [
          {
            "IdDokumentu": 1,
            "NumerDokumentu": "NumerDokumentu",
            "NumerObcy": "NumerObcy",
            "Data": {
              "Year": 2025,
              "Month": 12,
              "Day": 18
            },
            "Kwota": {
              "Value": 1.0,
              "Symbol": "Symbol"
            },
            "Rozliczenie": {
              "Value": 1.0,
              "Symbol": "Symbol"
            },
            "DoRozliczenia": {
              "Value": 1.0,
              "Symbol": "Symbol"
            }
          }
        ]
      }
    ]
  },
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WCF.ZAIKS

Method name: SkasujZaplate

URL: https://{{baseAddress}}/api/HandelZAIKS_WebAPI/SkasujZaplate

HTTP method: POST

Params type: GetSkasujZaplateParams

Result type: UpdateResult

Description: Skasowanie zapłaty

Comment: Skasowanie zapłaty z wybranej ewidencji ŚP

Sample request for object GetSkasujZaplateParams. Replace placeholders with real values.

Schema (JSON) for class GetSkasujZaplateParams:
{
"title": "GetSkasujZaplateParams",
"definitions": {
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
}
},
"type": "object",
"properties": {
"SymbolRachunkuBankowego": {
"type": "string"
},
"Data": {
"$ref": "#/definitions/DataDTO"
},
"Lp": {
"type": "integer"
}
}
}
Sample JSON file:
{
  "TestMode": false,
  "SymbolRachunkuBankowego": "SymbolRachunkuBankowego",
  "Data": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  },
  "Lp": 1
}
Sample response:
Schema (JSON) for class UpdateResult:
{
"title": "UpdateResult",
"definitions": {
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"Kod": {
"type": "string"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "TestMode": false,
  "ID": 1,
  "Kod": "Kod",
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WCF.ZAIKS

Method name: DodajZaplate

URL: https://{{baseAddress}}/api/HandelZAIKS_WebAPI/DodajZaplate

HTTP method: POST

Params type: GetUpsertZaplateParams

Result type: UpdateResult

Description: Dodanie zapłaty

Comment: Dodanie zapłaty do wskazanej ewidencji ŚP

Sample request for object GetUpsertZaplateParams. Replace placeholders with real values.

Schema (JSON) for class GetUpsertZaplateParams:
{
"title": "GetUpsertZaplateParams",
"definitions": {
"CurrencyDTO": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"Symbol": {
"type": "string"
}
},
"required": [
"Value",
"Symbol"
]
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"RozliczenieDTO": {
"type": "object",
"properties": {
"IdDokumentu": {
"type": "integer"
},
"NumerDokumentu": {
"type": "string"
},
"NumerObcy": {
"type": "string"
},
"Data": {
"$ref": "#/definitions/DataDTO"
},
"Kwota": {
"$ref": "#/definitions/CurrencyDTO"
},
"Rozliczenie": {
"$ref": "#/definitions/CurrencyDTO"
},
"DoRozliczenia": {
"$ref": "#/definitions/CurrencyDTO"
}
}
},
"ZaplataDTO": {
"type": "object",
"properties": {
"KodKontrahenta": {
"type": "string"
},
"Rozliczana": {
"type": "boolean"
},
"StanRozliczenia": {
"type": "string"
},
"Kwota": {
"$ref": "#/definitions/CurrencyDTO"
},
"Lp": {
"type": "integer"
},
"KolejnaLp": {
"type": "string"
},
"Opis": {
"type": "string"
},
"Kierunek": {
"type": "string"
},
"Rozliczenia": {
"type": "array",
"items": {
"$ref": "#/definitions/RozliczenieDTO"
}
}
}
}
},
"type": "object",
"properties": {
"SymbolRachunkuBankowego": {
"type": "string"
},
"Data": {
"$ref": "#/definitions/DataDTO"
},
"Zaplata": {
"$ref": "#/definitions/ZaplataDTO"
}
}
}
Sample JSON file:
{
  "TestMode": false,
  "SymbolRachunkuBankowego": "SymbolRachunkuBankowego",
  "Data": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  },
  "Zaplata": {
    "KodKontrahenta": "KodKontrahenta",
    "Rozliczana": false,
    "StanRozliczenia": "StanRozliczenia",
    "Kwota": {
      "Value": 1.0,
      "Symbol": "Symbol"
    },
    "Lp": 1,
    "KolejnaLp": "KolejnaLp",
    "Opis": "Opis",
    "Kierunek": "Kierunek",
    "Rozliczenia": [
      {
        "IdDokumentu": 1,
        "NumerDokumentu": "NumerDokumentu",
        "NumerObcy": "NumerObcy",
        "Data": {
          "Year": 2025,
          "Month": 12,
          "Day": 18
        },
        "Kwota": {
          "Value": 1.0,
          "Symbol": "Symbol"
        },
        "Rozliczenie": {
          "Value": 1.0,
          "Symbol": "Symbol"
        },
        "DoRozliczenia": {
          "Value": 1.0,
          "Symbol": "Symbol"
        }
      }
    ]
  }
}
Sample response:
Schema (JSON) for class UpdateResult:
{
"title": "UpdateResult",
"definitions": {
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"Kod": {
"type": "string"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "TestMode": false,
  "ID": 1,
  "Kod": "Kod",
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WCF.ZAIKS

Method name: EdytujZaplate

URL: https://{{baseAddress}}/api/HandelZAIKS_WebAPI/EdytujZaplate

HTTP method: POST

Params type: GetUpsertZaplateParams

Result type: UpdateResult

Description: Edycja zapłaty

Comment: Edycja zapłaty do wskazanej ewidencji ŚP

Sample request for object GetUpsertZaplateParams. Replace placeholders with real values.

Schema (JSON) for class GetUpsertZaplateParams:
{
"title": "GetUpsertZaplateParams",
"definitions": {
"CurrencyDTO": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"Symbol": {
"type": "string"
}
},
"required": [
"Value",
"Symbol"
]
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"RozliczenieDTO": {
"type": "object",
"properties": {
"IdDokumentu": {
"type": "integer"
},
"NumerDokumentu": {
"type": "string"
},
"NumerObcy": {
"type": "string"
},
"Data": {
"$ref": "#/definitions/DataDTO"
},
"Kwota": {
"$ref": "#/definitions/CurrencyDTO"
},
"Rozliczenie": {
"$ref": "#/definitions/CurrencyDTO"
},
"DoRozliczenia": {
"$ref": "#/definitions/CurrencyDTO"
}
}
},
"ZaplataDTO": {
"type": "object",
"properties": {
"KodKontrahenta": {
"type": "string"
},
"Rozliczana": {
"type": "boolean"
},
"StanRozliczenia": {
"type": "string"
},
"Kwota": {
"$ref": "#/definitions/CurrencyDTO"
},
"Lp": {
"type": "integer"
},
"KolejnaLp": {
"type": "string"
},
"Opis": {
"type": "string"
},
"Kierunek": {
"type": "string"
},
"Rozliczenia": {
"type": "array",
"items": {
"$ref": "#/definitions/RozliczenieDTO"
}
}
}
}
},
"type": "object",
"properties": {
"SymbolRachunkuBankowego": {
"type": "string"
},
"Data": {
"$ref": "#/definitions/DataDTO"
},
"Zaplata": {
"$ref": "#/definitions/ZaplataDTO"
}
}
}
Sample JSON file:
{
  "TestMode": false,
  "SymbolRachunkuBankowego": "SymbolRachunkuBankowego",
  "Data": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  },
  "Zaplata": {
    "KodKontrahenta": "KodKontrahenta",
    "Rozliczana": false,
    "StanRozliczenia": "StanRozliczenia",
    "Kwota": {
      "Value": 1.0,
      "Symbol": "Symbol"
    },
    "Lp": 1,
    "KolejnaLp": "KolejnaLp",
    "Opis": "Opis",
    "Kierunek": "Kierunek",
    "Rozliczenia": [
      {
        "IdDokumentu": 1,
        "NumerDokumentu": "NumerDokumentu",
        "NumerObcy": "NumerObcy",
        "Data": {
          "Year": 2025,
          "Month": 12,
          "Day": 18
        },
        "Kwota": {
          "Value": 1.0,
          "Symbol": "Symbol"
        },
        "Rozliczenie": {
          "Value": 1.0,
          "Symbol": "Symbol"
        },
        "DoRozliczenia": {
          "Value": 1.0,
          "Symbol": "Symbol"
        }
      }
    ]
  }
}
Sample response:
Schema (JSON) for class UpdateResult:
{
"title": "UpdateResult",
"definitions": {
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"Kod": {
"type": "string"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "TestMode": false,
  "ID": 1,
  "Kod": "Kod",
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WCF.ZAIKS

Method name: ZamknijRaport

URL: https://{{baseAddress}}/api/HandelZAIKS_WebAPI/ZamknijRaport

HTTP method: POST

Params type: GetZamknijRaportParams

Result type: UpdateResult

Description: Zamknięcie raportu

Comment: Zamknięcie raportu ewidencji ŚP

Sample request for object GetZamknijRaportParams. Replace placeholders with real values.

Schema (JSON) for class GetZamknijRaportParams:
{
"title": "GetZamknijRaportParams",
"definitions": {
"CurrencyDTO": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"Symbol": {
"type": "string"
}
},
"required": [
"Value",
"Symbol"
]
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
}
},
"type": "object",
"properties": {
"SymbolRachunkuBankowego": {
"type": "string"
},
"Data": {
"$ref": "#/definitions/DataDTO"
},
"SumaPrzychodowCy": {
"$ref": "#/definitions/CurrencyDTO"
},
"SumaRozchodowCy": {
"$ref": "#/definitions/CurrencyDTO"
}
}
}
Sample JSON file:
{
  "TestMode": false,
  "SymbolRachunkuBankowego": "SymbolRachunkuBankowego",
  "Data": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  },
  "SumaPrzychodowCy": {
    "Value": 1.0,
    "Symbol": "Symbol"
  },
  "SumaRozchodowCy": {
    "Value": 1.0,
    "Symbol": "Symbol"
  }
}
Sample response:
Schema (JSON) for class UpdateResult:
{
"title": "UpdateResult",
"definitions": {
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"Kod": {
"type": "string"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "TestMode": false,
  "ID": 1,
  "Kod": "Kod",
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WCF.ZAIKS

Method name: DodajRozliczenie

URL: https://{{baseAddress}}/api/HandelZAIKS_WebAPI/DodajRozliczenie

HTTP method: POST

Params type: GetDodajRozliczenieParams

Result type: UpdateResult

Description: Dodanie rozliczenia

Comment: Dodanie rozliczenia do wskazanej zapłaty w danym rachunku bankowym

Sample request for object GetDodajRozliczenieParams. Replace placeholders with real values.

Schema (JSON) for class GetDodajRozliczenieParams:
{
"title": "GetDodajRozliczenieParams",
"definitions": {
"CurrencyDTO": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"Symbol": {
"type": "string"
}
},
"required": [
"Value",
"Symbol"
]
},
"DaneRozliczeniaDTO": {
"type": "object",
"properties": {
"NumerDokumentuRozliczanego": {
"type": "string"
},
"KwotaDoRozliczeniaCy": {
"$ref": "#/definitions/CurrencyDTO"
}
}
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"RozliczeniaDTO": {
"type": "object",
"properties": {
"Rozliczenia": {
"type": "array",
"items": {
"$ref": "#/definitions/DaneRozliczeniaDTO"
}
}
}
}
},
"type": "object",
"properties": {
"SymbolRachunkuBankowgo": {
"type": "string"
},
"Data": {
"$ref": "#/definitions/DataDTO"
},
"Lp": {
"type": "integer"
},
"Rozliczenia": {
"$ref": "#/definitions/RozliczeniaDTO"
}
}
}
Sample JSON file:
{
  "TestMode": false,
  "SymbolRachunkuBankowgo": "SymbolRachunkuBankowgo",
  "Data": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  },
  "Lp": 1,
  "Rozliczenia": {
    "Rozliczenia": [
      {
        "NumerDokumentuRozliczanego": "NumerDokumentuRozliczanego",
        "KwotaDoRozliczeniaCy": {
          "Value": 1.0,
          "Symbol": "Symbol"
        }
      }
    ]
  }
}
Sample response:
Schema (JSON) for class UpdateResult:
{
"title": "UpdateResult",
"definitions": {
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"Kod": {
"type": "string"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "TestMode": false,
  "ID": 1,
  "Kod": "Kod",
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WCF.ZAIKS

Method name: EdytujOperacjeBankowa

URL: https://{{baseAddress}}/api/HandelZAIKS_WebAPI/EdytujOperacjeBankowa

HTTP method: POST

Params type: GetEdycjaOperacjiBankowejParams

Result type: UpdateResult

Description: Edycja operacji bankowej

Comment: Edycja operacji bankowej dla wskazanego rachunku bankowego

Sample request for object GetEdycjaOperacjiBankowejParams. Replace placeholders with real values.

Schema (JSON) for class GetEdycjaOperacjiBankowejParams:
{
"title": "GetEdycjaOperacjiBankowejParams",
"definitions": {
"CurrencyDTO": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"Symbol": {
"type": "string"
}
},
"required": [
"Value",
"Symbol"
]
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"OperacjaBankowaDTO": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"KodKontrahenta": {
"type": "string"
},
"KwotaPrzedZmianaCy": {
"$ref": "#/definitions/CurrencyDTO"
},
"KwotaPoZmianieCy": {
"$ref": "#/definitions/CurrencyDTO"
},
"PodlegaRozliczeniu": {
"type": "boolean"
}
}
}
},
"type": "object",
"properties": {
"SymbolRachunkuBankowgo": {
"type": "string"
},
"Data": {
"$ref": "#/definitions/DataDTO"
},
"OperacjaBankowa": {
"$ref": "#/definitions/OperacjaBankowaDTO"
}
}
}
Sample JSON file:
{
  "TestMode": false,
  "SymbolRachunkuBankowgo": "SymbolRachunkuBankowgo",
  "Data": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  },
  "OperacjaBankowa": {
    "Lp": 1,
    "KodKontrahenta": "KodKontrahenta",
    "KwotaPrzedZmianaCy": {
      "Value": 1.0,
      "Symbol": "Symbol"
    },
    "KwotaPoZmianieCy": {
      "Value": 1.0,
      "Symbol": "Symbol"
    },
    "PodlegaRozliczeniu": false
  }
}
Sample response:
Schema (JSON) for class UpdateResult:
{
"title": "UpdateResult",
"definitions": {
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"Kod": {
"type": "string"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "TestMode": false,
  "ID": 1,
  "Kod": "Kod",
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WCF.ZAIKS

Method name: ZwrocObrotyWgKonta

URL: https://{{baseAddress}}/api/HandelZAIKS_WebAPI/ZwrocObrotyWgKonta

HTTP method: POST

Params type: GetObrotyWgKontaParams

Result type: DataResponse<ObrotyKontaDTO>

Description: Odczyt obrotów wg wskazanego konta

Comment: Odzyt obrotów wg wskazanego konta za wybrany okres

Sample request for object GetObrotyWgKontaParams. Replace placeholders with real values.

Schema (JSON) for class GetObrotyWgKontaParams:
{
"title": "GetObrotyWgKontaParams",
"definitions": {
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
}
},
"type": "object",
"properties": {
"Konto": {
"type": "string"
},
"OkresObrachunkowy": {
"type": "string"
},
"DataOd": {
"$ref": "#/definitions/DataDTO"
},
"DataDo": {
"$ref": "#/definitions/DataDTO"
}
}
}
Sample JSON file:
{
  "TestMode": false,
  "Konto": "Konto",
  "OkresObrachunkowy": "OkresObrachunkowy",
  "DataOd": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  },
  "DataDo": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  }
}
Sample response:
Schema (JSON) for class DataResponse<ObrotyKontaDTO>:
{
"title": "DataResponse`1",
"definitions": {
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"ObrotyKontaDTO": {
"type": "object",
"properties": {
"CzasWyliczeniaMs": {
"type": "number"
},
"Info": {
"type": "string"
},
"LiczbaKont": {
"type": "integer"
},
"ObrotySalda": {
"$ref": "#/definitions/ObrotySaldaDTO"
}
}
},
"ObrotySaldaDTO": {
"type": "object",
"properties": {
"SaldoBOWn": {
"type": "number"
},
"SaldoBOMa": {
"type": "number"
},
"ObrotyWN": {
"type": "number"
},
"ObrotyMA": {
"type": "number"
},
"SaldoWN": {
"type": "number"
},
"SaldoMA": {
"type": "number"
},
"PerSaldo": {
"type": "number"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"Data": {
"$ref": "#/definitions/ObrotyKontaDTO"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "TestMode": false,
  "Data": {
    "CzasWyliczeniaMs": 1.0,
    "Info": "Info",
    "LiczbaKont": 1,
    "ObrotySalda": {
      "SaldoBOWn": 1.0,
      "SaldoBOMa": 1.0,
      "ObrotyWN": 1.0,
      "ObrotyMA": 1.0,
      "SaldoWN": 1.0,
      "SaldoMA": 1.0,
      "PerSaldo": 1.0
    }
  },
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WCF.ZAIKS

Method name: ZwrocTelefonWgKontaPP

URL: https://{{baseAddress}}/api/HandelZAIKS_WebAPI/ZwrocTelefonWgKontaPP

HTTP method: POST

Params type: GetWebUserParams

Result type: DataResponse<WebUserDTO>

Description: Odzyt telefonu pracownika

Comment: Metoda zwraca numer telefonu wg podanego konta AD w pulpitach pracownika

Sample request for object GetWebUserParams. Replace placeholders with real values.

Schema (JSON) for class GetWebUserParams:
{
"title": "GetWebUserParams",
"type": "object",
"properties": {
"NazwaKonta": {
"type": "string"
}
}
}
Sample JSON file:
{
  "TestMode": false,
  "NazwaKonta": "NazwaKonta"
}
Sample response:
Schema (JSON) for class DataResponse<WebUserDTO>:
{
"title": "DataResponse`1",
"definitions": {
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
},
"WebUserDTO": {
"type": "object",
"properties": {
"Konto": {
"type": "string"
},
"Telefon": {
"type": "string"
},
"Locked": {
"type": "boolean"
},
"Error": {
"type": "string"
},
"Typ": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"Data": {
"$ref": "#/definitions/WebUserDTO"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "TestMode": false,
  "Data": {
    "Konto": "Konto",
    "Telefon": "Telefon",
    "Locked": false,
    "Error": "Error",
    "Typ": "Typ"
  },
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WCF.ZAIKS

Method name: DodajLokalizacje

URL: https://{{baseAddress}}/api/HandelZAIKS_WebAPI/DodajLokalizacje

HTTP method: POST

Params type: LokalizacjaDTO

Result type: UpdateResult

Description: Dodawanie obiektu lokalizacji

Comment: Metoda dodaje lub aktualizuje obiekt lokalizacji.

Sample request for object LokalizacjaDTO. Replace placeholders with real values.

Schema (JSON) for class LokalizacjaDTO:
{
"title": "LokalizacjaDTO",
"definitions": {
"AdresDTO": {
"type": "object",
"properties": {
"Ulica": {
"type": "string"
},
"NrDomu": {
"type": "string"
},
"NrLokalu": {
"type": "string"
},
"KodPocztowyS": {
"type": "string"
},
"Miejscowosc": {
"type": "string"
},
"Poczta": {
"type": "string"
},
"Gmina": {
"type": "string"
},
"Powiat": {
"type": "string"
},
"Wojewodztwo": {
"type": "string",
"enum": [
"nieokreślone",
"dolnośląskie",
"kujawsko_pomorskie",
"lubelskie",
"lubuskie",
"łódzkie",
"małopolskie",
"mazowieckie",
"opolskie",
"podkarpackie",
"podlaskie",
"pomorskie",
"śląskie",
"świętokrzyskie",
"warmińsko_mazurskie",
"wielkopolskie",
"zachodniopomorskie"
]
},
"KodKraju": {
"type": "string"
},
"Telefon": {
"type": "string"
},
"Faks": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"IDKontrahent": {
"type": "integer"
},
"KodKontrahenta": {
"type": "string"
},
"Kod": {
"type": "string"
},
"Nazwa": {
"type": "string"
},
"Uwagi": {
"type": "string"
},
"Aktywna": {
"type": "boolean"
},
"Adres": {
"$ref": "#/definitions/AdresDTO"
},
"Email": {
"type": "string"
}
}
}
Sample JSON file:
{
  "TestMode": false,
  "ID": 1,
  "IDKontrahent": 1,
  "KodKontrahenta": "KodKontrahenta",
  "Kod": "Kod",
  "Nazwa": "Nazwa",
  "Uwagi": "Uwagi",
  "Aktywna": false,
  "Adres": {
    "Ulica": "Ulica",
    "NrDomu": "1",
    "NrLokalu": "2",
    "KodPocztowyS": "00-000",
    "Miejscowosc": "Miejscowosc",
    "Poczta": "Poczta",
    "Gmina": "Gmina",
    "Powiat": "Powiat",
    "Wojewodztwo": "nieokreślone",
    "KodKraju": "PL",
    "Telefon": "Telefon",
    "Faks": "Faks"
  },
  "Email": "Email"
}
Sample response:
Schema (JSON) for class UpdateResult:
{
"title": "UpdateResult",
"definitions": {
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"Kod": {
"type": "string"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "TestMode": false,
  "ID": 1,
  "Kod": "Kod",
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WCF.ZAIKS

Method name: InsertWezwaniaDoZaplaty

URL: https://{{baseAddress}}/api/HandelZAIKS_WebAPI/InsertWezwaniaDoZaplaty

HTTP method: POST

Params type: WezwanieDoZaplatyDTO

Result type: DataResponse<List<WezwanieDoZaplatyResponse>>

Description: Dodanie wezwań do zapłaty

Comment: Metoda dodaje wezwania do zapłaty na podstawie listy faktur. Dodatkowo weryfikuje należność per faktura

Sample request for object WezwanieDoZaplatyDTO. Replace placeholders with real values.

Schema (JSON) for class WezwanieDoZaplatyDTO:
{
"title": "WezwanieDoZaplatyDTO",
"definitions": {
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"CurrencyDTO": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"Symbol": {
"type": "string"
}
},
"required": [
"Value",
"Symbol"
]
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DataDTO-1": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name"
]
},
"WezwanieDoZaplatyDokument": {
"type": "object",
"properties": {
"IdDokumentu": {
"type": "integer"
},
"Naleznosc": {
"$ref": "#/definitions/CurrencyDTO"
}
}
},
"WezwanieDoZaplatyOdsetkiDTO": {
"type": "object",
"properties": {
"Rozpoczecie": {
"type": "string",
"enum": [
"NieNaliczaj",
"NieStandardowe",
"WgTerminuPlatnosci",
"Standardowe"
]
},
"OdDnia": {
"type": "integer"
},
"OdsetkiStopa": {
"type": "string",
"enum": [
"Ustawowe",
"Indywidualne",
"Maksymalne",
"UstawoweIndywidualne",
"UstawowePodatkowe",
"Wskazane",
"Handlowe",
"UstawoweHandlowe",
"ZaOpoznienie",
"Podatkowe",
"HandloweMedyczne",
"UstawoweHandloweMedyczne"
]
},
"ProcentOdsetek": {
"type": "number"
}
}
},
"WezwanieDoZaplatyParametryDTO": {
"type": "object",
"properties": {
"KosztWezwania": {
"$ref": "#/definitions/CurrencyDTO"
},
"DataDokumentu": {
"$ref": "#/definitions/DataDTO"
}
}
}
},
"type": "object",
"properties": {
"IdZrodlo": {
"type": "integer"
},
"Guid": {
"type": "string"
},
"Opis": {
"type": "string"
},
"Dokumenty": {
"type": "array",
"items": {
"$ref": "#/definitions/WezwanieDoZaplatyDokument"
}
},
"Parametry": {
"$ref": "#/definitions/WezwanieDoZaplatyParametryDTO"
},
"Odsetki": {
"$ref": "#/definitions/WezwanieDoZaplatyOdsetkiDTO"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Dokumenty"
]
}
Sample JSON file:
{
  "TestMode": false,
  "IdZrodlo": 1,
  "Guid": "2e8c0272-f1a6-4036-92d2-f1061ec5f332",
  "Opis": "Opis",
  "Dokumenty": [
    {
      "IdDokumentu": 1,
      "Naleznosc": {
        "Value": 1.0,
        "Symbol": "Symbol"
      }
    }
  ],
  "Parametry": {
    "KosztWezwania": {
      "Value": 1.0,
      "Symbol": "Symbol"
    },
    "DataDokumentu": {
      "Year": 2025,
      "Month": 12,
      "Day": 18
    }
  },
  "Odsetki": {
    "Rozpoczecie": "NieNaliczaj",
    "OdDnia": 1,
    "OdsetkiStopa": "Ustawowe",
    "ProcentOdsetek": 1.0
  },
  "ID": 1,
  "Features": [
    {
      "Name": "Name",
      "Value": "Value",
      "Type": "Type",
      "UpdateDate": null
    }
  ],
  "Attachments": [
    {
      "ID": 1,
      "Name": "Name",
      "Parent": 1,
      "Description": "Description",
      "IsDefault": false,
      "SendEmail": false,
      "Extension": "Extension",
      "Link": "Link",
      "SubType": "None",
      "Base64": "FjjITIHRf8u6QQ==",
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ]
    }
  ]
}
Sample response:
Schema (JSON) for class DataResponse<List<WezwanieDoZaplatyResponse>>:
{
"title": "DataResponse`1",
"definitions": {
"CurrencyDTO": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"Symbol": {
"type": "string"
}
},
"required": [
"Value",
"Symbol"
]
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
},
"WezwanieDoZaplatyDokumentResponse": {
"type": "object",
"properties": {
"NaleznoscOczekiwana": {
"$ref": "#/definitions/CurrencyDTO"
},
"IdDokumentu": {
"type": "integer"
},
"Naleznosc": {
"$ref": "#/definitions/CurrencyDTO"
}
}
},
"WezwanieDoZaplatyResponse": {
"type": "object",
"properties": {
"IdZrodlo": {
"type": "integer"
},
"ID": {
"type": "integer"
},
"Guid": {
"type": "string"
},
"Numer": {
"type": "string"
},
"Dokumenty": {
"type": "array",
"items": {
"$ref": "#/definitions/WezwanieDoZaplatyDokumentResponse"
}
},
"KodOdpowiedzi": {
"type": "string",
"enum": [
"PoprawnieDodano",
"BladNaleznosci"
]
}
}
}
},
"type": "object",
"properties": {
"Data": {
"type": "array",
"items": {
"$ref": "#/definitions/WezwanieDoZaplatyResponse"
}
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "TestMode": false,
  "Data": [
    {
      "IdZrodlo": 1,
      "ID": 1,
      "Guid": "15acb90b-cf9d-4716-9cbc-32a3fdda9a14",
      "Numer": "Numer",
      "Dokumenty": [
        {
          "NaleznoscOczekiwana": {
            "Value": 1.0,
            "Symbol": "Symbol"
          },
          "IdDokumentu": 1,
          "Naleznosc": {
            "Value": 1.0,
            "Symbol": "Symbol"
          }
        }
      ],
      "KodOdpowiedzi": "PoprawnieDodano"
    }
  ],
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WCF.ZAIKS

Method name: UpdateDokEwidencji

URL: https://{{baseAddress}}/api/HandelZAIKS_WebAPI/UpdateDokEwidencji

HTTP method: POST

Params type: DokEwidencjiDTO

Result type: UpdateResult

Description: Aktualizacja dokumentu ewidencji

Comment: Metoda aktualizuje obiekt dokument ewidencji.

Sample request for object DokEwidencjiDTO. Replace placeholders with real values.

Schema (JSON) for class DokEwidencjiDTO:
{
"title": "DokEwidencjiDTO",
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"Guid": {
"type": "string"
},
"NumerDokumentu": {
"type": "string"
}
}
}
Sample JSON file:
{
  "TestMode": false,
  "ID": 1,
  "Guid": "575c507c-3c61-4a93-ab27-3f669a29923d",
  "NumerDokumentu": "NumerDokumentu"
}
Sample response:
Schema (JSON) for class UpdateResult:
{
"title": "UpdateResult",
"definitions": {
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"Kod": {
"type": "string"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "TestMode": false,
  "ID": 1,
  "Kod": "Kod",
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WCF.ZAIKS

Method name: GetKsefInfo

URL: https://{{baseAddress}}/api/HandelZAIKS_WebAPI/GetKsefInfo

HTTP method: POST

Params type: GetKsefInfoParams

Result type: DataResponse<List<KSeFInfoDTO>>

Description: Pobieranie informacji na temat statusu ksef

Comment: Pobieranie informacji na temat statusu ksef dokumentów handlowych.

Sample request for object GetKsefInfoParams. Replace placeholders with real values.

Schema (JSON) for class GetKsefInfoParams:
{
"title": "GetKsefInfoParams",
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"IDs": {
"type": "array",
"items": {
"type": "integer"
}
},
"NumeDokumentu": {
"type": "string"
}
}
}
Sample JSON file:
{
  "ID": 1,
  "IDs": [
    1
  ],
  "NumeDokumentu": "NumeDokumentu"
}
Sample response:
Schema (JSON) for class DataResponse<List<KSeFInfoDTO>>:
{
"title": "DataResponse`1",
"definitions": {
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"KSeFInfoDTO": {
"type": "object",
"properties": {
"IDDokumentu": {
"type": "integer"
},
"NumerDokumentu": {
"type": "string"
},
"PosiadaKsef": {
"type": "boolean"
},
"DataSprzedazy": {
"$ref": "#/definitions/DataDTO"
},
"DataWystawienie": {
"$ref": "#/definitions/DataDTO"
},
"StatusKsef": {
"type": "string",
"enum": [
"NieDotyczy",
"Brak",
"DoWyslania",
"Wyslany",
"Robocze",
"Przyjety",
"Razem"
]
},
"DataKsef": {
"$ref": "#/definitions/DataDTO"
},
"NumerKsef": {
"type": "string"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"Data": {
"type": "array",
"items": {
"$ref": "#/definitions/KSeFInfoDTO"
}
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "Data": [
    {
      "IDDokumentu": 1,
      "NumerDokumentu": "NumerDokumentu",
      "PosiadaKsef": false,
      "DataSprzedazy": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "DataWystawienie": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "StatusKsef": "NieDotyczy",
      "DataKsef": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "NumerKsef": "NumerKsef"
    }
  ],
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WCF.ZAIKS

Method name: GetObliczeniaDelegancji

URL: https://{{baseAddress}}/api/HandelZAIKS_WebAPI/GetObliczeniaDelegancji

HTTP method: POST

Params type: GetObliczeniaDelegancjiParams

Result type: DataResponse<ObliczeniaDelegacjiDTO>

Description: Odczyt obliczeń delegancji

Comment: Metoda zwraca obliczenia delegacji

Sample request for object GetObliczeniaDelegancjiParams. Replace placeholders with real values.

Schema (JSON) for class GetObliczeniaDelegancjiParams:
{
"title": "GetObliczeniaDelegancjiParams",
"definitions": {
"CurrencyDTO": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"Symbol": {
"type": "string"
}
},
"required": [
"Value",
"Symbol"
]
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"Posilki": {
"type": "object",
"properties": {
"Sniadanie": {
"type": "integer"
},
"Obiad": {
"type": "integer"
},
"Kolacja": {
"type": "integer"
}
}
}
},
"type": "object",
"properties": {
"KodKontrahenta": {
"type": "string"
},
"Kraj": {
"type": "string"
},
"DataWyjazdu": {
"$ref": "#/definitions/DataDTO"
},
"GodzinaWyjazdu": {
"type": "string"
},
"DataPowrotu": {
"$ref": "#/definitions/DataDTO"
},
"GodzinaPowrotu": {
"type": "string"
},
"WyzywieniePelne": {
"type": "boolean"
},
"Posilki": {
"$ref": "#/definitions/Posilki"
},
"Ekwiwalent": {
"$ref": "#/definitions/CurrencyDTO"
},
"LiczbaDniWSzpitalu": {
"type": "integer"
},
"RyczałtDojazdDoDworca": {
"type": "string",
"enum": [
"Nie",
"Polowa",
"Tak"
]
},
"RodzajPojazdu": {
"type": "string",
"enum": [
"Motocykl",
"SamochodDo900cm",
"SamochodPonad900cm",
"Motorower"
]
},
"DlugoscTrasyKm": {
"type": "number"
}
}
}
Sample JSON file:
{
  "KodKontrahenta": "KodKontrahenta",
  "Kraj": "Polska",
  "DataWyjazdu": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  },
  "GodzinaWyjazdu": "GodzinaWyjazdu",
  "DataPowrotu": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  },
  "GodzinaPowrotu": "GodzinaPowrotu",
  "WyzywieniePelne": false,
  "Posilki": {
    "Sniadanie": 1,
    "Obiad": 1,
    "Kolacja": 1
  },
  "Ekwiwalent": {
    "Value": 1.0,
    "Symbol": "Symbol"
  },
  "LiczbaDniWSzpitalu": 1,
  "RyczałtDojazdDoDworca": "Nie",
  "RodzajPojazdu": "Motocykl",
  "DlugoscTrasyKm": 1.0
}
Sample response:
Schema (JSON) for class DataResponse<ObliczeniaDelegacjiDTO>:
{
"title": "DataResponse`1",
"definitions": {
"CurrencyDTO": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"Symbol": {
"type": "string"
}
},
"required": [
"Value",
"Symbol"
]
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"ObliczeniaDelegacjiDTO": {
"type": "object",
"properties": {
"CzasTrwaniaDelegacjiGodziny": {
"type": "string"
},
"IloscDietNalezna": {
"type": "number"
},
"IloscDietZapewnionych": {
"type": "number"
},
"IloscDietDoRozliczenia": {
"type": "number"
},
"StawkaDiety": {
"$ref": "#/definitions/CurrencyDTO"
},
"WyplaconyEkwiwalent": {
"$ref": "#/definitions/CurrencyDTO"
},
"RozliczenieDiety": {
"$ref": "#/definitions/CurrencyDTO"
},
"KomunikacjaMiejska": {
"type": "boolean"
},
"RyczaltKomunikacjaMiejska": {
"$ref": "#/definitions/CurrencyDTO"
},
"RyczaltDojazdDoDworca": {
"$ref": "#/definitions/CurrencyDTO"
},
"IloscNoclegow": {
"type": "integer"
},
"LimitNoclegWartosc": {
"type": "number"
},
"LimitNoclegSymbol": {
"type": "string"
},
"NaliczenieKoncowe": {
"$ref": "#/definitions/CurrencyDTO"
},
"KwotaKilometrowki": {
"$ref": "#/definitions/CurrencyDTO"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"Data": {
"$ref": "#/definitions/ObliczeniaDelegacjiDTO"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "Data": {
    "CzasTrwaniaDelegacjiGodziny": "CzasTrwaniaDelegacjiGodziny",
    "IloscDietNalezna": 1.0,
    "IloscDietZapewnionych": 1.0,
    "IloscDietDoRozliczenia": 1.0,
    "StawkaDiety": {
      "Value": 1.0,
      "Symbol": "Symbol"
    },
    "WyplaconyEkwiwalent": {
      "Value": 1.0,
      "Symbol": "Symbol"
    },
    "RozliczenieDiety": {
      "Value": 1.0,
      "Symbol": "Symbol"
    },
    "KomunikacjaMiejska": false,
    "RyczaltKomunikacjaMiejska": {
      "Value": 1.0,
      "Symbol": "Symbol"
    },
    "RyczaltDojazdDoDworca": {
      "Value": 1.0,
      "Symbol": "Symbol"
    },
    "IloscNoclegow": 1,
    "LimitNoclegWartosc": 1.0,
    "LimitNoclegSymbol": "LimitNoclegSymbol",
    "NaliczenieKoncowe": {
      "Value": 1.0,
      "Symbol": "Symbol"
    },
    "KwotaKilometrowki": {
      "Value": 1.0,
      "Symbol": "Symbol"
    }
  },
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WCF.ZAIKS

Method name: InsertRozliczenieDelegacji

URL: https://{{baseAddress}}/api/HandelZAIKS_WebAPI/InsertRozliczenieDelegacji

HTTP method: POST

Params type: RozliczenieDelegacjiDTO

Result type: UpdateResult

Description: Odczyt obliczeń delegancji

Comment: Metoda zwraca obliczenia delegacji

Sample request for object RozliczenieDelegacjiDTO. Replace placeholders with real values.

Schema (JSON) for class RozliczenieDelegacjiDTO:
{
"title": "RozliczenieDelegacjiDTO",
"definitions": {
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"CurrencyDTO": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"Symbol": {
"type": "string"
}
},
"required": [
"Value",
"Symbol"
]
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DataDTO-1": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name"
]
}
},
"type": "object",
"properties": {
"DefinicjaDokumentu": {
"type": "string"
},
"DataDokumentu": {
"$ref": "#/definitions/DataDTO"
},
"NumerDrukumentu": {
"type": "string"
},
"KodKontrahenta": {
"type": "string"
},
"Opis": {
"type": "string"
},
"RyczaltDojazdy": {
"$ref": "#/definitions/CurrencyDTO"
},
"Diety": {
"$ref": "#/definitions/CurrencyDTO"
},
"RyczaltNoclegi": {
"$ref": "#/definitions/CurrencyDTO"
},
"RachunekNazwa": {
"type": "string"
},
"CechaNumerEOD": {
"type": "string"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
}
}
Sample JSON file:
{
  "TestMode": false,
  "DefinicjaDokumentu": "DefinicjaDokumentu",
  "DataDokumentu": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  },
  "NumerDrukumentu": "NumerDrukumentu",
  "KodKontrahenta": "KodKontrahenta",
  "Opis": "Opis",
  "RyczaltDojazdy": {
    "Value": 1.0,
    "Symbol": "Symbol"
  },
  "Diety": {
    "Value": 1.0,
    "Symbol": "Symbol"
  },
  "RyczaltNoclegi": {
    "Value": 1.0,
    "Symbol": "Symbol"
  },
  "RachunekNazwa": "RachunekNazwa",
  "CechaNumerEOD": "CechaNumerEOD",
  "ID": 1,
  "Features": [
    {
      "Name": "Name",
      "Value": "Value",
      "Type": "Type",
      "UpdateDate": null
    }
  ],
  "Attachments": [
    {
      "ID": 1,
      "Name": "Name",
      "Parent": 1,
      "Description": "Description",
      "IsDefault": false,
      "SendEmail": false,
      "Extension": "Extension",
      "Link": "Link",
      "SubType": "None",
      "Base64": "tufh9t0ok1C7kQ==",
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ]
    }
  ]
}
Sample response:
Schema (JSON) for class UpdateResult:
{
"title": "UpdateResult",
"definitions": {
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"Kod": {
"type": "string"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "TestMode": false,
  "ID": 1,
  "Kod": "Kod",
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WCF.ZAIKS

Method name: GetStawkiDelegacji

URL: https://{{baseAddress}}/api/HandelZAIKS_WebAPI/GetStawkiDelegacji

HTTP method: POST

Params type: GetStawkiDelegacjiParams

Result type: DataResponse<List<StawkaDelegacjiDTO>>

Description: Pobranie stawek delegacji

Comment: Metoda zwraca stawki delegacji

Sample request for object GetStawkiDelegacjiParams. Replace placeholders with real values.

Schema (JSON) for class GetStawkiDelegacjiParams:
{
"title": "GetStawkiDelegacjiParams",
"type": "object"
}
Sample JSON file:
{}
Sample response:
Schema (JSON) for class DataResponse<List<StawkaDelegacjiDTO>>:
{
"title": "DataResponse`1",
"definitions": {
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"StawkaDelegacjiDTO": {
"type": "object",
"properties": {
"KodKraju": {
"type": "string"
},
"Kraj": {
"type": "string"
},
"AktualnoscFrom": {
"$ref": "#/definitions/DataDTO"
},
"AktualnoscTo": {
"$ref": "#/definitions/DataDTO"
},
"DietaValue": {
"type": "number"
},
"DietaSymbol": {
"type": "string"
},
"LimitNoclegValue": {
"type": "number"
},
"LimitNoclegSymbol": {
"type": "string"
},
"SposobOpodatkowania": {
"type": "string",
"enum": [
"NieDotyczy",
"ZasadaProgresji",
"ZasadaProporcjonalności"
]
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"Data": {
"type": "array",
"items": {
"$ref": "#/definitions/StawkaDelegacjiDTO"
}
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "Data": [
    {
      "KodKraju": "PL",
      "Kraj": "Polska",
      "AktualnoscFrom": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "AktualnoscTo": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "DietaValue": 1.0,
      "DietaSymbol": "DietaSymbol",
      "LimitNoclegValue": 1.0,
      "LimitNoclegSymbol": "LimitNoclegSymbol",
      "SposobOpodatkowania": "NieDotyczy"
    }
  ],
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WCF.ZAIKS


AltOne.WebAPI.KsiegowanieListPlac

Assembly name: AltOne.WebAPI.KsiegowanieListPlac
Version: 2510.1.1-0.1.0.0,
Last modified: 4.12.2025 13:30:42

List of available methods:

Interface: IKsiegowanieListPlac

Method descriptions and usage examples:

Method name: GetStanyPlatnosci

URL: https://{{baseAddress}}/api/KsiegowanieListPlacWebAPI2/GetStanyPlatnosci

HTTP method: POST

Params type: GetStanyPlatnosciParams

Result type: DataResponse<List<StanPlatnosciDto>>

Description: Reading payment statuses / Odczyt stanu płatności

Comment: Reading payment statuses for modified documents. Only one key (indicated ID or collection) SourceID from the GetRecordsChange method of the DataExchangeTable module should be provided. / Odczyt stanu płatności dla zmienionych dokumentów. Należy podać tylko jeden z kluczy (wskazane ID lub kolekcje) SourceID odczytanej poprzez metodę GetRecordsChange modułu DataExchangeTable.

Sample request for object GetStanyPlatnosciParams. Replace placeholders with real values.

Schema (JSON) for class GetStanyPlatnosciParams:
{
"title": "GetStanyPlatnosciParams",
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"IDs": {
"type": "array",
"items": {
"type": "integer"
}
},
"IDsWgDokEwidencji": {
"type": "array",
"items": {
"type": "integer"
}
}
}
}
Sample JSON file:
{
  "ID": 1,
  "IDs": [
    1
  ],
  "IDsWgDokEwidencji": [
    1
  ]
}
Sample response:
Schema (JSON) for class DataResponse<List<StanPlatnosciDto>>:
{
"title": "DataResponse`1",
"definitions": {
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"CurrencyDTO": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"Symbol": {
"type": "string"
}
},
"required": [
"Value",
"Symbol"
]
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DataDTO-1": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name"
]
},
"PodmiotDto": {
"type": "object",
"properties": {
"TypPodmiotu": {
"type": "string",
"enum": [
"NieOkreślony",
"Kontrahent",
"Bank",
"UrzadSkarbowy",
"ZUS",
"Pracownik",
"UrządCelny",
"PFRON",
"PodmiotTransferowyPPK",
"KAS"
]
},
"ID": {
"type": "integer"
},
"Kod": {
"type": "string"
},
"Guid": {
"type": "string"
},
"ExternalID": {
"type": "string"
},
"EuVAT": {
"type": "string"
},
"Miejscowosc": {
"type": "string"
}
}
},
"StanPlatnosciDto": {
"type": "object",
"properties": {
"IDDokumentu": {
"type": "integer"
},
"GuidPlatnosci": {
"type": "string"
},
"DoRozliczenia": {
"$ref": "#/definitions/CurrencyDTO"
},
"KwotaRozliczona": {
"$ref": "#/definitions/CurrencyDTO"
},
"DataRozliczenia": {
"$ref": "#/definitions/DataDTO"
},
"StanRozliczenia": {
"type": "string",
"enum": [
"Nierozliczony",
"Czesciowo",
"Calkowicie",
"NiePodlega"
]
},
"Guid": {
"type": "string"
},
"Podmiot": {
"$ref": "#/definitions/PodmiotDto"
},
"EwidencjaSP": {
"type": "string"
},
"SposobZaplaty": {
"type": "string"
},
"Rachunek26": {
"type": "string"
},
"Opis": {
"type": "string"
},
"Termin": {
"$ref": "#/definitions/DataDTO"
},
"TerminDni": {
"type": "integer"
},
"Kwota": {
"$ref": "#/definitions/CurrencyDTO"
},
"Priorytet": {
"type": "integer"
},
"KwotaMPP": {
"$ref": "#/definitions/CurrencyDTO"
},
"Kurs": {
"type": "number"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"Data": {
"type": "array",
"items": {
"$ref": "#/definitions/StanPlatnosciDto"
}
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "Data": [
    {
      "IDDokumentu": 1,
      "GuidPlatnosci": "GuidPlatnosci",
      "DoRozliczenia": {
        "Value": 1.0,
        "Symbol": "Symbol"
      },
      "KwotaRozliczona": {
        "Value": 1.0,
        "Symbol": "Symbol"
      },
      "DataRozliczenia": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "StanRozliczenia": "Nierozliczony",
      "Guid": "c8d3e652-59fa-4ba5-8ded-6137462d9155",
      "Podmiot": {
        "TypPodmiotu": "NieOkreślony",
        "ID": 1,
        "Kod": "Kod",
        "Guid": "de896b80-d183-4acc-ad2c-56c321ab3c70",
        "ExternalID": "ExternalID",
        "EuVAT": "EuVAT",
        "Miejscowosc": "Miejscowosc"
      },
      "EwidencjaSP": "EwidencjaSP",
      "SposobZaplaty": "SposobZaplaty",
      "Rachunek26": "Rachunek26",
      "Opis": "Opis",
      "Termin": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "TerminDni": 1,
      "Kwota": {
        "Value": 1.0,
        "Symbol": "Symbol"
      },
      "Priorytet": 1,
      "KwotaMPP": {
        "Value": 1.0,
        "Symbol": "Symbol"
      },
      "Kurs": 1.0,
      "ID": 1,
      "AttachmentsCount": 1,
      "TableName": "TableName",
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "TableName": "TableName",
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "aEIhiqqgHXQapQ==",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebAPI.KsiegowanieListPlac

Method name: GetDekrety

URL: https://{{baseAddress}}/api/KsiegowanieListPlacWebAPI2/GetDekrety

HTTP method: POST

Params type: GetDekretyParams

Result type: DataResponse<DokumentEwidenjciBaseDTO>

Description: Fetch postings for an evidence document / Pobieranie dekretów dla dokumentu ewidencji

Comment: Retrieve accounting postings (dekret entries) for the specified evidence document identified by ID. The response contains document metadata and a collection of postings with journal entries. / Pobierz dekretacje (zapisy księgowe) dla wskazanego dokumentu ewidencji identyfikowanego przez ID. Odpowiedź zawiera metadane dokumentu oraz kolekcję dekretów z zapisami księgowymi.

Sample request for object GetDekretyParams. Replace placeholders with real values.

Schema (JSON) for class GetDekretyParams:
{
"title": "GetDekretyParams",
"type": "object",
"properties": {
"ID": {
"type": "integer"
}
}
}
Sample JSON file:
{
  "ID": 1
}
Sample response:
Schema (JSON) for class DataResponse<DokumentEwidenjciBaseDTO>:
{
"title": "DataResponse`1",
"definitions": {
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"CurrencyDTO": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"Symbol": {
"type": "string"
}
},
"required": [
"Value",
"Symbol"
]
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DataDTO-1": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DekretDTO": {
"type": "object",
"properties": {
"Numer": {
"type": "string"
},
"Data": {
"$ref": "#/definitions/DataDTO"
},
"Opis": {
"type": "string"
},
"WN": {
"$ref": "#/definitions/CurrencyDTO"
},
"MA": {
"$ref": "#/definitions/CurrencyDTO"
},
"ZapisyKsiegowe": {
"type": "array",
"items": {
"$ref": "#/definitions/ZapisKsiegowyDTO"
}
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
}
},
"DokumentEwidenjciBaseDTO": {
"type": "object",
"properties": {
"Definicja": {
"type": "string"
},
"DataWplywu": {
"$ref": "#/definitions/DataDTO"
},
"DataEwidenjci": {
"$ref": "#/definitions/DataDTO"
},
"Numer": {
"type": "string"
},
"Opis": {
"type": "string"
},
"Dekrety": {
"type": "array",
"items": {
"$ref": "#/definitions/DekretDTO"
}
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
}
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name"
]
},
"KontoDTO": {
"type": "object",
"properties": {
"Symbol": {
"type": "string"
},
"Nazwa": {
"type": "string"
},
"Rodzaj2": {
"type": "string",
"enum": [
"Syntetyczne",
"Analityczne"
]
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
},
"ZapisKsiegowyDTO": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Konto": {
"$ref": "#/definitions/KontoDTO"
},
"WN": {
"$ref": "#/definitions/CurrencyDTO"
},
"MA": {
"$ref": "#/definitions/CurrencyDTO"
},
"Opis": {
"type": "string"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
}
}
},
"type": "object",
"properties": {
"Data": {
"$ref": "#/definitions/DokumentEwidenjciBaseDTO"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "Data": {
    "Definicja": "Definicja",
    "DataWplywu": {
      "Year": 2025,
      "Month": 12,
      "Day": 18
    },
    "DataEwidenjci": {
      "Year": 2025,
      "Month": 12,
      "Day": 18
    },
    "Numer": "Numer",
    "Opis": "Opis",
    "Dekrety": [
      {
        "Numer": "Numer",
        "Data": {
          "Year": 2025,
          "Month": 12,
          "Day": 18
        },
        "Opis": "Opis",
        "WN": {
          "Value": 1.0,
          "Symbol": "Symbol"
        },
        "MA": {
          "Value": 1.0,
          "Symbol": "Symbol"
        },
        "ZapisyKsiegowe": [
          {
            "Lp": 1,
            "Konto": {
              "Symbol": "Symbol",
              "Nazwa": "Nazwa",
              "Rodzaj2": "Syntetyczne",
              "ID": 1,
              "AttachmentsCount": 1,
              "TableName": "TableName",
              "Features": [
                {
                  "Name": "Name",
                  "Value": "Value",
                  "Type": "Type",
                  "UpdateDate": null
                }
              ],
              "Attachments": [
                {
                  "ID": 1,
                  "TableName": "TableName",
                  "Name": "Name",
                  "Parent": 1,
                  "Description": "Description",
                  "IsDefault": false,
                  "SendEmail": false,
                  "Extension": "Extension",
                  "Link": "Link",
                  "SubType": "None",
                  "Base64": "BDOmmmTXsgUvMg==",
                  "Features": [
                    {
                      "Name": "Name",
                      "Value": "Value",
                      "Type": "Type",
                      "UpdateDate": null
                    }
                  ]
                }
              ]
            },
            "WN": {
              "Value": 1.0,
              "Symbol": "Symbol"
            },
            "MA": {
              "Value": 1.0,
              "Symbol": "Symbol"
            },
            "Opis": "Opis",
            "ID": 1,
            "AttachmentsCount": 1,
            "TableName": "TableName",
            "Features": [
              {
                "Name": "Name",
                "Value": "Value",
                "Type": "Type",
                "UpdateDate": null
              }
            ],
            "Attachments": [
              {
                "ID": 1,
                "TableName": "TableName",
                "Name": "Name",
                "Parent": 1,
                "Description": "Description",
                "IsDefault": false,
                "SendEmail": false,
                "Extension": "Extension",
                "Link": "Link",
                "SubType": "None",
                "Base64": "1N3Rt74hZJIthw==",
                "Features": [
                  {
                    "Name": "Name",
                    "Value": "Value",
                    "Type": "Type",
                    "UpdateDate": null
                  }
                ]
              }
            ]
          }
        ],
        "ID": 1,
        "AttachmentsCount": 1,
        "TableName": "TableName",
        "Features": [
          {
            "Name": "Name",
            "Value": "Value",
            "Type": "Type",
            "UpdateDate": null
          }
        ],
        "Attachments": [
          {
            "ID": 1,
            "TableName": "TableName",
            "Name": "Name",
            "Parent": 1,
            "Description": "Description",
            "IsDefault": false,
            "SendEmail": false,
            "Extension": "Extension",
            "Link": "Link",
            "SubType": "None",
            "Base64": "R/iCo/sVNWvahA==",
            "Features": [
              {
                "Name": "Name",
                "Value": "Value",
                "Type": "Type",
                "UpdateDate": null
              }
            ]
          }
        ]
      }
    ],
    "ID": 1,
    "AttachmentsCount": 1,
    "TableName": "TableName",
    "Features": [
      {
        "Name": "Name",
        "Value": "Value",
        "Type": "Type",
        "UpdateDate": null
      }
    ],
    "Attachments": [
      {
        "ID": 1,
        "TableName": "TableName",
        "Name": "Name",
        "Parent": 1,
        "Description": "Description",
        "IsDefault": false,
        "SendEmail": false,
        "Extension": "Extension",
        "Link": "Link",
        "SubType": "None",
        "Base64": "H29LdesdBL2aqA==",
        "Features": [
          {
            "Name": "Name",
            "Value": "Value",
            "Type": "Type",
            "UpdateDate": null
          }
        ]
      }
    ]
  },
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebAPI.KsiegowanieListPlac


AltOne.WebAPI.Motivizer

Assembly name: AltOne.WebAPI.Motivizer
Version: 2504.1.1-0.1.1.1+dc59fd3ae6188b52f91f62e1bef1f216048bacd7,
Last modified: 31.10.2025 11:55:42

List of available methods:

Interface: IKadryMotivizer

Method descriptions and usage examples:

Method name: UpsertDodatkiPracownika

URL: https://{{baseAddress}}/api/empty/UpsertDodatkiPracownika

HTTP method: POST

Params type: List<DodatekPracownikaDTO>

Result type: UpdateResult

Description: Dodanie lub aktualizacja dodatków pracownika

Comment: Dodanie dodatków lub ich aktualizacja na obiekcie pracownika. Aby w przyszłości móc edytować dodatek przez webapi konieczne uzupełnienie unikalnego pola Guid (32 znakowego) aby mieć późniejszy uchwyt do danego dodatku.

Sample request for object List`1. Replace placeholders with real values.

Schema (JSON) for class List<DodatekPracownikaDTO>:
{
"title": "List`1",
"definitions": {
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"CurrencyDTO": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"Symbol": {
"type": "string"
}
},
"required": [
"Value",
"Symbol"
]
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DataDTO-1": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DodatekPracownikaDTO": {
"type": "object",
"properties": {
"ZrodloDodatku": {
"type": "string",
"enum": [
"Pracownik",
"Umowa"
]
},
"IdZrodla": {
"type": "integer"
},
"Guid": {
"type": "string"
},
"DataAktualnosci": {
"$ref": "#/definitions/DataDTO"
},
"OkresOd": {
"$ref": "#/definitions/DataDTO"
},
"OkresDo": {
"$ref": "#/definitions/DataDTO-1"
},
"CzyAktualizowac": {
"type": "boolean"
},
"IdDefinicjiDodatku": {
"type": "integer"
},
"Nazwa": {
"type": "string"
},
"Parametry": {
"$ref": "#/definitions/ParametryDodatkuDTO"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"ZrodloDodatku",
"IdZrodla",
"DataAktualnosci",
"OkresOd",
"OkresDo",
"CzyAktualizowac",
"IdDefinicjiDodatku"
]
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name"
]
},
"FractionDTO": {
"type": "object",
"properties": {
"Num": {
"type": "integer"
},
"Den": {
"type": "integer"
}
},
"required": [
"Num",
"Den"
]
},
"ParametryDodatkuDTO": {
"type": "object",
"properties": {
"Podstawa": {
"$ref": "#/definitions/CurrencyDTO"
},
"Procent": {
"type": "number"
},
"Wspolczynnik": {
"type": "number"
},
"Czas": {
"type": "string"
},
"Dni": {
"type": "integer"
},
"Ulamek": {
"$ref": "#/definitions/FractionDTO"
}
}
}
},
"type": "array",
"items": {
"$ref": "#/definitions/DodatekPracownikaDTO"
}
}
Sample JSON file:
[
  {
    "ZrodloDodatku": "Pracownik",
    "IdZrodla": 1,
    "Guid": "47d0a57a-8db2-4d62-a50d-2c5cc2f246e1",
    "DataAktualnosci": {
      "Year": 2025,
      "Month": 12,
      "Day": 18
    },
    "OkresOd": {
      "Year": 2025,
      "Month": 12,
      "Day": 18
    },
    "OkresDo": null,
    "CzyAktualizowac": false,
    "IdDefinicjiDodatku": 1,
    "Nazwa": "Nazwa",
    "Parametry": {
      "Podstawa": {
        "Value": 1.0,
        "Symbol": "Symbol"
      },
      "Procent": 1.0,
      "Wspolczynnik": 1.0,
      "Czas": "8:00",
      "Dni": 1,
      "Ulamek": {
        "Num": 1,
        "Den": 1
      }
    },
    "ID": 1,
    "Features": [
      {
        "Name": "Name",
        "Value": "Value",
        "Type": "Type",
        "UpdateDate": null
      }
    ],
    "Attachments": [
      {
        "ID": 1,
        "Name": "Name",
        "Parent": 1,
        "Description": "Description",
        "IsDefault": false,
        "SendEmail": false,
        "Extension": "Extension",
        "Link": "Link",
        "SubType": "None",
        "Base64": "SxmULGTV0L80EA==",
        "Features": [
          {
            "Name": "Name",
            "Value": "Value",
            "Type": "Type",
            "UpdateDate": null
          }
        ]
      }
    ]
  }
]
Sample response:
Schema (JSON) for class UpdateResult:
{
"title": "UpdateResult",
"definitions": {
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"Kod": {
"type": "string"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "TestMode": false,
  "ID": 1,
  "Kod": "Kod",
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebAPI.Motivizer

Method name: GetPackableKartoteki

URL: https://{{baseAddress}}/api/empty/GetPackableKartoteki

HTTP method: POST

Params type: GetKartotekaPracParams

Result type: PackableDataResponse<KartotekaPracDTO>

Description: Metoda pobierająca listę pracowników wg klucza

Comment: Metoda umożliwia pobranie listy pracowników wg wskazanego klucza

Sample request for object GetKartotekaPracParams. Replace placeholders with real values.

Schema (JSON) for class GetKartotekaPracParams:
{
"title": "GetKartotekaPracParams",
"definitions": {
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"Filter": {
"type": "object",
"properties": {
"LogicalOperator": {
"type": "string",
"enum": [
"And",
"Or"
]
},
"Operator": {
"type": "string",
"enum": [
"Equal",
"NotEqual",
"Like",
"Null"
]
},
"ColumnName": {
"type": "string"
},
"FilterValue": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"Kod": {
"type": "string"
},
"ID": {
"type": "integer"
},
"Guid": {
"type": "string"
},
"CechaExternalID": {
"type": "string"
},
"DataAktualnosci": {
"$ref": "#/definitions/DataDTO"
},
"IDs": {
"type": "array",
"items": {
"type": "integer"
}
},
"LastID": {
"type": "integer"
},
"PacketSize": {
"type": "integer"
},
"Conditions": {
"type": "array",
"items": {
"$ref": "#/definitions/Filter"
}
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
}
}
Sample JSON file:
{
  "Kod": "Kod",
  "ID": 1,
  "Guid": "082b355f-9bc1-40f2-8180-57b391ffc204",
  "CechaExternalID": "CechaExternalID",
  "DataAktualnosci": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  },
  "IDs": [
    1
  ],
  "LastID": 1,
  "PacketSize": 1,
  "Conditions": [
    {
      "LogicalOperator": "And",
      "Operator": "Equal",
      "ColumnName": "ColumnName",
      "FilterValue": "FilterValue"
    }
  ],
  "UpdateDate": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  }
}
Sample response:
Schema (JSON) for class PackableDataResponse<KartotekaPracDTO>:
{
"title": "PackableDataResponse`1",
"definitions": {
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"DataDTO": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"Name"
]
},
"KartotekaPracDTO": {
"type": "object",
"properties": {
"Guid": {
"type": "string"
},
"Kod": {
"type": "string"
},
"NumerAkt": {
"type": "string"
},
"Imie": {
"type": "string"
},
"ImieDrugie": {
"type": "string"
},
"Nazwisko": {
"type": "string"
},
"Email": {
"type": "string"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Imie",
"Nazwisko"
]
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"AllRows": {
"type": "boolean"
},
"LastID": {
"type": "integer"
},
"ToReadRecords": {
"type": "integer"
},
"ReadRecords": {
"type": "integer"
},
"Data": {
"type": "array",
"items": {
"$ref": "#/definitions/KartotekaPracDTO"
}
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"AllRows",
"LastID",
"ReadRecords",
"Success"
]
}
Sample JSON file:
{
  "AllRows": false,
  "LastID": 1,
  "ToReadRecords": 1,
  "ReadRecords": 1,
  "Data": [
    {
      "Guid": "9d043acf-ef9a-4d54-a379-ce6ebf6717d2",
      "Kod": "Kod",
      "NumerAkt": "NumerAkt",
      "Imie": "Imie",
      "ImieDrugie": "ImieDrugie",
      "Nazwisko": "Nazwisko",
      "Email": "Email",
      "ID": 1,
      "AttachmentsCount": 1,
      "TableName": "TableName",
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "TableName": "TableName",
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "lEFA0IgVGGWjkw==",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebAPI.Motivizer

Method name: DeleteDodatekPracownika

URL: https://{{baseAddress}}/api/empty/DeleteDodatekPracownika

HTTP method: POST

Params type: GetDeleteDodatekParams

Result type: UpdateResult

Description: Usunięcie dodatku pracownika

Comment: Metoda umożliwia usunięcie dodatku pracownika. Należy podać Guid dodatku do skasowania

Sample request for object GetDeleteDodatekParams. Replace placeholders with real values.

Schema (JSON) for class GetDeleteDodatekParams:
{
"title": "GetDeleteDodatekParams",
"type": "object",
"properties": {
"Guid": {
"type": "string"
}
},
"required": [
"Guid"
]
}
Sample JSON file:
{
  "TestMode": false,
  "Guid": "4a506619-7523-4786-a98d-e4df32d23222"
}
Sample response:
Schema (JSON) for class UpdateResult:
{
"title": "UpdateResult",
"definitions": {
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"Kod": {
"type": "string"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "TestMode": false,
  "ID": 1,
  "Kod": "Kod",
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebAPI.Motivizer


AltOne.WebAPI.ObslugaCzasuPracy

Assembly name: AltOne.WebAPI.ObslugaCzasuPracy
Version: 2504.1.1-0.1.13.1+727071d232778b9720f92475143ac8f7626251dd,
Last modified: 24.11.2025 08:39:12

List of available methods:

Interface: ICzasPracy

Interface: IWorkTime

Method descriptions and usage examples:

Method name: UpsertDniPlanu

URL: https://{{baseAddress}}/api/CzasPracyWebAPI/UpsertDniPlanu

HTTP method: POST

Params type: List<KalendarzPlanuPracownikaDTO>

Result type: UpdateResult

Description: Dodanie planu czasu pracy do kalendarza pracownika

Comment: Dodanie listy planu czasu pracy do kalendarza na pracowniku. Należy podać Godziny lub Strefy!

Sample request for object List`1. Replace placeholders with real values.

Schema (JSON) for class List<KalendarzPlanuPracownikaDTO>:
{
"title": "List`1",
"definitions": {
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DataDTO-1": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DzienPlanuDTO": {
"type": "object",
"properties": {
"IDPracownika": {
"type": "integer"
},
"KodPracownika": {
"type": "string"
},
"Data": {
"$ref": "#/definitions/DataDTO"
},
"DzienTygodnia": {
"type": "string",
"enum": [
"Sunday",
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday"
]
},
"StatusDnia": {
"type": "string",
"enum": [
"Kalendarz",
"Wyjatek"
]
},
"DefinicjaDnia": {
"type": "string"
},
"Godziny": {
"$ref": "#/definitions/GodzinyDTO"
},
"Strefy": {
"type": "array",
"items": {
"$ref": "#/definitions/StrefaDniaDTO"
}
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Data",
"DefinicjaDnia"
]
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name"
]
},
"GodzinyDTO": {
"type": "object",
"properties": {
"CzasOd": {
"type": [
"string",
"null"
]
},
"CzasOd24": {
"type": "string"
},
"Czas": {
"type": [
"string",
"null"
]
},
"CzasDo": {
"type": [
"string",
"null"
]
},
"CzasDo24": {
"type": "string"
}
},
"required": [
"CzasOd",
"Czas",
"CzasDo"
]
},
"KalendarzPlanuPracownikaDTO": {
"type": "object",
"properties": {
"IDPracownika": {
"type": "integer"
},
"KodPracownika": {
"type": "string"
},
"Warnings": {
"type": "boolean"
},
"DniPlanu": {
"type": "array",
"items": {
"$ref": "#/definitions/DzienPlanuDTO"
}
}
},
"required": [
"DniPlanu"
]
},
"StrefaDniaDTO": {
"type": "object",
"properties": {
"Nazwa": {
"type": "string"
},
"Godziny": {
"$ref": "#/definitions/GodzinyDTO"
},
"CzasRozliczanyWyliczony": {
"type": [
"string",
"null"
]
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Nazwa",
"Godziny",
"CzasRozliczanyWyliczony"
]
}
},
"type": "array",
"items": {
"$ref": "#/definitions/KalendarzPlanuPracownikaDTO"
}
}
Sample JSON file:
[
  {
    "IDPracownika": 1,
    "KodPracownika": "KodPracownika",
    "Warnings": false,
    "DniPlanu": [
      {
        "IDPracownika": 1,
        "KodPracownika": "KodPracownika",
        "Data": {
          "Year": 2025,
          "Month": 12,
          "Day": 18
        },
        "DzienTygodnia": "Sunday",
        "StatusDnia": "Kalendarz",
        "DefinicjaDnia": "DefinicjaDnia",
        "Godziny": {
          "CzasOd": null,
          "CzasOd24": "CzasOd24",
          "Czas": null,
          "CzasDo": null,
          "CzasDo24": "CzasDo24"
        },
        "Strefy": [
          {
            "Nazwa": "Nazwa",
            "Godziny": {
              "CzasOd": null,
              "CzasOd24": "CzasOd24",
              "Czas": null,
              "CzasDo": null,
              "CzasDo24": "CzasDo24"
            },
            "CzasRozliczanyWyliczony": null,
            "ID": 1,
            "Features": [
              {
                "Name": "Name",
                "Value": "Value",
                "Type": "Type",
                "UpdateDate": null
              }
            ],
            "Attachments": [
              {
                "ID": 1,
                "Name": "Name",
                "Parent": 1,
                "Description": "Description",
                "IsDefault": false,
                "SendEmail": false,
                "Extension": "Extension",
                "Link": "Link",
                "SubType": "None",
                "Base64": "bDKIp0NrSxG3zw==",
                "Features": [
                  {
                    "Name": "Name",
                    "Value": "Value",
                    "Type": "Type",
                    "UpdateDate": null
                  }
                ]
              }
            ]
          }
        ],
        "ID": 1,
        "Features": [
          {
            "Name": "Name",
            "Value": "Value",
            "Type": "Type",
            "UpdateDate": null
          }
        ],
        "Attachments": [
          {
            "ID": 1,
            "Name": "Name",
            "Parent": 1,
            "Description": "Description",
            "IsDefault": false,
            "SendEmail": false,
            "Extension": "Extension",
            "Link": "Link",
            "SubType": "None",
            "Base64": "Uop4klfhqkyzLA==",
            "Features": [
              {
                "Name": "Name",
                "Value": "Value",
                "Type": "Type",
                "UpdateDate": null
              }
            ]
          }
        ]
      }
    ]
  }
]
Sample response:
Schema (JSON) for class UpdateResult:
{
"title": "UpdateResult",
"definitions": {
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"Kod": {
"type": "string"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "TestMode": false,
  "ID": 1,
  "Kod": "Kod",
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebAPI.ObslugaCzasuPracy

Method name: UpsertDniPracy

URL: https://{{baseAddress}}/api/CzasPracyWebAPI/UpsertDniPracy

HTTP method: POST

Params type: List<KalendarzPracyPracownikaDTO>

Result type: UpdateResult

Description: Dodanie czasu pracy do kalendarza pracownika

Comment: Dodanie listy czasu pracy do kalendarza na pracowniku. Należy podać Godziny lub Strefy !

Sample request for object List`1. Replace placeholders with real values.

Schema (JSON) for class List<KalendarzPracyPracownikaDTO>:
{
"title": "List`1",
"definitions": {
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DataDTO-1": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DzienPracyDTO": {
"type": "object",
"properties": {
"IDPracownika": {
"type": "integer"
},
"KodPracownika": {
"type": "string"
},
"Data": {
"$ref": "#/definitions/DataDTO"
},
"StatusDnia": {
"type": "string",
"enum": [
"Kalendarz",
"Wyjatek"
]
},
"Godziny": {
"$ref": "#/definitions/GodzinyDTO"
},
"Strefy": {
"type": "array",
"items": {
"$ref": "#/definitions/StrefaDniaDTO"
}
},
"PracaZdalna": {
"type": "boolean"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Data"
]
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name"
]
},
"GodzinyDTO": {
"type": "object",
"properties": {
"CzasOd": {
"type": [
"string",
"null"
]
},
"CzasOd24": {
"type": "string"
},
"Czas": {
"type": [
"string",
"null"
]
},
"CzasDo": {
"type": [
"string",
"null"
]
},
"CzasDo24": {
"type": "string"
}
},
"required": [
"CzasOd",
"Czas",
"CzasDo"
]
},
"KalendarzPracyPracownikaDTO": {
"type": "object",
"properties": {
"IDPracownika": {
"type": "integer"
},
"KodPracownika": {
"type": "string"
},
"UzgodnijDobePracownicza": {
"type": "boolean"
},
"DniPracy": {
"type": "array",
"items": {
"$ref": "#/definitions/DzienPracyDTO"
}
}
},
"required": [
"DniPracy"
]
},
"StrefaDniaDTO": {
"type": "object",
"properties": {
"Nazwa": {
"type": "string"
},
"Godziny": {
"$ref": "#/definitions/GodzinyDTO"
},
"CzasRozliczanyWyliczony": {
"type": [
"string",
"null"
]
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Nazwa",
"Godziny",
"CzasRozliczanyWyliczony"
]
}
},
"type": "array",
"items": {
"$ref": "#/definitions/KalendarzPracyPracownikaDTO"
}
}
Sample JSON file:
[
  {
    "IDPracownika": 1,
    "KodPracownika": "KodPracownika",
    "UzgodnijDobePracownicza": false,
    "DniPracy": [
      {
        "IDPracownika": 1,
        "KodPracownika": "KodPracownika",
        "Data": {
          "Year": 2025,
          "Month": 12,
          "Day": 18
        },
        "StatusDnia": "Kalendarz",
        "Godziny": {
          "CzasOd": null,
          "CzasOd24": "CzasOd24",
          "Czas": null,
          "CzasDo": null,
          "CzasDo24": "CzasDo24"
        },
        "Strefy": [
          {
            "Nazwa": "Nazwa",
            "Godziny": {
              "CzasOd": null,
              "CzasOd24": "CzasOd24",
              "Czas": null,
              "CzasDo": null,
              "CzasDo24": "CzasDo24"
            },
            "CzasRozliczanyWyliczony": null,
            "ID": 1,
            "Features": [
              {
                "Name": "Name",
                "Value": "Value",
                "Type": "Type",
                "UpdateDate": null
              }
            ],
            "Attachments": [
              {
                "ID": 1,
                "Name": "Name",
                "Parent": 1,
                "Description": "Description",
                "IsDefault": false,
                "SendEmail": false,
                "Extension": "Extension",
                "Link": "Link",
                "SubType": "None",
                "Base64": "rntGdAdCVFvNTw==",
                "Features": [
                  {
                    "Name": "Name",
                    "Value": "Value",
                    "Type": "Type",
                    "UpdateDate": null
                  }
                ]
              }
            ]
          }
        ],
        "PracaZdalna": false,
        "ID": 1,
        "Features": [
          {
            "Name": "Name",
            "Value": "Value",
            "Type": "Type",
            "UpdateDate": null
          }
        ],
        "Attachments": [
          {
            "ID": 1,
            "Name": "Name",
            "Parent": 1,
            "Description": "Description",
            "IsDefault": false,
            "SendEmail": false,
            "Extension": "Extension",
            "Link": "Link",
            "SubType": "None",
            "Base64": "NfmoD2Xxy/4mPA==",
            "Features": [
              {
                "Name": "Name",
                "Value": "Value",
                "Type": "Type",
                "UpdateDate": null
              }
            ]
          }
        ]
      }
    ]
  }
]
Sample response:
Schema (JSON) for class UpdateResult:
{
"title": "UpdateResult",
"definitions": {
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"Kod": {
"type": "string"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "TestMode": false,
  "ID": 1,
  "Kod": "Kod",
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebAPI.ObslugaCzasuPracy

Method name: GetDniPlanu

URL: https://{{baseAddress}}/api/CzasPracyWebAPI/GetDniPlanu

HTTP method: POST

Params type: GetCzasPracyParams

Result type: DataResponse<List<DzienPlanuDTO>>

Description: Odczyt planu czasu pracy z kalendarza pracownika

Comment: Odczyt listy planu czasu pracy z kalendarza pracownika

Sample request for object GetCzasPracyParams. Replace placeholders with real values.

Schema (JSON) for class GetCzasPracyParams:
{
"title": "GetCzasPracyParams",
"definitions": {
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"OkresDTO": {
"type": "object",
"properties": {
"DataOd": {
"$ref": "#/definitions/DataDTO"
},
"DataDo": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"DataOd",
"DataDo"
]
}
},
"type": "object",
"properties": {
"IDs": {
"type": "array",
"items": {
"type": "integer"
}
},
"IDPracownika": {
"type": "integer"
},
"KodPracownika": {
"type": "string"
},
"Okres": {
"$ref": "#/definitions/OkresDTO"
},
"OgraniczDoOkresuZatrudnienia": {
"type": "boolean"
}
}
}
Sample JSON file:
{
  "IDs": [
    1
  ],
  "IDPracownika": 1,
  "KodPracownika": "KodPracownika",
  "Okres": {
    "DataOd": {
      "Year": 2025,
      "Month": 12,
      "Day": 18
    },
    "DataDo": {
      "Year": 2025,
      "Month": 12,
      "Day": 18
    }
  },
  "OgraniczDoOkresuZatrudnienia": false
}
Sample response:
Schema (JSON) for class DataResponse<List<DzienPlanuDTO>>:
{
"title": "DataResponse`1",
"definitions": {
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DataDTO-1": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DzienPlanuDTO": {
"type": "object",
"properties": {
"IDPracownika": {
"type": "integer"
},
"KodPracownika": {
"type": "string"
},
"Data": {
"$ref": "#/definitions/DataDTO"
},
"DzienTygodnia": {
"type": "string",
"enum": [
"Sunday",
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday"
]
},
"StatusDnia": {
"type": "string",
"enum": [
"Kalendarz",
"Wyjatek"
]
},
"DefinicjaDnia": {
"type": "string"
},
"Godziny": {
"$ref": "#/definitions/GodzinyDTO"
},
"Strefy": {
"type": "array",
"items": {
"$ref": "#/definitions/StrefaDniaDTO"
}
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Data",
"DefinicjaDnia"
]
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name"
]
},
"GodzinyDTO": {
"type": "object",
"properties": {
"CzasOd": {
"type": [
"string",
"null"
]
},
"CzasOd24": {
"type": "string"
},
"Czas": {
"type": [
"string",
"null"
]
},
"CzasDo": {
"type": [
"string",
"null"
]
},
"CzasDo24": {
"type": "string"
}
},
"required": [
"CzasOd",
"Czas",
"CzasDo"
]
},
"StrefaDniaDTO": {
"type": "object",
"properties": {
"Nazwa": {
"type": "string"
},
"Godziny": {
"$ref": "#/definitions/GodzinyDTO"
},
"CzasRozliczanyWyliczony": {
"type": [
"string",
"null"
]
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Nazwa",
"Godziny",
"CzasRozliczanyWyliczony"
]
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"Data": {
"type": "array",
"items": {
"$ref": "#/definitions/DzienPlanuDTO"
}
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "Data": [
    {
      "IDPracownika": 1,
      "KodPracownika": "KodPracownika",
      "Data": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "DzienTygodnia": "Sunday",
      "StatusDnia": "Kalendarz",
      "DefinicjaDnia": "DefinicjaDnia",
      "Godziny": {
        "CzasOd": null,
        "CzasOd24": "CzasOd24",
        "Czas": null,
        "CzasDo": null,
        "CzasDo24": "CzasDo24"
      },
      "Strefy": [
        {
          "Nazwa": "Nazwa",
          "Godziny": {
            "CzasOd": null,
            "CzasOd24": "CzasOd24",
            "Czas": null,
            "CzasDo": null,
            "CzasDo24": "CzasDo24"
          },
          "CzasRozliczanyWyliczony": null,
          "ID": 1,
          "AttachmentsCount": 1,
          "TableName": "TableName",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ],
          "Attachments": [
            {
              "ID": 1,
              "TableName": "TableName",
              "Name": "Name",
              "Parent": 1,
              "Description": "Description",
              "IsDefault": false,
              "SendEmail": false,
              "Extension": "Extension",
              "Link": "Link",
              "SubType": "None",
              "Base64": "xvh+fjPKfbLhAw==",
              "Features": [
                {
                  "Name": "Name",
                  "Value": "Value",
                  "Type": "Type",
                  "UpdateDate": null
                }
              ]
            }
          ]
        }
      ],
      "ID": 1,
      "AttachmentsCount": 1,
      "TableName": "TableName",
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "TableName": "TableName",
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "pZh+ijyJ1dOMmw==",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebAPI.ObslugaCzasuPracy

Method name: GetDniPracy

URL: https://{{baseAddress}}/api/CzasPracyWebAPI/GetDniPracy

HTTP method: POST

Params type: GetCzasPracyParams

Result type: DataResponse<List<DzienPracyDTO>>

Description: Odczyt planu czasu pracy z kalendarza pracownika

Comment: Odczyt listy planu czasu pracy z kalendarza pracownika

Sample request for object GetCzasPracyParams. Replace placeholders with real values.

Schema (JSON) for class GetCzasPracyParams:
{
"title": "GetCzasPracyParams",
"definitions": {
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"OkresDTO": {
"type": "object",
"properties": {
"DataOd": {
"$ref": "#/definitions/DataDTO"
},
"DataDo": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"DataOd",
"DataDo"
]
}
},
"type": "object",
"properties": {
"IDs": {
"type": "array",
"items": {
"type": "integer"
}
},
"IDPracownika": {
"type": "integer"
},
"KodPracownika": {
"type": "string"
},
"Okres": {
"$ref": "#/definitions/OkresDTO"
},
"OgraniczDoOkresuZatrudnienia": {
"type": "boolean"
}
}
}
Sample JSON file:
{
  "IDs": [
    1
  ],
  "IDPracownika": 1,
  "KodPracownika": "KodPracownika",
  "Okres": {
    "DataOd": {
      "Year": 2025,
      "Month": 12,
      "Day": 18
    },
    "DataDo": {
      "Year": 2025,
      "Month": 12,
      "Day": 18
    }
  },
  "OgraniczDoOkresuZatrudnienia": false
}
Sample response:
Schema (JSON) for class DataResponse<List<DzienPracyDTO>>:
{
"title": "DataResponse`1",
"definitions": {
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DataDTO-1": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DzienPracyDTO": {
"type": "object",
"properties": {
"IDPracownika": {
"type": "integer"
},
"KodPracownika": {
"type": "string"
},
"Data": {
"$ref": "#/definitions/DataDTO"
},
"StatusDnia": {
"type": "string",
"enum": [
"Kalendarz",
"Wyjatek"
]
},
"Godziny": {
"$ref": "#/definitions/GodzinyDTO"
},
"Strefy": {
"type": "array",
"items": {
"$ref": "#/definitions/StrefaDniaDTO"
}
},
"PracaZdalna": {
"type": "boolean"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Data"
]
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name"
]
},
"GodzinyDTO": {
"type": "object",
"properties": {
"CzasOd": {
"type": [
"string",
"null"
]
},
"CzasOd24": {
"type": "string"
},
"Czas": {
"type": [
"string",
"null"
]
},
"CzasDo": {
"type": [
"string",
"null"
]
},
"CzasDo24": {
"type": "string"
}
},
"required": [
"CzasOd",
"Czas",
"CzasDo"
]
},
"StrefaDniaDTO": {
"type": "object",
"properties": {
"Nazwa": {
"type": "string"
},
"Godziny": {
"$ref": "#/definitions/GodzinyDTO"
},
"CzasRozliczanyWyliczony": {
"type": [
"string",
"null"
]
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Nazwa",
"Godziny",
"CzasRozliczanyWyliczony"
]
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"Data": {
"type": "array",
"items": {
"$ref": "#/definitions/DzienPracyDTO"
}
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "Data": [
    {
      "IDPracownika": 1,
      "KodPracownika": "KodPracownika",
      "Data": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "StatusDnia": "Kalendarz",
      "Godziny": {
        "CzasOd": null,
        "CzasOd24": "CzasOd24",
        "Czas": null,
        "CzasDo": null,
        "CzasDo24": "CzasDo24"
      },
      "Strefy": [
        {
          "Nazwa": "Nazwa",
          "Godziny": {
            "CzasOd": null,
            "CzasOd24": "CzasOd24",
            "Czas": null,
            "CzasDo": null,
            "CzasDo24": "CzasDo24"
          },
          "CzasRozliczanyWyliczony": null,
          "ID": 1,
          "AttachmentsCount": 1,
          "TableName": "TableName",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ],
          "Attachments": [
            {
              "ID": 1,
              "TableName": "TableName",
              "Name": "Name",
              "Parent": 1,
              "Description": "Description",
              "IsDefault": false,
              "SendEmail": false,
              "Extension": "Extension",
              "Link": "Link",
              "SubType": "None",
              "Base64": "aM08E/yj/2oXvg==",
              "Features": [
                {
                  "Name": "Name",
                  "Value": "Value",
                  "Type": "Type",
                  "UpdateDate": null
                }
              ]
            }
          ]
        }
      ],
      "PracaZdalna": false,
      "ID": 1,
      "AttachmentsCount": 1,
      "TableName": "TableName",
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "TableName": "TableName",
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "S6f2kkvZSF5+GQ==",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebAPI.ObslugaCzasuPracy

Method name: GetSwieta

URL: https://{{baseAddress}}/api/CzasPracyWebAPI/GetSwieta

HTTP method: POST

Params type: GetSwietaParams

Result type: DataResponse<List<DzienPlanuDTO>>

Description: Odczyt planu czasu pracy z kalendarza pracownika

Comment: Odczyt listy planu czasu pracy z kalendarza pracownika

Sample request for object GetSwietaParams. Replace placeholders with real values.

Schema (JSON) for class GetSwietaParams:
{
"title": "GetSwietaParams",
"type": "object",
"properties": {
"Rok": {
"type": "integer"
}
},
"required": [
"Rok"
]
}
Sample JSON file:
{
  "Rok": 1
}
Sample response:
Schema (JSON) for class DataResponse<List<DzienPlanuDTO>>:
{
"title": "DataResponse`1",
"definitions": {
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DataDTO-1": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DzienPlanuDTO": {
"type": "object",
"properties": {
"IDPracownika": {
"type": "integer"
},
"KodPracownika": {
"type": "string"
},
"Data": {
"$ref": "#/definitions/DataDTO"
},
"DzienTygodnia": {
"type": "string",
"enum": [
"Sunday",
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday"
]
},
"StatusDnia": {
"type": "string",
"enum": [
"Kalendarz",
"Wyjatek"
]
},
"DefinicjaDnia": {
"type": "string"
},
"Godziny": {
"$ref": "#/definitions/GodzinyDTO"
},
"Strefy": {
"type": "array",
"items": {
"$ref": "#/definitions/StrefaDniaDTO"
}
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Data",
"DefinicjaDnia"
]
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name"
]
},
"GodzinyDTO": {
"type": "object",
"properties": {
"CzasOd": {
"type": [
"string",
"null"
]
},
"CzasOd24": {
"type": "string"
},
"Czas": {
"type": [
"string",
"null"
]
},
"CzasDo": {
"type": [
"string",
"null"
]
},
"CzasDo24": {
"type": "string"
}
},
"required": [
"CzasOd",
"Czas",
"CzasDo"
]
},
"StrefaDniaDTO": {
"type": "object",
"properties": {
"Nazwa": {
"type": "string"
},
"Godziny": {
"$ref": "#/definitions/GodzinyDTO"
},
"CzasRozliczanyWyliczony": {
"type": [
"string",
"null"
]
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Nazwa",
"Godziny",
"CzasRozliczanyWyliczony"
]
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"Data": {
"type": "array",
"items": {
"$ref": "#/definitions/DzienPlanuDTO"
}
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "Data": [
    {
      "IDPracownika": 1,
      "KodPracownika": "KodPracownika",
      "Data": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "DzienTygodnia": "Sunday",
      "StatusDnia": "Kalendarz",
      "DefinicjaDnia": "DefinicjaDnia",
      "Godziny": {
        "CzasOd": null,
        "CzasOd24": "CzasOd24",
        "Czas": null,
        "CzasDo": null,
        "CzasDo24": "CzasDo24"
      },
      "Strefy": [
        {
          "Nazwa": "Nazwa",
          "Godziny": {
            "CzasOd": null,
            "CzasOd24": "CzasOd24",
            "Czas": null,
            "CzasDo": null,
            "CzasDo24": "CzasDo24"
          },
          "CzasRozliczanyWyliczony": null,
          "ID": 1,
          "AttachmentsCount": 1,
          "TableName": "TableName",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ],
          "Attachments": [
            {
              "ID": 1,
              "TableName": "TableName",
              "Name": "Name",
              "Parent": 1,
              "Description": "Description",
              "IsDefault": false,
              "SendEmail": false,
              "Extension": "Extension",
              "Link": "Link",
              "SubType": "None",
              "Base64": "C+ImPAxeWwkCTw==",
              "Features": [
                {
                  "Name": "Name",
                  "Value": "Value",
                  "Type": "Type",
                  "UpdateDate": null
                }
              ]
            }
          ]
        }
      ],
      "ID": 1,
      "AttachmentsCount": 1,
      "TableName": "TableName",
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "TableName": "TableName",
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "mv4TJnHa7g8cIQ==",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebAPI.ObslugaCzasuPracy

Method name: GetNieobecnosci

URL: https://{{baseAddress}}/api/CzasPracyWebAPI/GetNieobecnosci

HTTP method: POST

Params type: GetNieobecnosciParams

Result type: PackableDataResponse<NieobecnoscDTO>

Description: Odczyt nieobecności pracownika

Comment: Odczyt nieobecności pracownika

Sample request for object GetNieobecnosciParams. Replace placeholders with real values.

Schema (JSON) for class GetNieobecnosciParams:
{
"title": "GetNieobecnosciParams",
"definitions": {
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"Filter": {
"type": "object",
"properties": {
"LogicalOperator": {
"type": "string",
"enum": [
"And",
"Or"
]
},
"Operator": {
"type": "string",
"enum": [
"Equal",
"NotEqual",
"Like",
"Null"
]
},
"ColumnName": {
"type": "string"
},
"FilterValue": {
"type": "string"
}
}
},
"OkresDTO": {
"type": "object",
"properties": {
"DataOd": {
"$ref": "#/definitions/DataDTO"
},
"DataDo": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"DataOd",
"DataDo"
]
}
},
"type": "object",
"properties": {
"IDs": {
"type": "array",
"items": {
"type": "integer"
}
},
"IDPracownika": {
"type": "integer"
},
"KodPracownika": {
"type": "string"
},
"Okres": {
"$ref": "#/definitions/OkresDTO"
},
"Definicja": {
"type": "string"
},
"DodatkoweInformacje": {
"type": "boolean"
},
"LastID": {
"type": "integer"
},
"PacketSize": {
"type": "integer"
},
"Conditions": {
"type": "array",
"items": {
"$ref": "#/definitions/Filter"
}
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
}
}
Sample JSON file:
{
  "IDs": [
    1
  ],
  "IDPracownika": 1,
  "KodPracownika": "KodPracownika",
  "Okres": {
    "DataOd": {
      "Year": 2025,
      "Month": 12,
      "Day": 18
    },
    "DataDo": {
      "Year": 2025,
      "Month": 12,
      "Day": 18
    }
  },
  "Definicja": "Definicja",
  "DodatkoweInformacje": false,
  "LastID": 1,
  "PacketSize": 1,
  "Conditions": [
    {
      "LogicalOperator": "And",
      "Operator": "Equal",
      "ColumnName": "ColumnName",
      "FilterValue": "FilterValue"
    }
  ],
  "UpdateDate": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  }
}
Sample response:
Schema (JSON) for class PackableDataResponse<NieobecnoscDTO>:
{
"title": "PackableDataResponse`1",
"definitions": {
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DataDTO-1": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name"
]
},
"GodzinyDTO": {
"type": "object",
"properties": {
"CzasOd": {
"type": [
"string",
"null"
]
},
"CzasOd24": {
"type": "string"
},
"Czas": {
"type": [
"string",
"null"
]
},
"CzasDo": {
"type": [
"string",
"null"
]
},
"CzasDo24": {
"type": "string"
}
},
"required": [
"CzasOd",
"Czas",
"CzasDo"
]
},
"KorektaNieobecnosciDTO": {
"type": "object",
"properties": {
"IDPracownika": {
"type": "integer"
},
"KodPracownika": {
"type": "string"
},
"Definicja": {
"type": "string"
},
"DataOd": {
"$ref": "#/definitions/DataDTO"
},
"DataDo": {
"$ref": "#/definitions/DataDTO"
},
"DniPracy": {
"type": "integer"
},
"Godziny": {
"$ref": "#/definitions/GodzinyDTO"
},
"Uwagi": {
"type": "string"
},
"Nieobecnosc": {
"type": "integer"
},
"Rozliczona": {
"type": "boolean"
},
"NieobecnoscExt": {
"$ref": "#/definitions/NieobecnoscExtDTO"
},
"LastChange": {
"type": "string",
"format": "date-time"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
}
},
"NieobecnoscDTO": {
"type": "object",
"properties": {
"Guid": {
"type": "string"
},
"IDPracownika": {
"type": "integer"
},
"KodPracownika": {
"type": "string"
},
"Definicja": {
"type": "string"
},
"DataOd": {
"$ref": "#/definitions/DataDTO"
},
"DataDo": {
"$ref": "#/definitions/DataDTO"
},
"DniPracy": {
"type": "integer"
},
"Godziny": {
"$ref": "#/definitions/GodzinyDTO"
},
"Uwagi": {
"type": "string"
},
"Korygowana": {
"type": "boolean"
},
"Rozliczona": {
"type": "boolean"
},
"NieobecnoscExt": {
"$ref": "#/definitions/NieobecnoscExtDTO"
},
"LastChange": {
"type": "string",
"format": "date-time"
},
"Korekty": {
"type": "array",
"items": {
"$ref": "#/definitions/KorektaNieobecnosciDTO"
}
},
"ZastepstwoKodPracownika": {
"type": "string"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
}
},
"NieobecnoscExtDTO": {
"type": "object",
"properties": {
"PrzyczynaUrlopu": {
"type": "string",
"enum": [
"NieDotyczy",
"Planowy",
"NaŻądanie"
]
},
"PrzyczynaUrlopuOkolicznosciowego": {
"type": "string",
"enum": [
"InnaPrzyczyna",
"ŚlubLubNarodzinyDziecka",
"ŚmierćIPogrzebŻonyMężaDzieckaMatkiOjcaOjczymaMacochy",
"ŚlubDziecka",
"ŚmierćIPogrzebSiostryBrataTeściowejTeściaBabciDziadka",
"ŚmierćInnejOsoby"
]
},
"RozliczenieNieobecnosciDTO": {
"$ref": "#/definitions/RozliczenieNieobecnosciDTO"
}
}
},
"RozliczenieNieobecnosciDTO": {
"type": "object",
"properties": {
"RozliczenieUrlopu": {
"type": "string",
"enum": [
"NieDotyczy",
"UrlopMacierzyński100",
"UrlopMacierzyński80",
"UrlopMacierzyński0",
"UrlopMacierzyński815",
"UrlopRodzicielski80",
"UrlopRodzicielski60",
"UrlopRodzicielski100",
"UrlopRodzicielski0",
"UrlopRodzicielski815",
"UrlopRodzicielski70",
"UrlopRodzicielski70do9tyg",
"UrlopRodzicielski70ZaZyciem",
"UrlopRodzicielski815ZaZyciem"
]
},
"IdCzlonkaRodziny": {
"type": "integer"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"AllRows": {
"type": "boolean"
},
"LastID": {
"type": "integer"
},
"ToReadRecords": {
"type": "integer"
},
"ReadRecords": {
"type": "integer"
},
"Data": {
"type": "array",
"items": {
"$ref": "#/definitions/NieobecnoscDTO"
}
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"AllRows",
"LastID",
"ReadRecords",
"Success"
]
}
Sample JSON file:
{
  "AllRows": false,
  "LastID": 1,
  "ToReadRecords": 1,
  "ReadRecords": 1,
  "Data": [
    {
      "Guid": "d149db61-5bf8-4cd3-8fb1-054c0bc80bc9",
      "IDPracownika": 1,
      "KodPracownika": "KodPracownika",
      "Definicja": "Definicja",
      "DataOd": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "DataDo": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "DniPracy": 1,
      "Godziny": {
        "CzasOd": null,
        "CzasOd24": "CzasOd24",
        "Czas": null,
        "CzasDo": null,
        "CzasDo24": "CzasDo24"
      },
      "Uwagi": "Uwagi",
      "Korygowana": false,
      "Rozliczona": false,
      "NieobecnoscExt": {
        "PrzyczynaUrlopu": "NieDotyczy",
        "PrzyczynaUrlopuOkolicznosciowego": "InnaPrzyczyna",
        "RozliczenieNieobecnosciDTO": {
          "RozliczenieUrlopu": "NieDotyczy",
          "IdCzlonkaRodziny": 1
        }
      },
      "LastChange": "2025-12-18T12:03:53.6009387Z",
      "Korekty": [
        {
          "IDPracownika": 1,
          "KodPracownika": "KodPracownika",
          "Definicja": "Definicja",
          "DataOd": {
            "Year": 2025,
            "Month": 12,
            "Day": 18
          },
          "DataDo": {
            "Year": 2025,
            "Month": 12,
            "Day": 18
          },
          "DniPracy": 1,
          "Godziny": {
            "CzasOd": null,
            "CzasOd24": "CzasOd24",
            "Czas": null,
            "CzasDo": null,
            "CzasDo24": "CzasDo24"
          },
          "Uwagi": "Uwagi",
          "Nieobecnosc": 1,
          "Rozliczona": false,
          "NieobecnoscExt": {
            "PrzyczynaUrlopu": "NieDotyczy",
            "PrzyczynaUrlopuOkolicznosciowego": "InnaPrzyczyna",
            "RozliczenieNieobecnosciDTO": {
              "RozliczenieUrlopu": "NieDotyczy",
              "IdCzlonkaRodziny": 1
            }
          },
          "LastChange": "2025-12-18T12:03:53.6012008Z",
          "ID": 1,
          "AttachmentsCount": 1,
          "TableName": "TableName",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ],
          "Attachments": [
            {
              "ID": 1,
              "TableName": "TableName",
              "Name": "Name",
              "Parent": 1,
              "Description": "Description",
              "IsDefault": false,
              "SendEmail": false,
              "Extension": "Extension",
              "Link": "Link",
              "SubType": "None",
              "Base64": "3GUuAynYU27JRA==",
              "Features": [
                {
                  "Name": "Name",
                  "Value": "Value",
                  "Type": "Type",
                  "UpdateDate": null
                }
              ]
            }
          ]
        }
      ],
      "ZastepstwoKodPracownika": "ZastepstwoKodPracownika",
      "ID": 1,
      "AttachmentsCount": 1,
      "TableName": "TableName",
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "TableName": "TableName",
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "7At1Rgs5G2YLBQ==",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebAPI.ObslugaCzasuPracy

Method name: GetDefinicjeNieobecnosci

URL: https://{{baseAddress}}/api/CzasPracyWebAPI/GetDefinicjeNieobecnosci

HTTP method: POST

Params type: GetDefNieobecnosciParams

Result type: DataResponse<List<DefinicjaNieobecnosciDTO>>

Description: Pobranie definicji nieobecności

Comment: Pobranie definicji nieobecności z systemu enova365

Sample request for object GetDefNieobecnosciParams. Replace placeholders with real values.

Schema (JSON) for class GetDefNieobecnosciParams:
{
"title": "GetDefNieobecnosciParams",
"definitions": {
"Filter": {
"type": "object",
"properties": {
"LogicalOperator": {
"type": "string",
"enum": [
"And",
"Or"
]
},
"Operator": {
"type": "string",
"enum": [
"Equal",
"NotEqual",
"Like",
"Null"
]
},
"ColumnName": {
"type": "string"
},
"FilterValue": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"IDs": {
"type": "array",
"items": {
"type": "integer"
}
},
"Conditions": {
"type": "array",
"items": {
"$ref": "#/definitions/Filter"
}
}
}
}
Sample JSON file:
{
  "IDs": [
    1
  ],
  "Conditions": [
    {
      "LogicalOperator": "And",
      "Operator": "Equal",
      "ColumnName": "ColumnName",
      "FilterValue": "FilterValue"
    }
  ]
}
Sample response:
Schema (JSON) for class DataResponse<List<DefinicjaNieobecnosciDTO>>:
{
"title": "DataResponse`1",
"definitions": {
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"DataDTO": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DefinicjaNieobecnosciDTO": {
"type": "object",
"properties": {
"Nazwa": {
"type": "string"
},
"Skrot": {
"type": "string"
},
"Kod": {
"type": "string"
},
"Blokada": {
"type": "boolean"
},
"TypNieobecnosci": {
"type": "string",
"enum": [
"Nieusprawiedliwiona",
"UsprawiedliwionaBezpłatna",
"UsprawiedliwionaPłatna",
"UrlopWychowawczy",
"NieobecnośćZUS",
"Storno"
]
},
"IDDefinicjiLimitu": {
"type": "integer"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
}
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"Name"
]
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"Data": {
"type": "array",
"items": {
"$ref": "#/definitions/DefinicjaNieobecnosciDTO"
}
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "Data": [
    {
      "Nazwa": "Nazwa",
      "Skrot": "Skrot",
      "Kod": "Kod",
      "Blokada": false,
      "TypNieobecnosci": "Nieusprawiedliwiona",
      "IDDefinicjiLimitu": 1,
      "ID": 1,
      "AttachmentsCount": 1,
      "TableName": "TableName",
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "TableName": "TableName",
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "CsmOoh2oaubuyQ==",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebAPI.ObslugaCzasuPracy

Method name: GetDefinicjeDni

URL: https://{{baseAddress}}/api/CzasPracyWebAPI/GetDefinicjeDni

HTTP method: POST

Params type: GetDefDniParams

Result type: DataResponse<List<DefinicjaDniaDTO>>

Description: Pobranie definicji dni

Comment: Pobranie definicji dni z systemu enova365

Sample request for object GetDefDniParams. Replace placeholders with real values.

Schema (JSON) for class GetDefDniParams:
{
"title": "GetDefDniParams",
"type": "object"
}
Sample JSON file:
{}
Sample response:
Schema (JSON) for class DataResponse<List<DefinicjaDniaDTO>>:
{
"title": "DataResponse`1",
"definitions": {
"DefinicjaDniaDTO": {
"type": "object",
"properties": {
"Blokada": {
"type": "boolean"
},
"Nazwa": {
"type": "string"
},
"TypDnia": {
"type": "string",
"enum": [
"Pracy",
"Wolny",
"Świąteczny"
]
}
}
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"Data": {
"type": "array",
"items": {
"$ref": "#/definitions/DefinicjaDniaDTO"
}
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "Data": [
    {
      "Blokada": false,
      "Nazwa": "Nazwa",
      "TypDnia": "Pracy"
    }
  ],
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebAPI.ObslugaCzasuPracy

Method name: UpsertNieobecnosc

URL: https://{{baseAddress}}/api/CzasPracyWebAPI/UpsertNieobecnosc

HTTP method: POST

Params type: NieobecnoscDTO

Result type: UpdateResult

Description: Dodanie lub aktualizacja nieobecności

Comment: Dodanie lub aktualizacja istniejącej nieobecności

Sample request for object NieobecnoscDTO. Replace placeholders with real values.

Schema (JSON) for class NieobecnoscDTO:
{
"title": "NieobecnoscDTO",
"definitions": {
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DataDTO-1": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name"
]
},
"GodzinyDTO": {
"type": "object",
"properties": {
"CzasOd": {
"type": [
"string",
"null"
]
},
"CzasOd24": {
"type": "string"
},
"Czas": {
"type": [
"string",
"null"
]
},
"CzasDo": {
"type": [
"string",
"null"
]
},
"CzasDo24": {
"type": "string"
}
},
"required": [
"CzasOd",
"Czas",
"CzasDo"
]
},
"KorektaNieobecnosciDTO": {
"type": "object",
"properties": {
"IDPracownika": {
"type": "integer"
},
"KodPracownika": {
"type": "string"
},
"Definicja": {
"type": "string"
},
"DataOd": {
"$ref": "#/definitions/DataDTO"
},
"DataDo": {
"$ref": "#/definitions/DataDTO"
},
"DniPracy": {
"type": "integer"
},
"Godziny": {
"$ref": "#/definitions/GodzinyDTO"
},
"Uwagi": {
"type": "string"
},
"Nieobecnosc": {
"type": "integer"
},
"Rozliczona": {
"type": "boolean"
},
"NieobecnoscExt": {
"$ref": "#/definitions/NieobecnoscExtDTO"
},
"LastChange": {
"type": "string",
"format": "date-time"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
}
},
"NieobecnoscExtDTO": {
"type": "object",
"properties": {
"PrzyczynaUrlopu": {
"type": "string",
"enum": [
"NieDotyczy",
"Planowy",
"NaŻądanie"
]
},
"PrzyczynaUrlopuOkolicznosciowego": {
"type": "string",
"enum": [
"InnaPrzyczyna",
"ŚlubLubNarodzinyDziecka",
"ŚmierćIPogrzebŻonyMężaDzieckaMatkiOjcaOjczymaMacochy",
"ŚlubDziecka",
"ŚmierćIPogrzebSiostryBrataTeściowejTeściaBabciDziadka",
"ŚmierćInnejOsoby"
]
},
"RozliczenieNieobecnosciDTO": {
"$ref": "#/definitions/RozliczenieNieobecnosciDTO"
}
}
},
"RozliczenieNieobecnosciDTO": {
"type": "object",
"properties": {
"RozliczenieUrlopu": {
"type": "string",
"enum": [
"NieDotyczy",
"UrlopMacierzyński100",
"UrlopMacierzyński80",
"UrlopMacierzyński0",
"UrlopMacierzyński815",
"UrlopRodzicielski80",
"UrlopRodzicielski60",
"UrlopRodzicielski100",
"UrlopRodzicielski0",
"UrlopRodzicielski815",
"UrlopRodzicielski70",
"UrlopRodzicielski70do9tyg",
"UrlopRodzicielski70ZaZyciem",
"UrlopRodzicielski815ZaZyciem"
]
},
"IdCzlonkaRodziny": {
"type": "integer"
}
}
}
},
"type": "object",
"properties": {
"Guid": {
"type": "string"
},
"IDPracownika": {
"type": "integer"
},
"KodPracownika": {
"type": "string"
},
"Definicja": {
"type": "string"
},
"DataOd": {
"$ref": "#/definitions/DataDTO"
},
"DataDo": {
"$ref": "#/definitions/DataDTO"
},
"DniPracy": {
"type": "integer"
},
"Godziny": {
"$ref": "#/definitions/GodzinyDTO"
},
"Uwagi": {
"type": "string"
},
"Korygowana": {
"type": "boolean"
},
"Rozliczona": {
"type": "boolean"
},
"NieobecnoscExt": {
"$ref": "#/definitions/NieobecnoscExtDTO"
},
"LastChange": {
"type": "string",
"format": "date-time"
},
"Korekty": {
"type": "array",
"items": {
"$ref": "#/definitions/KorektaNieobecnosciDTO"
}
},
"ZastepstwoKodPracownika": {
"type": "string"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
}
}
Sample JSON file:
{
  "TestMode": false,
  "Guid": "4e4a0ba0-1698-4bb2-88a1-42b2c166971e",
  "IDPracownika": 1,
  "KodPracownika": "KodPracownika",
  "Definicja": "Definicja",
  "DataOd": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  },
  "DataDo": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  },
  "DniPracy": 1,
  "Godziny": {
    "CzasOd": null,
    "CzasOd24": "CzasOd24",
    "Czas": null,
    "CzasDo": null,
    "CzasDo24": "CzasDo24"
  },
  "Uwagi": "Uwagi",
  "Korygowana": false,
  "Rozliczona": false,
  "NieobecnoscExt": {
    "PrzyczynaUrlopu": "NieDotyczy",
    "PrzyczynaUrlopuOkolicznosciowego": "InnaPrzyczyna",
    "RozliczenieNieobecnosciDTO": {
      "RozliczenieUrlopu": "NieDotyczy",
      "IdCzlonkaRodziny": 1
    }
  },
  "LastChange": "2025-12-18T12:03:53.6191534Z",
  "Korekty": [
    {
      "IDPracownika": 1,
      "KodPracownika": "KodPracownika",
      "Definicja": "Definicja",
      "DataOd": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "DataDo": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "DniPracy": 1,
      "Godziny": {
        "CzasOd": null,
        "CzasOd24": "CzasOd24",
        "Czas": null,
        "CzasDo": null,
        "CzasDo24": "CzasDo24"
      },
      "Uwagi": "Uwagi",
      "Nieobecnosc": 1,
      "Rozliczona": false,
      "NieobecnoscExt": {
        "PrzyczynaUrlopu": "NieDotyczy",
        "PrzyczynaUrlopuOkolicznosciowego": "InnaPrzyczyna",
        "RozliczenieNieobecnosciDTO": {
          "RozliczenieUrlopu": "NieDotyczy",
          "IdCzlonkaRodziny": 1
        }
      },
      "LastChange": "2025-12-18T12:03:53.6192858Z",
      "ID": 1,
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "C0cZdryo6mvwIw==",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "ZastepstwoKodPracownika": "ZastepstwoKodPracownika",
  "ID": 1,
  "Features": [
    {
      "Name": "Name",
      "Value": "Value",
      "Type": "Type",
      "UpdateDate": null
    }
  ],
  "Attachments": [
    {
      "ID": 1,
      "Name": "Name",
      "Parent": 1,
      "Description": "Description",
      "IsDefault": false,
      "SendEmail": false,
      "Extension": "Extension",
      "Link": "Link",
      "SubType": "None",
      "Base64": "gwAoE4zG3zONFw==",
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ]
    }
  ]
}
Sample response:
Schema (JSON) for class UpdateResult:
{
"title": "UpdateResult",
"definitions": {
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"Kod": {
"type": "string"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "TestMode": false,
  "ID": 1,
  "Kod": "Kod",
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebAPI.ObslugaCzasuPracy

Method name: UpsertKorektaNieobecnosci

URL: https://{{baseAddress}}/api/CzasPracyWebAPI/UpsertKorektaNieobecnosci

HTTP method: POST

Params type: KorektaNieobecnosciDTO

Result type: UpdateResult

Description: Dodanie korekty nieobecności

Comment: Dodanie korekty nieobecności

Sample request for object KorektaNieobecnosciDTO. Replace placeholders with real values.

Schema (JSON) for class KorektaNieobecnosciDTO:
{
"title": "KorektaNieobecnosciDTO",
"definitions": {
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DataDTO-1": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name"
]
},
"GodzinyDTO": {
"type": "object",
"properties": {
"CzasOd": {
"type": [
"string",
"null"
]
},
"CzasOd24": {
"type": "string"
},
"Czas": {
"type": [
"string",
"null"
]
},
"CzasDo": {
"type": [
"string",
"null"
]
},
"CzasDo24": {
"type": "string"
}
},
"required": [
"CzasOd",
"Czas",
"CzasDo"
]
},
"NieobecnoscExtDTO": {
"type": "object",
"properties": {
"PrzyczynaUrlopu": {
"type": "string",
"enum": [
"NieDotyczy",
"Planowy",
"NaŻądanie"
]
},
"PrzyczynaUrlopuOkolicznosciowego": {
"type": "string",
"enum": [
"InnaPrzyczyna",
"ŚlubLubNarodzinyDziecka",
"ŚmierćIPogrzebŻonyMężaDzieckaMatkiOjcaOjczymaMacochy",
"ŚlubDziecka",
"ŚmierćIPogrzebSiostryBrataTeściowejTeściaBabciDziadka",
"ŚmierćInnejOsoby"
]
},
"RozliczenieNieobecnosciDTO": {
"$ref": "#/definitions/RozliczenieNieobecnosciDTO"
}
}
},
"RozliczenieNieobecnosciDTO": {
"type": "object",
"properties": {
"RozliczenieUrlopu": {
"type": "string",
"enum": [
"NieDotyczy",
"UrlopMacierzyński100",
"UrlopMacierzyński80",
"UrlopMacierzyński0",
"UrlopMacierzyński815",
"UrlopRodzicielski80",
"UrlopRodzicielski60",
"UrlopRodzicielski100",
"UrlopRodzicielski0",
"UrlopRodzicielski815",
"UrlopRodzicielski70",
"UrlopRodzicielski70do9tyg",
"UrlopRodzicielski70ZaZyciem",
"UrlopRodzicielski815ZaZyciem"
]
},
"IdCzlonkaRodziny": {
"type": "integer"
}
}
}
},
"type": "object",
"properties": {
"IDPracownika": {
"type": "integer"
},
"KodPracownika": {
"type": "string"
},
"Definicja": {
"type": "string"
},
"DataOd": {
"$ref": "#/definitions/DataDTO"
},
"DataDo": {
"$ref": "#/definitions/DataDTO"
},
"DniPracy": {
"type": "integer"
},
"Godziny": {
"$ref": "#/definitions/GodzinyDTO"
},
"Uwagi": {
"type": "string"
},
"Nieobecnosc": {
"type": "integer"
},
"Rozliczona": {
"type": "boolean"
},
"NieobecnoscExt": {
"$ref": "#/definitions/NieobecnoscExtDTO"
},
"LastChange": {
"type": "string",
"format": "date-time"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
}
}
Sample JSON file:
{
  "TestMode": false,
  "IDPracownika": 1,
  "KodPracownika": "KodPracownika",
  "Definicja": "Definicja",
  "DataOd": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  },
  "DataDo": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  },
  "DniPracy": 1,
  "Godziny": {
    "CzasOd": null,
    "CzasOd24": "CzasOd24",
    "Czas": null,
    "CzasDo": null,
    "CzasDo24": "CzasDo24"
  },
  "Uwagi": "Uwagi",
  "Nieobecnosc": 1,
  "Rozliczona": false,
  "NieobecnoscExt": {
    "PrzyczynaUrlopu": "NieDotyczy",
    "PrzyczynaUrlopuOkolicznosciowego": "InnaPrzyczyna",
    "RozliczenieNieobecnosciDTO": {
      "RozliczenieUrlopu": "NieDotyczy",
      "IdCzlonkaRodziny": 1
    }
  },
  "LastChange": "2025-12-18T12:03:53.6267569Z",
  "ID": 1,
  "Features": [
    {
      "Name": "Name",
      "Value": "Value",
      "Type": "Type",
      "UpdateDate": null
    }
  ],
  "Attachments": [
    {
      "ID": 1,
      "Name": "Name",
      "Parent": 1,
      "Description": "Description",
      "IsDefault": false,
      "SendEmail": false,
      "Extension": "Extension",
      "Link": "Link",
      "SubType": "None",
      "Base64": "eC5oC3fw5hqhjw==",
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ]
    }
  ]
}
Sample response:
Schema (JSON) for class UpdateResult:
{
"title": "UpdateResult",
"definitions": {
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"Kod": {
"type": "string"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "TestMode": false,
  "ID": 1,
  "Kod": "Kod",
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebAPI.ObslugaCzasuPracy

Method name: DeleteNieobecnosc

URL: https://{{baseAddress}}/api/CzasPracyWebAPI/DeleteNieobecnosc

HTTP method: POST

Params type: GetDeleteNieobecnoscParams

Result type: UpdateResult

Description: Usunięcie nieobecności lub korekty

Comment: Usunięcie nieobecności lub korekty. Należy podać ID nieobecności/korekty do skasowania

Sample request for object GetDeleteNieobecnoscParams. Replace placeholders with real values.

Schema (JSON) for class GetDeleteNieobecnoscParams:
{
"title": "GetDeleteNieobecnoscParams",
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"Guid": {
"type": "string"
}
}
}
Sample JSON file:
{
  "TestMode": false,
  "ID": 1,
  "Guid": "680a7461-c2b5-42c7-8647-b32a64d2d3b5"
}
Sample response:
Schema (JSON) for class UpdateResult:
{
"title": "UpdateResult",
"definitions": {
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"Kod": {
"type": "string"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "TestMode": false,
  "ID": 1,
  "Kod": "Kod",
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebAPI.ObslugaCzasuPracy

Method name: GetLimityNieobecnosci

URL: https://{{baseAddress}}/api/CzasPracyWebAPI/GetLimityNieobecnosci

HTTP method: POST

Params type: GetLimityNieobecnosciParams

Result type: DataResponse<List<LimitNieobecnosciDTO>>

Description: Pobranie limitów nieobecności

Comment: Pobranie limitów nieobecności na dany dzień

Sample request for object GetLimityNieobecnosciParams. Replace placeholders with real values.

Schema (JSON) for class GetLimityNieobecnosciParams:
{
"title": "GetLimityNieobecnosciParams",
"definitions": {
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"Filter": {
"type": "object",
"properties": {
"LogicalOperator": {
"type": "string",
"enum": [
"And",
"Or"
]
},
"Operator": {
"type": "string",
"enum": [
"Equal",
"NotEqual",
"Like",
"Null"
]
},
"ColumnName": {
"type": "string"
},
"FilterValue": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"IDs": {
"type": "array",
"items": {
"type": "integer"
}
},
"Data": {
"$ref": "#/definitions/DataDTO"
},
"IDPracownika": {
"type": "integer"
},
"KodPracownika": {
"type": "string"
},
"Conditions": {
"type": "array",
"items": {
"$ref": "#/definitions/Filter"
}
}
}
}
Sample JSON file:
{
  "IDs": [
    1
  ],
  "Data": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  },
  "IDPracownika": 1,
  "KodPracownika": "KodPracownika",
  "Conditions": [
    {
      "LogicalOperator": "And",
      "Operator": "Equal",
      "ColumnName": "ColumnName",
      "FilterValue": "FilterValue"
    }
  ]
}
Sample response:
Schema (JSON) for class DataResponse<List<LimitNieobecnosciDTO>>:
{
"title": "DataResponse`1",
"definitions": {
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DataDTO-1": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name"
]
},
"LimitNieobecnosciDTO": {
"type": "object",
"properties": {
"IDPracownika": {
"type": "integer"
},
"KodPracownika": {
"type": "string"
},
"IDDefinicjiLImitu": {
"type": "integer"
},
"DefinicjaLimitu": {
"type": "string"
},
"Okres": {
"$ref": "#/definitions/OkresDTO"
},
"LimitDni": {
"type": "integer"
},
"LimitZaOkresWgWymiaru": {
"type": "number"
},
"PozostaloDni": {
"type": "number"
},
"LimitGodzin": {
"type": "string"
},
"PozostaloGodzin": {
"type": "string"
},
"KorektaGodz": {
"type": "string"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
}
},
"OkresDTO": {
"type": "object",
"properties": {
"DataOd": {
"$ref": "#/definitions/DataDTO"
},
"DataDo": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"DataOd",
"DataDo"
]
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"Data": {
"type": "array",
"items": {
"$ref": "#/definitions/LimitNieobecnosciDTO"
}
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "Data": [
    {
      "IDPracownika": 1,
      "KodPracownika": "KodPracownika",
      "IDDefinicjiLImitu": 1,
      "DefinicjaLimitu": "DefinicjaLimitu",
      "Okres": {
        "DataOd": {
          "Year": 2025,
          "Month": 12,
          "Day": 18
        },
        "DataDo": {
          "Year": 2025,
          "Month": 12,
          "Day": 18
        }
      },
      "LimitDni": 1,
      "LimitZaOkresWgWymiaru": 1.0,
      "PozostaloDni": 1.0,
      "LimitGodzin": "LimitGodzin",
      "PozostaloGodzin": "PozostaloGodzin",
      "KorektaGodz": "KorektaGodz",
      "ID": 1,
      "AttachmentsCount": 1,
      "TableName": "TableName",
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "TableName": "TableName",
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "yU19Bg6uotctRw==",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebAPI.ObslugaCzasuPracy

Method name: GetKalendarzPracownika

URL: https://{{baseAddress}}/api/CzasPracyWebAPI/GetKalendarzPracownika

HTTP method: POST

Params type: GetKalendarzPracownika

Result type: DataResponse<List<KalendarzPracownikaDTO>>

Description: Pobranie kalendarza pracownika

Comment: Pobranie danych z kalendarza pracownika

Sample request for object GetKalendarzPracownika. Replace placeholders with real values.

Schema (JSON) for class GetKalendarzPracownika:
{
"title": "GetKalendarzPracownika",
"definitions": {
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"OkresDTO": {
"type": "object",
"properties": {
"DataOd": {
"$ref": "#/definitions/DataDTO"
},
"DataDo": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"DataOd",
"DataDo"
]
}
},
"type": "object",
"properties": {
"IDPracownika": {
"type": "integer"
},
"Okres": {
"$ref": "#/definitions/OkresDTO"
}
},
"required": [
"IDPracownika",
"Okres"
]
}
Sample JSON file:
{
  "IDPracownika": 1,
  "Okres": {
    "DataOd": {
      "Year": 2025,
      "Month": 12,
      "Day": 18
    },
    "DataDo": {
      "Year": 2025,
      "Month": 12,
      "Day": 18
    }
  }
}
Sample response:
Schema (JSON) for class DataResponse<List<KalendarzPracownikaDTO>>:
{
"title": "DataResponse`1",
"definitions": {
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DataDTO-1": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DzienPracyDTO": {
"type": "object",
"properties": {
"IDPracownika": {
"type": "integer"
},
"KodPracownika": {
"type": "string"
},
"Data": {
"$ref": "#/definitions/DataDTO"
},
"StatusDnia": {
"type": "string",
"enum": [
"Kalendarz",
"Wyjatek"
]
},
"Godziny": {
"$ref": "#/definitions/GodzinyDTO"
},
"Strefy": {
"type": "array",
"items": {
"$ref": "#/definitions/StrefaDniaDTO"
}
},
"PracaZdalna": {
"type": "boolean"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Data"
]
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name"
]
},
"GodzinyDTO": {
"type": "object",
"properties": {
"CzasOd": {
"type": [
"string",
"null"
]
},
"CzasOd24": {
"type": "string"
},
"Czas": {
"type": [
"string",
"null"
]
},
"CzasDo": {
"type": [
"string",
"null"
]
},
"CzasDo24": {
"type": "string"
}
},
"required": [
"CzasOd",
"Czas",
"CzasDo"
]
},
"KalendarzPracownikaDTO": {
"type": "object",
"properties": {
"TypDnia": {
"type": "string",
"enum": [
"Pracy",
"Wolny",
"Świąteczny"
]
},
"Nieobecnosc": {
"$ref": "#/definitions/NieobecnoscDTO"
},
"DzienPracyDTO": {
"$ref": "#/definitions/DzienPracyDTO"
}
}
},
"KorektaNieobecnosciDTO": {
"type": "object",
"properties": {
"IDPracownika": {
"type": "integer"
},
"KodPracownika": {
"type": "string"
},
"Definicja": {
"type": "string"
},
"DataOd": {
"$ref": "#/definitions/DataDTO"
},
"DataDo": {
"$ref": "#/definitions/DataDTO"
},
"DniPracy": {
"type": "integer"
},
"Godziny": {
"$ref": "#/definitions/GodzinyDTO"
},
"Uwagi": {
"type": "string"
},
"Nieobecnosc": {
"type": "integer"
},
"Rozliczona": {
"type": "boolean"
},
"NieobecnoscExt": {
"$ref": "#/definitions/NieobecnoscExtDTO"
},
"LastChange": {
"type": "string",
"format": "date-time"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
}
},
"NieobecnoscDTO": {
"type": "object",
"properties": {
"Guid": {
"type": "string"
},
"IDPracownika": {
"type": "integer"
},
"KodPracownika": {
"type": "string"
},
"Definicja": {
"type": "string"
},
"DataOd": {
"$ref": "#/definitions/DataDTO"
},
"DataDo": {
"$ref": "#/definitions/DataDTO"
},
"DniPracy": {
"type": "integer"
},
"Godziny": {
"$ref": "#/definitions/GodzinyDTO"
},
"Uwagi": {
"type": "string"
},
"Korygowana": {
"type": "boolean"
},
"Rozliczona": {
"type": "boolean"
},
"NieobecnoscExt": {
"$ref": "#/definitions/NieobecnoscExtDTO"
},
"LastChange": {
"type": "string",
"format": "date-time"
},
"Korekty": {
"type": "array",
"items": {
"$ref": "#/definitions/KorektaNieobecnosciDTO"
}
},
"ZastepstwoKodPracownika": {
"type": "string"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
}
},
"NieobecnoscExtDTO": {
"type": "object",
"properties": {
"PrzyczynaUrlopu": {
"type": "string",
"enum": [
"NieDotyczy",
"Planowy",
"NaŻądanie"
]
},
"PrzyczynaUrlopuOkolicznosciowego": {
"type": "string",
"enum": [
"InnaPrzyczyna",
"ŚlubLubNarodzinyDziecka",
"ŚmierćIPogrzebŻonyMężaDzieckaMatkiOjcaOjczymaMacochy",
"ŚlubDziecka",
"ŚmierćIPogrzebSiostryBrataTeściowejTeściaBabciDziadka",
"ŚmierćInnejOsoby"
]
},
"RozliczenieNieobecnosciDTO": {
"$ref": "#/definitions/RozliczenieNieobecnosciDTO"
}
}
},
"RozliczenieNieobecnosciDTO": {
"type": "object",
"properties": {
"RozliczenieUrlopu": {
"type": "string",
"enum": [
"NieDotyczy",
"UrlopMacierzyński100",
"UrlopMacierzyński80",
"UrlopMacierzyński0",
"UrlopMacierzyński815",
"UrlopRodzicielski80",
"UrlopRodzicielski60",
"UrlopRodzicielski100",
"UrlopRodzicielski0",
"UrlopRodzicielski815",
"UrlopRodzicielski70",
"UrlopRodzicielski70do9tyg",
"UrlopRodzicielski70ZaZyciem",
"UrlopRodzicielski815ZaZyciem"
]
},
"IdCzlonkaRodziny": {
"type": "integer"
}
}
},
"StrefaDniaDTO": {
"type": "object",
"properties": {
"Nazwa": {
"type": "string"
},
"Godziny": {
"$ref": "#/definitions/GodzinyDTO"
},
"CzasRozliczanyWyliczony": {
"type": [
"string",
"null"
]
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Nazwa",
"Godziny",
"CzasRozliczanyWyliczony"
]
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"Data": {
"type": "array",
"items": {
"$ref": "#/definitions/KalendarzPracownikaDTO"
}
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "Data": [
    {
      "TypDnia": "Pracy",
      "Nieobecnosc": {
        "Guid": "7b1f2376-fe9f-45d8-9333-d9f1cb4ed4d2",
        "IDPracownika": 1,
        "KodPracownika": "KodPracownika",
        "Definicja": "Definicja",
        "DataOd": {
          "Year": 2025,
          "Month": 12,
          "Day": 18
        },
        "DataDo": {
          "Year": 2025,
          "Month": 12,
          "Day": 18
        },
        "DniPracy": 1,
        "Godziny": {
          "CzasOd": null,
          "CzasOd24": "CzasOd24",
          "Czas": null,
          "CzasDo": null,
          "CzasDo24": "CzasDo24"
        },
        "Uwagi": "Uwagi",
        "Korygowana": false,
        "Rozliczona": false,
        "NieobecnoscExt": {
          "PrzyczynaUrlopu": "NieDotyczy",
          "PrzyczynaUrlopuOkolicznosciowego": "InnaPrzyczyna",
          "RozliczenieNieobecnosciDTO": {
            "RozliczenieUrlopu": "NieDotyczy",
            "IdCzlonkaRodziny": 1
          }
        },
        "LastChange": "2025-12-18T12:03:53.6487452Z",
        "Korekty": [
          {
            "IDPracownika": 1,
            "KodPracownika": "KodPracownika",
            "Definicja": "Definicja",
            "DataOd": {
              "Year": 2025,
              "Month": 12,
              "Day": 18
            },
            "DataDo": {
              "Year": 2025,
              "Month": 12,
              "Day": 18
            },
            "DniPracy": 1,
            "Godziny": {
              "CzasOd": null,
              "CzasOd24": "CzasOd24",
              "Czas": null,
              "CzasDo": null,
              "CzasDo24": "CzasDo24"
            },
            "Uwagi": "Uwagi",
            "Nieobecnosc": 1,
            "Rozliczona": false,
            "NieobecnoscExt": {
              "PrzyczynaUrlopu": "NieDotyczy",
              "PrzyczynaUrlopuOkolicznosciowego": "InnaPrzyczyna",
              "RozliczenieNieobecnosciDTO": {
                "RozliczenieUrlopu": "NieDotyczy",
                "IdCzlonkaRodziny": 1
              }
            },
            "LastChange": "2025-12-18T12:03:53.6488283Z",
            "ID": 1,
            "AttachmentsCount": 1,
            "TableName": "TableName",
            "Features": [
              {
                "Name": "Name",
                "Value": "Value",
                "Type": "Type",
                "UpdateDate": null
              }
            ],
            "Attachments": [
              {
                "ID": 1,
                "TableName": "TableName",
                "Name": "Name",
                "Parent": 1,
                "Description": "Description",
                "IsDefault": false,
                "SendEmail": false,
                "Extension": "Extension",
                "Link": "Link",
                "SubType": "None",
                "Base64": "rmGIG3FSDrpMXw==",
                "Features": [
                  {
                    "Name": "Name",
                    "Value": "Value",
                    "Type": "Type",
                    "UpdateDate": null
                  }
                ]
              }
            ]
          }
        ],
        "ZastepstwoKodPracownika": "ZastepstwoKodPracownika",
        "ID": 1,
        "AttachmentsCount": 1,
        "TableName": "TableName",
        "Features": [
          {
            "Name": "Name",
            "Value": "Value",
            "Type": "Type",
            "UpdateDate": null
          }
        ],
        "Attachments": [
          {
            "ID": 1,
            "TableName": "TableName",
            "Name": "Name",
            "Parent": 1,
            "Description": "Description",
            "IsDefault": false,
            "SendEmail": false,
            "Extension": "Extension",
            "Link": "Link",
            "SubType": "None",
            "Base64": "atsxSTwlBHc3gQ==",
            "Features": [
              {
                "Name": "Name",
                "Value": "Value",
                "Type": "Type",
                "UpdateDate": null
              }
            ]
          }
        ]
      },
      "DzienPracyDTO": {
        "IDPracownika": 1,
        "KodPracownika": "KodPracownika",
        "Data": {
          "Year": 2025,
          "Month": 12,
          "Day": 18
        },
        "StatusDnia": "Kalendarz",
        "Godziny": {
          "CzasOd": null,
          "CzasOd24": "CzasOd24",
          "Czas": null,
          "CzasDo": null,
          "CzasDo24": "CzasDo24"
        },
        "Strefy": [
          {
            "Nazwa": "Nazwa",
            "Godziny": {
              "CzasOd": null,
              "CzasOd24": "CzasOd24",
              "Czas": null,
              "CzasDo": null,
              "CzasDo24": "CzasDo24"
            },
            "CzasRozliczanyWyliczony": null,
            "ID": 1,
            "AttachmentsCount": 1,
            "TableName": "TableName",
            "Features": [
              {
                "Name": "Name",
                "Value": "Value",
                "Type": "Type",
                "UpdateDate": null
              }
            ],
            "Attachments": [
              {
                "ID": 1,
                "TableName": "TableName",
                "Name": "Name",
                "Parent": 1,
                "Description": "Description",
                "IsDefault": false,
                "SendEmail": false,
                "Extension": "Extension",
                "Link": "Link",
                "SubType": "None",
                "Base64": "Uo4RVATZFhf5XA==",
                "Features": [
                  {
                    "Name": "Name",
                    "Value": "Value",
                    "Type": "Type",
                    "UpdateDate": null
                  }
                ]
              }
            ]
          }
        ],
        "PracaZdalna": false,
        "ID": 1,
        "AttachmentsCount": 1,
        "TableName": "TableName",
        "Features": [
          {
            "Name": "Name",
            "Value": "Value",
            "Type": "Type",
            "UpdateDate": null
          }
        ],
        "Attachments": [
          {
            "ID": 1,
            "TableName": "TableName",
            "Name": "Name",
            "Parent": 1,
            "Description": "Description",
            "IsDefault": false,
            "SendEmail": false,
            "Extension": "Extension",
            "Link": "Link",
            "SubType": "None",
            "Base64": "uRDA2US5LLY2eg==",
            "Features": [
              {
                "Name": "Name",
                "Value": "Value",
                "Type": "Type",
                "UpdateDate": null
              }
            ]
          }
        ]
      }
    }
  ],
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebAPI.ObslugaCzasuPracy

Method name: UpsertKartaRcp

URL: https://{{baseAddress}}/api/CzasPracyWebAPI/UpsertKartaRcp

HTTP method: POST

Params type: KartaRcpDTO

Result type: UpdateResult

Description: Dodanie kart RCP

Comment: Dodanie kart RCP dla pracowników

Sample request for object KartaRcpDTO. Replace placeholders with real values.

Schema (JSON) for class KartaRcpDTO:
{
"title": "KartaRcpDTO",
"definitions": {
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DataDTO-1": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name"
]
}
},
"type": "object",
"properties": {
"Guid": {
"type": "string"
},
"IDPracownika": {
"type": "integer"
},
"KodPracownika": {
"type": "string"
},
"DataOd": {
"$ref": "#/definitions/DataDTO"
},
"DataDo": {
"$ref": "#/definitions/DataDTO"
},
"Numer": {
"type": "string"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
}
}
Sample JSON file:
{
  "TestMode": false,
  "Guid": "7f641271-1aa2-467c-a652-0f9e7a113259",
  "IDPracownika": 1,
  "KodPracownika": "KodPracownika",
  "DataOd": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  },
  "DataDo": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  },
  "Numer": "Numer",
  "ID": 1,
  "Features": [
    {
      "Name": "Name",
      "Value": "Value",
      "Type": "Type",
      "UpdateDate": null
    }
  ],
  "Attachments": [
    {
      "ID": 1,
      "Name": "Name",
      "Parent": 1,
      "Description": "Description",
      "IsDefault": false,
      "SendEmail": false,
      "Extension": "Extension",
      "Link": "Link",
      "SubType": "None",
      "Base64": "IDSfdU6GGqhI1A==",
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ]
    }
  ]
}
Sample response:
Schema (JSON) for class UpdateResult:
{
"title": "UpdateResult",
"definitions": {
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"Kod": {
"type": "string"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "TestMode": false,
  "ID": 1,
  "Kod": "Kod",
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebAPI.ObslugaCzasuPracy

Method name: GetKartyRcp

URL: https://{{baseAddress}}/api/CzasPracyWebAPI/GetKartyRcp

HTTP method: POST

Params type: GetKartyRcpParams

Result type: DataResponse<List<KartaRcpDTO>>

Description: Pobranie kart RCP

Comment: Pobranie kart RCP na dany dzień

Sample request for object GetKartyRcpParams. Replace placeholders with real values.

Schema (JSON) for class GetKartyRcpParams:
{
"title": "GetKartyRcpParams",
"definitions": {
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
}
},
"type": "object",
"properties": {
"IDs": {
"type": "array",
"items": {
"type": "integer"
}
},
"IDPracownika": {
"type": "integer"
},
"KodPracownika": {
"type": "string"
},
"Data": {
"$ref": "#/definitions/DataDTO"
}
}
}
Sample JSON file:
{
  "IDs": [
    1
  ],
  "IDPracownika": 1,
  "KodPracownika": "KodPracownika",
  "Data": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  }
}
Sample response:
Schema (JSON) for class DataResponse<List<KartaRcpDTO>>:
{
"title": "DataResponse`1",
"definitions": {
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DataDTO-1": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name"
]
},
"KartaRcpDTO": {
"type": "object",
"properties": {
"Guid": {
"type": "string"
},
"IDPracownika": {
"type": "integer"
},
"KodPracownika": {
"type": "string"
},
"DataOd": {
"$ref": "#/definitions/DataDTO"
},
"DataDo": {
"$ref": "#/definitions/DataDTO"
},
"Numer": {
"type": "string"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"Data": {
"type": "array",
"items": {
"$ref": "#/definitions/KartaRcpDTO"
}
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "Data": [
    {
      "Guid": "b35c39ac-9ec7-4460-ab6d-1a8e1629e572",
      "IDPracownika": 1,
      "KodPracownika": "KodPracownika",
      "DataOd": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "DataDo": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "Numer": "Numer",
      "ID": 1,
      "AttachmentsCount": 1,
      "TableName": "TableName",
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "TableName": "TableName",
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "H1r2iXLTEPHlwA==",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebAPI.ObslugaCzasuPracy

Method name: GetPracaZdalna

URL: https://{{baseAddress}}/api/CzasPracyWebAPI/GetPracaZdalna

HTTP method: POST

Params type: GetPracaZdalnaParams

Result type: DataResponse<List<PracaZdalnaDTO>>

Description: Pobranie informacji o pracy zdalnej

Comment: Pobranie informacji o pracy zdalnej na dany dzień

Sample request for object GetPracaZdalnaParams. Replace placeholders with real values.

Schema (JSON) for class GetPracaZdalnaParams:
{
"title": "GetPracaZdalnaParams",
"definitions": {
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
}
},
"type": "object",
"properties": {
"IDPracownika": {
"type": "array",
"items": {
"type": "integer"
}
},
"KodPracownika": {
"type": "string"
},
"Data": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"Data"
]
}
Sample JSON file:
{
  "IDPracownika": [
    1
  ],
  "KodPracownika": "KodPracownika",
  "Data": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  }
}
Sample response:
Schema (JSON) for class DataResponse<List<PracaZdalnaDTO>>:
{
"title": "DataResponse`1",
"definitions": {
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"OkresDTO": {
"type": "object",
"properties": {
"DataOd": {
"$ref": "#/definitions/DataDTO"
},
"DataDo": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"DataOd",
"DataDo"
]
},
"PracaZdalnaDTO": {
"type": "object",
"properties": {
"IDPracownika": {
"type": "integer"
},
"KodPracownika": {
"type": "string"
},
"Dzien": {
"$ref": "#/definitions/DataDTO"
},
"PracaZdalnaNaDzien": {
"type": "boolean"
},
"WniosekPracaZdalna": {
"$ref": "#/definitions/WniosekPracaZdalnaDTO"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
},
"WniosekPracaZdalnaDTO": {
"type": "object",
"properties": {
"Definicja": {
"type": "string"
},
"DataZlozenia": {
"$ref": "#/definitions/DataDTO"
},
"DataDecyzji": {
"$ref": "#/definitions/DataDTO"
},
"Okres": {
"$ref": "#/definitions/OkresDTO"
}
}
}
},
"type": "object",
"properties": {
"Data": {
"type": "array",
"items": {
"$ref": "#/definitions/PracaZdalnaDTO"
}
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "Data": [
    {
      "IDPracownika": 1,
      "KodPracownika": "KodPracownika",
      "Dzien": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "PracaZdalnaNaDzien": false,
      "WniosekPracaZdalna": {
        "Definicja": "Definicja",
        "DataZlozenia": {
          "Year": 2025,
          "Month": 12,
          "Day": 18
        },
        "DataDecyzji": {
          "Year": 2025,
          "Month": 12,
          "Day": 18
        },
        "Okres": {
          "DataOd": {
            "Year": 2025,
            "Month": 12,
            "Day": 18
          },
          "DataDo": {
            "Year": 2025,
            "Month": 12,
            "Day": 18
          }
        }
      }
    }
  ],
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebAPI.ObslugaCzasuPracy

Method name: GetOryginalneWejsciaWyjsciaRCP

URL: https://{{baseAddress}}/api/CzasPracyWebAPI/GetOryginalneWejsciaWyjsciaRCP

HTTP method: POST

Params type: GetOryginalneWejsciaWyjsciaRCPParams

Result type: DataResponse<List<OrginalneWejscieWyjscieRCPDTO>>

Description: Pobranie informacji o orginalnych wejściach/wyjściach

Comment: Pobranie informacji o orginalnych wejściach/wyjściach na dany okres i definicje

Sample request for object GetOryginalneWejsciaWyjsciaRCPParams. Replace placeholders with real values.

Schema (JSON) for class GetOryginalneWejsciaWyjsciaRCPParams:
{
"title": "GetOryginalneWejsciaWyjsciaRCPParams",
"definitions": {
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"OkresDTO": {
"type": "object",
"properties": {
"DataOd": {
"$ref": "#/definitions/DataDTO"
},
"DataDo": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"DataOd",
"DataDo"
]
}
},
"type": "object",
"properties": {
"IDPracownika": {
"type": "array",
"items": {
"type": "integer"
}
},
"KodPracownika": {
"type": "string"
},
"Okres": {
"$ref": "#/definitions/OkresDTO"
},
"DefinicjaZdarzeniaKod": {
"type": "string"
}
},
"required": [
"Okres"
]
}
Sample JSON file:
{
  "IDPracownika": [
    1
  ],
  "KodPracownika": "KodPracownika",
  "Okres": {
    "DataOd": {
      "Year": 2025,
      "Month": 12,
      "Day": 18
    },
    "DataDo": {
      "Year": 2025,
      "Month": 12,
      "Day": 18
    }
  },
  "DefinicjaZdarzeniaKod": "DefinicjaZdarzeniaKod"
}
Sample response:
Schema (JSON) for class DataResponse<List<OrginalneWejscieWyjscieRCPDTO>>:
{
"title": "DataResponse`1",
"definitions": {
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"OrginalneWejscieWyjscieRCPDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"KodPracownika": {
"type": "string"
},
"IDPracownika": {
"type": "integer"
},
"DefinicjaZdarzeniaNazwa": {
"type": "string"
},
"DefinicjaZdarzeniaKod": {
"type": "string"
},
"Uwagi": {
"type": "string"
},
"Data": {
"$ref": "#/definitions/DataDTO"
},
"Godzina": {
"type": "string"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"Data": {
"type": "array",
"items": {
"$ref": "#/definitions/OrginalneWejscieWyjscieRCPDTO"
}
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "Data": [
    {
      "ID": 1,
      "KodPracownika": "KodPracownika",
      "IDPracownika": 1,
      "DefinicjaZdarzeniaNazwa": "DefinicjaZdarzeniaNazwa",
      "DefinicjaZdarzeniaKod": "DefinicjaZdarzeniaKod",
      "Uwagi": "Uwagi",
      "Data": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "Godzina": "Godzina"
    }
  ],
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebAPI.ObslugaCzasuPracy

Method name: GetPlannedDays

URL: https://{{baseAddress}}/api/WorkTimeWebAPI/GetPlannedDays

HTTP method: POST

Params type: GetWorkTimeParams

Result type: DataResponse<List<PlannedTimeDTO>>

Description: Get the employee's work schedule from the calendar

Comment: Gets the list of the employee's planned working time from the calendar

Sample request for object GetWorkTimeParams. Replace placeholders with real values.

Schema (JSON) for class GetWorkTimeParams:
{
"title": "GetWorkTimeParams",
"definitions": {
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"PeriodDTO": {
"type": "object",
"properties": {
"DateFrom": {
"$ref": "#/definitions/DataDTO"
},
"DateTo": {
"$ref": "#/definitions/DataDTO"
}
}
}
},
"type": "object",
"properties": {
"IDs": {
"type": "array",
"items": {
"type": "integer"
}
},
"EmployeeID": {
"type": "integer"
},
"EmployeeCode": {
"type": "string"
},
"Period": {
"$ref": "#/definitions/PeriodDTO"
},
"LimitToEmploymentPeriod": {
"type": "boolean"
}
}
}
Sample JSON file:
{
  "IDs": [
    1
  ],
  "EmployeeID": 1,
  "EmployeeCode": "EmployeeCode",
  "Period": {
    "DateFrom": {
      "Year": 2025,
      "Month": 12,
      "Day": 18
    },
    "DateTo": {
      "Year": 2025,
      "Month": 12,
      "Day": 18
    }
  },
  "LimitToEmploymentPeriod": false
}
Sample response:
Schema (JSON) for class DataResponse<List<PlannedTimeDTO>>:
{
"title": "DataResponse`1",
"definitions": {
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DataDTO-1": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DaySegmentDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Hours": {
"$ref": "#/definitions/HoursDTO"
},
"SettlementTime": {
"type": [
"string",
"null"
]
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name",
"Hours",
"SettlementTime"
]
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name"
]
},
"HoursDTO": {
"type": "object",
"properties": {
"FromTime": {
"type": [
"string",
"null"
]
},
"FromTime24": {
"type": "string"
},
"Time": {
"type": [
"string",
"null"
]
},
"ToTime": {
"type": [
"string",
"null"
]
},
"ToTime24": {
"type": "string"
}
},
"required": [
"FromTime",
"Time",
"ToTime"
]
},
"PlannedTimeDTO": {
"type": "object",
"properties": {
"EmployeeID": {
"type": "integer"
},
"EmployeeCode": {
"type": "string"
},
"Date": {
"$ref": "#/definitions/DataDTO"
},
"DayOfWeek": {
"type": "string",
"enum": [
"Sunday",
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday"
]
},
"DayStatus": {
"type": "string",
"enum": [
"Kalendarz",
"Wyjatek"
]
},
"DayDefinition": {
"type": "string"
},
"Hours": {
"$ref": "#/definitions/HoursDTO"
},
"DaySegments": {
"type": "array",
"items": {
"$ref": "#/definitions/DaySegmentDTO"
}
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Date",
"DayDefinition"
]
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"Data": {
"type": "array",
"items": {
"$ref": "#/definitions/PlannedTimeDTO"
}
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "Data": [
    {
      "EmployeeID": 1,
      "EmployeeCode": "EmployeeCode",
      "Date": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "DayOfWeek": "Sunday",
      "DayStatus": "Kalendarz",
      "DayDefinition": "DayDefinition",
      "Hours": {
        "FromTime": null,
        "FromTime24": "FromTime24",
        "Time": null,
        "ToTime": null,
        "ToTime24": "ToTime24"
      },
      "DaySegments": [
        {
          "Name": "Name",
          "Hours": {
            "FromTime": null,
            "FromTime24": "FromTime24",
            "Time": null,
            "ToTime": null,
            "ToTime24": "ToTime24"
          },
          "SettlementTime": null,
          "ID": 1,
          "AttachmentsCount": 1,
          "TableName": "TableName",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ],
          "Attachments": [
            {
              "ID": 1,
              "TableName": "TableName",
              "Name": "Name",
              "Parent": 1,
              "Description": "Description",
              "IsDefault": false,
              "SendEmail": false,
              "Extension": "Extension",
              "Link": "Link",
              "SubType": "None",
              "Base64": "uDyYRt1aE4LoLw==",
              "Features": [
                {
                  "Name": "Name",
                  "Value": "Value",
                  "Type": "Type",
                  "UpdateDate": null
                }
              ]
            }
          ]
        }
      ],
      "ID": 1,
      "AttachmentsCount": 1,
      "TableName": "TableName",
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "TableName": "TableName",
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "gQVymtIgbwvgxw==",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebAPI.ObslugaCzasuPracy

Method name: GetWorkDays

URL: https://{{baseAddress}}/api/WorkTimeWebAPI/GetWorkDays

HTTP method: POST

Params type: GetWorkTimeParams

Result type: DataResponse<List<WorkDayDTO>>

Description: Get the employee's work schedule from the calendar

Comment: Gets the list of the employee's planned working time from the calendar

Sample request for object GetWorkTimeParams. Replace placeholders with real values.

Schema (JSON) for class GetWorkTimeParams:
{
"title": "GetWorkTimeParams",
"definitions": {
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"PeriodDTO": {
"type": "object",
"properties": {
"DateFrom": {
"$ref": "#/definitions/DataDTO"
},
"DateTo": {
"$ref": "#/definitions/DataDTO"
}
}
}
},
"type": "object",
"properties": {
"IDs": {
"type": "array",
"items": {
"type": "integer"
}
},
"EmployeeID": {
"type": "integer"
},
"EmployeeCode": {
"type": "string"
},
"Period": {
"$ref": "#/definitions/PeriodDTO"
},
"LimitToEmploymentPeriod": {
"type": "boolean"
}
}
}
Sample JSON file:
{
  "IDs": [
    1
  ],
  "EmployeeID": 1,
  "EmployeeCode": "EmployeeCode",
  "Period": {
    "DateFrom": {
      "Year": 2025,
      "Month": 12,
      "Day": 18
    },
    "DateTo": {
      "Year": 2025,
      "Month": 12,
      "Day": 18
    }
  },
  "LimitToEmploymentPeriod": false
}
Sample response:
Schema (JSON) for class DataResponse<List<WorkDayDTO>>:
{
"title": "DataResponse`1",
"definitions": {
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DataDTO-1": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DaySegmentDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Hours": {
"$ref": "#/definitions/HoursDTO"
},
"SettlementTime": {
"type": [
"string",
"null"
]
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name",
"Hours",
"SettlementTime"
]
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name"
]
},
"HoursDTO": {
"type": "object",
"properties": {
"FromTime": {
"type": [
"string",
"null"
]
},
"FromTime24": {
"type": "string"
},
"Time": {
"type": [
"string",
"null"
]
},
"ToTime": {
"type": [
"string",
"null"
]
},
"ToTime24": {
"type": "string"
}
},
"required": [
"FromTime",
"Time",
"ToTime"
]
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
},
"WorkDayDTO": {
"type": "object",
"properties": {
"EmployeeID": {
"type": "integer"
},
"EmployeeCode": {
"type": "string"
},
"Date": {
"$ref": "#/definitions/DataDTO"
},
"DayStatus": {
"type": "string",
"enum": [
"Kalendarz",
"Wyjatek"
]
},
"Hours": {
"$ref": "#/definitions/HoursDTO"
},
"DaySegments": {
"type": "array",
"items": {
"$ref": "#/definitions/DaySegmentDTO"
}
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Date"
]
}
},
"type": "object",
"properties": {
"Data": {
"type": "array",
"items": {
"$ref": "#/definitions/WorkDayDTO"
}
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "Data": [
    {
      "EmployeeID": 1,
      "EmployeeCode": "EmployeeCode",
      "Date": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "DayStatus": "Kalendarz",
      "Hours": {
        "FromTime": null,
        "FromTime24": "FromTime24",
        "Time": null,
        "ToTime": null,
        "ToTime24": "ToTime24"
      },
      "DaySegments": [
        {
          "Name": "Name",
          "Hours": {
            "FromTime": null,
            "FromTime24": "FromTime24",
            "Time": null,
            "ToTime": null,
            "ToTime24": "ToTime24"
          },
          "SettlementTime": null,
          "ID": 1,
          "AttachmentsCount": 1,
          "TableName": "TableName",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ],
          "Attachments": [
            {
              "ID": 1,
              "TableName": "TableName",
              "Name": "Name",
              "Parent": 1,
              "Description": "Description",
              "IsDefault": false,
              "SendEmail": false,
              "Extension": "Extension",
              "Link": "Link",
              "SubType": "None",
              "Base64": "thpAOIiON65wMA==",
              "Features": [
                {
                  "Name": "Name",
                  "Value": "Value",
                  "Type": "Type",
                  "UpdateDate": null
                }
              ]
            }
          ]
        }
      ],
      "ID": 1,
      "AttachmentsCount": 1,
      "TableName": "TableName",
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "TableName": "TableName",
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "aXGHTI9Mcv04Qg==",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebAPI.ObslugaCzasuPracy

Method name: UpsertPlannedDays

URL: https://{{baseAddress}}/api/WorkTimeWebAPI/UpsertPlannedDays

HTTP method: POST

Params type: List<EmployeePlanCalendarDTO>

Result type: UpdateResult

Description: Adding planned time to employee’s calendar

Comment: Adding list of planned time to employee’s calendar. Specify Hours and Time Zones!

Sample request for object List`1. Replace placeholders with real values.

Schema (JSON) for class List<EmployeePlanCalendarDTO>:
{
"title": "List`1",
"definitions": {
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DataDTO-1": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DaySegmentDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Hours": {
"$ref": "#/definitions/HoursDTO"
},
"SettlementTime": {
"type": [
"string",
"null"
]
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name",
"Hours",
"SettlementTime"
]
},
"EmployeePlanCalendarDTO": {
"type": "object",
"properties": {
"EmployeeID": {
"type": "integer"
},
"EmployeeCode": {
"type": "string"
},
"Warnings": {
"type": "boolean"
},
"PlannedTime": {
"type": "array",
"items": {
"$ref": "#/definitions/PlannedTimeDTO"
}
}
},
"required": [
"PlannedTime"
]
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name"
]
},
"HoursDTO": {
"type": "object",
"properties": {
"FromTime": {
"type": [
"string",
"null"
]
},
"FromTime24": {
"type": "string"
},
"Time": {
"type": [
"string",
"null"
]
},
"ToTime": {
"type": [
"string",
"null"
]
},
"ToTime24": {
"type": "string"
}
},
"required": [
"FromTime",
"Time",
"ToTime"
]
},
"PlannedTimeDTO": {
"type": "object",
"properties": {
"EmployeeID": {
"type": "integer"
},
"EmployeeCode": {
"type": "string"
},
"Date": {
"$ref": "#/definitions/DataDTO"
},
"DayOfWeek": {
"type": "string",
"enum": [
"Sunday",
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday"
]
},
"DayStatus": {
"type": "string",
"enum": [
"Kalendarz",
"Wyjatek"
]
},
"DayDefinition": {
"type": "string"
},
"Hours": {
"$ref": "#/definitions/HoursDTO"
},
"DaySegments": {
"type": "array",
"items": {
"$ref": "#/definitions/DaySegmentDTO"
}
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Date",
"DayDefinition"
]
}
},
"type": "array",
"items": {
"$ref": "#/definitions/EmployeePlanCalendarDTO"
}
}
Sample JSON file:
[
  {
    "EmployeeID": 1,
    "EmployeeCode": "EmployeeCode",
    "Warnings": false,
    "PlannedTime": [
      {
        "EmployeeID": 1,
        "EmployeeCode": "EmployeeCode",
        "Date": {
          "Year": 2025,
          "Month": 12,
          "Day": 18
        },
        "DayOfWeek": "Sunday",
        "DayStatus": "Kalendarz",
        "DayDefinition": "DayDefinition",
        "Hours": {
          "FromTime": null,
          "FromTime24": "FromTime24",
          "Time": null,
          "ToTime": null,
          "ToTime24": "ToTime24"
        },
        "DaySegments": [
          {
            "Name": "Name",
            "Hours": {
              "FromTime": null,
              "FromTime24": "FromTime24",
              "Time": null,
              "ToTime": null,
              "ToTime24": "ToTime24"
            },
            "SettlementTime": null,
            "ID": 1,
            "Features": [
              {
                "Name": "Name",
                "Value": "Value",
                "Type": "Type",
                "UpdateDate": null
              }
            ],
            "Attachments": [
              {
                "ID": 1,
                "Name": "Name",
                "Parent": 1,
                "Description": "Description",
                "IsDefault": false,
                "SendEmail": false,
                "Extension": "Extension",
                "Link": "Link",
                "SubType": "None",
                "Base64": "e1AMVyHuA5nVUQ==",
                "Features": [
                  {
                    "Name": "Name",
                    "Value": "Value",
                    "Type": "Type",
                    "UpdateDate": null
                  }
                ]
              }
            ]
          }
        ],
        "ID": 1,
        "Features": [
          {
            "Name": "Name",
            "Value": "Value",
            "Type": "Type",
            "UpdateDate": null
          }
        ],
        "Attachments": [
          {
            "ID": 1,
            "Name": "Name",
            "Parent": 1,
            "Description": "Description",
            "IsDefault": false,
            "SendEmail": false,
            "Extension": "Extension",
            "Link": "Link",
            "SubType": "None",
            "Base64": "hO6vqSlul4iIyA==",
            "Features": [
              {
                "Name": "Name",
                "Value": "Value",
                "Type": "Type",
                "UpdateDate": null
              }
            ]
          }
        ]
      }
    ]
  }
]
Sample response:
Schema (JSON) for class UpdateResult:
{
"title": "UpdateResult",
"definitions": {
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"Kod": {
"type": "string"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "TestMode": false,
  "ID": 1,
  "Kod": "Kod",
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebAPI.ObslugaCzasuPracy

Method name: UpsertWorkingDays

URL: https://{{baseAddress}}/api/WorkTimeWebAPI/UpsertWorkingDays

HTTP method: POST

Params type: List<EmployeeWorkCalendarDTO>

Result type: UpdateResult

Description: Adding worked time to employee’s calendar

Comment: Adding list of worked time to employee’s calendar. Specify Hours and Time Zones!

Sample request for object List`1. Replace placeholders with real values.

Schema (JSON) for class List<EmployeeWorkCalendarDTO>:
{
"title": "List`1",
"definitions": {
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DataDTO-1": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DaySegmentDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Hours": {
"$ref": "#/definitions/HoursDTO"
},
"SettlementTime": {
"type": [
"string",
"null"
]
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name",
"Hours",
"SettlementTime"
]
},
"EmployeeWorkCalendarDTO": {
"type": "object",
"properties": {
"EmployeeID": {
"type": "integer"
},
"EmployeeCode": {
"type": "string"
},
"WorkDayReconciliation": {
"type": "boolean"
},
"WorkDays": {
"type": "array",
"items": {
"$ref": "#/definitions/WorkDayDTO"
}
}
},
"required": [
"WorkDays"
]
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name"
]
},
"HoursDTO": {
"type": "object",
"properties": {
"FromTime": {
"type": [
"string",
"null"
]
},
"FromTime24": {
"type": "string"
},
"Time": {
"type": [
"string",
"null"
]
},
"ToTime": {
"type": [
"string",
"null"
]
},
"ToTime24": {
"type": "string"
}
},
"required": [
"FromTime",
"Time",
"ToTime"
]
},
"WorkDayDTO": {
"type": "object",
"properties": {
"EmployeeID": {
"type": "integer"
},
"EmployeeCode": {
"type": "string"
},
"Date": {
"$ref": "#/definitions/DataDTO"
},
"DayStatus": {
"type": "string",
"enum": [
"Kalendarz",
"Wyjatek"
]
},
"Hours": {
"$ref": "#/definitions/HoursDTO"
},
"DaySegments": {
"type": "array",
"items": {
"$ref": "#/definitions/DaySegmentDTO"
}
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Date"
]
}
},
"type": "array",
"items": {
"$ref": "#/definitions/EmployeeWorkCalendarDTO"
}
}
Sample JSON file:
[
  {
    "EmployeeID": 1,
    "EmployeeCode": "EmployeeCode",
    "WorkDayReconciliation": false,
    "WorkDays": [
      {
        "EmployeeID": 1,
        "EmployeeCode": "EmployeeCode",
        "Date": {
          "Year": 2025,
          "Month": 12,
          "Day": 18
        },
        "DayStatus": "Kalendarz",
        "Hours": {
          "FromTime": null,
          "FromTime24": "FromTime24",
          "Time": null,
          "ToTime": null,
          "ToTime24": "ToTime24"
        },
        "DaySegments": [
          {
            "Name": "Name",
            "Hours": {
              "FromTime": null,
              "FromTime24": "FromTime24",
              "Time": null,
              "ToTime": null,
              "ToTime24": "ToTime24"
            },
            "SettlementTime": null,
            "ID": 1,
            "Features": [
              {
                "Name": "Name",
                "Value": "Value",
                "Type": "Type",
                "UpdateDate": null
              }
            ],
            "Attachments": [
              {
                "ID": 1,
                "Name": "Name",
                "Parent": 1,
                "Description": "Description",
                "IsDefault": false,
                "SendEmail": false,
                "Extension": "Extension",
                "Link": "Link",
                "SubType": "None",
                "Base64": "Ap5lkJGBJvdPkw==",
                "Features": [
                  {
                    "Name": "Name",
                    "Value": "Value",
                    "Type": "Type",
                    "UpdateDate": null
                  }
                ]
              }
            ]
          }
        ],
        "ID": 1,
        "Features": [
          {
            "Name": "Name",
            "Value": "Value",
            "Type": "Type",
            "UpdateDate": null
          }
        ],
        "Attachments": [
          {
            "ID": 1,
            "Name": "Name",
            "Parent": 1,
            "Description": "Description",
            "IsDefault": false,
            "SendEmail": false,
            "Extension": "Extension",
            "Link": "Link",
            "SubType": "None",
            "Base64": "MmzOiDA0de2oCg==",
            "Features": [
              {
                "Name": "Name",
                "Value": "Value",
                "Type": "Type",
                "UpdateDate": null
              }
            ]
          }
        ]
      }
    ]
  }
]
Sample response:
Schema (JSON) for class UpdateResult:
{
"title": "UpdateResult",
"definitions": {
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"Kod": {
"type": "string"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "TestMode": false,
  "ID": 1,
  "Kod": "Kod",
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebAPI.ObslugaCzasuPracy

Method name: GetHolidays

URL: https://{{baseAddress}}/api/WorkTimeWebAPI/GetHolidays

HTTP method: POST

Params type: GetHolidaysParams

Result type: DataResponse<List<PlannedTimeDTO>>

Description: Get the employee's work schedule from the calendar

Comment: Retrieves the list of the employee's planned working time from the calendar

Sample request for object GetHolidaysParams. Replace placeholders with real values.

Schema (JSON) for class GetHolidaysParams:
{
"title": "GetHolidaysParams",
"type": "object",
"properties": {
"Year": {
"type": "integer"
}
},
"required": [
"Year"
]
}
Sample JSON file:
{
  "Year": 2025
}
Sample response:
Schema (JSON) for class DataResponse<List<PlannedTimeDTO>>:
{
"title": "DataResponse`1",
"definitions": {
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DataDTO-1": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DaySegmentDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Hours": {
"$ref": "#/definitions/HoursDTO"
},
"SettlementTime": {
"type": [
"string",
"null"
]
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name",
"Hours",
"SettlementTime"
]
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name"
]
},
"HoursDTO": {
"type": "object",
"properties": {
"FromTime": {
"type": [
"string",
"null"
]
},
"FromTime24": {
"type": "string"
},
"Time": {
"type": [
"string",
"null"
]
},
"ToTime": {
"type": [
"string",
"null"
]
},
"ToTime24": {
"type": "string"
}
},
"required": [
"FromTime",
"Time",
"ToTime"
]
},
"PlannedTimeDTO": {
"type": "object",
"properties": {
"EmployeeID": {
"type": "integer"
},
"EmployeeCode": {
"type": "string"
},
"Date": {
"$ref": "#/definitions/DataDTO"
},
"DayOfWeek": {
"type": "string",
"enum": [
"Sunday",
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday"
]
},
"DayStatus": {
"type": "string",
"enum": [
"Kalendarz",
"Wyjatek"
]
},
"DayDefinition": {
"type": "string"
},
"Hours": {
"$ref": "#/definitions/HoursDTO"
},
"DaySegments": {
"type": "array",
"items": {
"$ref": "#/definitions/DaySegmentDTO"
}
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Date",
"DayDefinition"
]
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"Data": {
"type": "array",
"items": {
"$ref": "#/definitions/PlannedTimeDTO"
}
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "Data": [
    {
      "EmployeeID": 1,
      "EmployeeCode": "EmployeeCode",
      "Date": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "DayOfWeek": "Sunday",
      "DayStatus": "Kalendarz",
      "DayDefinition": "DayDefinition",
      "Hours": {
        "FromTime": null,
        "FromTime24": "FromTime24",
        "Time": null,
        "ToTime": null,
        "ToTime24": "ToTime24"
      },
      "DaySegments": [
        {
          "Name": "Name",
          "Hours": {
            "FromTime": null,
            "FromTime24": "FromTime24",
            "Time": null,
            "ToTime": null,
            "ToTime24": "ToTime24"
          },
          "SettlementTime": null,
          "ID": 1,
          "AttachmentsCount": 1,
          "TableName": "TableName",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ],
          "Attachments": [
            {
              "ID": 1,
              "TableName": "TableName",
              "Name": "Name",
              "Parent": 1,
              "Description": "Description",
              "IsDefault": false,
              "SendEmail": false,
              "Extension": "Extension",
              "Link": "Link",
              "SubType": "None",
              "Base64": "l3h1aEy9hWGGxA==",
              "Features": [
                {
                  "Name": "Name",
                  "Value": "Value",
                  "Type": "Type",
                  "UpdateDate": null
                }
              ]
            }
          ]
        }
      ],
      "ID": 1,
      "AttachmentsCount": 1,
      "TableName": "TableName",
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "TableName": "TableName",
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "996Xd22afXEbsA==",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebAPI.ObslugaCzasuPracy

Method name: GetAbsences

URL: https://{{baseAddress}}/api/WorkTimeWebAPI/GetAbsences

HTTP method: POST

Params type: GetAbsencesParams

Result type: PackableDataResponse<AbsenceDTO>

Description: Read employee absences from the enova365 system

Comment: Reads employee absences from the enova365 system

Sample request for object GetAbsencesParams. Replace placeholders with real values.

Schema (JSON) for class GetAbsencesParams:
{
"title": "GetAbsencesParams",
"definitions": {
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"OkresDTO": {
"type": "object",
"properties": {
"DataOd": {
"$ref": "#/definitions/DataDTO"
},
"DataDo": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"DataOd",
"DataDo"
]
}
},
"type": "object",
"properties": {
"IDs": {
"type": "array",
"items": {
"type": "integer"
}
},
"EmployeeID": {
"type": "integer"
},
"EmployeeCode": {
"type": "string"
},
"Period": {
"$ref": "#/definitions/OkresDTO"
},
"Definition": {
"type": "string"
},
"AdditionalInformation": {
"type": "boolean"
}
}
}
Sample JSON file:
{
  "IDs": [
    1
  ],
  "EmployeeID": 1,
  "EmployeeCode": "EmployeeCode",
  "Period": {
    "DataOd": {
      "Year": 2025,
      "Month": 12,
      "Day": 18
    },
    "DataDo": {
      "Year": 2025,
      "Month": 12,
      "Day": 18
    }
  },
  "Definition": "Definition",
  "AdditionalInformation": false
}
Sample response:
Schema (JSON) for class PackableDataResponse<AbsenceDTO>:
{
"title": "PackableDataResponse`1",
"definitions": {
"AbsenceCorrectDTO": {
"type": "object",
"properties": {
"EmployeeID": {
"type": "integer"
},
"EmployeeCode": {
"type": "string"
},
"AbsenceDefinition": {
"type": "string"
},
"DateFrom": {
"$ref": "#/definitions/DataDTO"
},
"DateTo": {
"$ref": "#/definitions/DataDTO"
},
"WorkingDaysNo": {
"type": "integer"
},
"Hours": {
"$ref": "#/definitions/HoursDTO"
},
"Comments": {
"type": "string"
},
"Absence": {
"type": "integer"
},
"PaidOut": {
"type": "boolean"
},
"AbsenceExt": {
"$ref": "#/definitions/AbsenceExtDTO"
},
"LastChange": {
"type": "string",
"format": "date-time"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
}
},
"AbsenceDTO": {
"type": "object",
"properties": {
"Guid": {
"type": "string"
},
"EmployeeID": {
"type": "integer"
},
"EmployeeCode": {
"type": "string"
},
"AbsenceDefinition": {
"type": "string"
},
"DateFrom": {
"$ref": "#/definitions/DataDTO"
},
"DateTo": {
"$ref": "#/definitions/DataDTO"
},
"WorkingDaysNo": {
"type": "integer"
},
"Hours": {
"$ref": "#/definitions/HoursDTO"
},
"Comments": {
"type": "string"
},
"Corrected": {
"type": "boolean"
},
"PaidOut": {
"type": "boolean"
},
"AbsenceExt": {
"$ref": "#/definitions/AbsenceExtDTO"
},
"LastChange": {
"type": "string",
"format": "date-time"
},
"Corrections": {
"type": "array",
"items": {
"$ref": "#/definitions/AbsenceCorrectDTO"
}
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
}
},
"AbsenceExtDTO": {
"type": "object",
"properties": {
"AnnualLeaveReason": {
"type": "string",
"enum": [
"NieDotyczy",
"Planowy",
"NaŻądanie"
]
},
"OccasionalLeaveReason": {
"type": "string",
"enum": [
"InnaPrzyczyna",
"ŚlubLubNarodzinyDziecka",
"ŚmierćIPogrzebŻonyMężaDzieckaMatkiOjcaOjczymaMacochy",
"ŚlubDziecka",
"ŚmierćIPogrzebSiostryBrataTeściowejTeściaBabciDziadka",
"ŚmierćInnejOsoby"
]
},
"AbsenceSettlement": {
"$ref": "#/definitions/AbsenceSettlementDTO"
}
}
},
"AbsenceSettlementDTO": {
"type": "object",
"properties": {
"LeaveSettlement": {
"type": "string",
"enum": [
"NieDotyczy",
"UrlopMacierzyński100",
"UrlopMacierzyński80",
"UrlopMacierzyński0",
"UrlopMacierzyński815",
"UrlopRodzicielski80",
"UrlopRodzicielski60",
"UrlopRodzicielski100",
"UrlopRodzicielski0",
"UrlopRodzicielski815",
"UrlopRodzicielski70",
"UrlopRodzicielski70do9tyg",
"UrlopRodzicielski70ZaZyciem",
"UrlopRodzicielski815ZaZyciem"
]
},
"DependantID": {
"type": "integer"
},
"DependantGuid": {
"type": "integer"
}
}
},
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DataDTO-1": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name"
]
},
"HoursDTO": {
"type": "object",
"properties": {
"FromTime": {
"type": [
"string",
"null"
]
},
"FromTime24": {
"type": "string"
},
"Time": {
"type": [
"string",
"null"
]
},
"ToTime": {
"type": [
"string",
"null"
]
},
"ToTime24": {
"type": "string"
}
},
"required": [
"FromTime",
"Time",
"ToTime"
]
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"AllRows": {
"type": "boolean"
},
"LastID": {
"type": "integer"
},
"ToReadRecords": {
"type": "integer"
},
"ReadRecords": {
"type": "integer"
},
"Data": {
"type": "array",
"items": {
"$ref": "#/definitions/AbsenceDTO"
}
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"AllRows",
"LastID",
"ReadRecords",
"Success"
]
}
Sample JSON file:
{
  "AllRows": false,
  "LastID": 1,
  "ToReadRecords": 1,
  "ReadRecords": 1,
  "Data": [
    {
      "Guid": "3ce45be3-0e06-4dfe-9d71-4fb6c7533c0a",
      "EmployeeID": 1,
      "EmployeeCode": "EmployeeCode",
      "AbsenceDefinition": "AbsenceDefinition",
      "DateFrom": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "DateTo": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "WorkingDaysNo": 1,
      "Hours": {
        "FromTime": null,
        "FromTime24": "FromTime24",
        "Time": null,
        "ToTime": null,
        "ToTime24": "ToTime24"
      },
      "Comments": "Comments",
      "Corrected": false,
      "PaidOut": false,
      "AbsenceExt": {
        "AnnualLeaveReason": "NieDotyczy",
        "OccasionalLeaveReason": "InnaPrzyczyna",
        "AbsenceSettlement": {
          "LeaveSettlement": "NieDotyczy",
          "DependantID": 1,
          "DependantGuid": 1
        }
      },
      "LastChange": "2025-12-18T12:03:53.7237311Z",
      "Corrections": [
        {
          "EmployeeID": 1,
          "EmployeeCode": "EmployeeCode",
          "AbsenceDefinition": "AbsenceDefinition",
          "DateFrom": {
            "Year": 2025,
            "Month": 12,
            "Day": 18
          },
          "DateTo": {
            "Year": 2025,
            "Month": 12,
            "Day": 18
          },
          "WorkingDaysNo": 1,
          "Hours": {
            "FromTime": null,
            "FromTime24": "FromTime24",
            "Time": null,
            "ToTime": null,
            "ToTime24": "ToTime24"
          },
          "Comments": "Comments",
          "Absence": 1,
          "PaidOut": false,
          "AbsenceExt": {
            "AnnualLeaveReason": "NieDotyczy",
            "OccasionalLeaveReason": "InnaPrzyczyna",
            "AbsenceSettlement": {
              "LeaveSettlement": "NieDotyczy",
              "DependantID": 1,
              "DependantGuid": 1
            }
          },
          "LastChange": "2025-12-18T12:03:53.7238197Z",
          "ID": 1,
          "AttachmentsCount": 1,
          "TableName": "TableName",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ],
          "Attachments": [
            {
              "ID": 1,
              "TableName": "TableName",
              "Name": "Name",
              "Parent": 1,
              "Description": "Description",
              "IsDefault": false,
              "SendEmail": false,
              "Extension": "Extension",
              "Link": "Link",
              "SubType": "None",
              "Base64": "efssQtwJ9eY8UQ==",
              "Features": [
                {
                  "Name": "Name",
                  "Value": "Value",
                  "Type": "Type",
                  "UpdateDate": null
                }
              ]
            }
          ]
        }
      ],
      "ID": 1,
      "AttachmentsCount": 1,
      "TableName": "TableName",
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "TableName": "TableName",
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "ofuLjr+AWqDaBA==",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebAPI.ObslugaCzasuPracy

Method name: GetAbsenceDefinitions

URL: https://{{baseAddress}}/api/WorkTimeWebAPI/GetAbsenceDefinitions

HTTP method: POST

Params type: GetAbsenceDefinitionsParams

Result type: DataResponse<List<AbsenceDefinitionDTO>>

Description: Retrieve absence definitions

Comment: Retrieve absence definitions from the enova365 system

Sample request for object GetAbsenceDefinitionsParams. Replace placeholders with real values.

Schema (JSON) for class GetAbsenceDefinitionsParams:
{
"title": "GetAbsenceDefinitionsParams",
"definitions": {
"Filter": {
"type": "object",
"properties": {
"LogicalOperator": {
"type": "string",
"enum": [
"And",
"Or"
]
},
"Operator": {
"type": "string",
"enum": [
"Equal",
"NotEqual",
"Like",
"Null"
]
},
"ColumnName": {
"type": "string"
},
"FilterValue": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"IDs": {
"type": "array",
"items": {
"type": "integer"
}
},
"Conditions": {
"type": "array",
"items": {
"$ref": "#/definitions/Filter"
}
}
}
}
Sample JSON file:
{
  "IDs": [
    1
  ],
  "Conditions": [
    {
      "LogicalOperator": "And",
      "Operator": "Equal",
      "ColumnName": "ColumnName",
      "FilterValue": "FilterValue"
    }
  ]
}
Sample response:
Schema (JSON) for class DataResponse<List<AbsenceDefinitionDTO>>:
{
"title": "DataResponse`1",
"definitions": {
"AbsenceDefinitionDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Shortcut": {
"type": "string"
},
"Code": {
"type": "string"
},
"Locked": {
"type": "boolean"
},
"AbsenceType": {
"type": "string",
"enum": [
"Nieusprawiedliwiona",
"UsprawiedliwionaBezpłatna",
"UsprawiedliwionaPłatna",
"UrlopWychowawczy",
"NieobecnośćZUS",
"Storno"
]
},
"LimitDefinitionID": {
"type": "integer"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
}
},
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"DataDTO": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"Name"
]
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"Data": {
"type": "array",
"items": {
"$ref": "#/definitions/AbsenceDefinitionDTO"
}
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "Data": [
    {
      "Name": "Name",
      "Shortcut": "Shortcut",
      "Code": "Code",
      "Locked": false,
      "AbsenceType": "Nieusprawiedliwiona",
      "LimitDefinitionID": 1,
      "ID": 1,
      "AttachmentsCount": 1,
      "TableName": "TableName",
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "TableName": "TableName",
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "1PzvcQu2wmwa3g==",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebAPI.ObslugaCzasuPracy

Method name: GetDayDefinitions

URL: https://{{baseAddress}}/api/WorkTimeWebAPI/GetDayDefinitions

HTTP method: POST

Params type: GetDayDefinitionsParams

Result type: DataResponse<List<DayDefinitionDTO>>

Description: Retrieve day definitions

Comment: Retrieve day definitions from the enova365 system

Sample request for object GetDayDefinitionsParams. Replace placeholders with real values.

Schema (JSON) for class GetDayDefinitionsParams:
{
"title": "GetDayDefinitionsParams",
"type": "object"
}
Sample JSON file:
{}
Sample response:
Schema (JSON) for class DataResponse<List<DayDefinitionDTO>>:
{
"title": "DataResponse`1",
"definitions": {
"DayDefinitionDTO": {
"type": "object",
"properties": {
"Locked": {
"type": "boolean"
},
"Name": {
"type": "string"
},
"DayType": {
"type": "string",
"enum": [
"Pracy",
"Wolny",
"Świąteczny"
]
}
}
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"Data": {
"type": "array",
"items": {
"$ref": "#/definitions/DayDefinitionDTO"
}
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "Data": [
    {
      "Locked": false,
      "Name": "Name",
      "DayType": "Pracy"
    }
  ],
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebAPI.ObslugaCzasuPracy

Method name: UpsertAbsence

URL: https://{{baseAddress}}/api/WorkTimeWebAPI/UpsertAbsence

HTTP method: POST

Params type: AbsenceDTO

Result type: UpdateResult

Description: Adding or actualization of the absence

Comment: Adding or actualization of the existing absence

Sample request for object AbsenceDTO. Replace placeholders with real values.

Schema (JSON) for class AbsenceDTO:
{
"title": "AbsenceDTO",
"definitions": {
"AbsenceCorrectDTO": {
"type": "object",
"properties": {
"EmployeeID": {
"type": "integer"
},
"EmployeeCode": {
"type": "string"
},
"AbsenceDefinition": {
"type": "string"
},
"DateFrom": {
"$ref": "#/definitions/DataDTO"
},
"DateTo": {
"$ref": "#/definitions/DataDTO"
},
"WorkingDaysNo": {
"type": "integer"
},
"Hours": {
"$ref": "#/definitions/HoursDTO"
},
"Comments": {
"type": "string"
},
"Absence": {
"type": "integer"
},
"PaidOut": {
"type": "boolean"
},
"AbsenceExt": {
"$ref": "#/definitions/AbsenceExtDTO"
},
"LastChange": {
"type": "string",
"format": "date-time"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
}
},
"AbsenceExtDTO": {
"type": "object",
"properties": {
"AnnualLeaveReason": {
"type": "string",
"enum": [
"NieDotyczy",
"Planowy",
"NaŻądanie"
]
},
"OccasionalLeaveReason": {
"type": "string",
"enum": [
"InnaPrzyczyna",
"ŚlubLubNarodzinyDziecka",
"ŚmierćIPogrzebŻonyMężaDzieckaMatkiOjcaOjczymaMacochy",
"ŚlubDziecka",
"ŚmierćIPogrzebSiostryBrataTeściowejTeściaBabciDziadka",
"ŚmierćInnejOsoby"
]
},
"AbsenceSettlement": {
"$ref": "#/definitions/AbsenceSettlementDTO"
}
}
},
"AbsenceSettlementDTO": {
"type": "object",
"properties": {
"LeaveSettlement": {
"type": "string",
"enum": [
"NieDotyczy",
"UrlopMacierzyński100",
"UrlopMacierzyński80",
"UrlopMacierzyński0",
"UrlopMacierzyński815",
"UrlopRodzicielski80",
"UrlopRodzicielski60",
"UrlopRodzicielski100",
"UrlopRodzicielski0",
"UrlopRodzicielski815",
"UrlopRodzicielski70",
"UrlopRodzicielski70do9tyg",
"UrlopRodzicielski70ZaZyciem",
"UrlopRodzicielski815ZaZyciem"
]
},
"DependantID": {
"type": "integer"
},
"DependantGuid": {
"type": "integer"
}
}
},
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DataDTO-1": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name"
]
},
"HoursDTO": {
"type": "object",
"properties": {
"FromTime": {
"type": [
"string",
"null"
]
},
"FromTime24": {
"type": "string"
},
"Time": {
"type": [
"string",
"null"
]
},
"ToTime": {
"type": [
"string",
"null"
]
},
"ToTime24": {
"type": "string"
}
},
"required": [
"FromTime",
"Time",
"ToTime"
]
}
},
"type": "object",
"properties": {
"Guid": {
"type": "string"
},
"EmployeeID": {
"type": "integer"
},
"EmployeeCode": {
"type": "string"
},
"AbsenceDefinition": {
"type": "string"
},
"DateFrom": {
"$ref": "#/definitions/DataDTO"
},
"DateTo": {
"$ref": "#/definitions/DataDTO"
},
"WorkingDaysNo": {
"type": "integer"
},
"Hours": {
"$ref": "#/definitions/HoursDTO"
},
"Comments": {
"type": "string"
},
"Corrected": {
"type": "boolean"
},
"PaidOut": {
"type": "boolean"
},
"AbsenceExt": {
"$ref": "#/definitions/AbsenceExtDTO"
},
"LastChange": {
"type": "string",
"format": "date-time"
},
"Corrections": {
"type": "array",
"items": {
"$ref": "#/definitions/AbsenceCorrectDTO"
}
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
}
}
Sample JSON file:
{
  "TestMode": false,
  "Guid": "cad0a6a5-85e1-4e13-a985-c9a7036dceba",
  "EmployeeID": 1,
  "EmployeeCode": "EmployeeCode",
  "AbsenceDefinition": "AbsenceDefinition",
  "DateFrom": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  },
  "DateTo": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  },
  "WorkingDaysNo": 1,
  "Hours": {
    "FromTime": null,
    "FromTime24": "FromTime24",
    "Time": null,
    "ToTime": null,
    "ToTime24": "ToTime24"
  },
  "Comments": "Comments",
  "Corrected": false,
  "PaidOut": false,
  "AbsenceExt": {
    "AnnualLeaveReason": "NieDotyczy",
    "OccasionalLeaveReason": "InnaPrzyczyna",
    "AbsenceSettlement": {
      "LeaveSettlement": "NieDotyczy",
      "DependantID": 1,
      "DependantGuid": 1
    }
  },
  "LastChange": "2025-12-18T12:03:53.7387933Z",
  "Corrections": [
    {
      "EmployeeID": 1,
      "EmployeeCode": "EmployeeCode",
      "AbsenceDefinition": "AbsenceDefinition",
      "DateFrom": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "DateTo": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "WorkingDaysNo": 1,
      "Hours": {
        "FromTime": null,
        "FromTime24": "FromTime24",
        "Time": null,
        "ToTime": null,
        "ToTime24": "ToTime24"
      },
      "Comments": "Comments",
      "Absence": 1,
      "PaidOut": false,
      "AbsenceExt": {
        "AnnualLeaveReason": "NieDotyczy",
        "OccasionalLeaveReason": "InnaPrzyczyna",
        "AbsenceSettlement": {
          "LeaveSettlement": "NieDotyczy",
          "DependantID": 1,
          "DependantGuid": 1
        }
      },
      "LastChange": "2025-12-18T12:03:53.7389355Z",
      "ID": 1,
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "g+XbBcpjTJD2Qw==",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "ID": 1,
  "Features": [
    {
      "Name": "Name",
      "Value": "Value",
      "Type": "Type",
      "UpdateDate": null
    }
  ],
  "Attachments": [
    {
      "ID": 1,
      "Name": "Name",
      "Parent": 1,
      "Description": "Description",
      "IsDefault": false,
      "SendEmail": false,
      "Extension": "Extension",
      "Link": "Link",
      "SubType": "None",
      "Base64": "qYlEi64Km1Btkw==",
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ]
    }
  ]
}
Sample response:
Schema (JSON) for class UpdateResult:
{
"title": "UpdateResult",
"definitions": {
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"Kod": {
"type": "string"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "TestMode": false,
  "ID": 1,
  "Kod": "Kod",
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebAPI.ObslugaCzasuPracy

Method name: UpsertAbsenceCorrect

URL: https://{{baseAddress}}/api/WorkTimeWebAPI/UpsertAbsenceCorrect

HTTP method: POST

Params type: AbsenceCorrectDTO

Result type: UpdateResult

Description: Adding absence correction

Comment: Adding absence correction

Sample request for object AbsenceCorrectDTO. Replace placeholders with real values.

Schema (JSON) for class AbsenceCorrectDTO:
{
"title": "AbsenceCorrectDTO",
"definitions": {
"AbsenceExtDTO": {
"type": "object",
"properties": {
"AnnualLeaveReason": {
"type": "string",
"enum": [
"NieDotyczy",
"Planowy",
"NaŻądanie"
]
},
"OccasionalLeaveReason": {
"type": "string",
"enum": [
"InnaPrzyczyna",
"ŚlubLubNarodzinyDziecka",
"ŚmierćIPogrzebŻonyMężaDzieckaMatkiOjcaOjczymaMacochy",
"ŚlubDziecka",
"ŚmierćIPogrzebSiostryBrataTeściowejTeściaBabciDziadka",
"ŚmierćInnejOsoby"
]
},
"AbsenceSettlement": {
"$ref": "#/definitions/AbsenceSettlementDTO"
}
}
},
"AbsenceSettlementDTO": {
"type": "object",
"properties": {
"LeaveSettlement": {
"type": "string",
"enum": [
"NieDotyczy",
"UrlopMacierzyński100",
"UrlopMacierzyński80",
"UrlopMacierzyński0",
"UrlopMacierzyński815",
"UrlopRodzicielski80",
"UrlopRodzicielski60",
"UrlopRodzicielski100",
"UrlopRodzicielski0",
"UrlopRodzicielski815",
"UrlopRodzicielski70",
"UrlopRodzicielski70do9tyg",
"UrlopRodzicielski70ZaZyciem",
"UrlopRodzicielski815ZaZyciem"
]
},
"DependantID": {
"type": "integer"
},
"DependantGuid": {
"type": "integer"
}
}
},
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DataDTO-1": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name"
]
},
"HoursDTO": {
"type": "object",
"properties": {
"FromTime": {
"type": [
"string",
"null"
]
},
"FromTime24": {
"type": "string"
},
"Time": {
"type": [
"string",
"null"
]
},
"ToTime": {
"type": [
"string",
"null"
]
},
"ToTime24": {
"type": "string"
}
},
"required": [
"FromTime",
"Time",
"ToTime"
]
}
},
"type": "object",
"properties": {
"EmployeeID": {
"type": "integer"
},
"EmployeeCode": {
"type": "string"
},
"AbsenceDefinition": {
"type": "string"
},
"DateFrom": {
"$ref": "#/definitions/DataDTO"
},
"DateTo": {
"$ref": "#/definitions/DataDTO"
},
"WorkingDaysNo": {
"type": "integer"
},
"Hours": {
"$ref": "#/definitions/HoursDTO"
},
"Comments": {
"type": "string"
},
"Absence": {
"type": "integer"
},
"PaidOut": {
"type": "boolean"
},
"AbsenceExt": {
"$ref": "#/definitions/AbsenceExtDTO"
},
"LastChange": {
"type": "string",
"format": "date-time"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
}
}
Sample JSON file:
{
  "TestMode": false,
  "EmployeeID": 1,
  "EmployeeCode": "EmployeeCode",
  "AbsenceDefinition": "AbsenceDefinition",
  "DateFrom": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  },
  "DateTo": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  },
  "WorkingDaysNo": 1,
  "Hours": {
    "FromTime": null,
    "FromTime24": "FromTime24",
    "Time": null,
    "ToTime": null,
    "ToTime24": "ToTime24"
  },
  "Comments": "Comments",
  "Absence": 1,
  "PaidOut": false,
  "AbsenceExt": {
    "AnnualLeaveReason": "NieDotyczy",
    "OccasionalLeaveReason": "InnaPrzyczyna",
    "AbsenceSettlement": {
      "LeaveSettlement": "NieDotyczy",
      "DependantID": 1,
      "DependantGuid": 1
    }
  },
  "LastChange": "2025-12-18T12:03:53.7471745Z",
  "ID": 1,
  "Features": [
    {
      "Name": "Name",
      "Value": "Value",
      "Type": "Type",
      "UpdateDate": null
    }
  ],
  "Attachments": [
    {
      "ID": 1,
      "Name": "Name",
      "Parent": 1,
      "Description": "Description",
      "IsDefault": false,
      "SendEmail": false,
      "Extension": "Extension",
      "Link": "Link",
      "SubType": "None",
      "Base64": "rlE1CzKUVHq1pA==",
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ]
    }
  ]
}
Sample response:
Schema (JSON) for class UpdateResult:
{
"title": "UpdateResult",
"definitions": {
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"Kod": {
"type": "string"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "TestMode": false,
  "ID": 1,
  "Kod": "Kod",
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebAPI.ObslugaCzasuPracy

Method name: DeleteAbsence

URL: https://{{baseAddress}}/api/WorkTimeWebAPI/DeleteAbsence

HTTP method: POST

Params type: GetDeleteAbsenceParams

Result type: UpdateResult

Description: Deleting absence or absence correction

Comment: Deleting absence or absence correction. Enter the ID of the absence/correction to be deleted

Sample request for object GetDeleteAbsenceParams. Replace placeholders with real values.

Schema (JSON) for class GetDeleteAbsenceParams:
{
"title": "GetDeleteAbsenceParams",
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"Guid": {
"type": "string"
}
}
}
Sample JSON file:
{
  "TestMode": false,
  "ID": 1,
  "Guid": "ea6e22dc-cdb7-4e73-acab-c4e76f04ad0b"
}
Sample response:
Schema (JSON) for class UpdateResult:
{
"title": "UpdateResult",
"definitions": {
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"Kod": {
"type": "string"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "TestMode": false,
  "ID": 1,
  "Kod": "Kod",
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebAPI.ObslugaCzasuPracy

Method name: GetAbsenceLimits

URL: https://{{baseAddress}}/api/WorkTimeWebAPI/GetAbsenceLimits

HTTP method: POST

Params type: GetAbsenceLimitParams

Result type: DataResponse<List<AbsenceLimitDTO>>

Description: Collection of absence limits

Comment: Collection of absence limits for a given day

Sample request for object GetAbsenceLimitParams. Replace placeholders with real values.

Schema (JSON) for class GetAbsenceLimitParams:
{
"title": "GetAbsenceLimitParams",
"definitions": {
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"Filter": {
"type": "object",
"properties": {
"LogicalOperator": {
"type": "string",
"enum": [
"And",
"Or"
]
},
"Operator": {
"type": "string",
"enum": [
"Equal",
"NotEqual",
"Like",
"Null"
]
},
"ColumnName": {
"type": "string"
},
"FilterValue": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"IDs": {
"type": "array",
"items": {
"type": "integer"
}
},
"Date": {
"$ref": "#/definitions/DataDTO"
},
"EmployeeID": {
"type": "integer"
},
"EmployeeCode": {
"type": "string"
},
"Conditions": {
"type": "array",
"items": {
"$ref": "#/definitions/Filter"
}
}
}
}
Sample JSON file:
{
  "IDs": [
    1
  ],
  "Date": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  },
  "EmployeeID": 1,
  "EmployeeCode": "EmployeeCode",
  "Conditions": [
    {
      "LogicalOperator": "And",
      "Operator": "Equal",
      "ColumnName": "ColumnName",
      "FilterValue": "FilterValue"
    }
  ]
}
Sample response:
Schema (JSON) for class DataResponse<List<AbsenceLimitDTO>>:
{
"title": "DataResponse`1",
"definitions": {
"AbsenceLimitDTO": {
"type": "object",
"properties": {
"EmployeeID": {
"type": "integer"
},
"EmployeeCode": {
"type": "string"
},
"LimitDefinitionID": {
"type": "integer"
},
"LimitDefinitionName": {
"type": "string"
},
"Period": {
"$ref": "#/definitions/PeriodDTO"
},
"DaysLimit": {
"type": "integer"
},
"LimitForThePeriodByFTE": {
"type": "number"
},
"DaysLeft": {
"type": "number"
},
"HoursLimit": {
"type": "string"
},
"HoursLeft": {
"type": "string"
},
"CorrectionHours": {
"type": "string"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
}
},
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DataDTO-1": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name"
]
},
"PeriodDTO": {
"type": "object",
"properties": {
"DateFrom": {
"$ref": "#/definitions/DataDTO"
},
"DateTo": {
"$ref": "#/definitions/DataDTO"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"Data": {
"type": "array",
"items": {
"$ref": "#/definitions/AbsenceLimitDTO"
}
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "Data": [
    {
      "EmployeeID": 1,
      "EmployeeCode": "EmployeeCode",
      "LimitDefinitionID": 1,
      "LimitDefinitionName": "LimitDefinitionName",
      "Period": {
        "DateFrom": {
          "Year": 2025,
          "Month": 12,
          "Day": 18
        },
        "DateTo": {
          "Year": 2025,
          "Month": 12,
          "Day": 18
        }
      },
      "DaysLimit": 1,
      "LimitForThePeriodByFTE": 1.0,
      "DaysLeft": 1.0,
      "HoursLimit": "HoursLimit",
      "HoursLeft": "HoursLeft",
      "CorrectionHours": "CorrectionHours",
      "ID": 1,
      "AttachmentsCount": 1,
      "TableName": "TableName",
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "TableName": "TableName",
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "du+fA/r1FQkEoA==",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebAPI.ObslugaCzasuPracy

Method name: GetEmployeeCalendar

URL: https://{{baseAddress}}/api/WorkTimeWebAPI/GetEmployeeCalendar

HTTP method: POST

Params type: GetEmployeeCalendar

Result type: DataResponse<List<EmployeeCalendarDTO>>

Description: Get the employee's calendar

Comment: Gets data from the employee's calendar

Sample request for object GetEmployeeCalendar. Replace placeholders with real values.

Schema (JSON) for class GetEmployeeCalendar:
{
"title": "GetEmployeeCalendar",
"definitions": {
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"OkresDTO": {
"type": "object",
"properties": {
"DataOd": {
"$ref": "#/definitions/DataDTO"
},
"DataDo": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"DataOd",
"DataDo"
]
}
},
"type": "object",
"properties": {
"EmployeeID": {
"type": "integer"
},
"Period": {
"$ref": "#/definitions/OkresDTO"
}
},
"required": [
"EmployeeID",
"Period"
]
}
Sample JSON file:
{
  "EmployeeID": 1,
  "Period": {
    "DataOd": {
      "Year": 2025,
      "Month": 12,
      "Day": 18
    },
    "DataDo": {
      "Year": 2025,
      "Month": 12,
      "Day": 18
    }
  }
}
Sample response:
Schema (JSON) for class DataResponse<List<EmployeeCalendarDTO>>:
{
"title": "DataResponse`1",
"definitions": {
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DataDTO-1": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DaySegmentDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Hours": {
"$ref": "#/definitions/HoursDTO"
},
"SettlementTime": {
"type": [
"string",
"null"
]
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name",
"Hours",
"SettlementTime"
]
},
"EmployeeCalendarDTO": {
"type": "object",
"properties": {
"DayType": {
"type": "string",
"enum": [
"Pracy",
"Wolny",
"Świąteczny"
]
},
"Absence": {
"$ref": "#/definitions/NieobecnoscDTO"
},
"WorkDay": {
"$ref": "#/definitions/WorkDayDTO"
}
}
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name"
]
},
"GodzinyDTO": {
"type": "object",
"properties": {
"CzasOd": {
"type": [
"string",
"null"
]
},
"CzasOd24": {
"type": "string"
},
"Czas": {
"type": [
"string",
"null"
]
},
"CzasDo": {
"type": [
"string",
"null"
]
},
"CzasDo24": {
"type": "string"
}
},
"required": [
"CzasOd",
"Czas",
"CzasDo"
]
},
"HoursDTO": {
"type": "object",
"properties": {
"FromTime": {
"type": [
"string",
"null"
]
},
"FromTime24": {
"type": "string"
},
"Time": {
"type": [
"string",
"null"
]
},
"ToTime": {
"type": [
"string",
"null"
]
},
"ToTime24": {
"type": "string"
}
},
"required": [
"FromTime",
"Time",
"ToTime"
]
},
"KorektaNieobecnosciDTO": {
"type": "object",
"properties": {
"IDPracownika": {
"type": "integer"
},
"KodPracownika": {
"type": "string"
},
"Definicja": {
"type": "string"
},
"DataOd": {
"$ref": "#/definitions/DataDTO"
},
"DataDo": {
"$ref": "#/definitions/DataDTO"
},
"DniPracy": {
"type": "integer"
},
"Godziny": {
"$ref": "#/definitions/GodzinyDTO"
},
"Uwagi": {
"type": "string"
},
"Nieobecnosc": {
"type": "integer"
},
"Rozliczona": {
"type": "boolean"
},
"NieobecnoscExt": {
"$ref": "#/definitions/NieobecnoscExtDTO"
},
"LastChange": {
"type": "string",
"format": "date-time"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
}
},
"NieobecnoscDTO": {
"type": "object",
"properties": {
"Guid": {
"type": "string"
},
"IDPracownika": {
"type": "integer"
},
"KodPracownika": {
"type": "string"
},
"Definicja": {
"type": "string"
},
"DataOd": {
"$ref": "#/definitions/DataDTO"
},
"DataDo": {
"$ref": "#/definitions/DataDTO"
},
"DniPracy": {
"type": "integer"
},
"Godziny": {
"$ref": "#/definitions/GodzinyDTO"
},
"Uwagi": {
"type": "string"
},
"Korygowana": {
"type": "boolean"
},
"Rozliczona": {
"type": "boolean"
},
"NieobecnoscExt": {
"$ref": "#/definitions/NieobecnoscExtDTO"
},
"LastChange": {
"type": "string",
"format": "date-time"
},
"Korekty": {
"type": "array",
"items": {
"$ref": "#/definitions/KorektaNieobecnosciDTO"
}
},
"ZastepstwoKodPracownika": {
"type": "string"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
}
},
"NieobecnoscExtDTO": {
"type": "object",
"properties": {
"PrzyczynaUrlopu": {
"type": "string",
"enum": [
"NieDotyczy",
"Planowy",
"NaŻądanie"
]
},
"PrzyczynaUrlopuOkolicznosciowego": {
"type": "string",
"enum": [
"InnaPrzyczyna",
"ŚlubLubNarodzinyDziecka",
"ŚmierćIPogrzebŻonyMężaDzieckaMatkiOjcaOjczymaMacochy",
"ŚlubDziecka",
"ŚmierćIPogrzebSiostryBrataTeściowejTeściaBabciDziadka",
"ŚmierćInnejOsoby"
]
},
"RozliczenieNieobecnosciDTO": {
"$ref": "#/definitions/RozliczenieNieobecnosciDTO"
}
}
},
"RozliczenieNieobecnosciDTO": {
"type": "object",
"properties": {
"RozliczenieUrlopu": {
"type": "string",
"enum": [
"NieDotyczy",
"UrlopMacierzyński100",
"UrlopMacierzyński80",
"UrlopMacierzyński0",
"UrlopMacierzyński815",
"UrlopRodzicielski80",
"UrlopRodzicielski60",
"UrlopRodzicielski100",
"UrlopRodzicielski0",
"UrlopRodzicielski815",
"UrlopRodzicielski70",
"UrlopRodzicielski70do9tyg",
"UrlopRodzicielski70ZaZyciem",
"UrlopRodzicielski815ZaZyciem"
]
},
"IdCzlonkaRodziny": {
"type": "integer"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
},
"WorkDayDTO": {
"type": "object",
"properties": {
"EmployeeID": {
"type": "integer"
},
"EmployeeCode": {
"type": "string"
},
"Date": {
"$ref": "#/definitions/DataDTO"
},
"DayStatus": {
"type": "string",
"enum": [
"Kalendarz",
"Wyjatek"
]
},
"Hours": {
"$ref": "#/definitions/HoursDTO"
},
"DaySegments": {
"type": "array",
"items": {
"$ref": "#/definitions/DaySegmentDTO"
}
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Date"
]
}
},
"type": "object",
"properties": {
"Data": {
"type": "array",
"items": {
"$ref": "#/definitions/EmployeeCalendarDTO"
}
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "Data": [
    {
      "DayType": "Pracy",
      "Absence": {
        "Guid": "e8c7f54b-53b7-4fa8-b858-c9cb40571135",
        "IDPracownika": 1,
        "KodPracownika": "KodPracownika",
        "Definicja": "Definicja",
        "DataOd": {
          "Year": 2025,
          "Month": 12,
          "Day": 18
        },
        "DataDo": {
          "Year": 2025,
          "Month": 12,
          "Day": 18
        },
        "DniPracy": 1,
        "Godziny": {
          "CzasOd": null,
          "CzasOd24": "CzasOd24",
          "Czas": null,
          "CzasDo": null,
          "CzasDo24": "CzasDo24"
        },
        "Uwagi": "Uwagi",
        "Korygowana": false,
        "Rozliczona": false,
        "NieobecnoscExt": {
          "PrzyczynaUrlopu": "NieDotyczy",
          "PrzyczynaUrlopuOkolicznosciowego": "InnaPrzyczyna",
          "RozliczenieNieobecnosciDTO": {
            "RozliczenieUrlopu": "NieDotyczy",
            "IdCzlonkaRodziny": 1
          }
        },
        "LastChange": "2025-12-18T12:03:53.7691848Z",
        "Korekty": [
          {
            "IDPracownika": 1,
            "KodPracownika": "KodPracownika",
            "Definicja": "Definicja",
            "DataOd": {
              "Year": 2025,
              "Month": 12,
              "Day": 18
            },
            "DataDo": {
              "Year": 2025,
              "Month": 12,
              "Day": 18
            },
            "DniPracy": 1,
            "Godziny": {
              "CzasOd": null,
              "CzasOd24": "CzasOd24",
              "Czas": null,
              "CzasDo": null,
              "CzasDo24": "CzasDo24"
            },
            "Uwagi": "Uwagi",
            "Nieobecnosc": 1,
            "Rozliczona": false,
            "NieobecnoscExt": {
              "PrzyczynaUrlopu": "NieDotyczy",
              "PrzyczynaUrlopuOkolicznosciowego": "InnaPrzyczyna",
              "RozliczenieNieobecnosciDTO": {
                "RozliczenieUrlopu": "NieDotyczy",
                "IdCzlonkaRodziny": 1
              }
            },
            "LastChange": "2025-12-18T12:03:53.7692693Z",
            "ID": 1,
            "AttachmentsCount": 1,
            "TableName": "TableName",
            "Features": [
              {
                "Name": "Name",
                "Value": "Value",
                "Type": "Type",
                "UpdateDate": null
              }
            ],
            "Attachments": [
              {
                "ID": 1,
                "TableName": "TableName",
                "Name": "Name",
                "Parent": 1,
                "Description": "Description",
                "IsDefault": false,
                "SendEmail": false,
                "Extension": "Extension",
                "Link": "Link",
                "SubType": "None",
                "Base64": "fo+6vrvG3AaTeA==",
                "Features": [
                  {
                    "Name": "Name",
                    "Value": "Value",
                    "Type": "Type",
                    "UpdateDate": null
                  }
                ]
              }
            ]
          }
        ],
        "ZastepstwoKodPracownika": "ZastepstwoKodPracownika",
        "ID": 1,
        "AttachmentsCount": 1,
        "TableName": "TableName",
        "Features": [
          {
            "Name": "Name",
            "Value": "Value",
            "Type": "Type",
            "UpdateDate": null
          }
        ],
        "Attachments": [
          {
            "ID": 1,
            "TableName": "TableName",
            "Name": "Name",
            "Parent": 1,
            "Description": "Description",
            "IsDefault": false,
            "SendEmail": false,
            "Extension": "Extension",
            "Link": "Link",
            "SubType": "None",
            "Base64": "f+D2rdRLN6o+rw==",
            "Features": [
              {
                "Name": "Name",
                "Value": "Value",
                "Type": "Type",
                "UpdateDate": null
              }
            ]
          }
        ]
      },
      "WorkDay": {
        "EmployeeID": 1,
        "EmployeeCode": "EmployeeCode",
        "Date": {
          "Year": 2025,
          "Month": 12,
          "Day": 18
        },
        "DayStatus": "Kalendarz",
        "Hours": {
          "FromTime": null,
          "FromTime24": "FromTime24",
          "Time": null,
          "ToTime": null,
          "ToTime24": "ToTime24"
        },
        "DaySegments": [
          {
            "Name": "Name",
            "Hours": {
              "FromTime": null,
              "FromTime24": "FromTime24",
              "Time": null,
              "ToTime": null,
              "ToTime24": "ToTime24"
            },
            "SettlementTime": null,
            "ID": 1,
            "AttachmentsCount": 1,
            "TableName": "TableName",
            "Features": [
              {
                "Name": "Name",
                "Value": "Value",
                "Type": "Type",
                "UpdateDate": null
              }
            ],
            "Attachments": [
              {
                "ID": 1,
                "TableName": "TableName",
                "Name": "Name",
                "Parent": 1,
                "Description": "Description",
                "IsDefault": false,
                "SendEmail": false,
                "Extension": "Extension",
                "Link": "Link",
                "SubType": "None",
                "Base64": "hnaKnhwiVQ52AQ==",
                "Features": [
                  {
                    "Name": "Name",
                    "Value": "Value",
                    "Type": "Type",
                    "UpdateDate": null
                  }
                ]
              }
            ]
          }
        ],
        "ID": 1,
        "AttachmentsCount": 1,
        "TableName": "TableName",
        "Features": [
          {
            "Name": "Name",
            "Value": "Value",
            "Type": "Type",
            "UpdateDate": null
          }
        ],
        "Attachments": [
          {
            "ID": 1,
            "TableName": "TableName",
            "Name": "Name",
            "Parent": 1,
            "Description": "Description",
            "IsDefault": false,
            "SendEmail": false,
            "Extension": "Extension",
            "Link": "Link",
            "SubType": "None",
            "Base64": "6hKpfBKblGUuag==",
            "Features": [
              {
                "Name": "Name",
                "Value": "Value",
                "Type": "Type",
                "UpdateDate": null
              }
            ]
          }
        ]
      }
    }
  ],
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebAPI.ObslugaCzasuPracy

Method name: UpsertTimeCard

URL: https://{{baseAddress}}/api/WorkTimeWebAPI/UpsertTimeCard

HTTP method: POST

Params type: TimeCardDTO

Result type: UpdateResult

Description: Addition of a time card

Comment: Adding a time card for an employee

Sample request for object TimeCardDTO. Replace placeholders with real values.

Schema (JSON) for class TimeCardDTO:
{
"title": "TimeCardDTO",
"definitions": {
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DataDTO-1": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name"
]
}
},
"type": "object",
"properties": {
"Guid": {
"type": "string"
},
"EmployeeID": {
"type": "integer"
},
"EmployeeCode": {
"type": "string"
},
"DateFrom": {
"$ref": "#/definitions/DataDTO"
},
"DateTo": {
"$ref": "#/definitions/DataDTO"
},
"Number": {
"type": "string"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
}
}
Sample JSON file:
{
  "TestMode": false,
  "Guid": "51c4b6f7-3d30-459f-940f-e69ad9f65a02",
  "EmployeeID": 1,
  "EmployeeCode": "EmployeeCode",
  "DateFrom": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  },
  "DateTo": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  },
  "Number": "Number",
  "ID": 1,
  "Features": [
    {
      "Name": "Name",
      "Value": "Value",
      "Type": "Type",
      "UpdateDate": null
    }
  ],
  "Attachments": [
    {
      "ID": 1,
      "Name": "Name",
      "Parent": 1,
      "Description": "Description",
      "IsDefault": false,
      "SendEmail": false,
      "Extension": "Extension",
      "Link": "Link",
      "SubType": "None",
      "Base64": "ebg6AUYeeUj90w==",
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ]
    }
  ]
}
Sample response:
Schema (JSON) for class UpdateResult:
{
"title": "UpdateResult",
"definitions": {
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"Kod": {
"type": "string"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "TestMode": false,
  "ID": 1,
  "Kod": "Kod",
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebAPI.ObslugaCzasuPracy

Method name: GetTimeCards

URL: https://{{baseAddress}}/api/WorkTimeWebAPI/GetTimeCards

HTTP method: POST

Params type: GetTimeCardsParams

Result type: DataResponse<List<TimeCardDTO>>

Description: Collection of time cards

Comment: Collection of time cards for a given day

Sample request for object GetTimeCardsParams. Replace placeholders with real values.

Schema (JSON) for class GetTimeCardsParams:
{
"title": "GetTimeCardsParams",
"definitions": {
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
}
},
"type": "object",
"properties": {
"IDs": {
"type": "array",
"items": {
"type": "integer"
}
},
"Date": {
"$ref": "#/definitions/DataDTO"
},
"EmployeeID": {
"type": "integer"
},
"EmployeeCode": {
"type": "string"
}
}
}
Sample JSON file:
{
  "IDs": [
    1
  ],
  "Date": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  },
  "EmployeeID": 1,
  "EmployeeCode": "EmployeeCode"
}
Sample response:
Schema (JSON) for class DataResponse<List<TimeCardDTO>>:
{
"title": "DataResponse`1",
"definitions": {
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DataDTO-1": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name"
]
},
"TimeCardDTO": {
"type": "object",
"properties": {
"Guid": {
"type": "string"
},
"EmployeeID": {
"type": "integer"
},
"EmployeeCode": {
"type": "string"
},
"DateFrom": {
"$ref": "#/definitions/DataDTO"
},
"DateTo": {
"$ref": "#/definitions/DataDTO"
},
"Number": {
"type": "string"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"Data": {
"type": "array",
"items": {
"$ref": "#/definitions/TimeCardDTO"
}
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "Data": [
    {
      "Guid": "0059fb6e-14a3-4053-8148-6944a1eb8417",
      "EmployeeID": 1,
      "EmployeeCode": "EmployeeCode",
      "DateFrom": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "DateTo": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "Number": "Number",
      "ID": 1,
      "AttachmentsCount": 1,
      "TableName": "TableName",
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "TableName": "TableName",
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "9HkHT+RC6ysm+A==",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebAPI.ObslugaCzasuPracy

Method name: GetOriginalTimeCardEntryExit

URL: https://{{baseAddress}}/api/WorkTimeWebAPI/GetOriginalTimeCardEntryExit

HTTP method: POST

Params type: OriginalTimeCardEntryExitDTOParams

Result type: DataResponse<List<OriginalTimeCardEntryExitDTO>>

Description: Get original entry/exit informations

Comment: Gets original entry/exit informations for the given period and definition

Sample request for object OriginalTimeCardEntryExitDTOParams. Replace placeholders with real values.

Schema (JSON) for class OriginalTimeCardEntryExitDTOParams:
{
"title": "OriginalTimeCardEntryExitDTOParams",
"definitions": {
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"OkresDTO": {
"type": "object",
"properties": {
"DataOd": {
"$ref": "#/definitions/DataDTO"
},
"DataDo": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"DataOd",
"DataDo"
]
}
},
"type": "object",
"properties": {
"EmployeeIDs": {
"type": "array",
"items": {
"type": "integer"
}
},
"EmployeeCode": {
"type": "string"
},
"Period": {
"$ref": "#/definitions/OkresDTO"
},
"EventDefinitionCode": {
"type": "string"
}
},
"required": [
"Period"
]
}
Sample JSON file:
{
  "EmployeeIDs": [
    1
  ],
  "EmployeeCode": "EmployeeCode",
  "Period": {
    "DataOd": {
      "Year": 2025,
      "Month": 12,
      "Day": 18
    },
    "DataDo": {
      "Year": 2025,
      "Month": 12,
      "Day": 18
    }
  },
  "EventDefinitionCode": "EventDefinitionCode"
}
Sample response:
Schema (JSON) for class DataResponse<List<OriginalTimeCardEntryExitDTO>>:
{
"title": "DataResponse`1",
"definitions": {
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"OriginalTimeCardEntryExitDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"EmployeeCode": {
"type": "string"
},
"EmployeeID": {
"type": "integer"
},
"EventDefinitionName": {
"type": "string"
},
"EventDefinitionKod": {
"type": "string"
},
"Uwagi": {
"type": "string"
},
"Date": {
"$ref": "#/definitions/DataDTO"
},
"Time": {
"type": "string"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"Data": {
"type": "array",
"items": {
"$ref": "#/definitions/OriginalTimeCardEntryExitDTO"
}
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "Data": [
    {
      "ID": 1,
      "EmployeeCode": "EmployeeCode",
      "EmployeeID": 1,
      "EventDefinitionName": "EventDefinitionName",
      "EventDefinitionKod": "EventDefinitionKod",
      "Uwagi": "Uwagi",
      "Date": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "Time": "8:00"
    }
  ],
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebAPI.ObslugaCzasuPracy

Method name: GetRemoteWork

URL: https://{{baseAddress}}/api/WorkTimeWebAPI/GetRemoteWork

HTTP method: POST

Params type: GetRemoteWorkParams

Result type: DataResponse<List<RemoteWorkDTO>>

Description: Retrieve remote work information

Comment: Retrieve remote work information for a given day

Sample request for object GetRemoteWorkParams. Replace placeholders with real values.

Schema (JSON) for class GetRemoteWorkParams:
{
"title": "GetRemoteWorkParams",
"definitions": {
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
}
},
"type": "object",
"properties": {
"EmployeeID": {
"type": "array",
"items": {
"type": "integer"
}
},
"EmployeeCode": {
"type": "string"
},
"Date": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"Date"
]
}
Sample JSON file:
{
  "EmployeeID": [
    1
  ],
  "EmployeeCode": "EmployeeCode",
  "Date": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  }
}
Sample response:
Schema (JSON) for class DataResponse<List<RemoteWorkDTO>>:
{
"title": "DataResponse`1",
"definitions": {
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"OkresDTO": {
"type": "object",
"properties": {
"DataOd": {
"$ref": "#/definitions/DataDTO"
},
"DataDo": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"DataOd",
"DataDo"
]
},
"RemoteWorkDTO": {
"type": "object",
"properties": {
"EmployeeId": {
"type": "integer"
},
"EmployeeCode": {
"type": "string"
},
"Date": {
"$ref": "#/definitions/DataDTO"
},
"RemoteWorkForDay": {
"type": "boolean"
},
"RemoteWorkRequest": {
"$ref": "#/definitions/WniosekPracaZdalnaDTO"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
},
"WniosekPracaZdalnaDTO": {
"type": "object",
"properties": {
"Definicja": {
"type": "string"
},
"DataZlozenia": {
"$ref": "#/definitions/DataDTO"
},
"DataDecyzji": {
"$ref": "#/definitions/DataDTO"
},
"Okres": {
"$ref": "#/definitions/OkresDTO"
}
}
}
},
"type": "object",
"properties": {
"Data": {
"type": "array",
"items": {
"$ref": "#/definitions/RemoteWorkDTO"
}
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "Data": [
    {
      "EmployeeId": 1,
      "EmployeeCode": "EmployeeCode",
      "Date": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "RemoteWorkForDay": false,
      "RemoteWorkRequest": {
        "Definicja": "Definicja",
        "DataZlozenia": {
          "Year": 2025,
          "Month": 12,
          "Day": 18
        },
        "DataDecyzji": {
          "Year": 2025,
          "Month": 12,
          "Day": 18
        },
        "Okres": {
          "DataOd": {
            "Year": 2025,
            "Month": 12,
            "Day": 18
          },
          "DataDo": {
            "Year": 2025,
            "Month": 12,
            "Day": 18
          }
        }
      }
    }
  ],
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebAPI.ObslugaCzasuPracy


AltOne.WebAPI.ObslugaFakturHandlowych

Assembly name: AltOne.WebAPI.ObslugaFakturHandlowych
Version: 2510.1.1-0.2.1.1-rc.1+5b06a9e1916d5585e7c6373e12afef31b2980a6e,
Last modified: 18.12.2025 11:37:44

List of available methods:

Interface: IFakturyHandlowe2

Method descriptions and usage examples:

Method name: InsertDokumentHandlowy

URL: https://{{baseAddress}}/api/FakturyHandloweWebAPI/InsertDokumentHandlowy

HTTP method: POST

Params type: DokHandlowyDTO

Result type: WynikZapisuDokumentuDTO

Description: Adding a commercial document / Dodanie dokumentu handlowego

Comment: Creating a commercial document. / Utworzenie dokumentu handlowego.

Sample request for object DokHandlowyDTO. Replace placeholders with real values.

Schema (JSON) for class DokHandlowyDTO:
{
"title": "DokHandlowyDTO",
"definitions": {
"AdresDoFaktury": {
"type": "object",
"properties": {
"Ulica": {
"type": "string"
},
"NrDomu": {
"type": "string"
},
"NrLokalu": {
"type": "string"
},
"KodPocztowyS": {
"type": "string"
},
"Miejscowosc": {
"type": "string"
},
"Poczta": {
"type": "string"
},
"Wojewodztwo": {
"type": "string",
"enum": [
"nieokreślone",
"dolnośląskie",
"kujawsko_pomorskie",
"lubelskie",
"lubuskie",
"łódzkie",
"małopolskie",
"mazowieckie",
"opolskie",
"podkarpackie",
"podlaskie",
"pomorskie",
"śląskie",
"świętokrzyskie",
"warmińsko_mazurskie",
"wielkopolskie",
"zachodniopomorskie"
]
},
"KodKraju": {
"type": "string"
}
},
"required": [
"Ulica",
"NrDomu",
"NrLokalu",
"KodPocztowyS",
"Miejscowosc",
"KodKraju"
]
},
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"CurrencyDTO": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"Symbol": {
"type": "string"
}
},
"required": [
"Value",
"Symbol"
]
},
"DaneKontrahentaDTO": {
"type": [
"object",
"null"
],
"properties": {
"Kod": {
"type": "string"
},
"Nazwa": {
"type": "string"
},
"EuVAT": {
"type": "string"
},
"StatusPodmiotu": {
"type": "string",
"enum": [
"PodmiotGospodarczy",
"Finalny"
]
},
"RodzajPodmiotu": {
"type": "string",
"enum": [
"Krajowy",
"Eksportowy",
"EksportowyPodróżny",
"Unijny",
"UnijnyTrójstronny",
"BezVAT"
]
},
"Adres": {
"$ref": "#/definitions/AdresDoFaktury"
}
},
"required": [
"Kod",
"Nazwa"
]
},
"DaneKontrahentaDTO-1": {
"type": "object",
"properties": {
"Kod": {
"type": "string"
},
"Nazwa": {
"type": "string"
},
"EuVAT": {
"type": "string"
},
"StatusPodmiotu": {
"type": "string",
"enum": [
"PodmiotGospodarczy",
"Finalny"
]
},
"RodzajPodmiotu": {
"type": "string",
"enum": [
"Krajowy",
"Eksportowy",
"EksportowyPodróżny",
"Unijny",
"UnijnyTrójstronny",
"BezVAT"
]
},
"Adres": {
"$ref": "#/definitions/AdresDoFaktury"
}
},
"required": [
"Kod",
"Nazwa"
]
},
"DaneKorektyDTO": {
"type": "object",
"properties": {
"NumerZrodlowy": {
"type": "string"
},
"DataDokumentu": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"NumerZrodlowy"
]
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DataDTO-1": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"ElemOpisuAnalitycznegoDTO": {
"type": "object",
"properties": {
"Data": {
"$ref": "#/definitions/DataDTO"
},
"Symbol": {
"type": "string"
},
"Wymiar": {
"type": "string"
},
"Kwota": {
"$ref": "#/definitions/CurrencyDTO"
},
"KwotaDodatkowa": {
"$ref": "#/definitions/CurrencyDTO"
},
"Opis": {
"type": "string"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Symbol",
"Wymiar",
"Kwota"
]
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name"
]
},
"KSeFDTO": {
"type": "object",
"properties": {
"StatusKSeF": {
"type": "string",
"enum": [
"NieDotyczy",
"Brak",
"DoWyslania",
"Wyslany",
"Robocze",
"Przyjety",
"Razem"
]
},
"NumerDokumentuKSeF": {
"type": "string"
},
"DataKSeF": {
"$ref": "#/definitions/DataDTO-1"
},
"DataPrzeslaniaKSeF": {
"$ref": "#/definitions/DataDTO"
},
"DataPrzyjeciaKSeF": {
"$ref": "#/definitions/DataDTO"
},
"Link": {
"type": "string"
},
"ContentXML": {
"type": "string"
}
},
"required": [
"StatusKSeF",
"DataKSeF"
]
},
"NumerObcyDTO": {
"type": "object",
"properties": {
"Numer": {
"type": "string"
},
"DataOtrzymania": {
"$ref": "#/definitions/DataDTO"
}
}
},
"PlatnoscDTO": {
"type": "object",
"properties": {
"Guid": {
"type": "string"
},
"EwidencjaSP": {
"type": "string"
},
"SposobZaplaty": {
"type": "string"
},
"Termin": {
"$ref": "#/definitions/DataDTO"
},
"Kwota": {
"$ref": "#/definitions/CurrencyDTO"
},
"Rachunek26": {
"type": "string"
},
"KwotaMPP": {
"$ref": "#/definitions/CurrencyDTO"
},
"Kurs": {
"type": "number"
},
"Opis": {
"type": "string"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"SposobZaplaty",
"Kwota"
]
},
"PodsumowanieDTO": {
"type": "object",
"properties": {
"NettoCy": {
"$ref": "#/definitions/CurrencyDTO"
},
"BruttoCy": {
"$ref": "#/definitions/CurrencyDTO"
}
}
},
"PozycjaDokHanDTO": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"KodTowaru": {
"type": "string"
},
"Ilosc": {
"$ref": "#/definitions/QuantityDTO"
},
"Cena": {
"$ref": "#/definitions/CurrencyDTO"
},
"Wartosc": {
"$ref": "#/definitions/CurrencyDTO"
},
"PelnaNazwa": {
"type": "string"
},
"CenaPoRabacie": {
"$ref": "#/definitions/CurrencyDTO"
},
"StawkaVAT": {
"type": "string"
},
"GTU": {
"type": "string"
},
"PKWiU": {
"type": "string"
},
"PodstawaZwolnienia": {
"type": "string"
},
"OpisAnalityczny": {
"type": "array",
"items": {
"$ref": "#/definitions/ElemOpisuAnalitycznegoDTO"
}
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Lp",
"KodTowaru",
"Ilosc",
"Cena"
]
},
"PozycjaVatDTO": {
"type": "object",
"properties": {
"StawkaVAT": {
"type": "string"
},
"Netto": {
"type": "number"
},
"VAT": {
"type": "number"
}
},
"required": [
"StawkaVAT",
"Netto",
"VAT"
]
},
"QuantityDTO": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"Symbol": {
"type": "string"
}
},
"required": [
"Value",
"Symbol"
]
},
"TabelaKursowaDTO": {
"type": "object",
"properties": {
"NazwaTabeli": {
"type": [
"string",
"null"
]
},
"Kurs": {
"type": [
"number",
"null"
]
}
},
"required": [
"NazwaTabeli",
"Kurs"
]
}
},
"type": "object",
"properties": {
"Guid": {
"type": "string"
},
"DataOperacji": {
"$ref": "#/definitions/DataDTO"
},
"Data": {
"$ref": "#/definitions/DataDTO"
},
"DataDostawy": {
"$ref": "#/definitions/DataDTO"
},
"Definicja": {
"type": "string"
},
"Magazyn": {
"type": "string"
},
"SposobLiczeniaVAT": {
"type": "string",
"enum": [
"OdNetto",
"OdBrutto",
"OdBruttoMinusNetto",
"ZależyOdKontrahenta"
]
},
"DaneKontrahenta": {
"$ref": "#/definitions/DaneKontrahentaDTO"
},
"DaneOdbiorcy": {
"$ref": "#/definitions/DaneKontrahentaDTO-1"
},
"Pozycje": {
"type": "array",
"items": {
"$ref": "#/definitions/PozycjaDokHanDTO"
}
},
"Platnosci": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/definitions/PlatnoscDTO"
}
},
"NumerPelny": {
"type": "string"
},
"WartoscCy": {
"$ref": "#/definitions/CurrencyDTO"
},
"Seria": {
"type": "string"
},
"Opis": {
"type": "string"
},
"NumerObcy": {
"$ref": "#/definitions/NumerObcyDTO"
},
"Korekta": {
"$ref": "#/definitions/DaneKorektyDTO"
},
"KorektaVAT": {
"type": "boolean"
},
"PozycjeVAT": {
"type": "array",
"items": {
"$ref": "#/definitions/PozycjaVatDTO"
}
},
"Podsumowanie": {
"$ref": "#/definitions/PodsumowanieDTO"
},
"TabelaKursowa": {
"$ref": "#/definitions/TabelaKursowaDTO"
},
"Zatwierdzony": {
"type": "boolean"
},
"Anulowany": {
"type": "boolean"
},
"StanDokumentuHandlowego": {
"type": "string",
"enum": [
"Bufor",
"Zatwierdzony",
"Zablokowany",
"Anulowany"
]
},
"KSeF": {
"$ref": "#/definitions/KSeFDTO"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"DataOperacji",
"Data",
"Definicja",
"Magazyn",
"DaneKontrahenta",
"Pozycje",
"Platnosci",
"WartoscCy"
]
}
Sample JSON file:
{
  "TestMode": false,
  "Guid": "bf82ead6-e574-4f9b-ba68-21f0fc07e454",
  "DataOperacji": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  },
  "Data": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  },
  "DataDostawy": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  },
  "Definicja": "Definicja",
  "Magazyn": "Magazyn",
  "SposobLiczeniaVAT": "OdNetto",
  "DaneKontrahenta": null,
  "DaneOdbiorcy": {
    "Kod": "Kod",
    "Nazwa": "Nazwa",
    "EuVAT": "EuVAT",
    "StatusPodmiotu": "PodmiotGospodarczy",
    "RodzajPodmiotu": "Krajowy",
    "Adres": {
      "Ulica": "Ulica",
      "NrDomu": "1",
      "NrLokalu": "2",
      "KodPocztowyS": "00-000",
      "Miejscowosc": "Miejscowosc",
      "Poczta": "Poczta",
      "Wojewodztwo": "nieokreślone",
      "KodKraju": "PL"
    }
  },
  "Pozycje": [
    {
      "Lp": 1,
      "KodTowaru": "KodTowaru",
      "Ilosc": {
        "Value": 1.0,
        "Symbol": "Symbol"
      },
      "Cena": {
        "Value": 1.0,
        "Symbol": "Symbol"
      },
      "Wartosc": {
        "Value": 1.0,
        "Symbol": "Symbol"
      },
      "PelnaNazwa": "PelnaNazwa",
      "CenaPoRabacie": {
        "Value": 1.0,
        "Symbol": "Symbol"
      },
      "StawkaVAT": "StawkaVAT",
      "GTU": "GTU",
      "PKWiU": "PKWiU",
      "PodstawaZwolnienia": "PodstawaZwolnienia",
      "OpisAnalityczny": [
        {
          "Data": {
            "Year": 2025,
            "Month": 12,
            "Day": 18
          },
          "Symbol": "Symbol",
          "Wymiar": "Wymiar",
          "Kwota": {
            "Value": 1.0,
            "Symbol": "Symbol"
          },
          "KwotaDodatkowa": {
            "Value": 1.0,
            "Symbol": "Symbol"
          },
          "Opis": "Opis",
          "ID": 1,
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ],
          "Attachments": [
            {
              "ID": 1,
              "Name": "Name",
              "Parent": 1,
              "Description": "Description",
              "IsDefault": false,
              "SendEmail": false,
              "Extension": "Extension",
              "Link": "Link",
              "SubType": "None",
              "Base64": "pdreBZq8c3sBTg==",
              "Features": [
                {
                  "Name": "Name",
                  "Value": "Value",
                  "Type": "Type",
                  "UpdateDate": null
                }
              ]
            }
          ]
        }
      ],
      "ID": 1,
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "LxSwPuyI5edTAg==",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "Platnosci": null,
  "NumerPelny": "NumerPelny",
  "WartoscCy": {
    "Value": 1.0,
    "Symbol": "Symbol"
  },
  "Seria": "Seria",
  "Opis": "Opis",
  "NumerObcy": {
    "Numer": "Numer",
    "DataOtrzymania": {
      "Year": 2025,
      "Month": 12,
      "Day": 18
    }
  },
  "Korekta": {
    "NumerZrodlowy": "NumerZrodlowy",
    "DataDokumentu": {
      "Year": 2025,
      "Month": 12,
      "Day": 18
    }
  },
  "KorektaVAT": false,
  "PozycjeVAT": [
    {
      "StawkaVAT": "StawkaVAT",
      "Netto": 1.0,
      "VAT": 1.0
    }
  ],
  "Podsumowanie": {
    "NettoCy": {
      "Value": 1.0,
      "Symbol": "Symbol"
    },
    "BruttoCy": {
      "Value": 1.0,
      "Symbol": "Symbol"
    }
  },
  "TabelaKursowa": {
    "NazwaTabeli": null,
    "Kurs": null
  },
  "Zatwierdzony": false,
  "Anulowany": false,
  "StanDokumentuHandlowego": "Bufor",
  "KSeF": {
    "StatusKSeF": "NieDotyczy",
    "NumerDokumentuKSeF": "NumerDokumentuKSeF",
    "DataKSeF": null,
    "DataPrzeslaniaKSeF": {
      "Year": 2025,
      "Month": 12,
      "Day": 18
    },
    "DataPrzyjeciaKSeF": {
      "Year": 2025,
      "Month": 12,
      "Day": 18
    },
    "Link": "Link",
    "ContentXML": "ContentXML"
  },
  "ID": 1,
  "Features": [
    {
      "Name": "Name",
      "Value": "Value",
      "Type": "Type",
      "UpdateDate": null
    }
  ],
  "Attachments": [
    {
      "ID": 1,
      "Name": "Name",
      "Parent": 1,
      "Description": "Description",
      "IsDefault": false,
      "SendEmail": false,
      "Extension": "Extension",
      "Link": "Link",
      "SubType": "None",
      "Base64": "ay6W6Ojx13ukPQ==",
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ]
    }
  ]
}
Sample response:
Schema (JSON) for class WynikZapisuDokumentuDTO:
{
"title": "WynikZapisuDokumentuDTO",
"definitions": {
"CurrencyDTO": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"Symbol": {
"type": "string"
}
},
"required": [
"Value",
"Symbol"
]
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"Guid": {
"type": "string"
},
"NumerDokumentu": {
"type": "string"
},
"Kurs": {
"type": "number"
},
"DataWystawienia": {
"$ref": "#/definitions/DataDTO"
},
"WartoscBruttoCy": {
"$ref": "#/definitions/CurrencyDTO"
},
"WartoscNettoCy": {
"$ref": "#/definitions/CurrencyDTO"
},
"ID": {
"type": "integer"
},
"Kod": {
"type": "string"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "TestMode": false,
  "Guid": "e168b640-6953-4891-a2ed-e677879218fd",
  "NumerDokumentu": "NumerDokumentu",
  "Kurs": 1.0,
  "DataWystawienia": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  },
  "WartoscBruttoCy": {
    "Value": 1.0,
    "Symbol": "Symbol"
  },
  "WartoscNettoCy": {
    "Value": 1.0,
    "Symbol": "Symbol"
  },
  "ID": 1,
  "Kod": "Kod",
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebAPI.ObslugaFakturHandlowych

Method name: GetFilePDF

URL: https://{{baseAddress}}/api/FakturyHandloweWebAPI/GetFilePDF

HTTP method: POST

Params type: GetAttachmentParams

Result type: GetResultAttachment

Description: Retrieving a PDF invoice document / Pobranie dokumentu PDF faktury

Comment: Retrieving a PDF invoice document, generating it automatically if missing. / Pobranie dokumentu pdf faktury, w razie jego braku automatyczne jego wygenerowanie.

Sample request for object GetAttachmentParams. Replace placeholders with real values.

Schema (JSON) for class GetAttachmentParams:
{
"title": "GetAttachmentParams",
"type": "object",
"properties": {
"ParentID": {
"type": "integer"
},
"Name": {
"type": "string"
}
},
"required": [
"ParentID",
"Name"
]
}
Sample JSON file:
{
  "ParentID": 1,
  "Name": "Name"
}
Sample response:
Schema (JSON) for class GetResultAttachment:
{
"title": "GetResultAttachment",
"definitions": {
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"DataDTO": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"Name"
]
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"Attachment": {
"$ref": "#/definitions/AttachmentDTO"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "Attachment": {
    "ID": 1,
    "TableName": "TableName",
    "Name": "Name",
    "Parent": 1,
    "Description": "Description",
    "IsDefault": false,
    "SendEmail": false,
    "Extension": "Extension",
    "Link": "Link",
    "SubType": "None",
    "Base64": "BtZIzUcFmARnoA==",
    "Features": [
      {
        "Name": "Name",
        "Value": "Value",
        "Type": "Type",
        "UpdateDate": null
      }
    ]
  },
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebAPI.ObslugaFakturHandlowych

Method name: UpsertKartotekaTowarowa

URL: https://{{baseAddress}}/api/FakturyHandloweWebAPI/UpsertKartotekaTowarowa

HTTP method: POST

Params type: KartotekaTowarowaDTO

Result type: UpdateResult

Description: Adding or updating an inventory record / Dodanie lub aktualizacja kartoteki towarowej

Comment: Adding or updating an inventory record in the enova365 database. / Dodanie lub aktualizacja kartoteki towarowej do bazy danych enova365.

Sample request for object KartotekaTowarowaDTO. Replace placeholders with real values.

Schema (JSON) for class KartotekaTowarowaDTO:
{
"title": "KartotekaTowarowaDTO",
"definitions": {
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"DataDTO": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"Name"
]
}
},
"type": "object",
"properties": {
"Guid": {
"type": "string"
},
"Kod": {
"type": "string"
},
"Nazwa": {
"type": "string"
},
"TypTowaru": {
"type": "string",
"enum": [
"Towar",
"Usługa",
"Produkt",
"Receptura"
]
},
"KodKreskowy": {
"type": "string"
},
"NumerKatalogowy": {
"type": "string"
},
"PKWiU": {
"type": "string"
},
"GTU": {
"type": "string"
},
"Jednostka": {
"type": "string"
},
"PodstawaZwolnienia": {
"type": "string"
},
"Blokada": {
"type": "boolean"
},
"StawkaVATSprzedazy": {
"type": "string"
},
"StawkaVATZakupu": {
"type": "string"
},
"Opis": {
"type": "string"
},
"DozwolonaEdycjaOpisu": {
"type": "boolean"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Kod",
"Nazwa",
"TypTowaru"
]
}
Sample JSON file:
{
  "TestMode": false,
  "Guid": "560fd5db-f037-4d7e-8546-2880f9ae19eb",
  "Kod": "Kod",
  "Nazwa": "Nazwa",
  "TypTowaru": "Towar",
  "KodKreskowy": "KodKreskowy",
  "NumerKatalogowy": "NumerKatalogowy",
  "PKWiU": "PKWiU",
  "GTU": "GTU",
  "Jednostka": "Jednostka",
  "PodstawaZwolnienia": "PodstawaZwolnienia",
  "Blokada": false,
  "StawkaVATSprzedazy": "StawkaVATSprzedazy",
  "StawkaVATZakupu": "StawkaVATZakupu",
  "Opis": "Opis",
  "DozwolonaEdycjaOpisu": false,
  "ID": 1,
  "Features": [
    {
      "Name": "Name",
      "Value": "Value",
      "Type": "Type",
      "UpdateDate": null
    }
  ],
  "Attachments": [
    {
      "ID": 1,
      "Name": "Name",
      "Parent": 1,
      "Description": "Description",
      "IsDefault": false,
      "SendEmail": false,
      "Extension": "Extension",
      "Link": "Link",
      "SubType": "None",
      "Base64": "sXrsCC6IZDdzSg==",
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ]
    }
  ]
}
Sample response:
Schema (JSON) for class UpdateResult:
{
"title": "UpdateResult",
"definitions": {
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"Kod": {
"type": "string"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "TestMode": false,
  "ID": 1,
  "Kod": "Kod",
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebAPI.ObslugaFakturHandlowych

Method name: GetTowary

URL: https://{{baseAddress}}/api/FakturyHandloweWebAPI/GetTowary

HTTP method: POST

Params type: KartotekiTowaroweParams

Result type: PackableDataResponse<KartotekaTowarowaDTO>

Description: Reading inventory records / Odczyt kartotek towarowych

Comment: Retrieving inventory records based on specified IDs. / Pobranie kartotek towarowych według wskazanych ID.

Sample request for object KartotekiTowaroweParams. Replace placeholders with real values.

Schema (JSON) for class KartotekiTowaroweParams:
{
"title": "KartotekiTowaroweParams",
"definitions": {
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"Filter": {
"type": "object",
"properties": {
"LogicalOperator": {
"type": "string",
"enum": [
"And",
"Or"
]
},
"Operator": {
"type": "string",
"enum": [
"Equal",
"NotEqual",
"Like",
"Null"
]
},
"ColumnName": {
"type": "string"
},
"FilterValue": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"IdTowarow": {
"type": "array",
"items": {
"type": "integer"
}
},
"LastID": {
"type": "integer"
},
"PacketSize": {
"type": "integer"
},
"Conditions": {
"type": "array",
"items": {
"$ref": "#/definitions/Filter"
}
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"IdTowarow"
]
}
Sample JSON file:
{
  "IdTowarow": [
    1
  ],
  "LastID": 1,
  "PacketSize": 1,
  "Conditions": [
    {
      "LogicalOperator": "And",
      "Operator": "Equal",
      "ColumnName": "ColumnName",
      "FilterValue": "FilterValue"
    }
  ],
  "UpdateDate": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  }
}
Sample response:
Schema (JSON) for class PackableDataResponse<KartotekaTowarowaDTO>:
{
"title": "PackableDataResponse`1",
"definitions": {
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"DataDTO": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"Name"
]
},
"KartotekaTowarowaDTO": {
"type": "object",
"properties": {
"Guid": {
"type": "string"
},
"Kod": {
"type": "string"
},
"Nazwa": {
"type": "string"
},
"TypTowaru": {
"type": "string",
"enum": [
"Towar",
"Usługa",
"Produkt",
"Receptura"
]
},
"KodKreskowy": {
"type": "string"
},
"NumerKatalogowy": {
"type": "string"
},
"PKWiU": {
"type": "string"
},
"GTU": {
"type": "string"
},
"Jednostka": {
"type": "string"
},
"PodstawaZwolnienia": {
"type": "string"
},
"Blokada": {
"type": "boolean"
},
"StawkaVATSprzedazy": {
"type": "string"
},
"StawkaVATZakupu": {
"type": "string"
},
"Opis": {
"type": "string"
},
"DozwolonaEdycjaOpisu": {
"type": "boolean"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Kod",
"Nazwa",
"TypTowaru"
]
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"AllRows": {
"type": "boolean"
},
"LastID": {
"type": "integer"
},
"ToReadRecords": {
"type": "integer"
},
"ReadRecords": {
"type": "integer"
},
"Data": {
"type": "array",
"items": {
"$ref": "#/definitions/KartotekaTowarowaDTO"
}
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"AllRows",
"LastID",
"ReadRecords",
"Success"
]
}
Sample JSON file:
{
  "AllRows": false,
  "LastID": 1,
  "ToReadRecords": 1,
  "ReadRecords": 1,
  "Data": [
    {
      "Guid": "8521cf4e-edcf-4139-bb91-269a4cc4aff3",
      "Kod": "Kod",
      "Nazwa": "Nazwa",
      "TypTowaru": "Towar",
      "KodKreskowy": "KodKreskowy",
      "NumerKatalogowy": "NumerKatalogowy",
      "PKWiU": "PKWiU",
      "GTU": "GTU",
      "Jednostka": "Jednostka",
      "PodstawaZwolnienia": "PodstawaZwolnienia",
      "Blokada": false,
      "StawkaVATSprzedazy": "StawkaVATSprzedazy",
      "StawkaVATZakupu": "StawkaVATZakupu",
      "Opis": "Opis",
      "DozwolonaEdycjaOpisu": false,
      "ID": 1,
      "AttachmentsCount": 1,
      "TableName": "TableName",
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "TableName": "TableName",
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "zV8ajOPI74r5XQ==",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebAPI.ObslugaFakturHandlowych

Method name: GetDokumentyHandlowe

URL: https://{{baseAddress}}/api/FakturyHandloweWebAPI/GetDokumentyHandlowe

HTTP method: POST

Params type: DokHandlowyParams

Result type: PackableDataResponse<DokHandlowyDTO>

Description: Reading commercial documents / Odczyt dokumentów handlowych

Comment: Retrieving commercial documents based on specified IDs. / Pobranie dokumentów handlowych według wskazanych ID.

Sample request for object DokHandlowyParams. Replace placeholders with real values.

Schema (JSON) for class DokHandlowyParams:
{
"title": "DokHandlowyParams",
"definitions": {
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"Filter": {
"type": "object",
"properties": {
"LogicalOperator": {
"type": "string",
"enum": [
"And",
"Or"
]
},
"Operator": {
"type": "string",
"enum": [
"Equal",
"NotEqual",
"Like",
"Null"
]
},
"ColumnName": {
"type": "string"
},
"FilterValue": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"IdDokHandlowych": {
"type": "array",
"items": {
"type": "integer"
}
},
"XMLContentKSeF": {
"type": "boolean"
},
"LastID": {
"type": "integer"
},
"PacketSize": {
"type": "integer"
},
"Conditions": {
"type": "array",
"items": {
"$ref": "#/definitions/Filter"
}
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"IdDokHandlowych"
]
}
Sample JSON file:
{
  "IdDokHandlowych": [
    1
  ],
  "XMLContentKSeF": false,
  "LastID": 1,
  "PacketSize": 1,
  "Conditions": [
    {
      "LogicalOperator": "And",
      "Operator": "Equal",
      "ColumnName": "ColumnName",
      "FilterValue": "FilterValue"
    }
  ],
  "UpdateDate": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  }
}
Sample response:
Schema (JSON) for class PackableDataResponse<DokHandlowyDTO>:
{
"title": "PackableDataResponse`1",
"definitions": {
"AdresDoFaktury": {
"type": "object",
"properties": {
"Ulica": {
"type": "string"
},
"NrDomu": {
"type": "string"
},
"NrLokalu": {
"type": "string"
},
"KodPocztowyS": {
"type": "string"
},
"Miejscowosc": {
"type": "string"
},
"Poczta": {
"type": "string"
},
"Wojewodztwo": {
"type": "string",
"enum": [
"nieokreślone",
"dolnośląskie",
"kujawsko_pomorskie",
"lubelskie",
"lubuskie",
"łódzkie",
"małopolskie",
"mazowieckie",
"opolskie",
"podkarpackie",
"podlaskie",
"pomorskie",
"śląskie",
"świętokrzyskie",
"warmińsko_mazurskie",
"wielkopolskie",
"zachodniopomorskie"
]
},
"KodKraju": {
"type": "string"
}
},
"required": [
"Ulica",
"NrDomu",
"NrLokalu",
"KodPocztowyS",
"Miejscowosc",
"KodKraju"
]
},
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"CurrencyDTO": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"Symbol": {
"type": "string"
}
},
"required": [
"Value",
"Symbol"
]
},
"DaneKontrahentaDTO": {
"type": [
"object",
"null"
],
"properties": {
"Kod": {
"type": "string"
},
"Nazwa": {
"type": "string"
},
"EuVAT": {
"type": "string"
},
"StatusPodmiotu": {
"type": "string",
"enum": [
"PodmiotGospodarczy",
"Finalny"
]
},
"RodzajPodmiotu": {
"type": "string",
"enum": [
"Krajowy",
"Eksportowy",
"EksportowyPodróżny",
"Unijny",
"UnijnyTrójstronny",
"BezVAT"
]
},
"Adres": {
"$ref": "#/definitions/AdresDoFaktury"
}
},
"required": [
"Kod",
"Nazwa"
]
},
"DaneKontrahentaDTO-1": {
"type": "object",
"properties": {
"Kod": {
"type": "string"
},
"Nazwa": {
"type": "string"
},
"EuVAT": {
"type": "string"
},
"StatusPodmiotu": {
"type": "string",
"enum": [
"PodmiotGospodarczy",
"Finalny"
]
},
"RodzajPodmiotu": {
"type": "string",
"enum": [
"Krajowy",
"Eksportowy",
"EksportowyPodróżny",
"Unijny",
"UnijnyTrójstronny",
"BezVAT"
]
},
"Adres": {
"$ref": "#/definitions/AdresDoFaktury"
}
},
"required": [
"Kod",
"Nazwa"
]
},
"DaneKorektyDTO": {
"type": "object",
"properties": {
"NumerZrodlowy": {
"type": "string"
},
"DataDokumentu": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"NumerZrodlowy"
]
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DataDTO-1": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DokHandlowyDTO": {
"type": "object",
"properties": {
"Guid": {
"type": "string"
},
"DataOperacji": {
"$ref": "#/definitions/DataDTO"
},
"Data": {
"$ref": "#/definitions/DataDTO"
},
"DataDostawy": {
"$ref": "#/definitions/DataDTO"
},
"Definicja": {
"type": "string"
},
"Magazyn": {
"type": "string"
},
"SposobLiczeniaVAT": {
"type": "string",
"enum": [
"OdNetto",
"OdBrutto",
"OdBruttoMinusNetto",
"ZależyOdKontrahenta"
]
},
"DaneKontrahenta": {
"$ref": "#/definitions/DaneKontrahentaDTO"
},
"DaneOdbiorcy": {
"$ref": "#/definitions/DaneKontrahentaDTO-1"
},
"Pozycje": {
"type": "array",
"items": {
"$ref": "#/definitions/PozycjaDokHanDTO"
}
},
"Platnosci": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/definitions/PlatnoscDTO"
}
},
"NumerPelny": {
"type": "string"
},
"WartoscCy": {
"$ref": "#/definitions/CurrencyDTO"
},
"Seria": {
"type": "string"
},
"Opis": {
"type": "string"
},
"NumerObcy": {
"$ref": "#/definitions/NumerObcyDTO"
},
"Korekta": {
"$ref": "#/definitions/DaneKorektyDTO"
},
"KorektaVAT": {
"type": "boolean"
},
"PozycjeVAT": {
"type": "array",
"items": {
"$ref": "#/definitions/PozycjaVatDTO"
}
},
"Podsumowanie": {
"$ref": "#/definitions/PodsumowanieDTO"
},
"TabelaKursowa": {
"$ref": "#/definitions/TabelaKursowaDTO"
},
"Zatwierdzony": {
"type": "boolean"
},
"Anulowany": {
"type": "boolean"
},
"StanDokumentuHandlowego": {
"type": "string",
"enum": [
"Bufor",
"Zatwierdzony",
"Zablokowany",
"Anulowany"
]
},
"KSeF": {
"$ref": "#/definitions/KSeFDTO"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"DataOperacji",
"Data",
"Definicja",
"Magazyn",
"DaneKontrahenta",
"Pozycje",
"Platnosci",
"WartoscCy"
]
},
"ElemOpisuAnalitycznegoDTO": {
"type": "object",
"properties": {
"Data": {
"$ref": "#/definitions/DataDTO"
},
"Symbol": {
"type": "string"
},
"Wymiar": {
"type": "string"
},
"Kwota": {
"$ref": "#/definitions/CurrencyDTO"
},
"KwotaDodatkowa": {
"$ref": "#/definitions/CurrencyDTO"
},
"Opis": {
"type": "string"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Symbol",
"Wymiar",
"Kwota"
]
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name"
]
},
"KSeFDTO": {
"type": "object",
"properties": {
"StatusKSeF": {
"type": "string",
"enum": [
"NieDotyczy",
"Brak",
"DoWyslania",
"Wyslany",
"Robocze",
"Przyjety",
"Razem"
]
},
"NumerDokumentuKSeF": {
"type": "string"
},
"DataKSeF": {
"$ref": "#/definitions/DataDTO-1"
},
"DataPrzeslaniaKSeF": {
"$ref": "#/definitions/DataDTO"
},
"DataPrzyjeciaKSeF": {
"$ref": "#/definitions/DataDTO"
},
"Link": {
"type": "string"
},
"ContentXML": {
"type": "string"
}
},
"required": [
"StatusKSeF",
"DataKSeF"
]
},
"NumerObcyDTO": {
"type": "object",
"properties": {
"Numer": {
"type": "string"
},
"DataOtrzymania": {
"$ref": "#/definitions/DataDTO"
}
}
},
"PlatnoscDTO": {
"type": "object",
"properties": {
"Guid": {
"type": "string"
},
"EwidencjaSP": {
"type": "string"
},
"SposobZaplaty": {
"type": "string"
},
"Termin": {
"$ref": "#/definitions/DataDTO"
},
"Kwota": {
"$ref": "#/definitions/CurrencyDTO"
},
"Rachunek26": {
"type": "string"
},
"KwotaMPP": {
"$ref": "#/definitions/CurrencyDTO"
},
"Kurs": {
"type": "number"
},
"Opis": {
"type": "string"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"SposobZaplaty",
"Kwota"
]
},
"PodsumowanieDTO": {
"type": "object",
"properties": {
"NettoCy": {
"$ref": "#/definitions/CurrencyDTO"
},
"BruttoCy": {
"$ref": "#/definitions/CurrencyDTO"
}
}
},
"PozycjaDokHanDTO": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"KodTowaru": {
"type": "string"
},
"Ilosc": {
"$ref": "#/definitions/QuantityDTO"
},
"Cena": {
"$ref": "#/definitions/CurrencyDTO"
},
"Wartosc": {
"$ref": "#/definitions/CurrencyDTO"
},
"PelnaNazwa": {
"type": "string"
},
"CenaPoRabacie": {
"$ref": "#/definitions/CurrencyDTO"
},
"StawkaVAT": {
"type": "string"
},
"GTU": {
"type": "string"
},
"PKWiU": {
"type": "string"
},
"PodstawaZwolnienia": {
"type": "string"
},
"OpisAnalityczny": {
"type": "array",
"items": {
"$ref": "#/definitions/ElemOpisuAnalitycznegoDTO"
}
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Lp",
"KodTowaru",
"Ilosc",
"Cena"
]
},
"PozycjaVatDTO": {
"type": "object",
"properties": {
"StawkaVAT": {
"type": "string"
},
"Netto": {
"type": "number"
},
"VAT": {
"type": "number"
}
},
"required": [
"StawkaVAT",
"Netto",
"VAT"
]
},
"QuantityDTO": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"Symbol": {
"type": "string"
}
},
"required": [
"Value",
"Symbol"
]
},
"TabelaKursowaDTO": {
"type": "object",
"properties": {
"NazwaTabeli": {
"type": [
"string",
"null"
]
},
"Kurs": {
"type": [
"number",
"null"
]
}
},
"required": [
"NazwaTabeli",
"Kurs"
]
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"AllRows": {
"type": "boolean"
},
"LastID": {
"type": "integer"
},
"ToReadRecords": {
"type": "integer"
},
"ReadRecords": {
"type": "integer"
},
"Data": {
"type": "array",
"items": {
"$ref": "#/definitions/DokHandlowyDTO"
}
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"AllRows",
"LastID",
"ReadRecords",
"Success"
]
}
Sample JSON file:
{
  "AllRows": false,
  "LastID": 1,
  "ToReadRecords": 1,
  "ReadRecords": 1,
  "Data": [
    {
      "Guid": "e5457325-a02b-47a2-9c42-0993bbe7ec9f",
      "DataOperacji": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "Data": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "DataDostawy": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "Definicja": "Definicja",
      "Magazyn": "Magazyn",
      "SposobLiczeniaVAT": "OdNetto",
      "DaneKontrahenta": null,
      "DaneOdbiorcy": {
        "Kod": "Kod",
        "Nazwa": "Nazwa",
        "EuVAT": "EuVAT",
        "StatusPodmiotu": "PodmiotGospodarczy",
        "RodzajPodmiotu": "Krajowy",
        "Adres": {
          "Ulica": "Ulica",
          "NrDomu": "1",
          "NrLokalu": "2",
          "KodPocztowyS": "00-000",
          "Miejscowosc": "Miejscowosc",
          "Poczta": "Poczta",
          "Wojewodztwo": "nieokreślone",
          "KodKraju": "PL"
        }
      },
      "Pozycje": [
        {
          "Lp": 1,
          "KodTowaru": "KodTowaru",
          "Ilosc": {
            "Value": 1.0,
            "Symbol": "Symbol"
          },
          "Cena": {
            "Value": 1.0,
            "Symbol": "Symbol"
          },
          "Wartosc": {
            "Value": 1.0,
            "Symbol": "Symbol"
          },
          "PelnaNazwa": "PelnaNazwa",
          "CenaPoRabacie": {
            "Value": 1.0,
            "Symbol": "Symbol"
          },
          "StawkaVAT": "StawkaVAT",
          "GTU": "GTU",
          "PKWiU": "PKWiU",
          "PodstawaZwolnienia": "PodstawaZwolnienia",
          "OpisAnalityczny": [
            {
              "Data": {
                "Year": 2025,
                "Month": 12,
                "Day": 18
              },
              "Symbol": "Symbol",
              "Wymiar": "Wymiar",
              "Kwota": {
                "Value": 1.0,
                "Symbol": "Symbol"
              },
              "KwotaDodatkowa": {
                "Value": 1.0,
                "Symbol": "Symbol"
              },
              "Opis": "Opis",
              "ID": 1,
              "AttachmentsCount": 1,
              "TableName": "TableName",
              "Features": [
                {
                  "Name": "Name",
                  "Value": "Value",
                  "Type": "Type",
                  "UpdateDate": null
                }
              ],
              "Attachments": [
                {
                  "ID": 1,
                  "TableName": "TableName",
                  "Name": "Name",
                  "Parent": 1,
                  "Description": "Description",
                  "IsDefault": false,
                  "SendEmail": false,
                  "Extension": "Extension",
                  "Link": "Link",
                  "SubType": "None",
                  "Base64": "renZ00Hi20/caw==",
                  "Features": [
                    {
                      "Name": "Name",
                      "Value": "Value",
                      "Type": "Type",
                      "UpdateDate": null
                    }
                  ]
                }
              ]
            }
          ],
          "ID": 1,
          "AttachmentsCount": 1,
          "TableName": "TableName",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ],
          "Attachments": [
            {
              "ID": 1,
              "TableName": "TableName",
              "Name": "Name",
              "Parent": 1,
              "Description": "Description",
              "IsDefault": false,
              "SendEmail": false,
              "Extension": "Extension",
              "Link": "Link",
              "SubType": "None",
              "Base64": "tBUGMLY3FnOD6g==",
              "Features": [
                {
                  "Name": "Name",
                  "Value": "Value",
                  "Type": "Type",
                  "UpdateDate": null
                }
              ]
            }
          ]
        }
      ],
      "Platnosci": null,
      "NumerPelny": "NumerPelny",
      "WartoscCy": {
        "Value": 1.0,
        "Symbol": "Symbol"
      },
      "Seria": "Seria",
      "Opis": "Opis",
      "NumerObcy": {
        "Numer": "Numer",
        "DataOtrzymania": {
          "Year": 2025,
          "Month": 12,
          "Day": 18
        }
      },
      "Korekta": {
        "NumerZrodlowy": "NumerZrodlowy",
        "DataDokumentu": {
          "Year": 2025,
          "Month": 12,
          "Day": 18
        }
      },
      "KorektaVAT": false,
      "PozycjeVAT": [
        {
          "StawkaVAT": "StawkaVAT",
          "Netto": 1.0,
          "VAT": 1.0
        }
      ],
      "Podsumowanie": {
        "NettoCy": {
          "Value": 1.0,
          "Symbol": "Symbol"
        },
        "BruttoCy": {
          "Value": 1.0,
          "Symbol": "Symbol"
        }
      },
      "TabelaKursowa": {
        "NazwaTabeli": null,
        "Kurs": null
      },
      "Zatwierdzony": false,
      "Anulowany": false,
      "StanDokumentuHandlowego": "Bufor",
      "KSeF": {
        "StatusKSeF": "NieDotyczy",
        "NumerDokumentuKSeF": "NumerDokumentuKSeF",
        "DataKSeF": null,
        "DataPrzeslaniaKSeF": {
          "Year": 2025,
          "Month": 12,
          "Day": 18
        },
        "DataPrzyjeciaKSeF": {
          "Year": 2025,
          "Month": 12,
          "Day": 18
        },
        "Link": "Link",
        "ContentXML": "ContentXML"
      },
      "ID": 1,
      "AttachmentsCount": 1,
      "TableName": "TableName",
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "TableName": "TableName",
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "K7/Zx+WYqL8vJQ==",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebAPI.ObslugaFakturHandlowych

Method name: GetOsobyKontaktowe

URL: https://{{baseAddress}}/api/FakturyHandloweWebAPI/GetOsobyKontaktowe

HTTP method: POST

Params type: OsobaKontaktowaParams

Result type: PackableDataResponse<OsobaKontaktowaDTO>

Description: Reading contact persons / Odczyt osób kontaktowych

Comment: Retrieving contact persons based on specified IDs. / Pobranie osób kontaktowych według wskazanych ID.

Sample request for object OsobaKontaktowaParams. Replace placeholders with real values.

Schema (JSON) for class OsobaKontaktowaParams:
{
"title": "OsobaKontaktowaParams",
"definitions": {
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"Filter": {
"type": "object",
"properties": {
"LogicalOperator": {
"type": "string",
"enum": [
"And",
"Or"
]
},
"Operator": {
"type": "string",
"enum": [
"Equal",
"NotEqual",
"Like",
"Null"
]
},
"ColumnName": {
"type": "string"
},
"FilterValue": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"IdOsobKontaktowych": {
"type": "array",
"items": {
"type": "integer"
}
},
"LastID": {
"type": "integer"
},
"PacketSize": {
"type": "integer"
},
"Conditions": {
"type": "array",
"items": {
"$ref": "#/definitions/Filter"
}
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"IdOsobKontaktowych"
]
}
Sample JSON file:
{
  "IdOsobKontaktowych": [
    1
  ],
  "LastID": 1,
  "PacketSize": 1,
  "Conditions": [
    {
      "LogicalOperator": "And",
      "Operator": "Equal",
      "ColumnName": "ColumnName",
      "FilterValue": "FilterValue"
    }
  ],
  "UpdateDate": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  }
}
Sample response:
Schema (JSON) for class PackableDataResponse<OsobaKontaktowaDTO>:
{
"title": "PackableDataResponse`1",
"definitions": {
"AdresDTO": {
"type": "object",
"properties": {
"Ulica": {
"type": "string"
},
"NrDomu": {
"type": "string"
},
"NrLokalu": {
"type": "string"
},
"KodPocztowyS": {
"type": "string"
},
"Miejscowosc": {
"type": "string"
},
"Poczta": {
"type": "string"
},
"Gmina": {
"type": "string"
},
"Powiat": {
"type": "string"
},
"Wojewodztwo": {
"type": "string",
"enum": [
"nieokreślone",
"dolnośląskie",
"kujawsko_pomorskie",
"lubelskie",
"lubuskie",
"łódzkie",
"małopolskie",
"mazowieckie",
"opolskie",
"podkarpackie",
"podlaskie",
"pomorskie",
"śląskie",
"świętokrzyskie",
"warmińsko_mazurskie",
"wielkopolskie",
"zachodniopomorskie"
]
},
"KodKraju": {
"type": "string"
},
"Kraj": {
"type": "string"
},
"Telefon": {
"type": "string"
},
"Faks": {
"type": "string"
}
}
},
"AdresDoFaktury": {
"type": "object",
"properties": {
"Ulica": {
"type": "string"
},
"NrDomu": {
"type": "string"
},
"NrLokalu": {
"type": "string"
},
"KodPocztowyS": {
"type": "string"
},
"Miejscowosc": {
"type": "string"
},
"Poczta": {
"type": "string"
},
"Wojewodztwo": {
"type": "string",
"enum": [
"nieokreślone",
"dolnośląskie",
"kujawsko_pomorskie",
"lubelskie",
"lubuskie",
"łódzkie",
"małopolskie",
"mazowieckie",
"opolskie",
"podkarpackie",
"podlaskie",
"pomorskie",
"śląskie",
"świętokrzyskie",
"warmińsko_mazurskie",
"wielkopolskie",
"zachodniopomorskie"
]
},
"KodKraju": {
"type": "string"
}
},
"required": [
"Ulica",
"NrDomu",
"NrLokalu",
"KodPocztowyS",
"Miejscowosc",
"KodKraju"
]
},
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"DaneKontrahentaDTO": {
"type": "object",
"properties": {
"Kod": {
"type": "string"
},
"Nazwa": {
"type": "string"
},
"EuVAT": {
"type": "string"
},
"StatusPodmiotu": {
"type": "string",
"enum": [
"PodmiotGospodarczy",
"Finalny"
]
},
"RodzajPodmiotu": {
"type": "string",
"enum": [
"Krajowy",
"Eksportowy",
"EksportowyPodróżny",
"Unijny",
"UnijnyTrójstronny",
"BezVAT"
]
},
"Adres": {
"$ref": "#/definitions/AdresDoFaktury"
}
},
"required": [
"Kod",
"Nazwa"
]
},
"DataDTO": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"Name"
]
},
"OsobaKontaktowaDTO": {
"type": "object",
"properties": {
"Kontrahent": {
"$ref": "#/definitions/DaneKontrahentaDTO"
},
"Imie": {
"type": "string"
},
"Nazwisko": {
"type": "string"
},
"Adres": {
"$ref": "#/definitions/AdresDTO"
},
"Nieaktualny": {
"type": "boolean"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Kontrahent",
"Imie",
"Nazwisko"
]
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"AllRows": {
"type": "boolean"
},
"LastID": {
"type": "integer"
},
"ToReadRecords": {
"type": "integer"
},
"ReadRecords": {
"type": "integer"
},
"Data": {
"type": "array",
"items": {
"$ref": "#/definitions/OsobaKontaktowaDTO"
}
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"AllRows",
"LastID",
"ReadRecords",
"Success"
]
}
Sample JSON file:
{
  "AllRows": false,
  "LastID": 1,
  "ToReadRecords": 1,
  "ReadRecords": 1,
  "Data": [
    {
      "Kontrahent": {
        "Kod": "Kod",
        "Nazwa": "Nazwa",
        "EuVAT": "EuVAT",
        "StatusPodmiotu": "PodmiotGospodarczy",
        "RodzajPodmiotu": "Krajowy",
        "Adres": {
          "Ulica": "Ulica",
          "NrDomu": "1",
          "NrLokalu": "2",
          "KodPocztowyS": "00-000",
          "Miejscowosc": "Miejscowosc",
          "Poczta": "Poczta",
          "Wojewodztwo": "nieokreślone",
          "KodKraju": "PL"
        }
      },
      "Imie": "Imie",
      "Nazwisko": "Nazwisko",
      "Adres": {
        "Ulica": "Ulica",
        "NrDomu": "1",
        "NrLokalu": "2",
        "KodPocztowyS": "00-000",
        "Miejscowosc": "Miejscowosc",
        "Poczta": "Poczta",
        "Gmina": "Gmina",
        "Powiat": "Powiat",
        "Wojewodztwo": "nieokreślone",
        "KodKraju": "PL",
        "Kraj": "Polska",
        "Telefon": "Telefon",
        "Faks": "Faks"
      },
      "Nieaktualny": false,
      "ID": 1,
      "AttachmentsCount": 1,
      "TableName": "TableName",
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "TableName": "TableName",
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "MgeTmMhV/AVwgw==",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebAPI.ObslugaFakturHandlowych


AltOne.WebApi.ObslugaFakturKosztowych

Assembly name: AltOne.WebApi.ObslugaFakturKosztowych
Version: 2510.1.1-0.3.4.1-rc.1+0a16788eebfee44d706650bb9fe5419806134698,
Last modified: 18.12.2025 11:34:48

List of available methods:

Interface: IFakturyKosztowe2

Method descriptions and usage examples:

Method name: InsertFakturaKosztowa

URL: https://{{baseAddress}}/api/FakturyKosztoweWebAPI2/InsertFakturaKosztowa

HTTP method: POST

Params type: ZakupEwidencjaDto

Result type: UpdateResultDokEwidencji

Description: Adding a new cost invoice / Dodanie nowej faktury kosztowej

Comment: Adding a new cost invoice to the selected enova365 database. When searching for an Entity, a composite key can be used! Supported entity types are: Contractor and Employee. / Utworzenie nowej faktury kosztowej w wybranej bazie enova365. Przy wyszukaniu Podmiotu można użyć klucza łączonego! Obsługiwane typy podmiotu to: Kontrahent oraz Pracownik.

Sample request for object ZakupEwidencjaDto. Replace placeholders with real values.

Schema (JSON) for class ZakupEwidencjaDto:
{
"title": "ZakupEwidencjaDto",
"definitions": {
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"CurrencyDTO": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"Symbol": {
"type": "string"
}
},
"required": [
"Value",
"Symbol"
]
},
"DaneKontrahentaDto": {
"type": "object",
"properties": {
"Nazwa": {
"type": "string"
},
"Kraj": {
"type": "string"
},
"EuVAT": {
"type": "string"
},
"Ulica": {
"type": "string"
},
"NrDomu": {
"type": "string"
},
"NrLokalu": {
"type": "string"
},
"KodPocztowyS": {
"type": "string"
},
"Miejscowosc": {
"type": "string"
},
"Poczta": {
"type": "string"
},
"Wojewodztwo": {
"type": "string",
"enum": [
"nieokreślone",
"dolnośląskie",
"kujawsko_pomorskie",
"lubelskie",
"lubuskie",
"łódzkie",
"małopolskie",
"mazowieckie",
"opolskie",
"podkarpackie",
"podlaskie",
"pomorskie",
"śląskie",
"świętokrzyskie",
"warmińsko_mazurskie",
"wielkopolskie",
"zachodniopomorskie"
]
}
}
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DataDTO-1": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DefinicjaPOV": {
"type": "object",
"properties": {
"KodDefinicjiPOV": {
"type": "string"
},
"DataPowstania": {
"$ref": "#/definitions/DataDTO"
}
}
},
"ElemOpisuAnalitycznegoDto": {
"type": "object",
"properties": {
"Data": {
"$ref": "#/definitions/DataDTO"
},
"Symbol": {
"type": "string"
},
"Wymiar": {
"type": "string"
},
"Kwota": {
"$ref": "#/definitions/CurrencyDTO"
},
"KwotaDodatkowa": {
"$ref": "#/definitions/CurrencyDTO"
},
"Opis": {
"type": "string"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
}
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name"
]
},
"KSeFDTO": {
"type": "object",
"properties": {
"NumerDokumentuKSeF": {
"type": "string"
},
"DataKSeF": {
"$ref": "#/definitions/DataDTO-1"
},
"DataPrzeslaniaKSeF": {
"$ref": "#/definitions/DataDTO"
},
"DataPrzyjeciaKSeF": {
"$ref": "#/definitions/DataDTO"
},
"Link": {
"type": "string"
},
"ContentXML": {
"type": "string"
}
},
"required": [
"DataKSeF"
]
},
"PlatnoscDto": {
"type": "object",
"properties": {
"Guid": {
"type": "string"
},
"Podmiot": {
"$ref": "#/definitions/PodmiotDto"
},
"EwidencjaSP": {
"type": "string"
},
"SposobZaplaty": {
"type": "string"
},
"Rachunek26": {
"type": "string"
},
"Opis": {
"type": "string"
},
"Termin": {
"$ref": "#/definitions/DataDTO"
},
"TerminDni": {
"type": "integer"
},
"Kwota": {
"$ref": "#/definitions/CurrencyDTO"
},
"Priorytet": {
"type": "integer"
},
"KwotaMPP": {
"$ref": "#/definitions/CurrencyDTO"
},
"Kurs": {
"type": "number"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
}
},
"PodmiotDto": {
"type": "object",
"properties": {
"TypPodmiotu": {
"type": "string",
"enum": [
"NieOkreślony",
"Kontrahent",
"Bank",
"UrzadSkarbowy",
"ZUS",
"Pracownik",
"UrządCelny",
"PFRON",
"PodmiotTransferowyPPK",
"KAS"
]
},
"ID": {
"type": "integer"
},
"Kod": {
"type": "string"
},
"Guid": {
"type": "string"
},
"ExternalID": {
"type": "string"
},
"EuVAT": {
"type": "string"
},
"Miejscowosc": {
"type": "string"
}
}
},
"PozycjaVatDto": {
"type": "object",
"properties": {
"StawkaVAT": {
"type": "string"
},
"Netto": {
"$ref": "#/definitions/CurrencyDTO"
},
"VAT": {
"$ref": "#/definitions/CurrencyDTO"
},
"Odliczenia": {
"type": "string",
"enum": [
"Tak",
"Nie",
"Warunkowo"
]
},
"Rodzaj": {
"type": "string",
"enum": [
"Towar",
"Inne",
"ŚrodkiTrwałe",
"ŚrodkiTransportu",
"Nieruchomości",
"Usługi",
"Paliwo",
"NabywcaPodatnik",
"Leasing",
"ŚrodkiTrwałeVATRocznie",
"UsługiNP",
"VATMarza",
"NabywcaPodatnikUsluga",
"SpisZNatury",
"KasyRejestrujace",
"WntSrodkowTransportu",
"WntPaliw",
"KorektaST",
"KorektaPozostale"
]
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
}
},
"ZadanieCRMDto": {
"type": "object",
"properties": {
"Guid": {
"type": "string"
},
"DefinicjaZadaniaSymbol": {
"type": "string"
},
"Numer": {
"type": "string"
},
"Nazwa": {
"type": "string"
},
"Opis": {
"type": "string"
},
"DataOd": {
"$ref": "#/definitions/DataDTO"
},
"DataDo": {
"$ref": "#/definitions/DataDTO"
},
"ProwadzacyKod": {
"type": "string"
},
"KontrahentKod": {
"type": "string"
},
"WykonujacyKod": {
"type": "string"
},
"StanZadaniaNazwa": {
"type": "string"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"DefinicjaZadaniaSymbol",
"Nazwa",
"DataOd",
"DataDo"
]
}
},
"type": "object",
"properties": {
"Guid": {
"type": "string"
},
"DataEwidencji": {
"$ref": "#/definitions/DataDTO"
},
"DataWplywu": {
"$ref": "#/definitions/DataDTO"
},
"DataWystawienia": {
"$ref": "#/definitions/DataDTO"
},
"DataOperacji": {
"$ref": "#/definitions/DataDTO"
},
"DaneKontrahenta": {
"$ref": "#/definitions/DaneKontrahentaDto"
},
"StanWprowadzony": {
"type": "boolean"
},
"Definicja": {
"type": "string"
},
"NumerDokumentu": {
"type": "string"
},
"NumerDodatkowy": {
"type": "string"
},
"NumerKorygowanego": {
"type": "string"
},
"RodzajPodmiotu": {
"type": "string",
"enum": [
"Krajowy",
"Eksportowy",
"EksportowyPodróżny",
"Unijny",
"UnijnyTrójstronny",
"BezVAT"
]
},
"StatusPodmiotu": {
"type": "string",
"enum": [
"PodmiotGospodarczy",
"Finalny"
]
},
"Opis": {
"type": "string"
},
"KwotaBrutto": {
"$ref": "#/definitions/CurrencyDTO"
},
"PodlegaVAT": {
"type": "boolean"
},
"WymagalnoscKwotyVAT": {
"type": "string",
"enum": [
"Brak",
"WgPozycjiMPP",
"VATCalkowity"
]
},
"SymbolOddzialu": {
"type": "string"
},
"DefinicjaPOV": {
"$ref": "#/definitions/DefinicjaPOV"
},
"Podmiot": {
"$ref": "#/definitions/PodmiotDto"
},
"PozycjeVAT": {
"type": "array",
"items": {
"$ref": "#/definitions/PozycjaVatDto"
}
},
"Platnosci": {
"type": "array",
"items": {
"$ref": "#/definitions/PlatnoscDto"
}
},
"OpisAnalityczny": {
"type": "array",
"items": {
"$ref": "#/definitions/ElemOpisuAnalitycznegoDto"
}
},
"ZadaniaCRM": {
"type": "array",
"items": {
"$ref": "#/definitions/ZadanieCRMDto"
}
},
"KSeF": {
"$ref": "#/definitions/KSeFDTO"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
}
}
Sample JSON file:
{
  "TestMode": false,
  "Guid": "cd4d262b-a7ab-49c7-ac9a-bfd80e33de90",
  "DataEwidencji": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  },
  "DataWplywu": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  },
  "DataWystawienia": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  },
  "DataOperacji": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  },
  "DaneKontrahenta": {
    "Nazwa": "Nazwa",
    "Kraj": "Polska",
    "EuVAT": "EuVAT",
    "Ulica": "Ulica",
    "NrDomu": "1",
    "NrLokalu": "2",
    "KodPocztowyS": "00-000",
    "Miejscowosc": "Miejscowosc",
    "Poczta": "Poczta",
    "Wojewodztwo": "nieokreślone"
  },
  "StanWprowadzony": false,
  "Definicja": "Definicja",
  "NumerDokumentu": "NumerDokumentu",
  "NumerDodatkowy": "NumerDodatkowy",
  "NumerKorygowanego": "NumerKorygowanego",
  "RodzajPodmiotu": "Krajowy",
  "StatusPodmiotu": "PodmiotGospodarczy",
  "Opis": "Opis",
  "KwotaBrutto": {
    "Value": 1.0,
    "Symbol": "Symbol"
  },
  "PodlegaVAT": false,
  "WymagalnoscKwotyVAT": "Brak",
  "SymbolOddzialu": "SymbolOddzialu",
  "DefinicjaPOV": {
    "KodDefinicjiPOV": "KodDefinicjiPOV",
    "DataPowstania": {
      "Year": 2025,
      "Month": 12,
      "Day": 18
    }
  },
  "Podmiot": {
    "TypPodmiotu": "NieOkreślony",
    "ID": 1,
    "Kod": "Kod",
    "Guid": "f3d0c83e-15eb-4993-82c7-63a2672901b6",
    "ExternalID": "ExternalID",
    "EuVAT": "EuVAT",
    "Miejscowosc": "Miejscowosc"
  },
  "PozycjeVAT": [
    {
      "StawkaVAT": "StawkaVAT",
      "Netto": {
        "Value": 1.0,
        "Symbol": "Symbol"
      },
      "VAT": {
        "Value": 1.0,
        "Symbol": "Symbol"
      },
      "Odliczenia": "Tak",
      "Rodzaj": "Towar",
      "ID": 1,
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "Rq0q1idvkpaaTA==",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "Platnosci": [
    {
      "Guid": "6989031c-7b70-4bb5-8b56-194804ae88d3",
      "Podmiot": {
        "TypPodmiotu": "NieOkreślony",
        "ID": 1,
        "Kod": "Kod",
        "Guid": "ac67f7fb-7215-4753-b67a-11f9b5b864a1",
        "ExternalID": "ExternalID",
        "EuVAT": "EuVAT",
        "Miejscowosc": "Miejscowosc"
      },
      "EwidencjaSP": "EwidencjaSP",
      "SposobZaplaty": "SposobZaplaty",
      "Rachunek26": "Rachunek26",
      "Opis": "Opis",
      "Termin": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "TerminDni": 1,
      "Kwota": {
        "Value": 1.0,
        "Symbol": "Symbol"
      },
      "Priorytet": 1,
      "KwotaMPP": {
        "Value": 1.0,
        "Symbol": "Symbol"
      },
      "Kurs": 1.0,
      "ID": 1,
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "nkLUvTmCwp40aw==",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "OpisAnalityczny": [
    {
      "Data": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "Symbol": "Symbol",
      "Wymiar": "Wymiar",
      "Kwota": {
        "Value": 1.0,
        "Symbol": "Symbol"
      },
      "KwotaDodatkowa": {
        "Value": 1.0,
        "Symbol": "Symbol"
      },
      "Opis": "Opis",
      "ID": 1,
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "y2cPbV6Vs3U1wA==",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "ZadaniaCRM": [
    {
      "Guid": "f8df166a-8bab-4701-9ba8-dc1247398970",
      "DefinicjaZadaniaSymbol": "DefinicjaZadaniaSymbol",
      "Numer": "Numer",
      "Nazwa": "Nazwa",
      "Opis": "Opis",
      "DataOd": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "DataDo": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "ProwadzacyKod": "ProwadzacyKod",
      "KontrahentKod": "KontrahentKod",
      "WykonujacyKod": "WykonujacyKod",
      "StanZadaniaNazwa": "StanZadaniaNazwa",
      "ID": 1,
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "XIvgFG1rY42heQ==",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "KSeF": {
    "NumerDokumentuKSeF": "NumerDokumentuKSeF",
    "DataKSeF": null,
    "DataPrzeslaniaKSeF": {
      "Year": 2025,
      "Month": 12,
      "Day": 18
    },
    "DataPrzyjeciaKSeF": {
      "Year": 2025,
      "Month": 12,
      "Day": 18
    },
    "Link": "Link",
    "ContentXML": "ContentXML"
  },
  "ID": 1,
  "Features": [
    {
      "Name": "Name",
      "Value": "Value",
      "Type": "Type",
      "UpdateDate": null
    }
  ],
  "Attachments": [
    {
      "ID": 1,
      "Name": "Name",
      "Parent": 1,
      "Description": "Description",
      "IsDefault": false,
      "SendEmail": false,
      "Extension": "Extension",
      "Link": "Link",
      "SubType": "None",
      "Base64": "/BAKjDAP5RNJ+Q==",
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ]
    }
  ]
}
Sample response:
Schema (JSON) for class UpdateResultDokEwidencji:
{
"title": "UpdateResultDokEwidencji",
"definitions": {
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"CurrencyDTO": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"Symbol": {
"type": "string"
}
},
"required": [
"Value",
"Symbol"
]
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DataDTO-1": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name"
]
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
},
"ZadanieCRMDto": {
"type": "object",
"properties": {
"Guid": {
"type": "string"
},
"DefinicjaZadaniaSymbol": {
"type": "string"
},
"Numer": {
"type": "string"
},
"Nazwa": {
"type": "string"
},
"Opis": {
"type": "string"
},
"DataOd": {
"$ref": "#/definitions/DataDTO"
},
"DataDo": {
"$ref": "#/definitions/DataDTO"
},
"ProwadzacyKod": {
"type": "string"
},
"KontrahentKod": {
"type": "string"
},
"WykonujacyKod": {
"type": "string"
},
"StanZadaniaNazwa": {
"type": "string"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"DefinicjaZadaniaSymbol",
"Nazwa",
"DataOd",
"DataDo"
]
}
},
"type": "object",
"properties": {
"Guid": {
"type": "string"
},
"NumerDokumentu": {
"type": "string"
},
"NumerDodatkowy": {
"type": "string"
},
"WartoscCy": {
"$ref": "#/definitions/CurrencyDTO"
},
"WartoscNettoCy": {
"$ref": "#/definitions/CurrencyDTO"
},
"ZadaniaCRM": {
"type": "array",
"items": {
"$ref": "#/definitions/ZadanieCRMDto"
}
},
"ID": {
"type": "integer"
},
"Kod": {
"type": "string"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "TestMode": false,
  "Guid": "dc230bbb-f3fc-4597-9abd-9eed7977ad7c",
  "NumerDokumentu": "NumerDokumentu",
  "NumerDodatkowy": "NumerDodatkowy",
  "WartoscCy": {
    "Value": 1.0,
    "Symbol": "Symbol"
  },
  "WartoscNettoCy": {
    "Value": 1.0,
    "Symbol": "Symbol"
  },
  "ZadaniaCRM": [
    {
      "Guid": "5023d7af-45f2-4586-a5e5-db60a6a90ee8",
      "DefinicjaZadaniaSymbol": "DefinicjaZadaniaSymbol",
      "Numer": "Numer",
      "Nazwa": "Nazwa",
      "Opis": "Opis",
      "DataOd": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "DataDo": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "ProwadzacyKod": "ProwadzacyKod",
      "KontrahentKod": "KontrahentKod",
      "WykonujacyKod": "WykonujacyKod",
      "StanZadaniaNazwa": "StanZadaniaNazwa",
      "ID": 1,
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "IkJ7oPF9gsltjQ==",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "ID": 1,
  "Kod": "Kod",
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebApi.ObslugaFakturKosztowych

Method name: UpdateFakturaKosztowa

URL: https://{{baseAddress}}/api/FakturyKosztoweWebAPI2/UpdateFakturaKosztowa

HTTP method: POST

Params type: ZakupEwidencjaDto

Result type: UpdateResultDokEwidencji

Description: Modifying an existing cost invoice / Modyfikacja istniejącej faktury kosztowej

Comment: Modifying an existing cost invoice in the selected enova365 database. When searching for an Entity, a composite key can be used! Supported entity types are: Contractor and Employee. / Modyfikacja istniejącej faktury kosztowej w wybranej bazie enova365. Przy wyszukaniu Podmiotu można użyć klucza łączonego! Obsługiwane typy podmiotu to: Kontrahent oraz Pracownik.

Sample request for object ZakupEwidencjaDto. Replace placeholders with real values.

Schema (JSON) for class ZakupEwidencjaDto:
{
"title": "ZakupEwidencjaDto",
"definitions": {
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"CurrencyDTO": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"Symbol": {
"type": "string"
}
},
"required": [
"Value",
"Symbol"
]
},
"DaneKontrahentaDto": {
"type": "object",
"properties": {
"Nazwa": {
"type": "string"
},
"Kraj": {
"type": "string"
},
"EuVAT": {
"type": "string"
},
"Ulica": {
"type": "string"
},
"NrDomu": {
"type": "string"
},
"NrLokalu": {
"type": "string"
},
"KodPocztowyS": {
"type": "string"
},
"Miejscowosc": {
"type": "string"
},
"Poczta": {
"type": "string"
},
"Wojewodztwo": {
"type": "string",
"enum": [
"nieokreślone",
"dolnośląskie",
"kujawsko_pomorskie",
"lubelskie",
"lubuskie",
"łódzkie",
"małopolskie",
"mazowieckie",
"opolskie",
"podkarpackie",
"podlaskie",
"pomorskie",
"śląskie",
"świętokrzyskie",
"warmińsko_mazurskie",
"wielkopolskie",
"zachodniopomorskie"
]
}
}
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DataDTO-1": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DefinicjaPOV": {
"type": "object",
"properties": {
"KodDefinicjiPOV": {
"type": "string"
},
"DataPowstania": {
"$ref": "#/definitions/DataDTO"
}
}
},
"ElemOpisuAnalitycznegoDto": {
"type": "object",
"properties": {
"Data": {
"$ref": "#/definitions/DataDTO"
},
"Symbol": {
"type": "string"
},
"Wymiar": {
"type": "string"
},
"Kwota": {
"$ref": "#/definitions/CurrencyDTO"
},
"KwotaDodatkowa": {
"$ref": "#/definitions/CurrencyDTO"
},
"Opis": {
"type": "string"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
}
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name"
]
},
"KSeFDTO": {
"type": "object",
"properties": {
"NumerDokumentuKSeF": {
"type": "string"
},
"DataKSeF": {
"$ref": "#/definitions/DataDTO-1"
},
"DataPrzeslaniaKSeF": {
"$ref": "#/definitions/DataDTO"
},
"DataPrzyjeciaKSeF": {
"$ref": "#/definitions/DataDTO"
},
"Link": {
"type": "string"
},
"ContentXML": {
"type": "string"
}
},
"required": [
"DataKSeF"
]
},
"PlatnoscDto": {
"type": "object",
"properties": {
"Guid": {
"type": "string"
},
"Podmiot": {
"$ref": "#/definitions/PodmiotDto"
},
"EwidencjaSP": {
"type": "string"
},
"SposobZaplaty": {
"type": "string"
},
"Rachunek26": {
"type": "string"
},
"Opis": {
"type": "string"
},
"Termin": {
"$ref": "#/definitions/DataDTO"
},
"TerminDni": {
"type": "integer"
},
"Kwota": {
"$ref": "#/definitions/CurrencyDTO"
},
"Priorytet": {
"type": "integer"
},
"KwotaMPP": {
"$ref": "#/definitions/CurrencyDTO"
},
"Kurs": {
"type": "number"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
}
},
"PodmiotDto": {
"type": "object",
"properties": {
"TypPodmiotu": {
"type": "string",
"enum": [
"NieOkreślony",
"Kontrahent",
"Bank",
"UrzadSkarbowy",
"ZUS",
"Pracownik",
"UrządCelny",
"PFRON",
"PodmiotTransferowyPPK",
"KAS"
]
},
"ID": {
"type": "integer"
},
"Kod": {
"type": "string"
},
"Guid": {
"type": "string"
},
"ExternalID": {
"type": "string"
},
"EuVAT": {
"type": "string"
},
"Miejscowosc": {
"type": "string"
}
}
},
"PozycjaVatDto": {
"type": "object",
"properties": {
"StawkaVAT": {
"type": "string"
},
"Netto": {
"$ref": "#/definitions/CurrencyDTO"
},
"VAT": {
"$ref": "#/definitions/CurrencyDTO"
},
"Odliczenia": {
"type": "string",
"enum": [
"Tak",
"Nie",
"Warunkowo"
]
},
"Rodzaj": {
"type": "string",
"enum": [
"Towar",
"Inne",
"ŚrodkiTrwałe",
"ŚrodkiTransportu",
"Nieruchomości",
"Usługi",
"Paliwo",
"NabywcaPodatnik",
"Leasing",
"ŚrodkiTrwałeVATRocznie",
"UsługiNP",
"VATMarza",
"NabywcaPodatnikUsluga",
"SpisZNatury",
"KasyRejestrujace",
"WntSrodkowTransportu",
"WntPaliw",
"KorektaST",
"KorektaPozostale"
]
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
}
},
"ZadanieCRMDto": {
"type": "object",
"properties": {
"Guid": {
"type": "string"
},
"DefinicjaZadaniaSymbol": {
"type": "string"
},
"Numer": {
"type": "string"
},
"Nazwa": {
"type": "string"
},
"Opis": {
"type": "string"
},
"DataOd": {
"$ref": "#/definitions/DataDTO"
},
"DataDo": {
"$ref": "#/definitions/DataDTO"
},
"ProwadzacyKod": {
"type": "string"
},
"KontrahentKod": {
"type": "string"
},
"WykonujacyKod": {
"type": "string"
},
"StanZadaniaNazwa": {
"type": "string"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"DefinicjaZadaniaSymbol",
"Nazwa",
"DataOd",
"DataDo"
]
}
},
"type": "object",
"properties": {
"Guid": {
"type": "string"
},
"DataEwidencji": {
"$ref": "#/definitions/DataDTO"
},
"DataWplywu": {
"$ref": "#/definitions/DataDTO"
},
"DataWystawienia": {
"$ref": "#/definitions/DataDTO"
},
"DataOperacji": {
"$ref": "#/definitions/DataDTO"
},
"DaneKontrahenta": {
"$ref": "#/definitions/DaneKontrahentaDto"
},
"StanWprowadzony": {
"type": "boolean"
},
"Definicja": {
"type": "string"
},
"NumerDokumentu": {
"type": "string"
},
"NumerDodatkowy": {
"type": "string"
},
"NumerKorygowanego": {
"type": "string"
},
"RodzajPodmiotu": {
"type": "string",
"enum": [
"Krajowy",
"Eksportowy",
"EksportowyPodróżny",
"Unijny",
"UnijnyTrójstronny",
"BezVAT"
]
},
"StatusPodmiotu": {
"type": "string",
"enum": [
"PodmiotGospodarczy",
"Finalny"
]
},
"Opis": {
"type": "string"
},
"KwotaBrutto": {
"$ref": "#/definitions/CurrencyDTO"
},
"PodlegaVAT": {
"type": "boolean"
},
"WymagalnoscKwotyVAT": {
"type": "string",
"enum": [
"Brak",
"WgPozycjiMPP",
"VATCalkowity"
]
},
"SymbolOddzialu": {
"type": "string"
},
"DefinicjaPOV": {
"$ref": "#/definitions/DefinicjaPOV"
},
"Podmiot": {
"$ref": "#/definitions/PodmiotDto"
},
"PozycjeVAT": {
"type": "array",
"items": {
"$ref": "#/definitions/PozycjaVatDto"
}
},
"Platnosci": {
"type": "array",
"items": {
"$ref": "#/definitions/PlatnoscDto"
}
},
"OpisAnalityczny": {
"type": "array",
"items": {
"$ref": "#/definitions/ElemOpisuAnalitycznegoDto"
}
},
"ZadaniaCRM": {
"type": "array",
"items": {
"$ref": "#/definitions/ZadanieCRMDto"
}
},
"KSeF": {
"$ref": "#/definitions/KSeFDTO"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
}
}
Sample JSON file:
{
  "TestMode": false,
  "Guid": "dbca4a46-6701-4611-abfd-b5c4d8b578d7",
  "DataEwidencji": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  },
  "DataWplywu": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  },
  "DataWystawienia": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  },
  "DataOperacji": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  },
  "DaneKontrahenta": {
    "Nazwa": "Nazwa",
    "Kraj": "Polska",
    "EuVAT": "EuVAT",
    "Ulica": "Ulica",
    "NrDomu": "1",
    "NrLokalu": "2",
    "KodPocztowyS": "00-000",
    "Miejscowosc": "Miejscowosc",
    "Poczta": "Poczta",
    "Wojewodztwo": "nieokreślone"
  },
  "StanWprowadzony": false,
  "Definicja": "Definicja",
  "NumerDokumentu": "NumerDokumentu",
  "NumerDodatkowy": "NumerDodatkowy",
  "NumerKorygowanego": "NumerKorygowanego",
  "RodzajPodmiotu": "Krajowy",
  "StatusPodmiotu": "PodmiotGospodarczy",
  "Opis": "Opis",
  "KwotaBrutto": {
    "Value": 1.0,
    "Symbol": "Symbol"
  },
  "PodlegaVAT": false,
  "WymagalnoscKwotyVAT": "Brak",
  "SymbolOddzialu": "SymbolOddzialu",
  "DefinicjaPOV": {
    "KodDefinicjiPOV": "KodDefinicjiPOV",
    "DataPowstania": {
      "Year": 2025,
      "Month": 12,
      "Day": 18
    }
  },
  "Podmiot": {
    "TypPodmiotu": "NieOkreślony",
    "ID": 1,
    "Kod": "Kod",
    "Guid": "4e4c6a1f-a231-4ba8-bbb0-22d10824c0c6",
    "ExternalID": "ExternalID",
    "EuVAT": "EuVAT",
    "Miejscowosc": "Miejscowosc"
  },
  "PozycjeVAT": [
    {
      "StawkaVAT": "StawkaVAT",
      "Netto": {
        "Value": 1.0,
        "Symbol": "Symbol"
      },
      "VAT": {
        "Value": 1.0,
        "Symbol": "Symbol"
      },
      "Odliczenia": "Tak",
      "Rodzaj": "Towar",
      "ID": 1,
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "jQ7n/5QiDAJ+Iw==",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "Platnosci": [
    {
      "Guid": "3cee702a-7274-4235-9644-afb66acdbf14",
      "Podmiot": {
        "TypPodmiotu": "NieOkreślony",
        "ID": 1,
        "Kod": "Kod",
        "Guid": "319dc9e3-0774-4a78-b93d-8f5706794eca",
        "ExternalID": "ExternalID",
        "EuVAT": "EuVAT",
        "Miejscowosc": "Miejscowosc"
      },
      "EwidencjaSP": "EwidencjaSP",
      "SposobZaplaty": "SposobZaplaty",
      "Rachunek26": "Rachunek26",
      "Opis": "Opis",
      "Termin": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "TerminDni": 1,
      "Kwota": {
        "Value": 1.0,
        "Symbol": "Symbol"
      },
      "Priorytet": 1,
      "KwotaMPP": {
        "Value": 1.0,
        "Symbol": "Symbol"
      },
      "Kurs": 1.0,
      "ID": 1,
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "HR8Qf13JCKsesQ==",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "OpisAnalityczny": [
    {
      "Data": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "Symbol": "Symbol",
      "Wymiar": "Wymiar",
      "Kwota": {
        "Value": 1.0,
        "Symbol": "Symbol"
      },
      "KwotaDodatkowa": {
        "Value": 1.0,
        "Symbol": "Symbol"
      },
      "Opis": "Opis",
      "ID": 1,
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "z8XgI4FLC1D+/A==",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "ZadaniaCRM": [
    {
      "Guid": "e75b77ae-e01b-43dd-a776-2dd0ecad3d98",
      "DefinicjaZadaniaSymbol": "DefinicjaZadaniaSymbol",
      "Numer": "Numer",
      "Nazwa": "Nazwa",
      "Opis": "Opis",
      "DataOd": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "DataDo": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "ProwadzacyKod": "ProwadzacyKod",
      "KontrahentKod": "KontrahentKod",
      "WykonujacyKod": "WykonujacyKod",
      "StanZadaniaNazwa": "StanZadaniaNazwa",
      "ID": 1,
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "1XdRydU/QgP0fg==",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "KSeF": {
    "NumerDokumentuKSeF": "NumerDokumentuKSeF",
    "DataKSeF": null,
    "DataPrzeslaniaKSeF": {
      "Year": 2025,
      "Month": 12,
      "Day": 18
    },
    "DataPrzyjeciaKSeF": {
      "Year": 2025,
      "Month": 12,
      "Day": 18
    },
    "Link": "Link",
    "ContentXML": "ContentXML"
  },
  "ID": 1,
  "Features": [
    {
      "Name": "Name",
      "Value": "Value",
      "Type": "Type",
      "UpdateDate": null
    }
  ],
  "Attachments": [
    {
      "ID": 1,
      "Name": "Name",
      "Parent": 1,
      "Description": "Description",
      "IsDefault": false,
      "SendEmail": false,
      "Extension": "Extension",
      "Link": "Link",
      "SubType": "None",
      "Base64": "d1wzp+te8l+YHA==",
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ]
    }
  ]
}
Sample response:
Schema (JSON) for class UpdateResultDokEwidencji:
{
"title": "UpdateResultDokEwidencji",
"definitions": {
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"CurrencyDTO": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"Symbol": {
"type": "string"
}
},
"required": [
"Value",
"Symbol"
]
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DataDTO-1": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name"
]
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
},
"ZadanieCRMDto": {
"type": "object",
"properties": {
"Guid": {
"type": "string"
},
"DefinicjaZadaniaSymbol": {
"type": "string"
},
"Numer": {
"type": "string"
},
"Nazwa": {
"type": "string"
},
"Opis": {
"type": "string"
},
"DataOd": {
"$ref": "#/definitions/DataDTO"
},
"DataDo": {
"$ref": "#/definitions/DataDTO"
},
"ProwadzacyKod": {
"type": "string"
},
"KontrahentKod": {
"type": "string"
},
"WykonujacyKod": {
"type": "string"
},
"StanZadaniaNazwa": {
"type": "string"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"DefinicjaZadaniaSymbol",
"Nazwa",
"DataOd",
"DataDo"
]
}
},
"type": "object",
"properties": {
"Guid": {
"type": "string"
},
"NumerDokumentu": {
"type": "string"
},
"NumerDodatkowy": {
"type": "string"
},
"WartoscCy": {
"$ref": "#/definitions/CurrencyDTO"
},
"WartoscNettoCy": {
"$ref": "#/definitions/CurrencyDTO"
},
"ZadaniaCRM": {
"type": "array",
"items": {
"$ref": "#/definitions/ZadanieCRMDto"
}
},
"ID": {
"type": "integer"
},
"Kod": {
"type": "string"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "TestMode": false,
  "Guid": "ea6ff284-f12e-417d-ab65-d73106ad9a83",
  "NumerDokumentu": "NumerDokumentu",
  "NumerDodatkowy": "NumerDodatkowy",
  "WartoscCy": {
    "Value": 1.0,
    "Symbol": "Symbol"
  },
  "WartoscNettoCy": {
    "Value": 1.0,
    "Symbol": "Symbol"
  },
  "ZadaniaCRM": [
    {
      "Guid": "a84342d3-5962-40d0-9c5c-898a4cd55438",
      "DefinicjaZadaniaSymbol": "DefinicjaZadaniaSymbol",
      "Numer": "Numer",
      "Nazwa": "Nazwa",
      "Opis": "Opis",
      "DataOd": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "DataDo": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "ProwadzacyKod": "ProwadzacyKod",
      "KontrahentKod": "KontrahentKod",
      "WykonujacyKod": "WykonujacyKod",
      "StanZadaniaNazwa": "StanZadaniaNazwa",
      "ID": 1,
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "MJ3QN5Y15g+UzA==",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "ID": 1,
  "Kod": "Kod",
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebApi.ObslugaFakturKosztowych

Method name: GetFakturyKosztowe

URL: https://{{baseAddress}}/api/FakturyKosztoweWebAPI2/GetFakturyKosztowe

HTTP method: POST

Params type: GetDokumentEwidencjiParams

Result type: DataResponse<List<ZakupEwidencjaDto>>

Description: Reading internal documents / Odczyt dokumentów wewnętrznych

Comment: Retrieving a list of documents based on the provided parameters. / Pobranie listy dokumentów po podanych parametrach.

Sample request for object GetDokumentEwidencjiParams. Replace placeholders with real values.

Schema (JSON) for class GetDokumentEwidencjiParams:
{
"title": "GetDokumentEwidencjiParams",
"type": "object",
"properties": {
"IDs": {
"type": "array",
"items": {
"type": "integer"
}
},
"CzyPobracContentXMLKSeF": {
"type": "boolean"
}
}
}
Sample JSON file:
{
  "IDs": [
    1
  ],
  "CzyPobracContentXMLKSeF": false
}
Sample response:
Schema (JSON) for class DataResponse<List<ZakupEwidencjaDto>>:
{
"title": "DataResponse`1",
"definitions": {
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"CurrencyDTO": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"Symbol": {
"type": "string"
}
},
"required": [
"Value",
"Symbol"
]
},
"DaneKontrahentaDto": {
"type": "object",
"properties": {
"Nazwa": {
"type": "string"
},
"Kraj": {
"type": "string"
},
"EuVAT": {
"type": "string"
},
"Ulica": {
"type": "string"
},
"NrDomu": {
"type": "string"
},
"NrLokalu": {
"type": "string"
},
"KodPocztowyS": {
"type": "string"
},
"Miejscowosc": {
"type": "string"
},
"Poczta": {
"type": "string"
},
"Wojewodztwo": {
"type": "string",
"enum": [
"nieokreślone",
"dolnośląskie",
"kujawsko_pomorskie",
"lubelskie",
"lubuskie",
"łódzkie",
"małopolskie",
"mazowieckie",
"opolskie",
"podkarpackie",
"podlaskie",
"pomorskie",
"śląskie",
"świętokrzyskie",
"warmińsko_mazurskie",
"wielkopolskie",
"zachodniopomorskie"
]
}
}
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DataDTO-1": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DefinicjaPOV": {
"type": "object",
"properties": {
"KodDefinicjiPOV": {
"type": "string"
},
"DataPowstania": {
"$ref": "#/definitions/DataDTO"
}
}
},
"ElemOpisuAnalitycznegoDto": {
"type": "object",
"properties": {
"Data": {
"$ref": "#/definitions/DataDTO"
},
"Symbol": {
"type": "string"
},
"Wymiar": {
"type": "string"
},
"Kwota": {
"$ref": "#/definitions/CurrencyDTO"
},
"KwotaDodatkowa": {
"$ref": "#/definitions/CurrencyDTO"
},
"Opis": {
"type": "string"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
}
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name"
]
},
"KSeFDTO": {
"type": "object",
"properties": {
"NumerDokumentuKSeF": {
"type": "string"
},
"DataKSeF": {
"$ref": "#/definitions/DataDTO-1"
},
"DataPrzeslaniaKSeF": {
"$ref": "#/definitions/DataDTO"
},
"DataPrzyjeciaKSeF": {
"$ref": "#/definitions/DataDTO"
},
"Link": {
"type": "string"
},
"ContentXML": {
"type": "string"
}
},
"required": [
"DataKSeF"
]
},
"PlatnoscDto": {
"type": "object",
"properties": {
"Guid": {
"type": "string"
},
"Podmiot": {
"$ref": "#/definitions/PodmiotDto"
},
"EwidencjaSP": {
"type": "string"
},
"SposobZaplaty": {
"type": "string"
},
"Rachunek26": {
"type": "string"
},
"Opis": {
"type": "string"
},
"Termin": {
"$ref": "#/definitions/DataDTO"
},
"TerminDni": {
"type": "integer"
},
"Kwota": {
"$ref": "#/definitions/CurrencyDTO"
},
"Priorytet": {
"type": "integer"
},
"KwotaMPP": {
"$ref": "#/definitions/CurrencyDTO"
},
"Kurs": {
"type": "number"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
}
},
"PodmiotDto": {
"type": "object",
"properties": {
"TypPodmiotu": {
"type": "string",
"enum": [
"NieOkreślony",
"Kontrahent",
"Bank",
"UrzadSkarbowy",
"ZUS",
"Pracownik",
"UrządCelny",
"PFRON",
"PodmiotTransferowyPPK",
"KAS"
]
},
"ID": {
"type": "integer"
},
"Kod": {
"type": "string"
},
"Guid": {
"type": "string"
},
"ExternalID": {
"type": "string"
},
"EuVAT": {
"type": "string"
},
"Miejscowosc": {
"type": "string"
}
}
},
"PozycjaVatDto": {
"type": "object",
"properties": {
"StawkaVAT": {
"type": "string"
},
"Netto": {
"$ref": "#/definitions/CurrencyDTO"
},
"VAT": {
"$ref": "#/definitions/CurrencyDTO"
},
"Odliczenia": {
"type": "string",
"enum": [
"Tak",
"Nie",
"Warunkowo"
]
},
"Rodzaj": {
"type": "string",
"enum": [
"Towar",
"Inne",
"ŚrodkiTrwałe",
"ŚrodkiTransportu",
"Nieruchomości",
"Usługi",
"Paliwo",
"NabywcaPodatnik",
"Leasing",
"ŚrodkiTrwałeVATRocznie",
"UsługiNP",
"VATMarza",
"NabywcaPodatnikUsluga",
"SpisZNatury",
"KasyRejestrujace",
"WntSrodkowTransportu",
"WntPaliw",
"KorektaST",
"KorektaPozostale"
]
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
},
"ZadanieCRMDto": {
"type": "object",
"properties": {
"Guid": {
"type": "string"
},
"DefinicjaZadaniaSymbol": {
"type": "string"
},
"Numer": {
"type": "string"
},
"Nazwa": {
"type": "string"
},
"Opis": {
"type": "string"
},
"DataOd": {
"$ref": "#/definitions/DataDTO"
},
"DataDo": {
"$ref": "#/definitions/DataDTO"
},
"ProwadzacyKod": {
"type": "string"
},
"KontrahentKod": {
"type": "string"
},
"WykonujacyKod": {
"type": "string"
},
"StanZadaniaNazwa": {
"type": "string"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"DefinicjaZadaniaSymbol",
"Nazwa",
"DataOd",
"DataDo"
]
},
"ZakupEwidencjaDto": {
"type": "object",
"properties": {
"Guid": {
"type": "string"
},
"DataEwidencji": {
"$ref": "#/definitions/DataDTO"
},
"DataWplywu": {
"$ref": "#/definitions/DataDTO"
},
"DataWystawienia": {
"$ref": "#/definitions/DataDTO"
},
"DataOperacji": {
"$ref": "#/definitions/DataDTO"
},
"DaneKontrahenta": {
"$ref": "#/definitions/DaneKontrahentaDto"
},
"StanWprowadzony": {
"type": "boolean"
},
"Definicja": {
"type": "string"
},
"NumerDokumentu": {
"type": "string"
},
"NumerDodatkowy": {
"type": "string"
},
"NumerKorygowanego": {
"type": "string"
},
"RodzajPodmiotu": {
"type": "string",
"enum": [
"Krajowy",
"Eksportowy",
"EksportowyPodróżny",
"Unijny",
"UnijnyTrójstronny",
"BezVAT"
]
},
"StatusPodmiotu": {
"type": "string",
"enum": [
"PodmiotGospodarczy",
"Finalny"
]
},
"Opis": {
"type": "string"
},
"KwotaBrutto": {
"$ref": "#/definitions/CurrencyDTO"
},
"PodlegaVAT": {
"type": "boolean"
},
"WymagalnoscKwotyVAT": {
"type": "string",
"enum": [
"Brak",
"WgPozycjiMPP",
"VATCalkowity"
]
},
"SymbolOddzialu": {
"type": "string"
},
"DefinicjaPOV": {
"$ref": "#/definitions/DefinicjaPOV"
},
"Podmiot": {
"$ref": "#/definitions/PodmiotDto"
},
"PozycjeVAT": {
"type": "array",
"items": {
"$ref": "#/definitions/PozycjaVatDto"
}
},
"Platnosci": {
"type": "array",
"items": {
"$ref": "#/definitions/PlatnoscDto"
}
},
"OpisAnalityczny": {
"type": "array",
"items": {
"$ref": "#/definitions/ElemOpisuAnalitycznegoDto"
}
},
"ZadaniaCRM": {
"type": "array",
"items": {
"$ref": "#/definitions/ZadanieCRMDto"
}
},
"KSeF": {
"$ref": "#/definitions/KSeFDTO"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
}
}
},
"type": "object",
"properties": {
"Data": {
"type": "array",
"items": {
"$ref": "#/definitions/ZakupEwidencjaDto"
}
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "Data": [
    {
      "Guid": "743f5044-f381-43f0-8e42-384172a92da6",
      "DataEwidencji": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "DataWplywu": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "DataWystawienia": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "DataOperacji": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "DaneKontrahenta": {
        "Nazwa": "Nazwa",
        "Kraj": "Polska",
        "EuVAT": "EuVAT",
        "Ulica": "Ulica",
        "NrDomu": "1",
        "NrLokalu": "2",
        "KodPocztowyS": "00-000",
        "Miejscowosc": "Miejscowosc",
        "Poczta": "Poczta",
        "Wojewodztwo": "nieokreślone"
      },
      "StanWprowadzony": false,
      "Definicja": "Definicja",
      "NumerDokumentu": "NumerDokumentu",
      "NumerDodatkowy": "NumerDodatkowy",
      "NumerKorygowanego": "NumerKorygowanego",
      "RodzajPodmiotu": "Krajowy",
      "StatusPodmiotu": "PodmiotGospodarczy",
      "Opis": "Opis",
      "KwotaBrutto": {
        "Value": 1.0,
        "Symbol": "Symbol"
      },
      "PodlegaVAT": false,
      "WymagalnoscKwotyVAT": "Brak",
      "SymbolOddzialu": "SymbolOddzialu",
      "DefinicjaPOV": {
        "KodDefinicjiPOV": "KodDefinicjiPOV",
        "DataPowstania": {
          "Year": 2025,
          "Month": 12,
          "Day": 18
        }
      },
      "Podmiot": {
        "TypPodmiotu": "NieOkreślony",
        "ID": 1,
        "Kod": "Kod",
        "Guid": "58d33c55-3bc2-4401-9847-d777a515c8d8",
        "ExternalID": "ExternalID",
        "EuVAT": "EuVAT",
        "Miejscowosc": "Miejscowosc"
      },
      "PozycjeVAT": [
        {
          "StawkaVAT": "StawkaVAT",
          "Netto": {
            "Value": 1.0,
            "Symbol": "Symbol"
          },
          "VAT": {
            "Value": 1.0,
            "Symbol": "Symbol"
          },
          "Odliczenia": "Tak",
          "Rodzaj": "Towar",
          "ID": 1,
          "AttachmentsCount": 1,
          "TableName": "TableName",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ],
          "Attachments": [
            {
              "ID": 1,
              "TableName": "TableName",
              "Name": "Name",
              "Parent": 1,
              "Description": "Description",
              "IsDefault": false,
              "SendEmail": false,
              "Extension": "Extension",
              "Link": "Link",
              "SubType": "None",
              "Base64": "RDItBqnzXh16Dw==",
              "Features": [
                {
                  "Name": "Name",
                  "Value": "Value",
                  "Type": "Type",
                  "UpdateDate": null
                }
              ]
            }
          ]
        }
      ],
      "Platnosci": [
        {
          "Guid": "a73ec59d-5ddd-4aa6-9723-01146d1f2751",
          "Podmiot": {
            "TypPodmiotu": "NieOkreślony",
            "ID": 1,
            "Kod": "Kod",
            "Guid": "8375c8df-cfdc-48dc-9de4-5cbdd1ed34ae",
            "ExternalID": "ExternalID",
            "EuVAT": "EuVAT",
            "Miejscowosc": "Miejscowosc"
          },
          "EwidencjaSP": "EwidencjaSP",
          "SposobZaplaty": "SposobZaplaty",
          "Rachunek26": "Rachunek26",
          "Opis": "Opis",
          "Termin": {
            "Year": 2025,
            "Month": 12,
            "Day": 18
          },
          "TerminDni": 1,
          "Kwota": {
            "Value": 1.0,
            "Symbol": "Symbol"
          },
          "Priorytet": 1,
          "KwotaMPP": {
            "Value": 1.0,
            "Symbol": "Symbol"
          },
          "Kurs": 1.0,
          "ID": 1,
          "AttachmentsCount": 1,
          "TableName": "TableName",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ],
          "Attachments": [
            {
              "ID": 1,
              "TableName": "TableName",
              "Name": "Name",
              "Parent": 1,
              "Description": "Description",
              "IsDefault": false,
              "SendEmail": false,
              "Extension": "Extension",
              "Link": "Link",
              "SubType": "None",
              "Base64": "g6/HH1JsUX25vw==",
              "Features": [
                {
                  "Name": "Name",
                  "Value": "Value",
                  "Type": "Type",
                  "UpdateDate": null
                }
              ]
            }
          ]
        }
      ],
      "OpisAnalityczny": [
        {
          "Data": {
            "Year": 2025,
            "Month": 12,
            "Day": 18
          },
          "Symbol": "Symbol",
          "Wymiar": "Wymiar",
          "Kwota": {
            "Value": 1.0,
            "Symbol": "Symbol"
          },
          "KwotaDodatkowa": {
            "Value": 1.0,
            "Symbol": "Symbol"
          },
          "Opis": "Opis",
          "ID": 1,
          "AttachmentsCount": 1,
          "TableName": "TableName",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ],
          "Attachments": [
            {
              "ID": 1,
              "TableName": "TableName",
              "Name": "Name",
              "Parent": 1,
              "Description": "Description",
              "IsDefault": false,
              "SendEmail": false,
              "Extension": "Extension",
              "Link": "Link",
              "SubType": "None",
              "Base64": "oHMrvfkFO3Gu8A==",
              "Features": [
                {
                  "Name": "Name",
                  "Value": "Value",
                  "Type": "Type",
                  "UpdateDate": null
                }
              ]
            }
          ]
        }
      ],
      "ZadaniaCRM": [
        {
          "Guid": "2ba934bd-ad0e-40fa-91b9-8aa85a6c2d07",
          "DefinicjaZadaniaSymbol": "DefinicjaZadaniaSymbol",
          "Numer": "Numer",
          "Nazwa": "Nazwa",
          "Opis": "Opis",
          "DataOd": {
            "Year": 2025,
            "Month": 12,
            "Day": 18
          },
          "DataDo": {
            "Year": 2025,
            "Month": 12,
            "Day": 18
          },
          "ProwadzacyKod": "ProwadzacyKod",
          "KontrahentKod": "KontrahentKod",
          "WykonujacyKod": "WykonujacyKod",
          "StanZadaniaNazwa": "StanZadaniaNazwa",
          "ID": 1,
          "AttachmentsCount": 1,
          "TableName": "TableName",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ],
          "Attachments": [
            {
              "ID": 1,
              "TableName": "TableName",
              "Name": "Name",
              "Parent": 1,
              "Description": "Description",
              "IsDefault": false,
              "SendEmail": false,
              "Extension": "Extension",
              "Link": "Link",
              "SubType": "None",
              "Base64": "SW8iNPtIUsQpWA==",
              "Features": [
                {
                  "Name": "Name",
                  "Value": "Value",
                  "Type": "Type",
                  "UpdateDate": null
                }
              ]
            }
          ]
        }
      ],
      "KSeF": {
        "NumerDokumentuKSeF": "NumerDokumentuKSeF",
        "DataKSeF": null,
        "DataPrzeslaniaKSeF": {
          "Year": 2025,
          "Month": 12,
          "Day": 18
        },
        "DataPrzyjeciaKSeF": {
          "Year": 2025,
          "Month": 12,
          "Day": 18
        },
        "Link": "Link",
        "ContentXML": "ContentXML"
      },
      "ID": 1,
      "AttachmentsCount": 1,
      "TableName": "TableName",
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "TableName": "TableName",
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "tzYhlzkfDKBaIw==",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebApi.ObslugaFakturKosztowych

Method name: GetStanyPlatnosci

URL: https://{{baseAddress}}/api/FakturyKosztoweWebAPI2/GetStanyPlatnosci

HTTP method: POST

Params type: GetStanyPlatnosciParams

Result type: DataResponse<List<StanPlatnosciDto>>

Description: Reading payment statuses / Odczyt stanu płatności

Comment: Reading payment statuses for modified documents. Only one key (indicated ID or collection) SourceID from the GetRecordsChange method of the DataExchangeTable module should be provided. / Odczyt stanu płatności dla zmienionych dokumentów. Należy podać tylko jeden z kluczy (wskazane ID lub kolekcje) SourceID odczytanej poprzez metodę GetRecordsChange modułu DataExchangeTable.

Sample request for object GetStanyPlatnosciParams. Replace placeholders with real values.

Schema (JSON) for class GetStanyPlatnosciParams:
{
"title": "GetStanyPlatnosciParams",
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"IDs": {
"type": "array",
"items": {
"type": "integer"
}
},
"IDsWgDokEwidencji": {
"type": "array",
"items": {
"type": "integer"
}
}
}
}
Sample JSON file:
{
  "ID": 1,
  "IDs": [
    1
  ],
  "IDsWgDokEwidencji": [
    1
  ]
}
Sample response:
Schema (JSON) for class DataResponse<List<StanPlatnosciDto>>:
{
"title": "DataResponse`1",
"definitions": {
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"CurrencyDTO": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"Symbol": {
"type": "string"
}
},
"required": [
"Value",
"Symbol"
]
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DataDTO-1": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name"
]
},
"PodmiotDto": {
"type": "object",
"properties": {
"TypPodmiotu": {
"type": "string",
"enum": [
"NieOkreślony",
"Kontrahent",
"Bank",
"UrzadSkarbowy",
"ZUS",
"Pracownik",
"UrządCelny",
"PFRON",
"PodmiotTransferowyPPK",
"KAS"
]
},
"ID": {
"type": "integer"
},
"Kod": {
"type": "string"
},
"Guid": {
"type": "string"
},
"ExternalID": {
"type": "string"
},
"EuVAT": {
"type": "string"
},
"Miejscowosc": {
"type": "string"
}
}
},
"StanPlatnosciDto": {
"type": "object",
"properties": {
"IDDokumentu": {
"type": "integer"
},
"GuidPlatnosci": {
"type": "string"
},
"DoRozliczenia": {
"$ref": "#/definitions/CurrencyDTO"
},
"KwotaRozliczona": {
"$ref": "#/definitions/CurrencyDTO"
},
"DataRozliczenia": {
"$ref": "#/definitions/DataDTO"
},
"StanRozliczenia": {
"type": "string",
"enum": [
"Nierozliczony",
"Czesciowo",
"Calkowicie",
"NiePodlega"
]
},
"Guid": {
"type": "string"
},
"Podmiot": {
"$ref": "#/definitions/PodmiotDto"
},
"EwidencjaSP": {
"type": "string"
},
"SposobZaplaty": {
"type": "string"
},
"Rachunek26": {
"type": "string"
},
"Opis": {
"type": "string"
},
"Termin": {
"$ref": "#/definitions/DataDTO"
},
"TerminDni": {
"type": "integer"
},
"Kwota": {
"$ref": "#/definitions/CurrencyDTO"
},
"Priorytet": {
"type": "integer"
},
"KwotaMPP": {
"$ref": "#/definitions/CurrencyDTO"
},
"Kurs": {
"type": "number"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"Data": {
"type": "array",
"items": {
"$ref": "#/definitions/StanPlatnosciDto"
}
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "Data": [
    {
      "IDDokumentu": 1,
      "GuidPlatnosci": "GuidPlatnosci",
      "DoRozliczenia": {
        "Value": 1.0,
        "Symbol": "Symbol"
      },
      "KwotaRozliczona": {
        "Value": 1.0,
        "Symbol": "Symbol"
      },
      "DataRozliczenia": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "StanRozliczenia": "Nierozliczony",
      "Guid": "c243bc98-141b-4924-82a8-3c9db5789e37",
      "Podmiot": {
        "TypPodmiotu": "NieOkreślony",
        "ID": 1,
        "Kod": "Kod",
        "Guid": "73ef1db4-b0c9-4ec9-8e0a-281b3c32fe23",
        "ExternalID": "ExternalID",
        "EuVAT": "EuVAT",
        "Miejscowosc": "Miejscowosc"
      },
      "EwidencjaSP": "EwidencjaSP",
      "SposobZaplaty": "SposobZaplaty",
      "Rachunek26": "Rachunek26",
      "Opis": "Opis",
      "Termin": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "TerminDni": 1,
      "Kwota": {
        "Value": 1.0,
        "Symbol": "Symbol"
      },
      "Priorytet": 1,
      "KwotaMPP": {
        "Value": 1.0,
        "Symbol": "Symbol"
      },
      "Kurs": 1.0,
      "ID": 1,
      "AttachmentsCount": 1,
      "TableName": "TableName",
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "TableName": "TableName",
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "el/qQ1oYtHVX/g==",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebApi.ObslugaFakturKosztowych

Method name: InsertDokumentPK

URL: https://{{baseAddress}}/api/FakturyKosztoweWebAPI2/InsertDokumentPK

HTTP method: POST

Params type: DokumentPKDto

Result type: UpdateResult

Description: Adding PK document / Dodanie dokumentu PK

Comment: Creating a PK document. When searching for an Entity, a composite key can be used! Supported entity types are: Contractor and Employee. / Utworzenie dokumentu PK. Przy wyszukaniu Podmiotu można użyć klucza łączonego! Obsługiwane typy podmiotu to: Kontrahent oraz Pracownik.

Sample request for object DokumentPKDto. Replace placeholders with real values.

Schema (JSON) for class DokumentPKDto:
{
"title": "DokumentPKDto",
"definitions": {
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"CurrencyDTO": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"Symbol": {
"type": "string"
}
},
"required": [
"Value",
"Symbol"
]
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DataDTO-1": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"ElemOpisuAnalitycznegoDto": {
"type": "object",
"properties": {
"Data": {
"$ref": "#/definitions/DataDTO"
},
"Symbol": {
"type": "string"
},
"Wymiar": {
"type": "string"
},
"Kwota": {
"$ref": "#/definitions/CurrencyDTO"
},
"KwotaDodatkowa": {
"$ref": "#/definitions/CurrencyDTO"
},
"Opis": {
"type": "string"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
}
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name"
]
},
"PlatnoscDto": {
"type": "object",
"properties": {
"Guid": {
"type": "string"
},
"Podmiot": {
"$ref": "#/definitions/PodmiotDto"
},
"EwidencjaSP": {
"type": "string"
},
"SposobZaplaty": {
"type": "string"
},
"Rachunek26": {
"type": "string"
},
"Opis": {
"type": "string"
},
"Termin": {
"$ref": "#/definitions/DataDTO"
},
"TerminDni": {
"type": "integer"
},
"Kwota": {
"$ref": "#/definitions/CurrencyDTO"
},
"Priorytet": {
"type": "integer"
},
"KwotaMPP": {
"$ref": "#/definitions/CurrencyDTO"
},
"Kurs": {
"type": "number"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
}
},
"PodmiotDto": {
"type": "object",
"properties": {
"TypPodmiotu": {
"type": "string",
"enum": [
"NieOkreślony",
"Kontrahent",
"Bank",
"UrzadSkarbowy",
"ZUS",
"Pracownik",
"UrządCelny",
"PFRON",
"PodmiotTransferowyPPK",
"KAS"
]
},
"ID": {
"type": "integer"
},
"Kod": {
"type": "string"
},
"Guid": {
"type": "string"
},
"ExternalID": {
"type": "string"
},
"EuVAT": {
"type": "string"
},
"Miejscowosc": {
"type": "string"
}
}
},
"ZadanieCRMDto": {
"type": "object",
"properties": {
"Guid": {
"type": "string"
},
"DefinicjaZadaniaSymbol": {
"type": "string"
},
"Numer": {
"type": "string"
},
"Nazwa": {
"type": "string"
},
"Opis": {
"type": "string"
},
"DataOd": {
"$ref": "#/definitions/DataDTO"
},
"DataDo": {
"$ref": "#/definitions/DataDTO"
},
"ProwadzacyKod": {
"type": "string"
},
"KontrahentKod": {
"type": "string"
},
"WykonujacyKod": {
"type": "string"
},
"StanZadaniaNazwa": {
"type": "string"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"DefinicjaZadaniaSymbol",
"Nazwa",
"DataOd",
"DataDo"
]
}
},
"type": "object",
"properties": {
"Guid": {
"type": "string"
},
"Definicja": {
"type": "string"
},
"StanWprowadzony": {
"type": "boolean"
},
"DataWplywu": {
"$ref": "#/definitions/DataDTO"
},
"DataEwidencji": {
"$ref": "#/definitions/DataDTO"
},
"Numer": {
"type": "string"
},
"NumerDodatkowy": {
"type": "string"
},
"NumerDokumentu": {
"type": "string"
},
"DataDokumentu": {
"$ref": "#/definitions/DataDTO"
},
"DataOperacji": {
"$ref": "#/definitions/DataDTO"
},
"Opis": {
"type": "string"
},
"Wartosc": {
"$ref": "#/definitions/CurrencyDTO"
},
"Podmiot": {
"$ref": "#/definitions/PodmiotDto"
},
"OpisAnalityczny": {
"type": "array",
"items": {
"$ref": "#/definitions/ElemOpisuAnalitycznegoDto"
}
},
"Platnosci": {
"type": "array",
"items": {
"$ref": "#/definitions/PlatnoscDto"
}
},
"ZadaniaCRM": {
"type": "array",
"items": {
"$ref": "#/definitions/ZadanieCRMDto"
}
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Definicja",
"DataWplywu",
"DataEwidencji",
"NumerDokumentu",
"DataDokumentu",
"DataOperacji"
]
}
Sample JSON file:
{
  "TestMode": false,
  "Guid": "62f83167-7452-4e79-a2d2-bc07bf2236a0",
  "Definicja": "Definicja",
  "StanWprowadzony": false,
  "DataWplywu": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  },
  "DataEwidencji": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  },
  "Numer": "Numer",
  "NumerDodatkowy": "NumerDodatkowy",
  "NumerDokumentu": "NumerDokumentu",
  "DataDokumentu": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  },
  "DataOperacji": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  },
  "Opis": "Opis",
  "Wartosc": {
    "Value": 1.0,
    "Symbol": "Symbol"
  },
  "Podmiot": {
    "TypPodmiotu": "NieOkreślony",
    "ID": 1,
    "Kod": "Kod",
    "Guid": "7def72b5-a33b-4147-b921-f9e9ef900ea5",
    "ExternalID": "ExternalID",
    "EuVAT": "EuVAT",
    "Miejscowosc": "Miejscowosc"
  },
  "OpisAnalityczny": [
    {
      "Data": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "Symbol": "Symbol",
      "Wymiar": "Wymiar",
      "Kwota": {
        "Value": 1.0,
        "Symbol": "Symbol"
      },
      "KwotaDodatkowa": {
        "Value": 1.0,
        "Symbol": "Symbol"
      },
      "Opis": "Opis",
      "ID": 1,
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "vBF4zFLLw3uxZQ==",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "Platnosci": [
    {
      "Guid": "47a4f536-2bbe-4f02-8e5d-27b262d0cd9c",
      "Podmiot": {
        "TypPodmiotu": "NieOkreślony",
        "ID": 1,
        "Kod": "Kod",
        "Guid": "84845386-2933-4f46-a310-422cde955d1b",
        "ExternalID": "ExternalID",
        "EuVAT": "EuVAT",
        "Miejscowosc": "Miejscowosc"
      },
      "EwidencjaSP": "EwidencjaSP",
      "SposobZaplaty": "SposobZaplaty",
      "Rachunek26": "Rachunek26",
      "Opis": "Opis",
      "Termin": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "TerminDni": 1,
      "Kwota": {
        "Value": 1.0,
        "Symbol": "Symbol"
      },
      "Priorytet": 1,
      "KwotaMPP": {
        "Value": 1.0,
        "Symbol": "Symbol"
      },
      "Kurs": 1.0,
      "ID": 1,
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "mgMjVycPQGhT7A==",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "ZadaniaCRM": [
    {
      "Guid": "e9ba2c10-3ab1-4acd-b699-069c4925dc9b",
      "DefinicjaZadaniaSymbol": "DefinicjaZadaniaSymbol",
      "Numer": "Numer",
      "Nazwa": "Nazwa",
      "Opis": "Opis",
      "DataOd": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "DataDo": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "ProwadzacyKod": "ProwadzacyKod",
      "KontrahentKod": "KontrahentKod",
      "WykonujacyKod": "WykonujacyKod",
      "StanZadaniaNazwa": "StanZadaniaNazwa",
      "ID": 1,
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "SWsJhPBG/rl0rQ==",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "ID": 1,
  "Features": [
    {
      "Name": "Name",
      "Value": "Value",
      "Type": "Type",
      "UpdateDate": null
    }
  ],
  "Attachments": [
    {
      "ID": 1,
      "Name": "Name",
      "Parent": 1,
      "Description": "Description",
      "IsDefault": false,
      "SendEmail": false,
      "Extension": "Extension",
      "Link": "Link",
      "SubType": "None",
      "Base64": "O+7elg4qtb08cA==",
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ]
    }
  ]
}
Sample response:
Schema (JSON) for class UpdateResult:
{
"title": "UpdateResult",
"definitions": {
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"Kod": {
"type": "string"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "TestMode": false,
  "ID": 1,
  "Kod": "Kod",
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebApi.ObslugaFakturKosztowych

Method name: UpsertMatrycaDokumentu

URL: https://{{baseAddress}}/api/FakturyKosztoweWebAPI2/UpsertMatrycaDokumentu

HTTP method: POST

Params type: MatrycaDokumentuDTO

Result type: UpdateResult

Description: Adding or updating accounting matrix / Dodanie lub aktualizacja matrycy księgowej

Comment: Creating or updating an accounting matrix based on the symbol. / Utworzenie lub aktualizacja matrycy księgowej na podstawie symbolu.

Sample request for object MatrycaDokumentuDTO. Replace placeholders with real values.

Schema (JSON) for class MatrycaDokumentuDTO:
{
"title": "MatrycaDokumentuDTO",
"definitions": {
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"CurrencyDTO": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"Symbol": {
"type": "string"
}
},
"required": [
"Value",
"Symbol"
]
},
"DataDTO": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DokumentEwidencjiMatrycaDTO": {
"type": "object",
"properties": {
"DefinicjaSymbol": {
"type": "string"
},
"NumerDokumentu": {
"type": "string"
},
"PodmiotKod": {
"type": "string"
},
"Kwota": {
"$ref": "#/definitions/CurrencyDTO"
},
"Opis": {
"type": "string"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
}
},
"EwidencjaVATMatrycaDTO": {
"type": "object",
"properties": {
"DefinicjaStawkiVAT": {
"type": "string"
},
"OdBrutto": {
"type": "boolean"
},
"PodzielElemVAT": {
"type": "boolean"
},
"DzialalnoscGosp": {
"type": "string",
"enum": [
"Tak",
"Nie",
"CelMieszany"
]
},
"Odliczenia": {
"type": "string",
"enum": [
"Tak",
"Nie",
"Warunkowo"
]
},
"Rodzaj": {
"type": "string",
"enum": [
"Towar",
"Inne",
"ŚrodkiTrwałe",
"ŚrodkiTransportu",
"Nieruchomości",
"Usługi",
"Paliwo",
"NabywcaPodatnik",
"Leasing",
"ŚrodkiTrwałeVATRocznie",
"UsługiNP",
"VATMarza",
"NabywcaPodatnikUsluga",
"SpisZNatury",
"KasyRejestrujace",
"WntSrodkowTransportu",
"WntPaliw",
"KorektaST",
"KorektaPozostale"
]
},
"NKUP": {
"type": "number"
}
}
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"Name"
]
},
"OpisAnalitycznyMatrycaDTO": {
"type": "object",
"properties": {
"Wymiar": {
"type": "string"
},
"Symbol": {
"type": "string"
},
"Kwota": {
"$ref": "#/definitions/CurrencyDTO"
},
"KowotaProcent": {
"type": "number"
},
"CentrumKosztowNazwa": {
"type": "string"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
}
},
"PlatnoscMatrycaDto": {
"type": "object",
"properties": {
"SposobZaplaty": {
"type": "string"
},
"EwidencjaSP": {
"type": "string"
},
"TerminDni": {
"type": "integer"
}
}
}
},
"type": "object",
"properties": {
"Guid": {
"type": "string"
},
"Symbol": {
"type": "string"
},
"RodzajMatrycy": {
"type": "string",
"enum": [
"Zakup",
"Sprzedaz"
]
},
"Blokada": {
"type": "boolean"
},
"NiestandardowyUklad": {
"type": "boolean"
},
"OpisAnalitycznyPierwszaZakladka": {
"type": "boolean"
},
"TrybWypelnianiaVAT": {
"type": "string",
"enum": [
"NieUstawiaj",
"UstawiajNaNowo",
"PrzeliczIstniejace"
]
},
"DokumentEwidencji": {
"$ref": "#/definitions/DokumentEwidencjiMatrycaDTO"
},
"EwidencjaVAT": {
"$ref": "#/definitions/EwidencjaVATMatrycaDTO"
},
"Platnosc": {
"$ref": "#/definitions/PlatnoscMatrycaDto"
},
"KontrahenciPowiazani": {
"type": "array",
"items": {
"type": "string"
}
},
"OpisAnalityczny": {
"type": "array",
"items": {
"$ref": "#/definitions/OpisAnalitycznyMatrycaDTO"
}
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Symbol",
"RodzajMatrycy"
]
}
Sample JSON file:
{
  "TestMode": false,
  "Guid": "1f074b59-0bd9-4fd2-a364-6038f49e42c4",
  "Symbol": "Symbol",
  "RodzajMatrycy": "Zakup",
  "Blokada": false,
  "NiestandardowyUklad": false,
  "OpisAnalitycznyPierwszaZakladka": false,
  "TrybWypelnianiaVAT": "NieUstawiaj",
  "DokumentEwidencji": {
    "DefinicjaSymbol": "DefinicjaSymbol",
    "NumerDokumentu": "NumerDokumentu",
    "PodmiotKod": "PodmiotKod",
    "Kwota": {
      "Value": 1.0,
      "Symbol": "Symbol"
    },
    "Opis": "Opis",
    "ID": 1,
    "Features": [
      {
        "Name": "Name",
        "Value": "Value",
        "Type": "Type",
        "UpdateDate": null
      }
    ],
    "Attachments": [
      {
        "ID": 1,
        "Name": "Name",
        "Parent": 1,
        "Description": "Description",
        "IsDefault": false,
        "SendEmail": false,
        "Extension": "Extension",
        "Link": "Link",
        "SubType": "None",
        "Base64": "uOqJsPNgUxs6vA==",
        "Features": [
          {
            "Name": "Name",
            "Value": "Value",
            "Type": "Type",
            "UpdateDate": null
          }
        ]
      }
    ]
  },
  "EwidencjaVAT": {
    "DefinicjaStawkiVAT": "DefinicjaStawkiVAT",
    "OdBrutto": false,
    "PodzielElemVAT": false,
    "DzialalnoscGosp": "Tak",
    "Odliczenia": "Tak",
    "Rodzaj": "Towar",
    "NKUP": 1.0
  },
  "Platnosc": {
    "SposobZaplaty": "SposobZaplaty",
    "EwidencjaSP": "EwidencjaSP",
    "TerminDni": 1
  },
  "KontrahenciPowiazani": [
    "KontrahenciPowiazani"
  ],
  "OpisAnalityczny": [
    {
      "Wymiar": "Wymiar",
      "Symbol": "Symbol",
      "Kwota": {
        "Value": 1.0,
        "Symbol": "Symbol"
      },
      "KowotaProcent": 1.0,
      "CentrumKosztowNazwa": "CentrumKosztowNazwa",
      "ID": 1,
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "CSHo08XhM/aotg==",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "ID": 1,
  "Features": [
    {
      "Name": "Name",
      "Value": "Value",
      "Type": "Type",
      "UpdateDate": null
    }
  ],
  "Attachments": [
    {
      "ID": 1,
      "Name": "Name",
      "Parent": 1,
      "Description": "Description",
      "IsDefault": false,
      "SendEmail": false,
      "Extension": "Extension",
      "Link": "Link",
      "SubType": "None",
      "Base64": "4lb4corbSXXkKg==",
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ]
    }
  ]
}
Sample response:
Schema (JSON) for class UpdateResult:
{
"title": "UpdateResult",
"definitions": {
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"Kod": {
"type": "string"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "TestMode": false,
  "ID": 1,
  "Kod": "Kod",
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebApi.ObslugaFakturKosztowych

Method name: UpsertMatrycaZaplaty

URL: https://{{baseAddress}}/api/FakturyKosztoweWebAPI2/UpsertMatrycaZaplaty

HTTP method: POST

Params type: MatrycaZaplatyDTO

Result type: UpdateResult

Description: Adding or updating payment matrix / Dodanie lub aktualizacja matrycy zapłaty

Comment: Creating or updating payment matrices for deposits/withdrawals. / Utworzenie lub aktualizacja matryc wpłat/wypłat.

Sample request for object MatrycaZaplatyDTO. Replace placeholders with real values.

Schema (JSON) for class MatrycaZaplatyDTO:
{
"title": "MatrycaZaplatyDTO",
"definitions": {
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"CurrencyDTO": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"Symbol": {
"type": "string"
}
},
"required": [
"Value",
"Symbol"
]
},
"DataDTO": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"Name"
]
},
"OpisAnalitycznyMatrycaDTO": {
"type": "object",
"properties": {
"Wymiar": {
"type": "string"
},
"Symbol": {
"type": "string"
},
"Kwota": {
"$ref": "#/definitions/CurrencyDTO"
},
"KowotaProcent": {
"type": "number"
},
"CentrumKosztowNazwa": {
"type": "string"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
}
}
},
"type": "object",
"properties": {
"Guid": {
"type": "string"
},
"Symbol": {
"type": "string"
},
"OpisMatryca": {
"type": "string"
},
"RodzajMatrycy": {
"type": "string",
"enum": [
"Wplata",
"Wyplata"
]
},
"Blokada": {
"type": "boolean"
},
"DefinicjaDokumentuSymbol": {
"type": "string"
},
"NumerDokumentu": {
"type": "string"
},
"Kwota": {
"$ref": "#/definitions/CurrencyDTO"
},
"Zwrot": {
"type": "boolean"
},
"PodlegaRozliczaniu": {
"type": "boolean"
},
"KsiegujZbiorczo": {
"type": "boolean"
},
"PodmiotKod": {
"type": "string"
},
"OpisZaplata": {
"type": "string"
},
"OpisAnalityczny": {
"type": "array",
"items": {
"$ref": "#/definitions/OpisAnalitycznyMatrycaDTO"
}
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Symbol",
"RodzajMatrycy"
]
}
Sample JSON file:
{
  "TestMode": false,
  "Guid": "93b585c6-3f67-4230-9586-6d01833fc30a",
  "Symbol": "Symbol",
  "OpisMatryca": "OpisMatryca",
  "RodzajMatrycy": "Wplata",
  "Blokada": false,
  "DefinicjaDokumentuSymbol": "DefinicjaDokumentuSymbol",
  "NumerDokumentu": "NumerDokumentu",
  "Kwota": {
    "Value": 1.0,
    "Symbol": "Symbol"
  },
  "Zwrot": false,
  "PodlegaRozliczaniu": false,
  "KsiegujZbiorczo": false,
  "PodmiotKod": "PodmiotKod",
  "OpisZaplata": "OpisZaplata",
  "OpisAnalityczny": [
    {
      "Wymiar": "Wymiar",
      "Symbol": "Symbol",
      "Kwota": {
        "Value": 1.0,
        "Symbol": "Symbol"
      },
      "KowotaProcent": 1.0,
      "CentrumKosztowNazwa": "CentrumKosztowNazwa",
      "ID": 1,
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "IVoYqIAVxKvlPg==",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "ID": 1,
  "Features": [
    {
      "Name": "Name",
      "Value": "Value",
      "Type": "Type",
      "UpdateDate": null
    }
  ],
  "Attachments": [
    {
      "ID": 1,
      "Name": "Name",
      "Parent": 1,
      "Description": "Description",
      "IsDefault": false,
      "SendEmail": false,
      "Extension": "Extension",
      "Link": "Link",
      "SubType": "None",
      "Base64": "MJll6KIOWKPupA==",
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ]
    }
  ]
}
Sample response:
Schema (JSON) for class UpdateResult:
{
"title": "UpdateResult",
"definitions": {
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"Kod": {
"type": "string"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "TestMode": false,
  "ID": 1,
  "Kod": "Kod",
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebApi.ObslugaFakturKosztowych

Method name: InsertPrzelew

URL: https://{{baseAddress}}/api/FakturyKosztoweWebAPI2/InsertPrzelew

HTTP method: POST

Params type: PrzelewDTO

Result type: UpdateResult

Description: Adding a transfer object / Dodanie obiektu przelewu

Comment: Creating a transfer object. / Utworzenie obiektu przelewu.

Sample request for object PrzelewDTO. Replace placeholders with real values.

Schema (JSON) for class PrzelewDTO:
{
"title": "PrzelewDTO",
"definitions": {
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"CurrencyDTO": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"Symbol": {
"type": "string"
}
},
"required": [
"Value",
"Symbol"
]
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DataDTO-1": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name"
]
}
},
"type": "object",
"properties": {
"Guid": {
"type": "string"
},
"RodzajPrzelewu": {
"type": "string",
"enum": [
"Standardowy",
"Walutowy",
"PIT"
]
},
"Definicja": {
"type": "string"
},
"DataPrzelewu": {
"$ref": "#/definitions/DataDTO"
},
"Seria": {
"type": "string"
},
"Wariant": {
"type": "string",
"enum": [
"Standardowy",
"PrzelewZUS",
"PrzelewMPP",
"PrzelewMPPOkres",
"ExpressElixir",
"Sepa"
]
},
"NumerPrzelewu": {
"type": "string"
},
"Zatwierdzony": {
"type": "boolean"
},
"Exported": {
"type": "boolean"
},
"SymbolEwidencjaSP": {
"type": "string"
},
"TypPodmiotu": {
"type": "string",
"enum": [
"NieOkreślony",
"Kontrahent",
"Bank",
"UrzadSkarbowy",
"ZUS",
"Pracownik",
"UrządCelny",
"PFRON",
"PodmiotTransferowyPPK",
"KAS"
]
},
"PodmiotKod": {
"type": "string"
},
"Rachunek26": {
"type": "string"
},
"Kwota": {
"$ref": "#/definitions/CurrencyDTO"
},
"Tytul1": {
"type": "string"
},
"Tytul2": {
"type": "string"
},
"KodOplaty": {
"type": "string",
"enum": [
"BN1",
"OUR",
"BN2",
"SHA",
"BEN",
"SLEV"
]
},
"KodStatystyczny": {
"type": "string"
},
"Formularz": {
"type": "string"
},
"TypyOkresów": {
"type": "string",
"enum": [
"Brak",
"R_Rok",
"K_Kwartał",
"M_Miesiąc",
"D_Dekada",
"J_Dzień",
"P_Półrocze"
]
},
"Rok": {
"type": "integer"
},
"NumerOkresu": {
"type": "string"
},
"NumerOkresuL2": {
"type": "string"
},
"TypIdentyfikatora": {
"type": "string",
"enum": [
"Brak",
"N_NIP",
"P_PESEL",
"R_REGON",
"X1_DowodOsobisty",
"X2_Paszport",
"X3_Inny"
]
},
"IdentyfikatorNumer": {
"type": "string"
},
"IdentyfikacjaZobowiazania": {
"type": "string"
},
"NIP": {
"type": "string"
},
"KwotaVAT": {
"type": "number"
},
"NumerDokumentu": {
"type": "string"
},
"MppOkresOd": {
"$ref": "#/definitions/DataDTO"
},
"MppOkresDo": {
"$ref": "#/definitions/DataDTO"
},
"OpisPrzelewu": {
"type": "string"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"RodzajPrzelewu",
"Definicja",
"DataPrzelewu",
"TypPodmiotu",
"PodmiotKod",
"Rachunek26",
"Kwota"
]
}
Sample JSON file:
{
  "TestMode": false,
  "Guid": "08f231bd-6311-49d5-b9f4-13022a89c876",
  "RodzajPrzelewu": "Standardowy",
  "Definicja": "Definicja",
  "DataPrzelewu": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  },
  "Seria": "Seria",
  "Wariant": "Standardowy",
  "NumerPrzelewu": "NumerPrzelewu",
  "Zatwierdzony": false,
  "Exported": false,
  "SymbolEwidencjaSP": "SymbolEwidencjaSP",
  "TypPodmiotu": "NieOkreślony",
  "PodmiotKod": "PodmiotKod",
  "Rachunek26": "Rachunek26",
  "Kwota": {
    "Value": 1.0,
    "Symbol": "Symbol"
  },
  "Tytul1": "Tytul1",
  "Tytul2": "Tytul2",
  "KodOplaty": "BN1",
  "KodStatystyczny": "KodStatystyczny",
  "Formularz": "Formularz",
  "TypyOkresów": "Brak",
  "Rok": 1,
  "NumerOkresu": "NumerOkresu",
  "NumerOkresuL2": "NumerOkresuL2",
  "TypIdentyfikatora": "Brak",
  "IdentyfikatorNumer": "IdentyfikatorNumer",
  "IdentyfikacjaZobowiazania": "IdentyfikacjaZobowiazania",
  "NIP": "5242873585",
  "KwotaVAT": 1.0,
  "NumerDokumentu": "NumerDokumentu",
  "MppOkresOd": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  },
  "MppOkresDo": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  },
  "OpisPrzelewu": "OpisPrzelewu",
  "ID": 1,
  "Features": [
    {
      "Name": "Name",
      "Value": "Value",
      "Type": "Type",
      "UpdateDate": null
    }
  ],
  "Attachments": [
    {
      "ID": 1,
      "Name": "Name",
      "Parent": 1,
      "Description": "Description",
      "IsDefault": false,
      "SendEmail": false,
      "Extension": "Extension",
      "Link": "Link",
      "SubType": "None",
      "Base64": "iLrzuBkA4EgTew==",
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ]
    }
  ]
}
Sample response:
Schema (JSON) for class UpdateResult:
{
"title": "UpdateResult",
"definitions": {
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"Kod": {
"type": "string"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "TestMode": false,
  "ID": 1,
  "Kod": "Kod",
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebApi.ObslugaFakturKosztowych

Method name: GetPrzelewy

URL: https://{{baseAddress}}/api/FakturyKosztoweWebAPI2/GetPrzelewy

HTTP method: POST

Params type: GetPrzelewParams

Result type: DataResponse<List<PrzelewDTO>>

Description: Reading transfer data / Odczyt danych dotyczących przelewów

Comment: Retrieving data about transfers. / Pobieranie danych na temat przelewów.

Sample request for object GetPrzelewParams. Replace placeholders with real values.

Schema (JSON) for class GetPrzelewParams:
{
"title": "GetPrzelewParams",
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"IDs": {
"type": "array",
"items": {
"type": "integer"
}
},
"Guid": {
"type": "string"
},
"NumerPrzelewu": {
"type": "string"
}
}
}
Sample JSON file:
{
  "ID": 1,
  "IDs": [
    1
  ],
  "Guid": "2be01389-1493-45e9-8e91-305ff0fe69cc",
  "NumerPrzelewu": "NumerPrzelewu"
}
Sample response:
Schema (JSON) for class DataResponse<List<PrzelewDTO>>:
{
"title": "DataResponse`1",
"definitions": {
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"CurrencyDTO": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"Symbol": {
"type": "string"
}
},
"required": [
"Value",
"Symbol"
]
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DataDTO-1": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name"
]
},
"PrzelewDTO": {
"type": "object",
"properties": {
"Guid": {
"type": "string"
},
"RodzajPrzelewu": {
"type": "string",
"enum": [
"Standardowy",
"Walutowy",
"PIT"
]
},
"Definicja": {
"type": "string"
},
"DataPrzelewu": {
"$ref": "#/definitions/DataDTO"
},
"Seria": {
"type": "string"
},
"Wariant": {
"type": "string",
"enum": [
"Standardowy",
"PrzelewZUS",
"PrzelewMPP",
"PrzelewMPPOkres",
"ExpressElixir",
"Sepa"
]
},
"NumerPrzelewu": {
"type": "string"
},
"Zatwierdzony": {
"type": "boolean"
},
"Exported": {
"type": "boolean"
},
"SymbolEwidencjaSP": {
"type": "string"
},
"TypPodmiotu": {
"type": "string",
"enum": [
"NieOkreślony",
"Kontrahent",
"Bank",
"UrzadSkarbowy",
"ZUS",
"Pracownik",
"UrządCelny",
"PFRON",
"PodmiotTransferowyPPK",
"KAS"
]
},
"PodmiotKod": {
"type": "string"
},
"Rachunek26": {
"type": "string"
},
"Kwota": {
"$ref": "#/definitions/CurrencyDTO"
},
"Tytul1": {
"type": "string"
},
"Tytul2": {
"type": "string"
},
"KodOplaty": {
"type": "string",
"enum": [
"BN1",
"OUR",
"BN2",
"SHA",
"BEN",
"SLEV"
]
},
"KodStatystyczny": {
"type": "string"
},
"Formularz": {
"type": "string"
},
"TypyOkresów": {
"type": "string",
"enum": [
"Brak",
"R_Rok",
"K_Kwartał",
"M_Miesiąc",
"D_Dekada",
"J_Dzień",
"P_Półrocze"
]
},
"Rok": {
"type": "integer"
},
"NumerOkresu": {
"type": "string"
},
"NumerOkresuL2": {
"type": "string"
},
"TypIdentyfikatora": {
"type": "string",
"enum": [
"Brak",
"N_NIP",
"P_PESEL",
"R_REGON",
"X1_DowodOsobisty",
"X2_Paszport",
"X3_Inny"
]
},
"IdentyfikatorNumer": {
"type": "string"
},
"IdentyfikacjaZobowiazania": {
"type": "string"
},
"NIP": {
"type": "string"
},
"KwotaVAT": {
"type": "number"
},
"NumerDokumentu": {
"type": "string"
},
"MppOkresOd": {
"$ref": "#/definitions/DataDTO"
},
"MppOkresDo": {
"$ref": "#/definitions/DataDTO"
},
"OpisPrzelewu": {
"type": "string"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"RodzajPrzelewu",
"Definicja",
"DataPrzelewu",
"TypPodmiotu",
"PodmiotKod",
"Rachunek26",
"Kwota"
]
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"Data": {
"type": "array",
"items": {
"$ref": "#/definitions/PrzelewDTO"
}
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "Data": [
    {
      "Guid": "24ae36fd-33f0-4e2c-9651-20b0c0664511",
      "RodzajPrzelewu": "Standardowy",
      "Definicja": "Definicja",
      "DataPrzelewu": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "Seria": "Seria",
      "Wariant": "Standardowy",
      "NumerPrzelewu": "NumerPrzelewu",
      "Zatwierdzony": false,
      "Exported": false,
      "SymbolEwidencjaSP": "SymbolEwidencjaSP",
      "TypPodmiotu": "NieOkreślony",
      "PodmiotKod": "PodmiotKod",
      "Rachunek26": "Rachunek26",
      "Kwota": {
        "Value": 1.0,
        "Symbol": "Symbol"
      },
      "Tytul1": "Tytul1",
      "Tytul2": "Tytul2",
      "KodOplaty": "BN1",
      "KodStatystyczny": "KodStatystyczny",
      "Formularz": "Formularz",
      "TypyOkresów": "Brak",
      "Rok": 1,
      "NumerOkresu": "NumerOkresu",
      "NumerOkresuL2": "NumerOkresuL2",
      "TypIdentyfikatora": "Brak",
      "IdentyfikatorNumer": "IdentyfikatorNumer",
      "IdentyfikacjaZobowiazania": "IdentyfikacjaZobowiazania",
      "NIP": "5242873585",
      "KwotaVAT": 1.0,
      "NumerDokumentu": "NumerDokumentu",
      "MppOkresOd": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "MppOkresDo": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "OpisPrzelewu": "OpisPrzelewu",
      "ID": 1,
      "AttachmentsCount": 1,
      "TableName": "TableName",
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "TableName": "TableName",
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "+kWOsYN0x95VzQ==",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebApi.ObslugaFakturKosztowych

Method name: UpsertZadanieCRM

URL: https://{{baseAddress}}/api/FakturyKosztoweWebAPI2/UpsertZadanieCRM

HTTP method: POST

Params type: List<ZadanieCRMDto>

Result type: DataResponse<List<ZadanieCRMDto>>

Description: Adding a CRM tasks / Dodanie zadań CRM

Comment: The method adds or updates a CRM tasks / Metoda dodaje lub aktualizuje zadania CRM

Sample request for object List`1. Replace placeholders with real values.

Schema (JSON) for class List<ZadanieCRMDto>:
{
"title": "List`1",
"definitions": {
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DataDTO-1": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name"
]
},
"ZadanieCRMDto": {
"type": "object",
"properties": {
"Guid": {
"type": "string"
},
"DefinicjaZadaniaSymbol": {
"type": "string"
},
"Numer": {
"type": "string"
},
"Nazwa": {
"type": "string"
},
"Opis": {
"type": "string"
},
"DataOd": {
"$ref": "#/definitions/DataDTO"
},
"DataDo": {
"$ref": "#/definitions/DataDTO"
},
"ProwadzacyKod": {
"type": "string"
},
"KontrahentKod": {
"type": "string"
},
"WykonujacyKod": {
"type": "string"
},
"StanZadaniaNazwa": {
"type": "string"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"DefinicjaZadaniaSymbol",
"Nazwa",
"DataOd",
"DataDo"
]
}
},
"type": "array",
"items": {
"$ref": "#/definitions/ZadanieCRMDto"
}
}
Sample JSON file:
[
  {
    "Guid": "17fd2f5e-8d00-49bd-8b6d-a3d3e6b08337",
    "DefinicjaZadaniaSymbol": "DefinicjaZadaniaSymbol",
    "Numer": "Numer",
    "Nazwa": "Nazwa",
    "Opis": "Opis",
    "DataOd": {
      "Year": 2025,
      "Month": 12,
      "Day": 18
    },
    "DataDo": {
      "Year": 2025,
      "Month": 12,
      "Day": 18
    },
    "ProwadzacyKod": "ProwadzacyKod",
    "KontrahentKod": "KontrahentKod",
    "WykonujacyKod": "WykonujacyKod",
    "StanZadaniaNazwa": "StanZadaniaNazwa",
    "ID": 1,
    "Features": [
      {
        "Name": "Name",
        "Value": "Value",
        "Type": "Type",
        "UpdateDate": null
      }
    ],
    "Attachments": [
      {
        "ID": 1,
        "Name": "Name",
        "Parent": 1,
        "Description": "Description",
        "IsDefault": false,
        "SendEmail": false,
        "Extension": "Extension",
        "Link": "Link",
        "SubType": "None",
        "Base64": "aPi82eOwc0IxSg==",
        "Features": [
          {
            "Name": "Name",
            "Value": "Value",
            "Type": "Type",
            "UpdateDate": null
          }
        ]
      }
    ]
  }
]
Sample response:
Schema (JSON) for class DataResponse<List<ZadanieCRMDto>>:
{
"title": "DataResponse`1",
"definitions": {
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DataDTO-1": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name"
]
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
},
"ZadanieCRMDto": {
"type": "object",
"properties": {
"Guid": {
"type": "string"
},
"DefinicjaZadaniaSymbol": {
"type": "string"
},
"Numer": {
"type": "string"
},
"Nazwa": {
"type": "string"
},
"Opis": {
"type": "string"
},
"DataOd": {
"$ref": "#/definitions/DataDTO"
},
"DataDo": {
"$ref": "#/definitions/DataDTO"
},
"ProwadzacyKod": {
"type": "string"
},
"KontrahentKod": {
"type": "string"
},
"WykonujacyKod": {
"type": "string"
},
"StanZadaniaNazwa": {
"type": "string"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"DefinicjaZadaniaSymbol",
"Nazwa",
"DataOd",
"DataDo"
]
}
},
"type": "object",
"properties": {
"Data": {
"type": "array",
"items": {
"$ref": "#/definitions/ZadanieCRMDto"
}
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "TestMode": false,
  "Data": [
    {
      "Guid": "9f03746a-ed90-4edf-a7d4-324be8f0df2b",
      "DefinicjaZadaniaSymbol": "DefinicjaZadaniaSymbol",
      "Numer": "Numer",
      "Nazwa": "Nazwa",
      "Opis": "Opis",
      "DataOd": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "DataDo": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "ProwadzacyKod": "ProwadzacyKod",
      "KontrahentKod": "KontrahentKod",
      "WykonujacyKod": "WykonujacyKod",
      "StanZadaniaNazwa": "StanZadaniaNazwa",
      "ID": 1,
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "8hdIgisbkFjH5w==",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebApi.ObslugaFakturKosztowych

Method name: InsertDokumentCRM

URL: https://{{baseAddress}}/api/FakturyKosztoweWebAPI2/InsertDokumentCRM

HTTP method: POST

Params type: DokumentCRMDTO

Result type: UpdateResult

Description: Adding a task to an document / Dodanie zadania do dokumentu

Comment: Creates a CRM document that links the CRM task to the document / Tworzy dokument CRM który łączy zadanie CRM z dokumentem

Sample request for object DokumentCRMDTO. Replace placeholders with real values.

Schema (JSON) for class DokumentCRMDTO:
{
"title": "DokumentCRMDTO",
"definitions": {
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"DataDTO": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"Name"
]
}
},
"type": "object",
"properties": {
"DokumentID": {
"type": "integer"
},
"DokumentNazwaTabeli": {
"type": "string"
},
"HostID": {
"type": "integer"
},
"HostNazwaTabeli": {
"type": "string"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"DokumentID",
"DokumentNazwaTabeli",
"HostID",
"HostNazwaTabeli"
]
}
Sample JSON file:
{
  "TestMode": false,
  "DokumentID": 1,
  "DokumentNazwaTabeli": "DokumentNazwaTabeli",
  "HostID": 1,
  "HostNazwaTabeli": "HostNazwaTabeli",
  "ID": 1,
  "Features": [
    {
      "Name": "Name",
      "Value": "Value",
      "Type": "Type",
      "UpdateDate": null
    }
  ],
  "Attachments": [
    {
      "ID": 1,
      "Name": "Name",
      "Parent": 1,
      "Description": "Description",
      "IsDefault": false,
      "SendEmail": false,
      "Extension": "Extension",
      "Link": "Link",
      "SubType": "None",
      "Base64": "nKpyJNctZbHTEg==",
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ]
    }
  ]
}
Sample response:
Schema (JSON) for class UpdateResult:
{
"title": "UpdateResult",
"definitions": {
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"Kod": {
"type": "string"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "TestMode": false,
  "ID": 1,
  "Kod": "Kod",
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebApi.ObslugaFakturKosztowych


AltOne.WebAPI.ObslugaKadrowa

Assembly name: AltOne.WebAPI.ObslugaKadrowa
Version: 2504.1.1-0.1.5.0+6567d4c25a27d704f664c9893e045f34a1b493a3,
Last modified: 31.10.2025 09:46:20

List of available methods:

Interface: IKadry

Method descriptions and usage examples:

Method name: UpsertDodatkiPracownika

URL: https://{{baseAddress}}/api/KadryWebAPI/UpsertDodatkiPracownika

HTTP method: POST

Params type: List<DodatekPracownikaDTO>

Result type: DataResponse<List<DataResultDTO>>

Description: Adding or updating employee allowances / Dodanie lub aktualizacja dodatków pracownika

Comment: Adding or updating allowances on an employee object. To edit the allowance via web API in the future, it is necessary to fill in the unique Guid field (32 characters) to maintain a handle to the given allowance. / Dodanie dodatków lub ich aktualizacja na obiekcie pracownika. Aby w przyszłości móc edytować dodatek przez web API, konieczne jest uzupełnienie unikalnego pola Guid (32 znakowego) w celu zachowania uchwytu do danego dodatku.

Sample request for object List`1. Replace placeholders with real values.

Schema (JSON) for class List<DodatekPracownikaDTO>:
{
"title": "List`1",
"definitions": {
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"CurrencyDTO": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"Symbol": {
"type": "string"
}
},
"required": [
"Value",
"Symbol"
]
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DataDTO-1": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DodatekPracownikaDTO": {
"type": "object",
"properties": {
"ZrodloDodatku": {
"type": "string",
"enum": [
"Pracownik",
"Umowa"
]
},
"IdZrodla": {
"type": "integer"
},
"KodPracownika": {
"type": "string"
},
"Guid": {
"type": "string"
},
"IDExternal": {
"type": "integer"
},
"DataAktualnosci": {
"$ref": "#/definitions/DataDTO"
},
"OkresOd": {
"$ref": "#/definitions/DataDTO"
},
"OkresDo": {
"$ref": "#/definitions/DataDTO-1"
},
"CzyAktualizowac": {
"type": "boolean"
},
"IdDefinicjiDodatku": {
"type": "integer"
},
"Nazwa": {
"type": "string"
},
"Parametry": {
"$ref": "#/definitions/ParametryDodatkuDTO"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"ZrodloDodatku",
"DataAktualnosci",
"OkresOd",
"OkresDo",
"CzyAktualizowac"
]
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name"
]
},
"FractionDTO": {
"type": "object",
"properties": {
"Num": {
"type": "integer"
},
"Den": {
"type": "integer"
}
},
"required": [
"Num",
"Den"
]
},
"ParametryDodatkuDTO": {
"type": "object",
"properties": {
"Podstawa": {
"$ref": "#/definitions/CurrencyDTO"
},
"Procent": {
"type": "number"
},
"Wspolczynnik": {
"type": "number"
},
"Czas": {
"type": "string"
},
"Dni": {
"type": "integer"
},
"Ulamek": {
"$ref": "#/definitions/FractionDTO"
}
}
}
},
"type": "array",
"items": {
"$ref": "#/definitions/DodatekPracownikaDTO"
}
}
Sample JSON file:
[
  {
    "ZrodloDodatku": "Pracownik",
    "IdZrodla": 1,
    "KodPracownika": "KodPracownika",
    "Guid": "98733277-579c-4fc7-8c3f-c0e7510fdf00",
    "IDExternal": 1,
    "DataAktualnosci": {
      "Year": 2025,
      "Month": 12,
      "Day": 18
    },
    "OkresOd": {
      "Year": 2025,
      "Month": 12,
      "Day": 18
    },
    "OkresDo": null,
    "CzyAktualizowac": false,
    "IdDefinicjiDodatku": 1,
    "Nazwa": "Nazwa",
    "Parametry": {
      "Podstawa": {
        "Value": 1.0,
        "Symbol": "Symbol"
      },
      "Procent": 1.0,
      "Wspolczynnik": 1.0,
      "Czas": "8:00",
      "Dni": 1,
      "Ulamek": {
        "Num": 1,
        "Den": 1
      }
    },
    "ID": 1,
    "Features": [
      {
        "Name": "Name",
        "Value": "Value",
        "Type": "Type",
        "UpdateDate": null
      }
    ],
    "Attachments": [
      {
        "ID": 1,
        "Name": "Name",
        "Parent": 1,
        "Description": "Description",
        "IsDefault": false,
        "SendEmail": false,
        "Extension": "Extension",
        "Link": "Link",
        "SubType": "None",
        "Base64": "DkZEWAXV2Q1xAg==",
        "Features": [
          {
            "Name": "Name",
            "Value": "Value",
            "Type": "Type",
            "UpdateDate": null
          }
        ]
      }
    ]
  }
]
Sample response:
Schema (JSON) for class DataResponse<List<DataResultDTO>>:
{
"title": "DataResponse`1",
"definitions": {
"DataResultDTO": {
"type": "object",
"properties": {
"IDExternal": {
"type": "integer"
},
"ID": {
"type": "integer"
},
"Guid": {
"type": "string"
},
"DocumentNumber": {
"type": "string"
}
}
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"Data": {
"type": "array",
"items": {
"$ref": "#/definitions/DataResultDTO"
}
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "TestMode": false,
  "Data": [
    {
      "IDExternal": 1,
      "ID": 1,
      "Guid": "9be1670e-2c70-4c04-a24a-4b7706decbee",
      "DocumentNumber": "DocumentNumber"
    }
  ],
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebAPI.ObslugaKadrowa

Method name: UpsertPodzielnikKosztow

URL: https://{{baseAddress}}/api/KadryWebAPI/UpsertPodzielnikKosztow

HTTP method: POST

Params type: List<PodzielnikKosztowDTO>

Result type: DataResponse<List<DataResponseDTO>>

Description: Adding or updating cost splitters / Dodanie lub aktualizacja podzielnika kosztów

Comment: Adding or updating cost splitters on an employee object. / Dodanie dodatków lub ich aktualizacja na obiekcie pracownika.

Sample request for object List`1. Replace placeholders with real values.

Schema (JSON) for class List<PodzielnikKosztowDTO>:
{
"title": "List`1",
"definitions": {
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DataDTO-1": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name"
]
},
"PodzielnikKosztowDTO": {
"type": "object",
"properties": {
"IDExternal": {
"type": "integer"
},
"Nazwa": {
"type": "string"
},
"IDPracownika": {
"type": "integer"
},
"KodPracownika": {
"type": "string"
},
"Definicja": {
"type": "string"
},
"DefinicjaNazwaSlownika": {
"type": "string"
},
"DataAktualizacji": {
"$ref": "#/definitions/DataDTO"
},
"Aktualizuj": {
"type": "boolean"
},
"PodzielnikPozycje": {
"type": "array",
"items": {
"$ref": "#/definitions/PodzielnikPozycjaDTO"
}
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Nazwa",
"Definicja",
"DefinicjaNazwaSlownika",
"DataAktualizacji"
]
},
"PodzielnikPozycjaDTO": {
"type": "object",
"properties": {
"ElementPodzialowy": {
"type": "string"
},
"Wspolczynnik": {
"type": "number"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"ElementPodzialowy",
"Wspolczynnik"
]
}
},
"type": "array",
"items": {
"$ref": "#/definitions/PodzielnikKosztowDTO"
}
}
Sample JSON file:
[
  {
    "IDExternal": 1,
    "Nazwa": "Nazwa",
    "IDPracownika": 1,
    "KodPracownika": "KodPracownika",
    "Definicja": "Definicja",
    "DefinicjaNazwaSlownika": "DefinicjaNazwaSlownika",
    "DataAktualizacji": {
      "Year": 2025,
      "Month": 12,
      "Day": 18
    },
    "Aktualizuj": false,
    "PodzielnikPozycje": [
      {
        "ElementPodzialowy": "ElementPodzialowy",
        "Wspolczynnik": 1.0,
        "ID": 1,
        "Features": [
          {
            "Name": "Name",
            "Value": "Value",
            "Type": "Type",
            "UpdateDate": null
          }
        ],
        "Attachments": [
          {
            "ID": 1,
            "Name": "Name",
            "Parent": 1,
            "Description": "Description",
            "IsDefault": false,
            "SendEmail": false,
            "Extension": "Extension",
            "Link": "Link",
            "SubType": "None",
            "Base64": "pHVUrsIU+smzOQ==",
            "Features": [
              {
                "Name": "Name",
                "Value": "Value",
                "Type": "Type",
                "UpdateDate": null
              }
            ]
          }
        ]
      }
    ],
    "ID": 1,
    "Features": [
      {
        "Name": "Name",
        "Value": "Value",
        "Type": "Type",
        "UpdateDate": null
      }
    ],
    "Attachments": [
      {
        "ID": 1,
        "Name": "Name",
        "Parent": 1,
        "Description": "Description",
        "IsDefault": false,
        "SendEmail": false,
        "Extension": "Extension",
        "Link": "Link",
        "SubType": "None",
        "Base64": "Us1JBvqKsf5XSw==",
        "Features": [
          {
            "Name": "Name",
            "Value": "Value",
            "Type": "Type",
            "UpdateDate": null
          }
        ]
      }
    ]
  }
]
Sample response:
Schema (JSON) for class DataResponse<List<DataResponseDTO>>:
{
"title": "DataResponse`1",
"definitions": {
"DataResponseDTO": {
"type": "object",
"properties": {
"IDExternal": {
"type": "integer"
},
"IDSource": {
"type": "integer"
},
"ID": {
"type": "integer"
},
"Guid": {
"type": "string"
},
"Name": {
"type": "string"
}
}
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"Data": {
"type": "array",
"items": {
"$ref": "#/definitions/DataResponseDTO"
}
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "TestMode": false,
  "Data": [
    {
      "IDExternal": 1,
      "IDSource": 1,
      "ID": 1,
      "Guid": "acd3f112-9a39-4480-8e71-1c099cfee7f5",
      "Name": "Name"
    }
  ],
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebAPI.ObslugaKadrowa

Method name: UpsertDokumentDodatkowy

URL: https://{{baseAddress}}/api/KadryWebAPI/UpsertDokumentDodatkowy

HTTP method: POST

Params type: DokumentDodatkowyWrapper

Result type: DataResponse<List<DataResultDTO>>

Description: Adding or updating additional document / Dodanie lub aktualizacja dokumentu dodatkowego

Comment: Adding or updating an additional document on an employee object. / Dodanie dokumentu dodatkowego na obiekcie pracownika lub zaktualizowanie dokumentu dodatkowego.

Sample request for object DokumentDodatkowyWrapper. Replace placeholders with real values.

Schema (JSON) for class DokumentDodatkowyWrapper:
{
"title": "DokumentDodatkowyWrapper",
"definitions": {
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DataDTO-1": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DokumentDodatkowyDTO": {
"type": "object",
"properties": {
"IDExternal": {
"type": "integer"
},
"Guid": {
"type": "string"
},
"Aktualizacja": {
"type": "boolean"
},
"IDSource": {
"type": "integer"
},
"KodPracownika": {
"type": "string"
},
"TableSource": {
"type": "string"
},
"DefinicjaDokumentu": {
"type": "string"
},
"NumerDokumentu": {
"type": "string"
},
"Okres": {
"$ref": "#/definitions/FromToDTO"
},
"Data": {
"type": "string",
"format": "date-time"
},
"Termin": {
"type": "string",
"format": "date-time"
},
"Seria": {
"type": "string"
},
"DokumentDodatkowyPozycje": {
"type": "array",
"items": {
"$ref": "#/definitions/DokumentDodatkowyPozycjaDTO"
}
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Aktualizacja",
"TableSource",
"DefinicjaDokumentu"
]
},
"DokumentDodatkowyPozycjaDTO": {
"type": "object",
"properties": {
"Klucz": {
"type": "string"
},
"Wartosc": {
"type": "string"
}
},
"required": [
"Klucz",
"Wartosc"
]
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name"
]
},
"FromToDTO": {
"type": "object",
"properties": {
"From": {
"$ref": "#/definitions/DataDTO"
},
"To": {
"$ref": "#/definitions/DataDTO"
}
}
}
},
"type": "object",
"properties": {
"Warning": {
"type": "boolean"
},
"Args": {
"type": "array",
"items": {
"type": "string"
}
},
"Data": {
"type": "array",
"items": {
"$ref": "#/definitions/DokumentDodatkowyDTO"
}
}
}
}
Sample JSON file:
{
  "TestMode": false,
  "Warning": false,
  "Args": [
    "Args"
  ],
  "Data": [
    {
      "IDExternal": 1,
      "Guid": "a24cb0f7-a20a-4a0b-a43d-39fc50c29e81",
      "Aktualizacja": false,
      "IDSource": 1,
      "KodPracownika": "KodPracownika",
      "TableSource": "TableSource",
      "DefinicjaDokumentu": "DefinicjaDokumentu",
      "NumerDokumentu": "NumerDokumentu",
      "Okres": {
        "From": {
          "Year": 2025,
          "Month": 12,
          "Day": 18
        },
        "To": {
          "Year": 2025,
          "Month": 12,
          "Day": 18
        }
      },
      "Data": "2025-12-18T12:03:54.0276220Z",
      "Termin": "2025-12-18T12:03:54.0276319Z",
      "Seria": "Seria",
      "DokumentDodatkowyPozycje": [
        {
          "Klucz": "Klucz",
          "Wartosc": "Wartosc"
        }
      ],
      "ID": 1,
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "zXtBqJXbmGANBQ==",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ]
}
Sample response:
Schema (JSON) for class DataResponse<List<DataResultDTO>>:
{
"title": "DataResponse`1",
"definitions": {
"DataResultDTO": {
"type": "object",
"properties": {
"IDExternal": {
"type": "integer"
},
"ID": {
"type": "integer"
},
"Guid": {
"type": "string"
},
"DocumentNumber": {
"type": "string"
}
}
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"Data": {
"type": "array",
"items": {
"$ref": "#/definitions/DataResultDTO"
}
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "TestMode": false,
  "Data": [
    {
      "IDExternal": 1,
      "ID": 1,
      "Guid": "b45094a8-f684-406d-9af0-38d7fc7bf13e",
      "DocumentNumber": "DocumentNumber"
    }
  ],
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebAPI.ObslugaKadrowa

Method name: GetDokumentDodatkowy

URL: https://{{baseAddress}}/api/KadryWebAPI/GetDokumentDodatkowy

HTTP method: POST

Params type: DokumentDodatkowyParams

Result type: PackableDataResponse<DokumentDodatkowyDTO>

Description: Downloading an additional document / Pobranie dokumentu dodatkowego

Comment: Downloading an additional document using the GUID or ID parameter. / Pobranie dokumentu dodatkowego za pomocą parametru GUID lub ID.

Sample request for object DokumentDodatkowyParams. Replace placeholders with real values.

Schema (JSON) for class DokumentDodatkowyParams:
{
"title": "DokumentDodatkowyParams",
"definitions": {
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"Filter": {
"type": "object",
"properties": {
"LogicalOperator": {
"type": "string",
"enum": [
"And",
"Or"
]
},
"Operator": {
"type": "string",
"enum": [
"Equal",
"NotEqual",
"Like",
"Null"
]
},
"ColumnName": {
"type": "string"
},
"FilterValue": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"IDPracownika": {
"type": "integer"
},
"KodPracownika": {
"type": "string"
},
"IDs": {
"type": "array",
"items": {
"type": "integer"
}
},
"LastID": {
"type": "integer"
},
"PacketSize": {
"type": "integer"
},
"Conditions": {
"type": "array",
"items": {
"$ref": "#/definitions/Filter"
}
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
}
}
Sample JSON file:
{
  "IDPracownika": 1,
  "KodPracownika": "KodPracownika",
  "IDs": [
    1
  ],
  "LastID": 1,
  "PacketSize": 1,
  "Conditions": [
    {
      "LogicalOperator": "And",
      "Operator": "Equal",
      "ColumnName": "ColumnName",
      "FilterValue": "FilterValue"
    }
  ],
  "UpdateDate": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  }
}
Sample response:
Schema (JSON) for class PackableDataResponse<DokumentDodatkowyDTO>:
{
"title": "PackableDataResponse`1",
"definitions": {
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DataDTO-1": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DokumentDodatkowyDTO": {
"type": "object",
"properties": {
"IDExternal": {
"type": "integer"
},
"Guid": {
"type": "string"
},
"Aktualizacja": {
"type": "boolean"
},
"IDSource": {
"type": "integer"
},
"KodPracownika": {
"type": "string"
},
"TableSource": {
"type": "string"
},
"DefinicjaDokumentu": {
"type": "string"
},
"NumerDokumentu": {
"type": "string"
},
"Okres": {
"$ref": "#/definitions/FromToDTO"
},
"Data": {
"type": "string",
"format": "date-time"
},
"Termin": {
"type": "string",
"format": "date-time"
},
"Seria": {
"type": "string"
},
"DokumentDodatkowyPozycje": {
"type": "array",
"items": {
"$ref": "#/definitions/DokumentDodatkowyPozycjaDTO"
}
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Aktualizacja",
"TableSource",
"DefinicjaDokumentu"
]
},
"DokumentDodatkowyPozycjaDTO": {
"type": "object",
"properties": {
"Klucz": {
"type": "string"
},
"Wartosc": {
"type": "string"
}
},
"required": [
"Klucz",
"Wartosc"
]
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name"
]
},
"FromToDTO": {
"type": "object",
"properties": {
"From": {
"$ref": "#/definitions/DataDTO"
},
"To": {
"$ref": "#/definitions/DataDTO"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"AllRows": {
"type": "boolean"
},
"LastID": {
"type": "integer"
},
"ToReadRecords": {
"type": "integer"
},
"ReadRecords": {
"type": "integer"
},
"Data": {
"type": "array",
"items": {
"$ref": "#/definitions/DokumentDodatkowyDTO"
}
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"AllRows",
"LastID",
"ReadRecords",
"Success"
]
}
Sample JSON file:
{
  "AllRows": false,
  "LastID": 1,
  "ToReadRecords": 1,
  "ReadRecords": 1,
  "Data": [
    {
      "IDExternal": 1,
      "Guid": "c581da99-4bc7-4a85-b5a9-b38f6c6273af",
      "Aktualizacja": false,
      "IDSource": 1,
      "KodPracownika": "KodPracownika",
      "TableSource": "TableSource",
      "DefinicjaDokumentu": "DefinicjaDokumentu",
      "NumerDokumentu": "NumerDokumentu",
      "Okres": {
        "From": {
          "Year": 2025,
          "Month": 12,
          "Day": 18
        },
        "To": {
          "Year": 2025,
          "Month": 12,
          "Day": 18
        }
      },
      "Data": "2025-12-18T12:03:54.0370300Z",
      "Termin": "2025-12-18T12:03:54.0370380Z",
      "Seria": "Seria",
      "DokumentDodatkowyPozycje": [
        {
          "Klucz": "Klucz",
          "Wartosc": "Wartosc"
        }
      ],
      "ID": 1,
      "AttachmentsCount": 1,
      "TableName": "TableName",
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "TableName": "TableName",
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "J2+EklvB1FZB+A==",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebAPI.ObslugaKadrowa

Method name: DeleteDokumentDodatkowy

URL: https://{{baseAddress}}/api/KadryWebAPI/DeleteDokumentDodatkowy

HTTP method: POST

Params type: DokumentDodatkowyParams

Result type: UpdateResult

Description: Deleting an additional document / Usunięcie dokumentu dodatkowego

Comment: Deleting an additional document using the GUID or ID parameter. / Usunięcie dokumentu dodatkowego za pomocą parametru GUID lub ID.

Sample request for object DokumentDodatkowyParams. Replace placeholders with real values.

Schema (JSON) for class DokumentDodatkowyParams:
{
"title": "DokumentDodatkowyParams",
"definitions": {
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"Filter": {
"type": "object",
"properties": {
"LogicalOperator": {
"type": "string",
"enum": [
"And",
"Or"
]
},
"Operator": {
"type": "string",
"enum": [
"Equal",
"NotEqual",
"Like",
"Null"
]
},
"ColumnName": {
"type": "string"
},
"FilterValue": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"IDPracownika": {
"type": "integer"
},
"KodPracownika": {
"type": "string"
},
"IDs": {
"type": "array",
"items": {
"type": "integer"
}
},
"LastID": {
"type": "integer"
},
"PacketSize": {
"type": "integer"
},
"Conditions": {
"type": "array",
"items": {
"$ref": "#/definitions/Filter"
}
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
}
}
Sample JSON file:
{
  "TestMode": false,
  "IDPracownika": 1,
  "KodPracownika": "KodPracownika",
  "IDs": [
    1
  ],
  "LastID": 1,
  "PacketSize": 1,
  "Conditions": [
    {
      "LogicalOperator": "And",
      "Operator": "Equal",
      "ColumnName": "ColumnName",
      "FilterValue": "FilterValue"
    }
  ],
  "UpdateDate": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  }
}
Sample response:
Schema (JSON) for class UpdateResult:
{
"title": "UpdateResult",
"definitions": {
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"Kod": {
"type": "string"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}
Sample JSON file:
{
  "TestMode": false,
  "ID": 1,
  "Kod": "Kod",
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebAPI.ObslugaKadrowa

Method name: GetUmowaCP

URL: https://{{baseAddress}}/api/KadryWebAPI/GetUmowaCP

HTTP method: POST

Params type: GetUmowaCPParams

Result type: PackableDataResponse<UmowaDTO>

Description: Downloading civil law contracts / Pobranie umów cywilnoprawnych

Comment: Downloading a list of civil law contracts. Providing IDPracownika retrieves all contracts, while providing IDUmowy retrieves only the specified one. / Pobranie listy umów cywilnoprawnych. Po podaniu IDPracownika pobierze wszystkie umowy, po podaniu IDUmowy pobierze tylko tę jedną.

Sample request for object GetUmowaCPParams. Replace placeholders with real values.

Schema (JSON) for class GetUmowaCPParams:
{
"title": "GetUmowaCPParams",
"definitions": {
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"Filter": {
"type": "object",
"properties": {
"LogicalOperator": {
"type": "string",
"enum": [
"And",
"Or"
]
},
"Operator": {
"type": "string",
"enum": [
"Equal",
"NotEqual",
"Like",
"Null"
]
},
"ColumnName": {
"type": "string"
},
"FilterValue": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"IDs": {
"type": "array",
"items": {
"type": "integer"
}
},
"IDPracownika": {
"type": "integer"
},
"KodPracownika": {
"type": "string"
},
"LastID": {
"type": "integer"
},
"PacketSize": {
"type": "integer"
},
"Conditions": {
"type": "array",
"items": {
"$ref": "#/definitions/Filter"
}
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
}
}
Sample JSON file:
{
  "IDs": [
    1
  ],
  "IDPracownika": 1,
  "KodPracownika": "KodPracownika",
  "LastID": 1,
  "PacketSize": 1,
  "Conditions": [
    {
      "LogicalOperator": "And",
      "Operator": "Equal",
      "ColumnName": "ColumnName",
      "FilterValue": "FilterValue"
    }
  ],
  "UpdateDate": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  }
}
Sample response:
Schema (JSON) for class PackableDataResponse<UmowaDTO>:
{
"title": "PackableDataResponse`1",
"definitions": {
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DataDTO-1": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name"
]
},
"UmowaDTO": {
"type": "object",
"properties": {
"Guid": {
"type": "string"
},
"DataAktualnosci": {
"$ref": "#/definitions/DataDTO"
},
"OkresOd": {
"$ref": "#/definitions/DataDTO"
},
"OkresDo": {
"$ref": "#/definitions/DataDTO"
},
"IdDefinicjiUmowy": {
"type": "integer"
},
"Numer": {
"type": "string"
},
"Tytul": {
"type": "string"
},
"Wartosc": {
"type": "string"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"AllRows": {
"type": "boolean"
},
"LastID": {
"type": "integer"
},
"ToReadRecords": {
"type": "integer"
},
"ReadRecords": {
"type": "integer"
},
"Data": {
"type": "array",
"items": {
"$ref": "#/definitions/UmowaDTO"
}
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"AllRows",
"LastID",
"ReadRecords",
"Success"
]
}
Sample JSON file:
{
  "AllRows": false,
  "LastID": 1,
  "ToReadRecords": 1,
  "ReadRecords": 1,
  "Data": [
    {
      "Guid": "17c02707-5c71-426b-bf2e-cd57a70a630c",
      "DataAktualnosci": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "OkresOd": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "OkresDo": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "IdDefinicjiUmowy": 1,
      "Numer": "Numer",
      "Tytul": "Tytul",
      "Wartosc": "Wartosc",
      "ID": 1,
      "AttachmentsCount": 1,
      "TableName": "TableName",
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "TableName": "TableName",
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "N98PNck49+8Kpg==",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebAPI.ObslugaKadrowa

Method name: GetDodatekPracownika

URL: https://{{baseAddress}}/api/KadryWebAPI/GetDodatekPracownika

HTTP method: POST

Params type: GetDodatekPracownikaParams

Result type: PackableDataResponse<DodatekPracownikaDTO>

Description: Downloading employee allowance / Pobranie dodatku pracownika

Comment: Downloading an employee allowance using the GUID or ID parameter. / Pobranie dodatku pracownika poprzez parametr GUID lub ID.

Sample request for object GetDodatekPracownikaParams. Replace placeholders with real values.

Schema (JSON) for class GetDodatekPracownikaParams:
{
"title": "GetDodatekPracownikaParams",
"definitions": {
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"Filter": {
"type": "object",
"properties": {
"LogicalOperator": {
"type": "string",
"enum": [
"And",
"Or"
]
},
"Operator": {
"type": "string",
"enum": [
"Equal",
"NotEqual",
"Like",
"Null"
]
},
"ColumnName": {
"type": "string"
},
"FilterValue": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"IDPracownika": {
"type": "integer"
},
"IDs": {
"type": "array",
"items": {
"type": "integer"
}
},
"KodPracownika": {
"type": "string"
},
"LastID": {
"type": "integer"
},
"PacketSize": {
"type": "integer"
},
"Conditions": {
"type": "array",
"items": {
"$ref": "#/definitions/Filter"
}
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
}
}
Sample JSON file:
{
  "IDPracownika": 1,
  "IDs": [
    1
  ],
  "KodPracownika": "KodPracownika",
  "LastID": 1,
  "PacketSize": 1,
  "Conditions": [
    {
      "LogicalOperator": "And",
      "Operator": "Equal",
      "ColumnName": "ColumnName",
      "FilterValue": "FilterValue"
    }
  ],
  "UpdateDate": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  }
}
Sample response:
Schema (JSON) for class PackableDataResponse<DodatekPracownikaDTO>:
{
"title": "PackableDataResponse`1",
"definitions": {
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"CurrencyDTO": {
"type": "object",
"properties": {
"Value": {
"type": "number"
},
"Symbol": {
"type": "string"
}
},
"required": [
"Value",
"Symbol"
]
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DataDTO-1": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DodatekPracownikaDTO": {
"type": "object",
"properties": {
"ZrodloDodatku": {
"type": "string",
"enum": [
"Pracownik",
"Umowa"
]
},
"IdZrodla": {
"type": "integer"
},
"KodPracownika": {
"type": "string"
},
"Guid": {
"type": "string"
},
"IDExternal": {
"type": "integer"
},
"DataAktualnosci": {
"$ref": "#/definitions/DataDTO"
},
"OkresOd": {
"$ref": "#/definitions/DataDTO"
},
"OkresDo": {
"$ref": "#/definitions/DataDTO-1"
},
"CzyAktualizowac": {
"type": "boolean"
},
"IdDefinicjiDodatku": {
"type": "integer"
},
"Nazwa": {
"type": "string"
},
"Parametry": {
"$ref": "#/definitions/ParametryDodatkuDTO"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"ZrodloDodatku",
"DataAktualnosci",
"OkresOd",
"OkresDo",
"CzyAktualizowac"
]
},
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name"
]
},
"FractionDTO": {
"type": "object",
"properties": {
"Num": {
"type": "integer"
},
"Den": {
"type": "integer"
}
},
"required": [
"Num",
"Den"
]
},
"ParametryDodatkuDTO": {
"type": "object",
"properties": {
"Podstawa": {
"$ref": "#/definitions/CurrencyDTO"
},
"Procent": {
"type": "number"
},
"Wspolczynnik": {
"type": "number"
},
"Czas": {
"type": "string"
},
"Dni": {
"type": "integer"
},
"Ulamek": {
"$ref": "#/definitions/FractionDTO"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"AllRows": {
"type": "boolean"
},
"LastID": {
"type": "integer"
},
"ToReadRecords": {
"type": "integer"
},
"ReadRecords": {
"type": "integer"
},
"Data": {
"type": "array",
"items": {
"$ref": "#/definitions/DodatekPracownikaDTO"
}
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"AllRows",
"LastID",
"ReadRecords",
"Success"
]
}
Sample JSON file:
{
  "AllRows": false,
  "LastID": 1,
  "ToReadRecords": 1,
  "ReadRecords": 1,
  "Data": [
    {
      "ZrodloDodatku": "Pracownik",
      "IdZrodla": 1,
      "KodPracownika": "KodPracownika",
      "Guid": "428841cb-62eb-4077-bae0-df1aca84e70d",
      "IDExternal": 1,
      "DataAktualnosci": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "OkresOd": {
        "Year": 2025,
        "Month": 12,
        "Day": 18
      },
      "OkresDo": null,
      "CzyAktualizowac": false,
      "IdDefinicjiDodatku": 1,
      "Nazwa": "Nazwa",
      "Parametry": {
        "Podstawa": {
          "Value": 1.0,
          "Symbol": "Symbol"
        },
        "Procent": 1.0,
        "Wspolczynnik": 1.0,
        "Czas": "8:00",
        "Dni": 1,
        "Ulamek": {
          "Num": 1,
          "Den": 1
        }
      },
      "ID": 1,
      "AttachmentsCount": 1,
      "TableName": "TableName",
      "Features": [
        {
          "Name": "Name",
          "Value": "Value",
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "TableName": "TableName",
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "RWiZIsmeeoSyFw==",
          "Features": [
            {
              "Name": "Name",
              "Value": "Value",
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebAPI.ObslugaKadrowa

Method name: GetDefinicjeDodatkow

URL: https://{{baseAddress}}/api/KadryWebAPI/GetDefinicjeDodatkow

HTTP method: POST

Params type: GetDefinicjeDodatkow

Result type: List<DefinicjaDodatkowDTO>

Description: Downloading allowance definitions / Pobranie definicji dodatków

Comment: Downloading allowance definitions. / Pobranie definicji dodatków.

Sample request for object GetDefinicjeDodatkow. Replace placeholders with real values.

Schema (JSON) for class GetDefinicjeDodatkow:
{
"title": "GetDefinicjeDodatkow",
"type": "object",
"properties": {
"RodzajZrodla": {
"type": "string",
"enum": [
"Etat",
"Nieobecność",
"Umowa",
"Akord",
"Storno",
"Dodatek",
"NadgodzinyI",
"NadgodzinyII",
"NadgodzinyŚw",
"Nocne",
"Kurs",
"Świadczenie",
"Nagroda",
"Kara",
"FundPożWpisowe",
"FundPożWycofanie",
"FundPożSkładka",
"Pożyczka",
"PożyczkaSpłata",
"Zaliczka",
"SpłataZaliczki",
"ZajęcieKomornicze",
"Odchyłki",
"DodatekAutomatyczny",
"ZbiegPracyIRodzicielstwa",
"PIT40",
"ZajęcieKomorniczeZwrotNadpłaty",
"ZajęcieKomorniczeUznanieNadpłaty",
"ZajęcieKomorniczeRozliczDepozytu",
"UmowaRozliczenie",
"WyrównanieDoMinimalnej",
"ZwrotNadpłatyPPK",
"PrzychódOdSkładkiPracodawcyPPK"
]
}
}
}
Sample JSON file:
{
  "RodzajZrodla": "Etat"
}
Sample response:
Schema (JSON) for class List<DefinicjaDodatkowDTO>:
{
"title": "List`1",
"definitions": {
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"DataDTO": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DefinicjaDodatkowDTO": {
"type": "object",
"properties": {
"Guid": {
"type": "string"
},
"Nazwa": {
"type": "string"
},
"PozycjaPIT": {
"type": "string"
},
"Priorytet": {
"type": "integer"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
}
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"Name"
]
}
},
"type": "array",
"items": {
"$ref": "#/definitions/DefinicjaDodatkowDTO"
}
}
Sample JSON file:
[
  {
    "Guid": "17befcc5-649f-416a-9c39-438c85521c2f",
    "Nazwa": "Nazwa",
    "PozycjaPIT": "PozycjaPIT",
    "Priorytet": 1,
    "ID": 1,
    "AttachmentsCount": 1,
    "TableName": "TableName",
    "Features": [
      {
        "Name": "Name",
        "Value": "Value",
        "Type": "Type",
        "UpdateDate": null
      }
    ],
    "Attachments": [
      {
        "ID": 1,
        "TableName": "TableName",
        "Name": "Name",
        "Parent": 1,
        "Description": "Description",
        "IsDefault": false,
        "SendEmail": false,
        "Extension": "Extension",
        "Link": "Link",
        "SubType": "None",
        "Base64": "TgvrUKFv+X0SFQ==",
        "Features": [
          {
            "Name": "Name",
            "Value": "Value",
            "Type": "Type",
            "UpdateDate": null
          }
        ]
      }
    ]
  }
]

Back to the methods list for AltOne.WebAPI.ObslugaKadrowa

Method name: GetBadaniaLekarskie

URL: https://{{baseAddress}}/api/KadryWebAPI/GetBadaniaLekarskie

HTTP method: POST

Params type: GetBadanieLekarskieParams

Result type: List<BadanieLekarskieDTO>

Description: Downloading medical examinations / Pobranie badań lekarskich

Comment: Retrieving medical examinations using the employee ID parameter, expiration date, or definition name / Pobranie badań lekarskich za pomocą parametru ID pracownika, date ważności lub nazwy definicji

Sample request for object GetBadanieLekarskieParams. Replace placeholders with real values.

Schema (JSON) for class GetBadanieLekarskieParams:
{
"title": "GetBadanieLekarskieParams",
"definitions": {
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"Filter": {
"type": "object",
"properties": {
"LogicalOperator": {
"type": "string",
"enum": [
"And",
"Or"
]
},
"Operator": {
"type": "string",
"enum": [
"Equal",
"NotEqual",
"Like",
"Null"
]
},
"ColumnName": {
"type": "string"
},
"FilterValue": {
"type": "string"
}
}
},
"FromToDTO": {
"type": "object",
"properties": {
"From": {
"$ref": "#/definitions/DataDTO"
},
"To": {
"$ref": "#/definitions/DataDTO"
}
}
}
},
"type": "object",
"properties": {
"IDs": {
"type": "array",
"items": {
"type": "integer"
}
},
"PracownikIDs": {
"type": "array",
"items": {
"type": "integer"
}
},
"KodPracownika": {
"type": "string"
},
"DataWaznosciNaDzien": {
"$ref": "#/definitions/DataDTO"
},
"Termin": {
"$ref": "#/definitions/FromToDTO"
},
"DefBadaniaLekarskiegoNazwa": {
"type": "string"
},
"LastID": {
"type": "integer"
},
"PacketSize": {
"type": "integer"
},
"Conditions": {
"type": "array",
"items": {
"$ref": "#/definitions/Filter"
}
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
}
}
Sample JSON file:
{
  "IDs": [
    1
  ],
  "PracownikIDs": [
    1
  ],
  "KodPracownika": "KodPracownika",
  "DataWaznosciNaDzien": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  },
  "Termin": {
    "From": {
      "Year": 2025,
      "Month": 12,
      "Day": 18
    },
    "To": {
      "Year": 2025,
      "Month": 12,
      "Day": 18
    }
  },
  "DefBadaniaLekarskiegoNazwa": "DefBadaniaLekarskiegoNazwa",
  "LastID": 1,
  "PacketSize": 1,
  "Conditions": [
    {
      "LogicalOperator": "And",
      "Operator": "Equal",
      "ColumnName": "ColumnName",
      "FilterValue": "FilterValue"
    }
  ],
  "UpdateDate": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  }
}
Sample response:
Schema (JSON) for class List<BadanieLekarskieDTO>:
{
"title": "List`1",
"definitions": {
"AttachmentDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Name": {
"type": "string"
},
"Parent": {
"type": "integer"
},
"Description": {
"type": "string"
},
"IsDefault": {
"type": "boolean"
},
"SendEmail": {
"type": "boolean"
},
"Extension": {
"type": "string"
},
"Link": {
"type": "string"
},
"SubType": {
"type": "string",
"enum": [
"None",
"Picture",
"Text",
"Document",
"Audio",
"Video",
"Binary",
"Compressed",
"Http",
"Https"
]
},
"Base64": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"Name"
]
},
"BadanieLekarskieDTO": {
"type": "object",
"properties": {
"Guid": {
"type": "string"
},
"KodPracownika": {
"type": "string"
},
"IdPracownika": {
"type": "integer"
},
"DefinicjaNazwa": {
"type": "string"
},
"DefinicjaNazwaNastepne": {
"type": "string"
},
"Anulowane": {
"type": "boolean"
},
"DataWykonaniaDoDnia": {
"$ref": "#/definitions/DataDTO"
},
"DataWykonaniaDoDniaNastepne": {
"$ref": "#/definitions/DataDTO"
},
"DataWykonania": {
"$ref": "#/definitions/DataDTO"
},
"DataWaznosci": {
"$ref": "#/definitions/DataDTO"
},
"PracaWOkularach": {
"type": "boolean"
},
"KwotaDofinansowania": {
"type": "number"
},
"DataDofinansowania": {
"$ref": "#/definitions/DataDTO"
},
"Opis": {
"type": "string"
},
"ID": {
"type": "integer"
},
"AttachmentsCount": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"Attachments": {
"type": "array",
"items": {
"$ref": "#/definitions/AttachmentDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
}
},
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"DataDTO-1": {
"type": [
"object",
"null"
],
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {
"type": "string"
},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name"
]
}
},
"type": "array",
"items": {
"$ref": "#/definitions/BadanieLekarskieDTO"
}
}
Sample JSON file:
[
  {
    "Guid": "a73fd555-0125-4936-b384-c05fa96067eb",
    "KodPracownika": "KodPracownika",
    "IdPracownika": 1,
    "DefinicjaNazwa": "DefinicjaNazwa",
    "DefinicjaNazwaNastepne": "DefinicjaNazwaNastepne",
    "Anulowane": false,
    "DataWykonaniaDoDnia": {
      "Year": 2025,
      "Month": 12,
      "Day": 18
    },
    "DataWykonaniaDoDniaNastepne": {
      "Year": 2025,
      "Month": 12,
      "Day": 18
    },
    "DataWykonania": {
      "Year": 2025,
      "Month": 12,
      "Day": 18
    },
    "DataWaznosci": {
      "Year": 2025,
      "Month": 12,
      "Day": 18
    },
    "PracaWOkularach": false,
    "KwotaDofinansowania": 1.0,
    "DataDofinansowania": {
      "Year": 2025,
      "Month": 12,
      "Day": 18
    },
    "Opis": "Opis",
    "ID": 1,
    "AttachmentsCount": 1,
    "TableName": "TableName",
    "Features": [
      {
        "Name": "Name",
        "Value": "Value",
        "Type": "Type",
        "UpdateDate": null
      }
    ],
    "Attachments": [
      {
        "ID": 1,
        "TableName": "TableName",
        "Name": "Name",
        "Parent": 1,
        "Description": "Description",
        "IsDefault": false,
        "SendEmail": false,
        "Extension": "Extension",
        "Link": "Link",
        "SubType": "None",
        "Base64": "Op55r74cJTAsUg==",
        "Features": [
          {
            "Name": "Name",
            "Value": "Value",
            "Type": "Type",
            "UpdateDate": null
          }
        ]
      }
    ]
  }
]

Back to the methods list for AltOne.WebAPI.ObslugaKadrowa


AltOne.WebAPI.Trakcja

Assembly name: AltOne.WebAPI.Trakcja
Version: 2504.2.2-0.1.1.0+744da066bce7ab1d3126884b62ed33aa8ac321db,
Last modified: 16.05.2025 12:08:12

List of available methods:

Interface: IWebService2

Method descriptions and usage examples:

Method name: GetDataChange

URL: https://{{baseAddress}}/api/empty/GetDataChange

HTTP method: POST

Params type: RecordsChangeParams

Result type: PackableDataResponse<ReadDataChangeItemDto>

Description: Metoda służąca do pobrania zmienionych rekordów w paczkach danych

Comment: Metoda służąca do pobrania zmienionych rekordów w paczkach danych

Sample request for object RecordsChangeParams. Replace placeholders with real values.

Schema (JSON) for class RecordsChangeParams:
{
"title": "RecordsChangeParams",
"definitions": {
"DataDTO": {
"type": "object",
"properties": {
"Year": {
"type": "integer"
},
"Month": {
"type": "integer"
},
"Day": {
"type": "integer"
}
},
"required": [
"Year",
"Month",
"Day"
]
},
"Filter": {
"type": "object",
"properties": {
"LogicalOperator": {
"type": "string",
"enum": [
"And",
"Or"
]
},
"Operator": {
"type": "string",
"enum": [
"Equal",
"NotEqual",
"Like",
"Null"
]
},
"ColumnName": {
"type": "string"
},
"FilterValue": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"SourceTable": {
"type": "string"
},
"ExternalSystem": {
"type": "string"
},
"SecurityCode": {
"type": "string"
},
"ShowFutureRecords": {
"type": "string",
"format": "date-time"
},
"SourceID": {
"type": "integer"
},
"HideErrors": {
"type": "boolean"
},
"Extended": {
"type": "boolean"
},
"LastID": {
"type": "integer"
},
"PacketSize": {
"type": "integer"
},
"Conditions": {
"type": "array",
"items": {
"$ref": "#/definitions/Filter"
}
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"SourceTable",
"ExternalSystem",
"SecurityCode"
]
}
Sample JSON file:
{
  "SourceTable": "SourceTable",
  "ExternalSystem": "ExternalSystem",
  "SecurityCode": "SecurityCode",
  "ShowFutureRecords": "2025-12-18T12:03:54.0701646Z",
  "SourceID": 1,
  "HideErrors": false,
  "Extended": false,
  "LastID": 1,
  "PacketSize": 1,
  "Conditions": [
    {
      "LogicalOperator": "And",
      "Operator": "Equal",
      "ColumnName": "ColumnName",
      "FilterValue": "FilterValue"
    }
  ],
  "UpdateDate": {
    "Year": 2025,
    "Month": 12,
    "Day": 18
  }
}
Sample response:
Schema (JSON) for class PackableDataResponse<ReadDataChangeItemDto>:
{
"title": "PackableDataResponse`1",
"definitions": {
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"ReadDataChangeItemDto": {
"type": "object",
"properties": {
"ID_DataChange": {
"type": "integer"
},
"ID_Source": {
"type": "integer"
},
"SourceState": {
"type": "string",
"enum": [
"Detached",
"Unchanged",
"Modified",
"Added",
"Deleted"
]
},
"Description": {
"type": "string"
},
"ObjectIsNull": {
"type": "boolean"
},
"Object": {
"type": [
"string",
"number",
"integer",
"boolean",
"object",
"array"
]
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"AllRows": {
"type": "boolean"
},
"LastID": {
"type": "integer"
},
"ToReadRecords": {
"type": "integer"
},
"ReadRecords": {
"type": "integer"
},
"Data": {
"type": "array",
"items": {
"$ref": "#/definitions/ReadDataChangeItemDto"
}
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"AllRows",
"LastID",
"ReadRecords",
"Success"
]
}
Sample JSON file:
{
  "AllRows": false,
  "LastID": 1,
  "ToReadRecords": 1,
  "ReadRecords": 1,
  "Data": [
    {
      "ID_DataChange": 1,
      "ID_Source": 1,
      "SourceState": "Detached",
      "Description": "Description",
      "ObjectIsNull": false,
      "Object": null
    }
  ],
  "Success": false,
  "Description": "Description",
  "Errors": [
    {
      "Source": "Source",
      "Type": "Type",
      "Message": "Message",
      "StackTrace": "StackTrace"
    }
  ],
  "Warnings": [
    {
      "Lp": 1,
      "Type": "Type",
      "Message": "Message"
    }
  ]
}

Back to the methods list for AltOne.WebAPI.Trakcja