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.

Working with Custom Features (FeatureDTO)

The FeatureDTO object allows you to read and write custom attributes (features) defined on business objects in enova365. These features extend standard objects without requiring library recompilation.

FeatureDTO Structure

{
  "Name": "FeatureName",        // Required - feature name as defined in enova365
  "Value": <any type>,          // Required (can be null) - feature value
  "Type": "String",             // Feature type (String, Int, Bool, Date, etc.)
  "UpdateDate": {               // Optional - for historical features
    "Rok": 2026,
    "Miesiac": 2,
    "Dzien": 10
  }
}
        

Supported Value Types

The Value property accepts multiple data types. The library handles automatic conversion between JSON and enova365 internal types:

Note: Since version 0.7.5.4, the Value property accepts both typed values (e.g., 123) and string representations (e.g., "123"). This ensures compatibility with both Newtonsoft.Json and System.Text.Json serializers.

Clearing Feature Values (Default Values)

When you send null or an empty string ("") as the feature value, the API sets the feature to its default value, similar to clearing the field in the enova365 user interface.

Default Values by Feature Type:

// String and Reference types - cleared to null
"String":     null
"Reference":  null

// Numeric types - reset to zero
"Int":        0
"Decimal":    0.00
"Double":     0.0
"Currency":   0.00 (in default currency)
"Amount":     0 (in default unit)
"DoubleCy":   0.0 (in default unit)
"Percent":    0%
"Fraction":   0

// Date/Time types - reset to empty
"Date":       Date.Empty
"FromTo":     FromTo.Empty
"YearMonth":  YearMonth.Empty
"Time":       Time.Empty
"TimeSec":    TimeSec.Empty

// Boolean - reset to false
"Bool":       false
        

Reading Features - Example Response

{
  "ID": 1,
  "Kod": "CONT001",
  "Nazwa": "Sample Contractor Ltd.",
  "Features": [
    {
      "Name": "CustomerSegment",
      "Value": "Premium",
      "Type": "String",
      "UpdateDate": null
    },
    {
      "Name": "CreditLimit",
      "Value": 50000,                    // Can be sent as number
      "Type": "Decimal",
      "UpdateDate": null
    },
    {
      "Name": "IsVIP",
      "Value": true,                     // Can be sent as boolean
      "Type": "Bool",
      "UpdateDate": null
    },
    {
      "Name": "ContractDate",
      "Value": "2026-01-15",
      "Type": "Date",
      "UpdateDate": null
    },
    {
      "Name": "HistoricalDiscount",
      "Value": "15.5",
      "Type": "Percent",
      "UpdateDate": {
        "Rok": 2026,
        "Miesiac": 1,
        "Dzien": 1
      }
    }
  ]
}
        

Writing Features - Example Request

When updating objects, you can include features in the request. Only features marked as "Obsługa WCF" (WCF Support) in enova365 can be modified via API.

// Update contractor with features
{
  "ID": 1,
  "Kod": "CONT001",
  "Nazwa": "Updated Contractor Name",
  "Features": [
    {
      "Name": "CustomerSegment",
      "Value": "Gold"                    // String value
    },
    {
      "Name": "CreditLimit",
      "Value": 75000                     // Numeric value (int or string accepted)
    },
    {
      "Name": "IsVIP",
      "Value": true                      // Boolean value (bool or string accepted)
    },
    {
      "Name": "HistoricalDiscount",
      "Value": "20.0",
      "UpdateDate": {                    // Required for historical features
        "Rok": 2026,
        "Miesiac": 2,
        "Dzien": 10
      }
    },
    {
      "Name": "ResponsiblePerson",
      "Value": "Pracownicy:15",          // Reference to Employee with ID=15
      "Type": "Reference"
    },
    {
      "Name": "Notes",
      "Value": null                      // Clear field (sets to null)
    },
    {
      "Name": "Discount",
      "Value": ""                        // Clear field (sets to 0.00)
    }
  ]
}
        

Clearing Feature Examples

Examples showing how to clear different feature types:

// Clearing text fields (String) - sets to null
{ "Name": "Description", "Value": null }       // → null
{ "Name": "Description", "Value": "" }         // → null

// Clearing references (Reference) - removes link
{ "Name": "Manager", "Value": null }           // → null
{ "Name": "Manager", "Value": "" }             // → null

// Clearing numeric fields (Int, Decimal, Double) - sets to 0
{ "Name": "Quantity", "Value": null }          // → 0
{ "Name": "Price", "Value": "" }               // → 0.00
{ "Name": "Discount", "Value": null }          // → 0%

// Clearing dates (Date) - sets to empty date
{ "Name": "BirthDate", "Value": null }         // → Date.Empty
{ "Name": "BirthDate", "Value": "" }           // → Date.Empty

// Clearing currency (Currency) - sets to 0 in default currency
{ "Name": "CreditLimit", "Value": null }       // → 0.00 PLN
{ "Name": "CreditLimit", "Value": "" }         // → 0.00 PLN

// Clearing boolean (Bool) - sets to false
{ "Name": "IsActive", "Value": null }          // → false
{ "Name": "IsActive", "Value": "" }            // → false

// Clearing periods (FromTo, YearMonth) - sets to empty
{ "Name": "ValidityPeriod", "Value": "" }      // → FromTo.Empty
{ "Name": "ReportMonth", "Value": null }       // → YearMonth.Empty
        

Important Notes

Type Flexibility (since v0.7.5.4)

The API now accepts flexible value types and handles null/empty values gracefully:

// All these formats are valid for an integer feature:
{ "Name": "Quantity", "Value": 100 }          // Native number
{ "Name": "Quantity", "Value": "100" }        // String representation
{ "Name": "Quantity", "Value": null }         // Clears to 0
{ "Name": "Quantity", "Value": "" }           // Clears to 0

// All these formats are valid for a boolean feature:
{ "Name": "IsActive", "Value": true }         // Native boolean
{ "Name": "IsActive", "Value": "true" }       // String representation
{ "Name": "IsActive", "Value": null }         // Clears to false
{ "Name": "IsActive", "Value": "" }           // Clears to false

// All these formats are valid for a decimal feature:
{ "Name": "Price", "Value": 123.45 }          // Native number
{ "Name": "Price", "Value": "123.45" }        // String representation
{ "Name": "Price", "Value": null }            // Clears to 0.00
{ "Name": "Price", "Value": "" }              // Clears to 0.00

// String features - null and empty both clear the field:
{ "Name": "Notes", "Value": "Some text" }     // Sets text
{ "Name": "Notes", "Value": null }            // Clears to null
{ "Name": "Notes", "Value": "" }              // Clears to null

// Reference features - multiple ways to clear:
{ "Name": "Manager", "Value": "Pracownicy:5" }  // Sets reference
{ "Name": "Manager", "Value": null }            // Clears link
{ "Name": "Manager", "Value": "" }              // Clears link
{ "Name": "Manager", "Value": "null" }          // Clears link
        

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.5.4+37b8e8b2c5c0a7cec9d1007e0fffd923950e13c7,
Last modified: 10.02.2026 13:47:52

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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name",
"Value"
]
},
"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": "bb380480-6ac1-4835-af92-77c7b5e1dadf",
    "NumerPelny": "NumerPelny",
    "Definicja": "Definicja",
    "Magazyn": "Magazyn",
    "Kategoria": "Kategoria",
    "Seria": "Seria",
    "Opis": "Opis",
    "Data": {
      "Year": 2026,
      "Month": 2,
      "Day": 27
    },
    "DataOperacji": {
      "Year": 2026,
      "Month": 2,
      "Day": 27
    },
    "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": 2026,
        "Month": 2,
        "Day": 27
      }
    },
    "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": 2026,
              "Month": 2,
              "Day": 27
            },
            "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": null,
        "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": "kWPXcK1t5DdUkg==",
        "Features": [
          {
            "Name": "Name",
            "Value": null,
            "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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name",
"Value"
]
},
"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": "6da36ae0-da43-4981-a99f-36a18b94ea61",
  "DataAktualizacji": "2026-02-27T16:12:04.5411989Z",
  "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": "2026-02-27T16:12:04.5412964Z",
  "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": 2026,
      "Month": 2,
      "Day": 27
    },
    "OkresDo": {
      "Year": 2026,
      "Month": 2,
      "Day": 27
    },
    "TypUmowy": "Brak",
    "Stanowisko": "Stanowisko",
    "JednostkaOrg": "JednostkaOrg",
    "Wymiar": {
      "Numerator": 1,
      "Denominator": 1
    },
    "Zwolniony": false,
    "ID": 1,
    "Features": [
      {
        "Name": "Name",
        "Value": null,
        "Type": "Type",
        "UpdateDate": null
      }
    ],
    "Attachments": [
      {
        "ID": 1,
        "Name": "Name",
        "Parent": 1,
        "Description": "Description",
        "IsDefault": false,
        "SendEmail": false,
        "Extension": "Extension",
        "Link": "Link",
        "SubType": "None",
        "Base64": "JCi7jc/43wRWkw==",
        "Features": [
          {
            "Name": "Name",
            "Value": null,
            "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": null,
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "qhlBO6Lus97Kzg==",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "ID": 1,
  "Features": [
    {
      "Name": "Name",
      "Value": null,
      "Type": "Type",
      "UpdateDate": null
    }
  ],
  "Attachments": [
    {
      "ID": 1,
      "Name": "Name",
      "Parent": 1,
      "Description": "Description",
      "IsDefault": false,
      "SendEmail": false,
      "Extension": "Extension",
      "Link": "Link",
      "SubType": "None",
      "Base64": "Byi99Qp05gWE0Q==",
      "Features": [
        {
          "Name": "Name",
          "Value": null,
          "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": "7c64fe87-0153-4d42-af4f-e472ef420149",
  "CechaExternalID": "CechaExternalID",
  "DataAktualnosci": "2026-02-27T16:12:04.5463798Z",
  "Zatrudnienie": false,
  "AdresDoKorespondencji": false,
  "Rachunki": false,
  "IDs": [
    1
  ],
  "LastID": 1,
  "PacketSize": 1,
  "Conditions": [
    {
      "LogicalOperator": "And",
      "Operator": "Equal",
      "ColumnName": "ColumnName",
      "FilterValue": "FilterValue"
    }
  ],
  "UpdateDate": {
    "Year": 2026,
    "Month": 2,
    "Day": 27
  }
}
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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name",
"Value"
]
},
"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": "9dbd720c-80c7-4c4c-8758-f9d0cd095ec5",
    "DataAktualizacji": "2026-02-27T16:12:04.5574427Z",
    "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": "2026-02-27T16:12:04.5575032Z",
    "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": 2026,
        "Month": 2,
        "Day": 27
      },
      "OkresDo": {
        "Year": 2026,
        "Month": 2,
        "Day": 27
      },
      "TypUmowy": "Brak",
      "Stanowisko": "Stanowisko",
      "JednostkaOrg": "JednostkaOrg",
      "Wymiar": {
        "Numerator": 1,
        "Denominator": 1
      },
      "Zwolniony": false,
      "ID": 1,
      "AttachmentsCount": 1,
      "TableName": "TableName",
      "Features": [
        {
          "Name": "Name",
          "Value": null,
          "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": "PzBGBB2STNgHMQ==",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "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": null,
            "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": "HlawEjsGYgS27Q==",
            "Features": [
              {
                "Name": "Name",
                "Value": null,
                "Type": "Type",
                "UpdateDate": null
              }
            ]
          }
        ]
      }
    ],
    "ID": 1,
    "AttachmentsCount": 1,
    "TableName": "TableName",
    "Features": [
      {
        "Name": "Name",
        "Value": null,
        "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": "taam7cgw09IQXw==",
        "Features": [
          {
            "Name": "Name",
            "Value": null,
            "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": "94834dbf-f9d4-41a7-ad3c-25218dd7710c",
  "CechaExternalID": "CechaExternalID",
  "DataAktualnosci": "2026-02-27T16:12:04.5596275Z",
  "Zatrudnienie": false,
  "AdresDoKorespondencji": false,
  "Rachunki": false,
  "IDs": [
    1
  ],
  "LastID": 1,
  "PacketSize": 1,
  "Conditions": [
    {
      "LogicalOperator": "And",
      "Operator": "Equal",
      "ColumnName": "ColumnName",
      "FilterValue": "FilterValue"
    }
  ],
  "UpdateDate": {
    "Year": 2026,
    "Month": 2,
    "Day": 27
  }
}
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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name",
"Value"
]
},
"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": "b657ce4a-0f34-414b-bb5b-6f4d2bfdab66",
      "DataAktualizacji": "2026-02-27T16:12:04.5715136Z",
      "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": "2026-02-27T16:12:04.5715706Z",
      "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": 2026,
          "Month": 2,
          "Day": 27
        },
        "OkresDo": {
          "Year": 2026,
          "Month": 2,
          "Day": 27
        },
        "TypUmowy": "Brak",
        "Stanowisko": "Stanowisko",
        "JednostkaOrg": "JednostkaOrg",
        "Wymiar": {
          "Numerator": 1,
          "Denominator": 1
        },
        "Zwolniony": false,
        "ID": 1,
        "AttachmentsCount": 1,
        "TableName": "TableName",
        "Features": [
          {
            "Name": "Name",
            "Value": null,
            "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": "GnsLze8g0vbaPg==",
            "Features": [
              {
                "Name": "Name",
                "Value": null,
                "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": null,
              "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": "3wa6RU4UGhsHZg==",
              "Features": [
                {
                  "Name": "Name",
                  "Value": null,
                  "Type": "Type",
                  "UpdateDate": null
                }
              ]
            }
          ]
        }
      ],
      "ID": 1,
      "AttachmentsCount": 1,
      "TableName": "TableName",
      "Features": [
        {
          "Name": "Name",
          "Value": null,
          "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": "abhMlc15qERfKA==",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "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": "d1b21f96-dd51-474c-afee-aa5a0eb3b0a3",
  "CechaExternalID": "CechaExternalID",
  "DataAktualnosci": "2026-02-27T16:12:04.5736643Z",
  "Zatrudnienie": false,
  "AdresDoKorespondencji": false,
  "Rachunki": false,
  "IDs": [
    1
  ],
  "LastID": 1,
  "PacketSize": 1,
  "Conditions": [
    {
      "LogicalOperator": "And",
      "Operator": "Equal",
      "ColumnName": "ColumnName",
      "FilterValue": "FilterValue"
    }
  ],
  "UpdateDate": {
    "Year": 2026,
    "Month": 2,
    "Day": 27
  }
}
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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name",
"Value"
]
},
"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": "e91b1c22-5eb0-4c46-b391-40b1a7567e08",
      "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": 2026,
          "Month": 2,
          "Day": 27
        },
        "OkresDo": {
          "Year": 2026,
          "Month": 2,
          "Day": 27
        },
        "JednostkaOrg": "JednostkaOrg"
      },
      "ID": 1,
      "AttachmentsCount": 1,
      "TableName": "TableName",
      "Features": [
        {
          "Name": "Name",
          "Value": null,
          "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": "5u/1+N3GC8pD8A==",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"Name",
"Value"
]
},
"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": null,
          "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": "qm7vPSbYVurQMA==",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "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": "2026-02-27T16:12:04.5878640Z"
  },
  "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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"Name",
"Value"
]
},
"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": null,
            "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": "3yduCYVSqQz+JQ==",
            "Features": [
              {
                "Name": "Name",
                "Value": null,
                "Type": "Type",
                "UpdateDate": null
              }
            ]
          }
        ]
      }
    ],
    "ID": 1,
    "AttachmentsCount": 1,
    "TableName": "TableName",
    "Features": [
      {
        "Name": "Name",
        "Value": null,
        "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": "1xX2A+oB3vZT4w==",
        "Features": [
          {
            "Name": "Name",
            "Value": null,
            "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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"Name",
"Value"
]
}
},
"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": null,
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "1BEYMQ7ijY57tA==",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "ID": 1,
  "Features": [
    {
      "Name": "Name",
      "Value": null,
      "Type": "Type",
      "UpdateDate": null
    }
  ],
  "Attachments": [
    {
      "ID": 1,
      "Name": "Name",
      "Parent": 1,
      "Description": "Description",
      "IsDefault": false,
      "SendEmail": false,
      "Extension": "Extension",
      "Link": "Link",
      "SubType": "None",
      "Base64": "mnfnOhBI78/EMA==",
      "Features": [
        {
          "Name": "Name",
          "Value": null,
          "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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"Name",
"Value"
]
},
"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": "XD8qtkHA5+Gq+Q==",
      "Features": [
        {
          "Name": "Name",
          "Value": null,
          "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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"Name",
"Value"
]
}
},
"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": "19a66u3o5+9dtQ==",
  "Features": [
    {
      "Name": "Name",
      "Value": null,
      "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"
},
"WarunkiHandlowe": {
"type": "boolean"
},
"OdsetkiKarne": {
"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": "d6daaad4-f759-4576-ae6a-e4cd160d87a7",
  "CechaExternalID": "CechaExternalID",
  "Powiazania": false,
  "WarunkiHandlowe": false,
  "OdsetkiKarne": false,
  "IDs": [
    1
  ],
  "LastID": 1,
  "PacketSize": 1,
  "Conditions": [
    {
      "LogicalOperator": "And",
      "Operator": "Equal",
      "ColumnName": "ColumnName",
      "FilterValue": "FilterValue"
    }
  ],
  "UpdateDate": {
    "Year": 2026,
    "Month": 2,
    "Day": 27
  }
}
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"
]
},
"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"
]
},
"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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"Name",
"Value"
]
},
"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"
},
"WarunkiHandlowe": {
"$ref": "#/definitions/WarunkiHandloweDTO"
},
"OdsetkiKarneDTO": {
"$ref": "#/definitions/OdsetkiKarneDTO"
},
"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"
]
},
"OdsetkiKarneDTO": {
"type": "object",
"properties": {
"Indywidualne": {
"type": "boolean"
},
"OdsetkiRozpoczecie": {
"type": "string",
"enum": [
"NieNaliczaj",
"NieStandardowe",
"WgTerminuPlatnosci",
"Standardowe"
]
},
"OdsetkiStopa": {
"type": "string",
"enum": [
"Ustawowe",
"Indywidualne",
"Maksymalne",
"UstawoweIndywidualne",
"UstawowePodatkowe",
"Wskazane",
"Handlowe",
"UstawoweHandlowe",
"ZaOpoznienie",
"Podatkowe",
"HandloweMedyczne",
"UstawoweHandloweMedyczne"
]
},
"RozpoczecieDni": {
"type": "integer"
},
"DopuszczalnaZwloka": {
"type": "integer"
}
}
},
"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",
"JST"
]
},
"DataOd": {
"$ref": "#/definitions/DataDTO-1"
},
"DataDo": {
"$ref": "#/definitions/DataDTO-1"
},
"RolaPodmiotu": {
"type": "string",
"enum": [
"Inna",
"JednostkaNadrzedna",
"CzlonekGrupyVAT",
"PrzedstawicielGrupyVAT",
"Odbiorca",
"DokonujacyPlatnosci",
"JednostkaSamorzaduTerytorialnego",
"Pracownik",
"Faktor"
]
},
"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"
}
}
},
"WarunkiHandloweDTO": {
"type": "object",
"properties": {
"TypLimituKredytowego": {
"type": "string",
"enum": [
"Kwota",
"Nieograniczony"
]
},
"LimitKredytu": {
"$ref": "#/definitions/CurrencyDTO"
},
"TypPrzeterminowania": {
"type": "string",
"enum": [
"Kwota",
"Nieograniczony"
]
},
"KontrolaKwota": {
"$ref": "#/definitions/CurrencyDTO"
},
"KontrolaDni": {
"type": "integer"
},
"Efaktura": {
"type": "string",
"enum": [
"Brak",
"Invooclip",
"GreenMail24",
"Email"
]
}
}
}
},
"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": "04255a11-86c5-4b6d-b758-76a04a26fedf",
      "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,
      "WarunkiHandlowe": {
        "TypLimituKredytowego": "Kwota",
        "LimitKredytu": {
          "Value": 1.0,
          "Symbol": "Symbol"
        },
        "TypPrzeterminowania": "Kwota",
        "KontrolaKwota": {
          "Value": 1.0,
          "Symbol": "Symbol"
        },
        "KontrolaDni": 1,
        "Efaktura": "Brak"
      },
      "OdsetkiKarneDTO": {
        "Indywidualne": false,
        "OdsetkiRozpoczecie": "NieNaliczaj",
        "OdsetkiStopa": "Ustawowe",
        "RozpoczecieDni": 1,
        "DopuszczalnaZwloka": 1
      },
      "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": null,
              "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": "F5bZ8xJttfBqPw==",
              "Features": [
                {
                  "Name": "Name",
                  "Value": null,
                  "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": 2026,
              "Month": 2,
              "Day": 27
            },
            "DataDo": {
              "Year": 2026,
              "Month": 2,
              "Day": 27
            },
            "RolaPodmiotu": "Inna",
            "OdbiorcaPlatnik": false
          }
        ],
        "KontrahenciZastapieni": [
          {
            "ID": 1,
            "Kod": "Kod",
            "Nazwa": "Nazwa"
          }
        ]
      },
      "ID": 1,
      "AttachmentsCount": 1,
      "TableName": "TableName",
      "Features": [
        {
          "Name": "Name",
          "Value": null,
          "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": "6O/kIKa1Ci28BQ==",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "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"
},
"WarunkiHandlowe": {
"type": "boolean"
},
"OdsetkiKarne": {
"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": "35b7f39a-ec58-4ed7-be83-6656b7a2b498",
  "CechaExternalID": "CechaExternalID",
  "Powiazania": false,
  "WarunkiHandlowe": false,
  "OdsetkiKarne": false,
  "IDs": [
    1
  ],
  "LastID": 1,
  "PacketSize": 1,
  "Conditions": [
    {
      "LogicalOperator": "And",
      "Operator": "Equal",
      "ColumnName": "ColumnName",
      "FilterValue": "FilterValue"
    }
  ],
  "UpdateDate": {
    "Year": 2026,
    "Month": 2,
    "Day": 27
  }
}
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"
]
},
"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"
]
},
"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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"Name",
"Value"
]
},
"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"
},
"WarunkiHandlowe": {
"$ref": "#/definitions/WarunkiHandloweDTO"
},
"OdsetkiKarneDTO": {
"$ref": "#/definitions/OdsetkiKarneDTO"
},
"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"
]
},
"OdsetkiKarneDTO": {
"type": "object",
"properties": {
"Indywidualne": {
"type": "boolean"
},
"OdsetkiRozpoczecie": {
"type": "string",
"enum": [
"NieNaliczaj",
"NieStandardowe",
"WgTerminuPlatnosci",
"Standardowe"
]
},
"OdsetkiStopa": {
"type": "string",
"enum": [
"Ustawowe",
"Indywidualne",
"Maksymalne",
"UstawoweIndywidualne",
"UstawowePodatkowe",
"Wskazane",
"Handlowe",
"UstawoweHandlowe",
"ZaOpoznienie",
"Podatkowe",
"HandloweMedyczne",
"UstawoweHandloweMedyczne"
]
},
"RozpoczecieDni": {
"type": "integer"
},
"DopuszczalnaZwloka": {
"type": "integer"
}
}
},
"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",
"JST"
]
},
"DataOd": {
"$ref": "#/definitions/DataDTO-1"
},
"DataDo": {
"$ref": "#/definitions/DataDTO-1"
},
"RolaPodmiotu": {
"type": "string",
"enum": [
"Inna",
"JednostkaNadrzedna",
"CzlonekGrupyVAT",
"PrzedstawicielGrupyVAT",
"Odbiorca",
"DokonujacyPlatnosci",
"JednostkaSamorzaduTerytorialnego",
"Pracownik",
"Faktor"
]
},
"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"
}
}
},
"WarunkiHandloweDTO": {
"type": "object",
"properties": {
"TypLimituKredytowego": {
"type": "string",
"enum": [
"Kwota",
"Nieograniczony"
]
},
"LimitKredytu": {
"$ref": "#/definitions/CurrencyDTO"
},
"TypPrzeterminowania": {
"type": "string",
"enum": [
"Kwota",
"Nieograniczony"
]
},
"KontrolaKwota": {
"$ref": "#/definitions/CurrencyDTO"
},
"KontrolaDni": {
"type": "integer"
},
"Efaktura": {
"type": "string",
"enum": [
"Brak",
"Invooclip",
"GreenMail24",
"Email"
]
}
}
}
},
"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": "4342d8be-bef8-477b-bda0-927d48448f8f",
      "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,
      "WarunkiHandlowe": {
        "TypLimituKredytowego": "Kwota",
        "LimitKredytu": {
          "Value": 1.0,
          "Symbol": "Symbol"
        },
        "TypPrzeterminowania": "Kwota",
        "KontrolaKwota": {
          "Value": 1.0,
          "Symbol": "Symbol"
        },
        "KontrolaDni": 1,
        "Efaktura": "Brak"
      },
      "OdsetkiKarneDTO": {
        "Indywidualne": false,
        "OdsetkiRozpoczecie": "NieNaliczaj",
        "OdsetkiStopa": "Ustawowe",
        "RozpoczecieDni": 1,
        "DopuszczalnaZwloka": 1
      },
      "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": null,
              "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": "N7kqPHXqZmZybQ==",
              "Features": [
                {
                  "Name": "Name",
                  "Value": null,
                  "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": 2026,
              "Month": 2,
              "Day": 27
            },
            "DataDo": {
              "Year": 2026,
              "Month": 2,
              "Day": 27
            },
            "RolaPodmiotu": "Inna",
            "OdbiorcaPlatnik": false
          }
        ],
        "KontrahenciZastapieni": [
          {
            "ID": 1,
            "Kod": "Kod",
            "Nazwa": "Nazwa"
          }
        ]
      },
      "ID": 1,
      "AttachmentsCount": 1,
      "TableName": "TableName",
      "Features": [
        {
          "Name": "Name",
          "Value": null,
          "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": "7sy9x1nX9/AmvQ==",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "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"
]
},
"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"
]
},
"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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"Name",
"Value"
]
},
"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"
]
},
"OdsetkiKarneDTO": {
"type": "object",
"properties": {
"Indywidualne": {
"type": "boolean"
},
"OdsetkiRozpoczecie": {
"type": "string",
"enum": [
"NieNaliczaj",
"NieStandardowe",
"WgTerminuPlatnosci",
"Standardowe"
]
},
"OdsetkiStopa": {
"type": "string",
"enum": [
"Ustawowe",
"Indywidualne",
"Maksymalne",
"UstawoweIndywidualne",
"UstawowePodatkowe",
"Wskazane",
"Handlowe",
"UstawoweHandlowe",
"ZaOpoznienie",
"Podatkowe",
"HandloweMedyczne",
"UstawoweHandloweMedyczne"
]
},
"RozpoczecieDni": {
"type": "integer"
},
"DopuszczalnaZwloka": {
"type": "integer"
}
}
},
"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",
"JST"
]
},
"DataOd": {
"$ref": "#/definitions/DataDTO-1"
},
"DataDo": {
"$ref": "#/definitions/DataDTO-1"
},
"RolaPodmiotu": {
"type": "string",
"enum": [
"Inna",
"JednostkaNadrzedna",
"CzlonekGrupyVAT",
"PrzedstawicielGrupyVAT",
"Odbiorca",
"DokonujacyPlatnosci",
"JednostkaSamorzaduTerytorialnego",
"Pracownik",
"Faktor"
]
},
"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"
]
},
"WarunkiHandloweDTO": {
"type": "object",
"properties": {
"TypLimituKredytowego": {
"type": "string",
"enum": [
"Kwota",
"Nieograniczony"
]
},
"LimitKredytu": {
"$ref": "#/definitions/CurrencyDTO"
},
"TypPrzeterminowania": {
"type": "string",
"enum": [
"Kwota",
"Nieograniczony"
]
},
"KontrolaKwota": {
"$ref": "#/definitions/CurrencyDTO"
},
"KontrolaDni": {
"type": "integer"
},
"Efaktura": {
"type": "string",
"enum": [
"Brak",
"Invooclip",
"GreenMail24",
"Email"
]
}
}
}
},
"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"
},
"WarunkiHandlowe": {
"$ref": "#/definitions/WarunkiHandloweDTO"
},
"OdsetkiKarneDTO": {
"$ref": "#/definitions/OdsetkiKarneDTO"
},
"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": "61ece66a-425a-4985-abe9-c0010a0b834b",
  "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,
  "WarunkiHandlowe": {
    "TypLimituKredytowego": "Kwota",
    "LimitKredytu": {
      "Value": 1.0,
      "Symbol": "Symbol"
    },
    "TypPrzeterminowania": "Kwota",
    "KontrolaKwota": {
      "Value": 1.0,
      "Symbol": "Symbol"
    },
    "KontrolaDni": 1,
    "Efaktura": "Brak"
  },
  "OdsetkiKarneDTO": {
    "Indywidualne": false,
    "OdsetkiRozpoczecie": "NieNaliczaj",
    "OdsetkiStopa": "Ustawowe",
    "RozpoczecieDni": 1,
    "DopuszczalnaZwloka": 1
  },
  "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": null,
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "4T2tscJcbu/f0g==",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "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": 2026,
          "Month": 2,
          "Day": 27
        },
        "DataDo": {
          "Year": 2026,
          "Month": 2,
          "Day": 27
        },
        "RolaPodmiotu": "Inna",
        "OdbiorcaPlatnik": false
      }
    ],
    "KontrahenciZastapieni": [
      {
        "ID": 1,
        "Kod": "Kod",
        "Nazwa": "Nazwa"
      }
    ]
  },
  "ID": 1,
  "Features": [
    {
      "Name": "Name",
      "Value": null,
      "Type": "Type",
      "UpdateDate": null
    }
  ],
  "Attachments": [
    {
      "ID": 1,
      "Name": "Name",
      "Parent": 1,
      "Description": "Description",
      "IsDefault": false,
      "SendEmail": false,
      "Extension": "Extension",
      "Link": "Link",
      "SubType": "None",
      "Base64": "UYo/dzXcr0Ye2Q==",
      "Features": [
        {
          "Name": "Name",
          "Value": null,
          "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",
"JST"
]
},
"DataOd": {
"$ref": "#/definitions/DataDTO"
},
"DataDo": {
"$ref": "#/definitions/DataDTO"
},
"RolaPodmiotu": {
"type": "string",
"enum": [
"Inna",
"JednostkaNadrzedna",
"CzlonekGrupyVAT",
"PrzedstawicielGrupyVAT",
"Odbiorca",
"DokonujacyPlatnosci",
"JednostkaSamorzaduTerytorialnego",
"Pracownik",
"Faktor"
]
},
"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": 2026,
    "Month": 2,
    "Day": 27
  },
  "DataDo": {
    "Year": 2026,
    "Month": 2,
    "Day": 27
  },
  "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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"Name",
"Value"
]
},
"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": null,
          "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": "VxHKEqG3QXj3/g==",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"Name",
"Value"
]
},
"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": null,
          "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": "VUXm3h44YFcNzg==",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"Name",
"Value"
]
},
"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": null,
          "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": "yp89UT+kVLYazA==",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "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": "2026-02-27T16:12:04.6763245Z"
}
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": "2026-02-27T16:12:04.6800279Z",
  "SourceID": 1,
  "HideErrors": false,
  "Extended": false,
  "LastID": 1,
  "PacketSize": 1,
  "Conditions": [
    {
      "LogicalOperator": "And",
      "Operator": "Equal",
      "ColumnName": "ColumnName",
      "FilterValue": "FilterValue"
    }
  ],
  "UpdateDate": {
    "Year": 2026,
    "Month": 2,
    "Day": 27
  }
}
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": "2026-02-27T16:12:04.6836028Z",
        "TermToExport": "2026-02-27T16:12:04.6836091Z",
        "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.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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name",
"Value"
]
},
"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": 2026,
        "Month": 2,
        "Day": 27
      },
      "StanRozliczenia": "Nierozliczony",
      "Guid": "e52f9778-27d1-4968-aac5-3b31cd17f081",
      "Podmiot": {
        "TypPodmiotu": "NieOkreślony",
        "ID": 1,
        "Kod": "Kod",
        "Guid": "9d5bc9b0-a170-463e-9a79-dffe2d35c190",
        "ExternalID": "ExternalID",
        "EuVAT": "EuVAT",
        "Miejscowosc": "Miejscowosc"
      },
      "EwidencjaSP": "EwidencjaSP",
      "SposobZaplaty": "SposobZaplaty",
      "Rachunek26": "Rachunek26",
      "Opis": "Opis",
      "Termin": {
        "Year": 2026,
        "Month": 2,
        "Day": 27
      },
      "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": null,
          "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": "1UoiHu9XZSdQ2w==",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name",
"Value"
]
},
"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": 2026,
      "Month": 2,
      "Day": 27
    },
    "DataEwidenjci": {
      "Year": 2026,
      "Month": 2,
      "Day": 27
    },
    "Numer": "Numer",
    "Opis": "Opis",
    "Dekrety": [
      {
        "Numer": "Numer",
        "Data": {
          "Year": 2026,
          "Month": 2,
          "Day": 27
        },
        "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": null,
                  "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": "eCZjcFbyv464pw==",
                  "Features": [
                    {
                      "Name": "Name",
                      "Value": null,
                      "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": null,
                "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": "wXbRCxh8hM0spg==",
                "Features": [
                  {
                    "Name": "Name",
                    "Value": null,
                    "Type": "Type",
                    "UpdateDate": null
                  }
                ]
              }
            ]
          }
        ],
        "ID": 1,
        "AttachmentsCount": 1,
        "TableName": "TableName",
        "Features": [
          {
            "Name": "Name",
            "Value": null,
            "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": "SKsMrN1miiFrZw==",
            "Features": [
              {
                "Name": "Name",
                "Value": null,
                "Type": "Type",
                "UpdateDate": null
              }
            ]
          }
        ]
      }
    ],
    "ID": 1,
    "AttachmentsCount": 1,
    "TableName": "TableName",
    "Features": [
      {
        "Name": "Name",
        "Value": null,
        "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": "V0HP8tiCRjXjnA==",
        "Features": [
          {
            "Name": "Name",
            "Value": null,
            "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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name",
"Value"
]
},
"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": "9d932d2b-adc5-4478-b3f6-f554fc697346",
    "DataAktualnosci": {
      "Year": 2026,
      "Month": 2,
      "Day": 27
    },
    "OkresOd": {
      "Year": 2026,
      "Month": 2,
      "Day": 27
    },
    "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": null,
        "Type": "Type",
        "UpdateDate": null
      }
    ],
    "Attachments": [
      {
        "ID": 1,
        "Name": "Name",
        "Parent": 1,
        "Description": "Description",
        "IsDefault": false,
        "SendEmail": false,
        "Extension": "Extension",
        "Link": "Link",
        "SubType": "None",
        "Base64": "b1+cMOl/8y7ToQ==",
        "Features": [
          {
            "Name": "Name",
            "Value": null,
            "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": "afd1395b-583b-4694-abeb-7ac7fda324a4",
  "CechaExternalID": "CechaExternalID",
  "DataAktualnosci": {
    "Year": 2026,
    "Month": 2,
    "Day": 27
  },
  "IDs": [
    1
  ],
  "LastID": 1,
  "PacketSize": 1,
  "Conditions": [
    {
      "LogicalOperator": "And",
      "Operator": "Equal",
      "ColumnName": "ColumnName",
      "FilterValue": "FilterValue"
    }
  ],
  "UpdateDate": {
    "Year": 2026,
    "Month": 2,
    "Day": 27
  }
}
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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"Name",
"Value"
]
},
"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": "3ce8d047-c7de-426e-afee-cd48a9800d21",
      "Kod": "Kod",
      "NumerAkt": "NumerAkt",
      "Imie": "Imie",
      "ImieDrugie": "ImieDrugie",
      "Nazwisko": "Nazwisko",
      "Email": "Email",
      "ID": 1,
      "AttachmentsCount": 1,
      "TableName": "TableName",
      "Features": [
        {
          "Name": "Name",
          "Value": null,
          "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": "tut/+52T0EyCAQ==",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "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": "42f21c15-45ab-4fc5-88ca-55d0daa13b1b"
}
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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name",
"Value"
]
},
"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": 2026,
          "Month": 2,
          "Day": 27
        },
        "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": null,
                "Type": "Type",
                "UpdateDate": null
              }
            ],
            "Attachments": [
              {
                "ID": 1,
                "Name": "Name",
                "Parent": 1,
                "Description": "Description",
                "IsDefault": false,
                "SendEmail": false,
                "Extension": "Extension",
                "Link": "Link",
                "SubType": "None",
                "Base64": "UzYeqGiW7+cM2A==",
                "Features": [
                  {
                    "Name": "Name",
                    "Value": null,
                    "Type": "Type",
                    "UpdateDate": null
                  }
                ]
              }
            ]
          }
        ],
        "ID": 1,
        "Features": [
          {
            "Name": "Name",
            "Value": null,
            "Type": "Type",
            "UpdateDate": null
          }
        ],
        "Attachments": [
          {
            "ID": 1,
            "Name": "Name",
            "Parent": 1,
            "Description": "Description",
            "IsDefault": false,
            "SendEmail": false,
            "Extension": "Extension",
            "Link": "Link",
            "SubType": "None",
            "Base64": "4uAH/Zh4yqOg3A==",
            "Features": [
              {
                "Name": "Name",
                "Value": null,
                "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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name",
"Value"
]
},
"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": 2026,
          "Month": 2,
          "Day": 27
        },
        "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": null,
                "Type": "Type",
                "UpdateDate": null
              }
            ],
            "Attachments": [
              {
                "ID": 1,
                "Name": "Name",
                "Parent": 1,
                "Description": "Description",
                "IsDefault": false,
                "SendEmail": false,
                "Extension": "Extension",
                "Link": "Link",
                "SubType": "None",
                "Base64": "hIJV1cOYkSLjbA==",
                "Features": [
                  {
                    "Name": "Name",
                    "Value": null,
                    "Type": "Type",
                    "UpdateDate": null
                  }
                ]
              }
            ]
          }
        ],
        "PracaZdalna": false,
        "ID": 1,
        "Features": [
          {
            "Name": "Name",
            "Value": null,
            "Type": "Type",
            "UpdateDate": null
          }
        ],
        "Attachments": [
          {
            "ID": 1,
            "Name": "Name",
            "Parent": 1,
            "Description": "Description",
            "IsDefault": false,
            "SendEmail": false,
            "Extension": "Extension",
            "Link": "Link",
            "SubType": "None",
            "Base64": "Fl17zz3NToIexg==",
            "Features": [
              {
                "Name": "Name",
                "Value": null,
                "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": 2026,
      "Month": 2,
      "Day": 27
    },
    "DataDo": {
      "Year": 2026,
      "Month": 2,
      "Day": 27
    }
  },
  "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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name",
"Value"
]
},
"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": 2026,
        "Month": 2,
        "Day": 27
      },
      "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": null,
              "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": "olEjCz2vEyikTQ==",
              "Features": [
                {
                  "Name": "Name",
                  "Value": null,
                  "Type": "Type",
                  "UpdateDate": null
                }
              ]
            }
          ]
        }
      ],
      "ID": 1,
      "AttachmentsCount": 1,
      "TableName": "TableName",
      "Features": [
        {
          "Name": "Name",
          "Value": null,
          "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": "Nm4zzoR1uc1sbA==",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "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": 2026,
      "Month": 2,
      "Day": 27
    },
    "DataDo": {
      "Year": 2026,
      "Month": 2,
      "Day": 27
    }
  },
  "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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name",
"Value"
]
},
"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": 2026,
        "Month": 2,
        "Day": 27
      },
      "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": null,
              "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": "ckHMye0dX3wocQ==",
              "Features": [
                {
                  "Name": "Name",
                  "Value": null,
                  "Type": "Type",
                  "UpdateDate": null
                }
              ]
            }
          ]
        }
      ],
      "PracaZdalna": false,
      "ID": 1,
      "AttachmentsCount": 1,
      "TableName": "TableName",
      "Features": [
        {
          "Name": "Name",
          "Value": null,
          "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": "uOoLAbUW94b18A==",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name",
"Value"
]
},
"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": 2026,
        "Month": 2,
        "Day": 27
      },
      "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": null,
              "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": "nszVkvitsvdVzQ==",
              "Features": [
                {
                  "Name": "Name",
                  "Value": null,
                  "Type": "Type",
                  "UpdateDate": null
                }
              ]
            }
          ]
        }
      ],
      "ID": 1,
      "AttachmentsCount": 1,
      "TableName": "TableName",
      "Features": [
        {
          "Name": "Name",
          "Value": null,
          "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": "nn7NQgJCefDfhA==",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "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": 2026,
      "Month": 2,
      "Day": 27
    },
    "DataDo": {
      "Year": 2026,
      "Month": 2,
      "Day": 27
    }
  },
  "Definicja": "Definicja",
  "DodatkoweInformacje": false,
  "LastID": 1,
  "PacketSize": 1,
  "Conditions": [
    {
      "LogicalOperator": "And",
      "Operator": "Equal",
      "ColumnName": "ColumnName",
      "FilterValue": "FilterValue"
    }
  ],
  "UpdateDate": {
    "Year": 2026,
    "Month": 2,
    "Day": 27
  }
}
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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name",
"Value"
]
},
"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": "d04ce19e-75c8-4bbd-b6c7-c4f9e242442f",
      "IDPracownika": 1,
      "KodPracownika": "KodPracownika",
      "Definicja": "Definicja",
      "DataOd": {
        "Year": 2026,
        "Month": 2,
        "Day": 27
      },
      "DataDo": {
        "Year": 2026,
        "Month": 2,
        "Day": 27
      },
      "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": "2026-02-27T16:12:04.7770094Z",
      "Korekty": [
        {
          "IDPracownika": 1,
          "KodPracownika": "KodPracownika",
          "Definicja": "Definicja",
          "DataOd": {
            "Year": 2026,
            "Month": 2,
            "Day": 27
          },
          "DataDo": {
            "Year": 2026,
            "Month": 2,
            "Day": 27
          },
          "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": "2026-02-27T16:12:04.7770962Z",
          "ID": 1,
          "AttachmentsCount": 1,
          "TableName": "TableName",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "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": "CldXAH2AuVySDw==",
              "Features": [
                {
                  "Name": "Name",
                  "Value": null,
                  "Type": "Type",
                  "UpdateDate": null
                }
              ]
            }
          ]
        }
      ],
      "ZastepstwoKodPracownika": "ZastepstwoKodPracownika",
      "ID": 1,
      "AttachmentsCount": 1,
      "TableName": "TableName",
      "Features": [
        {
          "Name": "Name",
          "Value": null,
          "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": "dj9k4Hka10dy5A==",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"Name",
"Value"
]
},
"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": null,
          "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": "8dP7PHyFMwZYVw==",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name",
"Value"
]
},
"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": "73950f2d-3b3b-48fd-8f2a-b9ae279e292a",
  "IDPracownika": 1,
  "KodPracownika": "KodPracownika",
  "Definicja": "Definicja",
  "DataOd": {
    "Year": 2026,
    "Month": 2,
    "Day": 27
  },
  "DataDo": {
    "Year": 2026,
    "Month": 2,
    "Day": 27
  },
  "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": "2026-02-27T16:12:04.7916858Z",
  "Korekty": [
    {
      "IDPracownika": 1,
      "KodPracownika": "KodPracownika",
      "Definicja": "Definicja",
      "DataOd": {
        "Year": 2026,
        "Month": 2,
        "Day": 27
      },
      "DataDo": {
        "Year": 2026,
        "Month": 2,
        "Day": 27
      },
      "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": "2026-02-27T16:12:04.7918156Z",
      "ID": 1,
      "Features": [
        {
          "Name": "Name",
          "Value": null,
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "dbzvUp7Uobo3Ow==",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "ZastepstwoKodPracownika": "ZastepstwoKodPracownika",
  "ID": 1,
  "Features": [
    {
      "Name": "Name",
      "Value": null,
      "Type": "Type",
      "UpdateDate": null
    }
  ],
  "Attachments": [
    {
      "ID": 1,
      "Name": "Name",
      "Parent": 1,
      "Description": "Description",
      "IsDefault": false,
      "SendEmail": false,
      "Extension": "Extension",
      "Link": "Link",
      "SubType": "None",
      "Base64": "Mx21I+fT8KYXjA==",
      "Features": [
        {
          "Name": "Name",
          "Value": null,
          "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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name",
"Value"
]
},
"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": 2026,
    "Month": 2,
    "Day": 27
  },
  "DataDo": {
    "Year": 2026,
    "Month": 2,
    "Day": 27
  },
  "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": "2026-02-27T16:12:04.7975460Z",
  "ID": 1,
  "Features": [
    {
      "Name": "Name",
      "Value": null,
      "Type": "Type",
      "UpdateDate": null
    }
  ],
  "Attachments": [
    {
      "ID": 1,
      "Name": "Name",
      "Parent": 1,
      "Description": "Description",
      "IsDefault": false,
      "SendEmail": false,
      "Extension": "Extension",
      "Link": "Link",
      "SubType": "None",
      "Base64": "14TwrOhhza3TgA==",
      "Features": [
        {
          "Name": "Name",
          "Value": null,
          "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": "e03a430e-a3b9-423e-acbb-fe1ae95a3fe4"
}
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": 2026,
    "Month": 2,
    "Day": 27
  },
  "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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name",
"Value"
]
},
"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": 2026,
          "Month": 2,
          "Day": 27
        },
        "DataDo": {
          "Year": 2026,
          "Month": 2,
          "Day": 27
        }
      },
      "LimitDni": 1,
      "LimitZaOkresWgWymiaru": 1.0,
      "PozostaloDni": 1.0,
      "LimitGodzin": "LimitGodzin",
      "PozostaloGodzin": "PozostaloGodzin",
      "KorektaGodz": "KorektaGodz",
      "ID": 1,
      "AttachmentsCount": 1,
      "TableName": "TableName",
      "Features": [
        {
          "Name": "Name",
          "Value": null,
          "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": "YQy0dQaQZpBv1Q==",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "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": 2026,
      "Month": 2,
      "Day": 27
    },
    "DataDo": {
      "Year": 2026,
      "Month": 2,
      "Day": 27
    }
  }
}
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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name",
"Value"
]
},
"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": "7e0758d5-e762-4e4c-adde-2a9558242490",
        "IDPracownika": 1,
        "KodPracownika": "KodPracownika",
        "Definicja": "Definicja",
        "DataOd": {
          "Year": 2026,
          "Month": 2,
          "Day": 27
        },
        "DataDo": {
          "Year": 2026,
          "Month": 2,
          "Day": 27
        },
        "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": "2026-02-27T16:12:04.8249247Z",
        "Korekty": [
          {
            "IDPracownika": 1,
            "KodPracownika": "KodPracownika",
            "Definicja": "Definicja",
            "DataOd": {
              "Year": 2026,
              "Month": 2,
              "Day": 27
            },
            "DataDo": {
              "Year": 2026,
              "Month": 2,
              "Day": 27
            },
            "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": "2026-02-27T16:12:04.8250337Z",
            "ID": 1,
            "AttachmentsCount": 1,
            "TableName": "TableName",
            "Features": [
              {
                "Name": "Name",
                "Value": null,
                "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": "qXalSCoCRte7OQ==",
                "Features": [
                  {
                    "Name": "Name",
                    "Value": null,
                    "Type": "Type",
                    "UpdateDate": null
                  }
                ]
              }
            ]
          }
        ],
        "ZastepstwoKodPracownika": "ZastepstwoKodPracownika",
        "ID": 1,
        "AttachmentsCount": 1,
        "TableName": "TableName",
        "Features": [
          {
            "Name": "Name",
            "Value": null,
            "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": "TDny39FUat5amQ==",
            "Features": [
              {
                "Name": "Name",
                "Value": null,
                "Type": "Type",
                "UpdateDate": null
              }
            ]
          }
        ]
      },
      "DzienPracyDTO": {
        "IDPracownika": 1,
        "KodPracownika": "KodPracownika",
        "Data": {
          "Year": 2026,
          "Month": 2,
          "Day": 27
        },
        "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": null,
                "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": "OTQP4wwC6MPWrA==",
                "Features": [
                  {
                    "Name": "Name",
                    "Value": null,
                    "Type": "Type",
                    "UpdateDate": null
                  }
                ]
              }
            ]
          }
        ],
        "PracaZdalna": false,
        "ID": 1,
        "AttachmentsCount": 1,
        "TableName": "TableName",
        "Features": [
          {
            "Name": "Name",
            "Value": null,
            "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": "IQO1lrcEVyo0kg==",
            "Features": [
              {
                "Name": "Name",
                "Value": null,
                "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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name",
"Value"
]
}
},
"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": "6cfa70f8-5270-4128-822f-6f8ffefcc4c5",
  "IDPracownika": 1,
  "KodPracownika": "KodPracownika",
  "DataOd": {
    "Year": 2026,
    "Month": 2,
    "Day": 27
  },
  "DataDo": {
    "Year": 2026,
    "Month": 2,
    "Day": 27
  },
  "Numer": "Numer",
  "ID": 1,
  "Features": [
    {
      "Name": "Name",
      "Value": null,
      "Type": "Type",
      "UpdateDate": null
    }
  ],
  "Attachments": [
    {
      "ID": 1,
      "Name": "Name",
      "Parent": 1,
      "Description": "Description",
      "IsDefault": false,
      "SendEmail": false,
      "Extension": "Extension",
      "Link": "Link",
      "SubType": "None",
      "Base64": "+7fvb1uhK04MYg==",
      "Features": [
        {
          "Name": "Name",
          "Value": null,
          "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": 2026,
    "Month": 2,
    "Day": 27
  }
}
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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name",
"Value"
]
},
"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": "86b93d22-9a63-4c3b-ae2a-0eaeca6b303a",
      "IDPracownika": 1,
      "KodPracownika": "KodPracownika",
      "DataOd": {
        "Year": 2026,
        "Month": 2,
        "Day": 27
      },
      "DataDo": {
        "Year": 2026,
        "Month": 2,
        "Day": 27
      },
      "Numer": "Numer",
      "ID": 1,
      "AttachmentsCount": 1,
      "TableName": "TableName",
      "Features": [
        {
          "Name": "Name",
          "Value": null,
          "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": "ixkvtJ5ikKbbzg==",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "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": 2026,
    "Month": 2,
    "Day": 27
  }
}
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": 2026,
        "Month": 2,
        "Day": 27
      },
      "PracaZdalnaNaDzien": false,
      "WniosekPracaZdalna": {
        "Definicja": "Definicja",
        "DataZlozenia": {
          "Year": 2026,
          "Month": 2,
          "Day": 27
        },
        "DataDecyzji": {
          "Year": 2026,
          "Month": 2,
          "Day": 27
        },
        "Okres": {
          "DataOd": {
            "Year": 2026,
            "Month": 2,
            "Day": 27
          },
          "DataDo": {
            "Year": 2026,
            "Month": 2,
            "Day": 27
          }
        }
      }
    }
  ],
  "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": 2026,
      "Month": 2,
      "Day": 27
    },
    "DataDo": {
      "Year": 2026,
      "Month": 2,
      "Day": 27
    }
  },
  "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": 2026,
        "Month": 2,
        "Day": 27
      },
      "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": 2026,
      "Month": 2,
      "Day": 27
    },
    "DateTo": {
      "Year": 2026,
      "Month": 2,
      "Day": 27
    }
  },
  "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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name",
"Value"
]
},
"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": 2026,
        "Month": 2,
        "Day": 27
      },
      "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": null,
              "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": "XB3t0955usH7gw==",
              "Features": [
                {
                  "Name": "Name",
                  "Value": null,
                  "Type": "Type",
                  "UpdateDate": null
                }
              ]
            }
          ]
        }
      ],
      "ID": 1,
      "AttachmentsCount": 1,
      "TableName": "TableName",
      "Features": [
        {
          "Name": "Name",
          "Value": null,
          "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": "cxCbKqWgkCHKew==",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "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": 2026,
      "Month": 2,
      "Day": 27
    },
    "DateTo": {
      "Year": 2026,
      "Month": 2,
      "Day": 27
    }
  },
  "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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name",
"Value"
]
},
"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": 2026,
        "Month": 2,
        "Day": 27
      },
      "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": null,
              "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": "d7QIzy+II7S+Ow==",
              "Features": [
                {
                  "Name": "Name",
                  "Value": null,
                  "Type": "Type",
                  "UpdateDate": null
                }
              ]
            }
          ]
        }
      ],
      "ID": 1,
      "AttachmentsCount": 1,
      "TableName": "TableName",
      "Features": [
        {
          "Name": "Name",
          "Value": null,
          "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": "NX2215PSyfV5dg==",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name",
"Value"
]
},
"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": 2026,
          "Month": 2,
          "Day": 27
        },
        "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": null,
                "Type": "Type",
                "UpdateDate": null
              }
            ],
            "Attachments": [
              {
                "ID": 1,
                "Name": "Name",
                "Parent": 1,
                "Description": "Description",
                "IsDefault": false,
                "SendEmail": false,
                "Extension": "Extension",
                "Link": "Link",
                "SubType": "None",
                "Base64": "VSGQGgmyTXU0nA==",
                "Features": [
                  {
                    "Name": "Name",
                    "Value": null,
                    "Type": "Type",
                    "UpdateDate": null
                  }
                ]
              }
            ]
          }
        ],
        "ID": 1,
        "Features": [
          {
            "Name": "Name",
            "Value": null,
            "Type": "Type",
            "UpdateDate": null
          }
        ],
        "Attachments": [
          {
            "ID": 1,
            "Name": "Name",
            "Parent": 1,
            "Description": "Description",
            "IsDefault": false,
            "SendEmail": false,
            "Extension": "Extension",
            "Link": "Link",
            "SubType": "None",
            "Base64": "GDOzLaG5Fi+jWw==",
            "Features": [
              {
                "Name": "Name",
                "Value": null,
                "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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name",
"Value"
]
},
"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": 2026,
          "Month": 2,
          "Day": 27
        },
        "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": null,
                "Type": "Type",
                "UpdateDate": null
              }
            ],
            "Attachments": [
              {
                "ID": 1,
                "Name": "Name",
                "Parent": 1,
                "Description": "Description",
                "IsDefault": false,
                "SendEmail": false,
                "Extension": "Extension",
                "Link": "Link",
                "SubType": "None",
                "Base64": "b6JLdUxZmbm1Qw==",
                "Features": [
                  {
                    "Name": "Name",
                    "Value": null,
                    "Type": "Type",
                    "UpdateDate": null
                  }
                ]
              }
            ]
          }
        ],
        "ID": 1,
        "Features": [
          {
            "Name": "Name",
            "Value": null,
            "Type": "Type",
            "UpdateDate": null
          }
        ],
        "Attachments": [
          {
            "ID": 1,
            "Name": "Name",
            "Parent": 1,
            "Description": "Description",
            "IsDefault": false,
            "SendEmail": false,
            "Extension": "Extension",
            "Link": "Link",
            "SubType": "None",
            "Base64": "ViUobKfh8wmgzQ==",
            "Features": [
              {
                "Name": "Name",
                "Value": null,
                "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": 2026
}
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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name",
"Value"
]
},
"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": 2026,
        "Month": 2,
        "Day": 27
      },
      "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": null,
              "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": "1ZVfzlyi/QYk7g==",
              "Features": [
                {
                  "Name": "Name",
                  "Value": null,
                  "Type": "Type",
                  "UpdateDate": null
                }
              ]
            }
          ]
        }
      ],
      "ID": 1,
      "AttachmentsCount": 1,
      "TableName": "TableName",
      "Features": [
        {
          "Name": "Name",
          "Value": null,
          "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": "fIjbRk+vVe1Sxw==",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "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": 2026,
      "Month": 2,
      "Day": 27
    },
    "DataDo": {
      "Year": 2026,
      "Month": 2,
      "Day": 27
    }
  },
  "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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name",
"Value"
]
},
"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": "437eb6ba-628f-4078-bcac-6c91656f277a",
      "EmployeeID": 1,
      "EmployeeCode": "EmployeeCode",
      "AbsenceDefinition": "AbsenceDefinition",
      "DateFrom": {
        "Year": 2026,
        "Month": 2,
        "Day": 27
      },
      "DateTo": {
        "Year": 2026,
        "Month": 2,
        "Day": 27
      },
      "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": "2026-02-27T16:12:04.9024337Z",
      "Corrections": [
        {
          "EmployeeID": 1,
          "EmployeeCode": "EmployeeCode",
          "AbsenceDefinition": "AbsenceDefinition",
          "DateFrom": {
            "Year": 2026,
            "Month": 2,
            "Day": 27
          },
          "DateTo": {
            "Year": 2026,
            "Month": 2,
            "Day": 27
          },
          "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": "2026-02-27T16:12:04.9025396Z",
          "ID": 1,
          "AttachmentsCount": 1,
          "TableName": "TableName",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "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": "AN/+cT8mOGEb4A==",
              "Features": [
                {
                  "Name": "Name",
                  "Value": null,
                  "Type": "Type",
                  "UpdateDate": null
                }
              ]
            }
          ]
        }
      ],
      "ID": 1,
      "AttachmentsCount": 1,
      "TableName": "TableName",
      "Features": [
        {
          "Name": "Name",
          "Value": null,
          "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": "bd8SFY/Os4RW1g==",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"Name",
"Value"
]
},
"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": null,
          "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": "nJkiOmwA9uPsNQ==",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name",
"Value"
]
},
"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": "d68033eb-7c17-4b81-b54d-b10d9cfc5e4c",
  "EmployeeID": 1,
  "EmployeeCode": "EmployeeCode",
  "AbsenceDefinition": "AbsenceDefinition",
  "DateFrom": {
    "Year": 2026,
    "Month": 2,
    "Day": 27
  },
  "DateTo": {
    "Year": 2026,
    "Month": 2,
    "Day": 27
  },
  "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": "2026-02-27T16:12:04.9147728Z",
  "Corrections": [
    {
      "EmployeeID": 1,
      "EmployeeCode": "EmployeeCode",
      "AbsenceDefinition": "AbsenceDefinition",
      "DateFrom": {
        "Year": 2026,
        "Month": 2,
        "Day": 27
      },
      "DateTo": {
        "Year": 2026,
        "Month": 2,
        "Day": 27
      },
      "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": "2026-02-27T16:12:04.9150102Z",
      "ID": 1,
      "Features": [
        {
          "Name": "Name",
          "Value": null,
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "y8F/hIkwOSkhZA==",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "ID": 1,
  "Features": [
    {
      "Name": "Name",
      "Value": null,
      "Type": "Type",
      "UpdateDate": null
    }
  ],
  "Attachments": [
    {
      "ID": 1,
      "Name": "Name",
      "Parent": 1,
      "Description": "Description",
      "IsDefault": false,
      "SendEmail": false,
      "Extension": "Extension",
      "Link": "Link",
      "SubType": "None",
      "Base64": "MgZk/vROsDBv3Q==",
      "Features": [
        {
          "Name": "Name",
          "Value": null,
          "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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name",
"Value"
]
},
"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": 2026,
    "Month": 2,
    "Day": 27
  },
  "DateTo": {
    "Year": 2026,
    "Month": 2,
    "Day": 27
  },
  "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": "2026-02-27T16:12:04.9230029Z",
  "ID": 1,
  "Features": [
    {
      "Name": "Name",
      "Value": null,
      "Type": "Type",
      "UpdateDate": null
    }
  ],
  "Attachments": [
    {
      "ID": 1,
      "Name": "Name",
      "Parent": 1,
      "Description": "Description",
      "IsDefault": false,
      "SendEmail": false,
      "Extension": "Extension",
      "Link": "Link",
      "SubType": "None",
      "Base64": "rF2Ke2QsDKEi6w==",
      "Features": [
        {
          "Name": "Name",
          "Value": null,
          "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": "a9f77393-e231-4195-b629-6b338a8ae214"
}
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": 2026,
    "Month": 2,
    "Day": 27
  },
  "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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name",
"Value"
]
},
"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": 2026,
          "Month": 2,
          "Day": 27
        },
        "DateTo": {
          "Year": 2026,
          "Month": 2,
          "Day": 27
        }
      },
      "DaysLimit": 1,
      "LimitForThePeriodByFTE": 1.0,
      "DaysLeft": 1.0,
      "HoursLimit": "HoursLimit",
      "HoursLeft": "HoursLeft",
      "CorrectionHours": "CorrectionHours",
      "ID": 1,
      "AttachmentsCount": 1,
      "TableName": "TableName",
      "Features": [
        {
          "Name": "Name",
          "Value": null,
          "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": "xrSbfRZMFTShCQ==",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "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": 2026,
      "Month": 2,
      "Day": 27
    },
    "DataDo": {
      "Year": 2026,
      "Month": 2,
      "Day": 27
    }
  }
}
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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name",
"Value"
]
},
"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": "162a84c5-ad5f-49fa-8fb6-20a5c6ede36c",
        "IDPracownika": 1,
        "KodPracownika": "KodPracownika",
        "Definicja": "Definicja",
        "DataOd": {
          "Year": 2026,
          "Month": 2,
          "Day": 27
        },
        "DataDo": {
          "Year": 2026,
          "Month": 2,
          "Day": 27
        },
        "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": "2026-02-27T16:12:04.9428588Z",
        "Korekty": [
          {
            "IDPracownika": 1,
            "KodPracownika": "KodPracownika",
            "Definicja": "Definicja",
            "DataOd": {
              "Year": 2026,
              "Month": 2,
              "Day": 27
            },
            "DataDo": {
              "Year": 2026,
              "Month": 2,
              "Day": 27
            },
            "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": "2026-02-27T16:12:04.9429412Z",
            "ID": 1,
            "AttachmentsCount": 1,
            "TableName": "TableName",
            "Features": [
              {
                "Name": "Name",
                "Value": null,
                "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": "6ri+f3bJ5q1gFw==",
                "Features": [
                  {
                    "Name": "Name",
                    "Value": null,
                    "Type": "Type",
                    "UpdateDate": null
                  }
                ]
              }
            ]
          }
        ],
        "ZastepstwoKodPracownika": "ZastepstwoKodPracownika",
        "ID": 1,
        "AttachmentsCount": 1,
        "TableName": "TableName",
        "Features": [
          {
            "Name": "Name",
            "Value": null,
            "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": "oqb9Nj95iU5DbA==",
            "Features": [
              {
                "Name": "Name",
                "Value": null,
                "Type": "Type",
                "UpdateDate": null
              }
            ]
          }
        ]
      },
      "WorkDay": {
        "EmployeeID": 1,
        "EmployeeCode": "EmployeeCode",
        "Date": {
          "Year": 2026,
          "Month": 2,
          "Day": 27
        },
        "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": null,
                "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": "rQ23CSNMeqjW3Q==",
                "Features": [
                  {
                    "Name": "Name",
                    "Value": null,
                    "Type": "Type",
                    "UpdateDate": null
                  }
                ]
              }
            ]
          }
        ],
        "ID": 1,
        "AttachmentsCount": 1,
        "TableName": "TableName",
        "Features": [
          {
            "Name": "Name",
            "Value": null,
            "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": "w8/FKM4V6Vy8+Q==",
            "Features": [
              {
                "Name": "Name",
                "Value": null,
                "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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name",
"Value"
]
}
},
"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": "9bcb219b-86aa-4833-85eb-c9a91f4f5049",
  "EmployeeID": 1,
  "EmployeeCode": "EmployeeCode",
  "DateFrom": {
    "Year": 2026,
    "Month": 2,
    "Day": 27
  },
  "DateTo": {
    "Year": 2026,
    "Month": 2,
    "Day": 27
  },
  "Number": "Number",
  "ID": 1,
  "Features": [
    {
      "Name": "Name",
      "Value": null,
      "Type": "Type",
      "UpdateDate": null
    }
  ],
  "Attachments": [
    {
      "ID": 1,
      "Name": "Name",
      "Parent": 1,
      "Description": "Description",
      "IsDefault": false,
      "SendEmail": false,
      "Extension": "Extension",
      "Link": "Link",
      "SubType": "None",
      "Base64": "hIBpV7hboWGBow==",
      "Features": [
        {
          "Name": "Name",
          "Value": null,
          "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": 2026,
    "Month": 2,
    "Day": 27
  },
  "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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name",
"Value"
]
},
"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": "5eb8e9bf-cab8-4804-a01f-559526ea4eb4",
      "EmployeeID": 1,
      "EmployeeCode": "EmployeeCode",
      "DateFrom": {
        "Year": 2026,
        "Month": 2,
        "Day": 27
      },
      "DateTo": {
        "Year": 2026,
        "Month": 2,
        "Day": 27
      },
      "Number": "Number",
      "ID": 1,
      "AttachmentsCount": 1,
      "TableName": "TableName",
      "Features": [
        {
          "Name": "Name",
          "Value": null,
          "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": "s5hL4/bNuO0/Lw==",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "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": 2026,
      "Month": 2,
      "Day": 27
    },
    "DataDo": {
      "Year": 2026,
      "Month": 2,
      "Day": 27
    }
  },
  "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": 2026,
        "Month": 2,
        "Day": 27
      },
      "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": 2026,
    "Month": 2,
    "Day": 27
  }
}
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": 2026,
        "Month": 2,
        "Day": 27
      },
      "RemoteWorkForDay": false,
      "RemoteWorkRequest": {
        "Definicja": "Definicja",
        "DataZlozenia": {
          "Year": 2026,
          "Month": 2,
          "Day": 27
        },
        "DataDecyzji": {
          "Year": 2026,
          "Month": 2,
          "Day": 27
        },
        "Okres": {
          "DataOd": {
            "Year": 2026,
            "Month": 2,
            "Day": 27
          },
          "DataDo": {
            "Year": 2026,
            "Month": 2,
            "Day": 27
          }
        }
      }
    }
  ],
  "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: 2512.1.1-0.2.1.1+e8931b994e144e9f587234a151140aa194248537,
Last modified: 6.02.2026 15:27:42

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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name",
"Value"
]
},
"KSeFDTO": {
"type": "object",
"properties": {
"StatusKSeF": {
"type": "string",
"enum": [
"NieDotyczy",
"Brak",
"DoWyslania",
"Wyslany",
"Robocze",
"Przyjety",
"Razem",
"Odrzucony"
]
},
"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": "88db3aed-fc7d-4e0c-ba17-fa262a925ce2",
  "DataOperacji": {
    "Year": 2026,
    "Month": 2,
    "Day": 27
  },
  "Data": {
    "Year": 2026,
    "Month": 2,
    "Day": 27
  },
  "DataDostawy": {
    "Year": 2026,
    "Month": 2,
    "Day": 27
  },
  "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": 2026,
            "Month": 2,
            "Day": 27
          },
          "Symbol": "Symbol",
          "Wymiar": "Wymiar",
          "Kwota": {
            "Value": 1.0,
            "Symbol": "Symbol"
          },
          "KwotaDodatkowa": {
            "Value": 1.0,
            "Symbol": "Symbol"
          },
          "Opis": "Opis",
          "ID": 1,
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "Type": "Type",
              "UpdateDate": null
            }
          ],
          "Attachments": [
            {
              "ID": 1,
              "Name": "Name",
              "Parent": 1,
              "Description": "Description",
              "IsDefault": false,
              "SendEmail": false,
              "Extension": "Extension",
              "Link": "Link",
              "SubType": "None",
              "Base64": "cimQSDvtPp5u8w==",
              "Features": [
                {
                  "Name": "Name",
                  "Value": null,
                  "Type": "Type",
                  "UpdateDate": null
                }
              ]
            }
          ]
        }
      ],
      "ID": 1,
      "Features": [
        {
          "Name": "Name",
          "Value": null,
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "xpkFbUAx8ExmyQ==",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "Platnosci": null,
  "NumerPelny": "NumerPelny",
  "WartoscCy": {
    "Value": 1.0,
    "Symbol": "Symbol"
  },
  "Seria": "Seria",
  "Opis": "Opis",
  "NumerObcy": {
    "Numer": "Numer",
    "DataOtrzymania": {
      "Year": 2026,
      "Month": 2,
      "Day": 27
    }
  },
  "Korekta": {
    "NumerZrodlowy": "NumerZrodlowy",
    "DataDokumentu": {
      "Year": 2026,
      "Month": 2,
      "Day": 27
    }
  },
  "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": 2026,
      "Month": 2,
      "Day": 27
    },
    "DataPrzyjeciaKSeF": {
      "Year": 2026,
      "Month": 2,
      "Day": 27
    },
    "Link": "Link",
    "ContentXML": "ContentXML"
  },
  "ID": 1,
  "Features": [
    {
      "Name": "Name",
      "Value": null,
      "Type": "Type",
      "UpdateDate": null
    }
  ],
  "Attachments": [
    {
      "ID": 1,
      "Name": "Name",
      "Parent": 1,
      "Description": "Description",
      "IsDefault": false,
      "SendEmail": false,
      "Extension": "Extension",
      "Link": "Link",
      "SubType": "None",
      "Base64": "iRNGkNl4NSSkMw==",
      "Features": [
        {
          "Name": "Name",
          "Value": null,
          "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": "29dea33a-f756-4d1c-a1d3-d165214a7f99",
  "NumerDokumentu": "NumerDokumentu",
  "Kurs": 1.0,
  "DataWystawienia": {
    "Year": 2026,
    "Month": 2,
    "Day": 27
  },
  "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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"Name",
"Value"
]
},
"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": "GqcsDpREp6RD3g==",
    "Features": [
      {
        "Name": "Name",
        "Value": null,
        "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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"Name",
"Value"
]
}
},
"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": "65426af0-8c7f-4bc9-ba17-53b816f5acdb",
  "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": null,
      "Type": "Type",
      "UpdateDate": null
    }
  ],
  "Attachments": [
    {
      "ID": 1,
      "Name": "Name",
      "Parent": 1,
      "Description": "Description",
      "IsDefault": false,
      "SendEmail": false,
      "Extension": "Extension",
      "Link": "Link",
      "SubType": "None",
      "Base64": "c1MyS5FrXEF+Bg==",
      "Features": [
        {
          "Name": "Name",
          "Value": null,
          "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": 2026,
    "Month": 2,
    "Day": 27
  }
}
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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"Name",
"Value"
]
},
"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": "822f1a87-2ffc-47cc-86fe-98c983569dea",
      "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": null,
          "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": "hdY/8ZLHOz0lFQ==",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "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": 2026,
    "Month": 2,
    "Day": 27
  }
}
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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name",
"Value"
]
},
"KSeFDTO": {
"type": "object",
"properties": {
"StatusKSeF": {
"type": "string",
"enum": [
"NieDotyczy",
"Brak",
"DoWyslania",
"Wyslany",
"Robocze",
"Przyjety",
"Razem",
"Odrzucony"
]
},
"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": "cdac3adc-e795-4c36-a904-30db157444e2",
      "DataOperacji": {
        "Year": 2026,
        "Month": 2,
        "Day": 27
      },
      "Data": {
        "Year": 2026,
        "Month": 2,
        "Day": 27
      },
      "DataDostawy": {
        "Year": 2026,
        "Month": 2,
        "Day": 27
      },
      "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": 2026,
                "Month": 2,
                "Day": 27
              },
              "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": null,
                  "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": "idQHtkwd9xYZ5w==",
                  "Features": [
                    {
                      "Name": "Name",
                      "Value": null,
                      "Type": "Type",
                      "UpdateDate": null
                    }
                  ]
                }
              ]
            }
          ],
          "ID": 1,
          "AttachmentsCount": 1,
          "TableName": "TableName",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "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": "CmAPPsWuQg2MCg==",
              "Features": [
                {
                  "Name": "Name",
                  "Value": null,
                  "Type": "Type",
                  "UpdateDate": null
                }
              ]
            }
          ]
        }
      ],
      "Platnosci": null,
      "NumerPelny": "NumerPelny",
      "WartoscCy": {
        "Value": 1.0,
        "Symbol": "Symbol"
      },
      "Seria": "Seria",
      "Opis": "Opis",
      "NumerObcy": {
        "Numer": "Numer",
        "DataOtrzymania": {
          "Year": 2026,
          "Month": 2,
          "Day": 27
        }
      },
      "Korekta": {
        "NumerZrodlowy": "NumerZrodlowy",
        "DataDokumentu": {
          "Year": 2026,
          "Month": 2,
          "Day": 27
        }
      },
      "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": 2026,
          "Month": 2,
          "Day": 27
        },
        "DataPrzyjeciaKSeF": {
          "Year": 2026,
          "Month": 2,
          "Day": 27
        },
        "Link": "Link",
        "ContentXML": "ContentXML"
      },
      "ID": 1,
      "AttachmentsCount": 1,
      "TableName": "TableName",
      "Features": [
        {
          "Name": "Name",
          "Value": null,
          "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": "l4jqI1F/BuSJLQ==",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "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": 2026,
    "Month": 2,
    "Day": 27
  }
}
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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"Name",
"Value"
]
},
"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": null,
          "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": "L96Sp1SySj1Ngg==",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "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: 2512.1.1-0.3.4.3+dafb81a01292dd2853dd5f9689d17c4c7948e334,
Last modified: 6.02.2026 15:32:42

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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name",
"Value"
]
},
"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",
"SystemKaucyjny"
]
},
"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": "2db7899b-f4d2-47f1-a231-4bd2debc8f2a",
  "DataEwidencji": {
    "Year": 2026,
    "Month": 2,
    "Day": 27
  },
  "DataWplywu": {
    "Year": 2026,
    "Month": 2,
    "Day": 27
  },
  "DataWystawienia": {
    "Year": 2026,
    "Month": 2,
    "Day": 27
  },
  "DataOperacji": {
    "Year": 2026,
    "Month": 2,
    "Day": 27
  },
  "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": 2026,
      "Month": 2,
      "Day": 27
    }
  },
  "Podmiot": {
    "TypPodmiotu": "NieOkreślony",
    "ID": 1,
    "Kod": "Kod",
    "Guid": "8c7491ef-55a9-4822-9fc0-4591a23cfe3c",
    "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": null,
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "QsZ8/sHKMBZZAQ==",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "Platnosci": [
    {
      "Guid": "c141da8d-6bb2-49d4-b7ea-5f1a8a14e569",
      "Podmiot": {
        "TypPodmiotu": "NieOkreślony",
        "ID": 1,
        "Kod": "Kod",
        "Guid": "3cd71509-83f6-496a-88b9-edb75790bf7b",
        "ExternalID": "ExternalID",
        "EuVAT": "EuVAT",
        "Miejscowosc": "Miejscowosc"
      },
      "EwidencjaSP": "EwidencjaSP",
      "SposobZaplaty": "SposobZaplaty",
      "Rachunek26": "Rachunek26",
      "Opis": "Opis",
      "Termin": {
        "Year": 2026,
        "Month": 2,
        "Day": 27
      },
      "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": null,
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "zYcEYvOAG5T/WA==",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "OpisAnalityczny": [
    {
      "Data": {
        "Year": 2026,
        "Month": 2,
        "Day": 27
      },
      "Symbol": "Symbol",
      "Wymiar": "Wymiar",
      "Kwota": {
        "Value": 1.0,
        "Symbol": "Symbol"
      },
      "KwotaDodatkowa": {
        "Value": 1.0,
        "Symbol": "Symbol"
      },
      "Opis": "Opis",
      "ID": 1,
      "Features": [
        {
          "Name": "Name",
          "Value": null,
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "CyiqgIege3FrvQ==",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "ZadaniaCRM": [
    {
      "Guid": "eb7f4c77-e585-4981-a602-bb9e03c42747",
      "DefinicjaZadaniaSymbol": "DefinicjaZadaniaSymbol",
      "Numer": "Numer",
      "Nazwa": "Nazwa",
      "Opis": "Opis",
      "DataOd": {
        "Year": 2026,
        "Month": 2,
        "Day": 27
      },
      "DataDo": {
        "Year": 2026,
        "Month": 2,
        "Day": 27
      },
      "ProwadzacyKod": "ProwadzacyKod",
      "KontrahentKod": "KontrahentKod",
      "WykonujacyKod": "WykonujacyKod",
      "StanZadaniaNazwa": "StanZadaniaNazwa",
      "ID": 1,
      "Features": [
        {
          "Name": "Name",
          "Value": null,
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "+W2XMKV7LJ/6yg==",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "KSeF": {
    "NumerDokumentuKSeF": "NumerDokumentuKSeF",
    "DataKSeF": null,
    "DataPrzeslaniaKSeF": {
      "Year": 2026,
      "Month": 2,
      "Day": 27
    },
    "DataPrzyjeciaKSeF": {
      "Year": 2026,
      "Month": 2,
      "Day": 27
    },
    "Link": "Link",
    "ContentXML": "ContentXML"
  },
  "ID": 1,
  "Features": [
    {
      "Name": "Name",
      "Value": null,
      "Type": "Type",
      "UpdateDate": null
    }
  ],
  "Attachments": [
    {
      "ID": 1,
      "Name": "Name",
      "Parent": 1,
      "Description": "Description",
      "IsDefault": false,
      "SendEmail": false,
      "Extension": "Extension",
      "Link": "Link",
      "SubType": "None",
      "Base64": "w/PPDUyrs4ImsA==",
      "Features": [
        {
          "Name": "Name",
          "Value": null,
          "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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name",
"Value"
]
},
"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": "ef2f8aa3-9ce7-4267-8d84-66bb55b5fc1b",
  "NumerDokumentu": "NumerDokumentu",
  "NumerDodatkowy": "NumerDodatkowy",
  "WartoscCy": {
    "Value": 1.0,
    "Symbol": "Symbol"
  },
  "WartoscNettoCy": {
    "Value": 1.0,
    "Symbol": "Symbol"
  },
  "ZadaniaCRM": [
    {
      "Guid": "0a88d4ff-4209-4a6c-ab6b-5839e87d48c9",
      "DefinicjaZadaniaSymbol": "DefinicjaZadaniaSymbol",
      "Numer": "Numer",
      "Nazwa": "Nazwa",
      "Opis": "Opis",
      "DataOd": {
        "Year": 2026,
        "Month": 2,
        "Day": 27
      },
      "DataDo": {
        "Year": 2026,
        "Month": 2,
        "Day": 27
      },
      "ProwadzacyKod": "ProwadzacyKod",
      "KontrahentKod": "KontrahentKod",
      "WykonujacyKod": "WykonujacyKod",
      "StanZadaniaNazwa": "StanZadaniaNazwa",
      "ID": 1,
      "Features": [
        {
          "Name": "Name",
          "Value": null,
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "qSmfzI/c0c58Tg==",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name",
"Value"
]
},
"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",
"SystemKaucyjny"
]
},
"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": "85e8dcb9-5b8a-4ba6-a8f5-ebbcdd1e1e4c",
  "DataEwidencji": {
    "Year": 2026,
    "Month": 2,
    "Day": 27
  },
  "DataWplywu": {
    "Year": 2026,
    "Month": 2,
    "Day": 27
  },
  "DataWystawienia": {
    "Year": 2026,
    "Month": 2,
    "Day": 27
  },
  "DataOperacji": {
    "Year": 2026,
    "Month": 2,
    "Day": 27
  },
  "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": 2026,
      "Month": 2,
      "Day": 27
    }
  },
  "Podmiot": {
    "TypPodmiotu": "NieOkreślony",
    "ID": 1,
    "Kod": "Kod",
    "Guid": "4acb89a0-9c0e-43a7-b15d-d4e470ef04f2",
    "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": null,
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "Cz9qCKsPA85DGA==",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "Platnosci": [
    {
      "Guid": "dbb6ac03-317d-4368-a3f9-7b6eb9616297",
      "Podmiot": {
        "TypPodmiotu": "NieOkreślony",
        "ID": 1,
        "Kod": "Kod",
        "Guid": "9117f2f2-b907-4fca-975c-79fa1c30ff78",
        "ExternalID": "ExternalID",
        "EuVAT": "EuVAT",
        "Miejscowosc": "Miejscowosc"
      },
      "EwidencjaSP": "EwidencjaSP",
      "SposobZaplaty": "SposobZaplaty",
      "Rachunek26": "Rachunek26",
      "Opis": "Opis",
      "Termin": {
        "Year": 2026,
        "Month": 2,
        "Day": 27
      },
      "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": null,
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "0BGTFhj2W0Y6Tg==",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "OpisAnalityczny": [
    {
      "Data": {
        "Year": 2026,
        "Month": 2,
        "Day": 27
      },
      "Symbol": "Symbol",
      "Wymiar": "Wymiar",
      "Kwota": {
        "Value": 1.0,
        "Symbol": "Symbol"
      },
      "KwotaDodatkowa": {
        "Value": 1.0,
        "Symbol": "Symbol"
      },
      "Opis": "Opis",
      "ID": 1,
      "Features": [
        {
          "Name": "Name",
          "Value": null,
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "7GVWbxcf6mQkpw==",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "ZadaniaCRM": [
    {
      "Guid": "db0ff17f-a4e5-460f-a529-8e1d45a2f597",
      "DefinicjaZadaniaSymbol": "DefinicjaZadaniaSymbol",
      "Numer": "Numer",
      "Nazwa": "Nazwa",
      "Opis": "Opis",
      "DataOd": {
        "Year": 2026,
        "Month": 2,
        "Day": 27
      },
      "DataDo": {
        "Year": 2026,
        "Month": 2,
        "Day": 27
      },
      "ProwadzacyKod": "ProwadzacyKod",
      "KontrahentKod": "KontrahentKod",
      "WykonujacyKod": "WykonujacyKod",
      "StanZadaniaNazwa": "StanZadaniaNazwa",
      "ID": 1,
      "Features": [
        {
          "Name": "Name",
          "Value": null,
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "AI2h7/14iJ/rxw==",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "KSeF": {
    "NumerDokumentuKSeF": "NumerDokumentuKSeF",
    "DataKSeF": null,
    "DataPrzeslaniaKSeF": {
      "Year": 2026,
      "Month": 2,
      "Day": 27
    },
    "DataPrzyjeciaKSeF": {
      "Year": 2026,
      "Month": 2,
      "Day": 27
    },
    "Link": "Link",
    "ContentXML": "ContentXML"
  },
  "ID": 1,
  "Features": [
    {
      "Name": "Name",
      "Value": null,
      "Type": "Type",
      "UpdateDate": null
    }
  ],
  "Attachments": [
    {
      "ID": 1,
      "Name": "Name",
      "Parent": 1,
      "Description": "Description",
      "IsDefault": false,
      "SendEmail": false,
      "Extension": "Extension",
      "Link": "Link",
      "SubType": "None",
      "Base64": "Wpj/jyLmuZV5kA==",
      "Features": [
        {
          "Name": "Name",
          "Value": null,
          "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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name",
"Value"
]
},
"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": "8103d6f4-3b43-4408-8690-1d8a6a612b4d",
  "NumerDokumentu": "NumerDokumentu",
  "NumerDodatkowy": "NumerDodatkowy",
  "WartoscCy": {
    "Value": 1.0,
    "Symbol": "Symbol"
  },
  "WartoscNettoCy": {
    "Value": 1.0,
    "Symbol": "Symbol"
  },
  "ZadaniaCRM": [
    {
      "Guid": "cdd36ec6-edec-4046-bc4f-318ac3261b6a",
      "DefinicjaZadaniaSymbol": "DefinicjaZadaniaSymbol",
      "Numer": "Numer",
      "Nazwa": "Nazwa",
      "Opis": "Opis",
      "DataOd": {
        "Year": 2026,
        "Month": 2,
        "Day": 27
      },
      "DataDo": {
        "Year": 2026,
        "Month": 2,
        "Day": 27
      },
      "ProwadzacyKod": "ProwadzacyKod",
      "KontrahentKod": "KontrahentKod",
      "WykonujacyKod": "WykonujacyKod",
      "StanZadaniaNazwa": "StanZadaniaNazwa",
      "ID": 1,
      "Features": [
        {
          "Name": "Name",
          "Value": null,
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "01Gxo8O8InNzNQ==",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name",
"Value"
]
},
"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",
"SystemKaucyjny"
]
},
"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": "240f7422-3db3-4d21-8962-38a29ae6cf77",
      "DataEwidencji": {
        "Year": 2026,
        "Month": 2,
        "Day": 27
      },
      "DataWplywu": {
        "Year": 2026,
        "Month": 2,
        "Day": 27
      },
      "DataWystawienia": {
        "Year": 2026,
        "Month": 2,
        "Day": 27
      },
      "DataOperacji": {
        "Year": 2026,
        "Month": 2,
        "Day": 27
      },
      "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": 2026,
          "Month": 2,
          "Day": 27
        }
      },
      "Podmiot": {
        "TypPodmiotu": "NieOkreślony",
        "ID": 1,
        "Kod": "Kod",
        "Guid": "a852afb7-1189-47a5-8402-3c729a33aa16",
        "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": null,
              "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": "jr1W14fqIGjRVQ==",
              "Features": [
                {
                  "Name": "Name",
                  "Value": null,
                  "Type": "Type",
                  "UpdateDate": null
                }
              ]
            }
          ]
        }
      ],
      "Platnosci": [
        {
          "Guid": "34f12252-9165-41c3-a088-f83c7667b8dc",
          "Podmiot": {
            "TypPodmiotu": "NieOkreślony",
            "ID": 1,
            "Kod": "Kod",
            "Guid": "8588eaa1-5e69-4ed2-8ef1-5cc7089cd293",
            "ExternalID": "ExternalID",
            "EuVAT": "EuVAT",
            "Miejscowosc": "Miejscowosc"
          },
          "EwidencjaSP": "EwidencjaSP",
          "SposobZaplaty": "SposobZaplaty",
          "Rachunek26": "Rachunek26",
          "Opis": "Opis",
          "Termin": {
            "Year": 2026,
            "Month": 2,
            "Day": 27
          },
          "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": null,
              "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": "kZ8ykaVWOK8n4A==",
              "Features": [
                {
                  "Name": "Name",
                  "Value": null,
                  "Type": "Type",
                  "UpdateDate": null
                }
              ]
            }
          ]
        }
      ],
      "OpisAnalityczny": [
        {
          "Data": {
            "Year": 2026,
            "Month": 2,
            "Day": 27
          },
          "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": null,
              "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": "KwzICvt2omrkSQ==",
              "Features": [
                {
                  "Name": "Name",
                  "Value": null,
                  "Type": "Type",
                  "UpdateDate": null
                }
              ]
            }
          ]
        }
      ],
      "ZadaniaCRM": [
        {
          "Guid": "7b7d96f6-857a-4cd6-9060-e1e0c543bfb6",
          "DefinicjaZadaniaSymbol": "DefinicjaZadaniaSymbol",
          "Numer": "Numer",
          "Nazwa": "Nazwa",
          "Opis": "Opis",
          "DataOd": {
            "Year": 2026,
            "Month": 2,
            "Day": 27
          },
          "DataDo": {
            "Year": 2026,
            "Month": 2,
            "Day": 27
          },
          "ProwadzacyKod": "ProwadzacyKod",
          "KontrahentKod": "KontrahentKod",
          "WykonujacyKod": "WykonujacyKod",
          "StanZadaniaNazwa": "StanZadaniaNazwa",
          "ID": 1,
          "AttachmentsCount": 1,
          "TableName": "TableName",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "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": "KrWbrLDra/UXyA==",
              "Features": [
                {
                  "Name": "Name",
                  "Value": null,
                  "Type": "Type",
                  "UpdateDate": null
                }
              ]
            }
          ]
        }
      ],
      "KSeF": {
        "NumerDokumentuKSeF": "NumerDokumentuKSeF",
        "DataKSeF": null,
        "DataPrzeslaniaKSeF": {
          "Year": 2026,
          "Month": 2,
          "Day": 27
        },
        "DataPrzyjeciaKSeF": {
          "Year": 2026,
          "Month": 2,
          "Day": 27
        },
        "Link": "Link",
        "ContentXML": "ContentXML"
      },
      "ID": 1,
      "AttachmentsCount": 1,
      "TableName": "TableName",
      "Features": [
        {
          "Name": "Name",
          "Value": null,
          "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": "6o448tQraCGb1A==",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name",
"Value"
]
},
"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": 2026,
        "Month": 2,
        "Day": 27
      },
      "StanRozliczenia": "Nierozliczony",
      "Guid": "861c7069-23ed-4982-86dc-b4bbd3e56529",
      "Podmiot": {
        "TypPodmiotu": "NieOkreślony",
        "ID": 1,
        "Kod": "Kod",
        "Guid": "1c536a0c-4369-4cc6-b206-c549b5d9e701",
        "ExternalID": "ExternalID",
        "EuVAT": "EuVAT",
        "Miejscowosc": "Miejscowosc"
      },
      "EwidencjaSP": "EwidencjaSP",
      "SposobZaplaty": "SposobZaplaty",
      "Rachunek26": "Rachunek26",
      "Opis": "Opis",
      "Termin": {
        "Year": 2026,
        "Month": 2,
        "Day": 27
      },
      "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": null,
          "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": "AwaMELE0bDTThA==",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name",
"Value"
]
},
"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": "7c2988aa-6fc6-46b8-804b-18ed37304c10",
  "Definicja": "Definicja",
  "StanWprowadzony": false,
  "DataWplywu": {
    "Year": 2026,
    "Month": 2,
    "Day": 27
  },
  "DataEwidencji": {
    "Year": 2026,
    "Month": 2,
    "Day": 27
  },
  "Numer": "Numer",
  "NumerDodatkowy": "NumerDodatkowy",
  "NumerDokumentu": "NumerDokumentu",
  "DataDokumentu": {
    "Year": 2026,
    "Month": 2,
    "Day": 27
  },
  "DataOperacji": {
    "Year": 2026,
    "Month": 2,
    "Day": 27
  },
  "Opis": "Opis",
  "Wartosc": {
    "Value": 1.0,
    "Symbol": "Symbol"
  },
  "Podmiot": {
    "TypPodmiotu": "NieOkreślony",
    "ID": 1,
    "Kod": "Kod",
    "Guid": "3f60be98-0207-4588-aa6e-ea23c810edda",
    "ExternalID": "ExternalID",
    "EuVAT": "EuVAT",
    "Miejscowosc": "Miejscowosc"
  },
  "OpisAnalityczny": [
    {
      "Data": {
        "Year": 2026,
        "Month": 2,
        "Day": 27
      },
      "Symbol": "Symbol",
      "Wymiar": "Wymiar",
      "Kwota": {
        "Value": 1.0,
        "Symbol": "Symbol"
      },
      "KwotaDodatkowa": {
        "Value": 1.0,
        "Symbol": "Symbol"
      },
      "Opis": "Opis",
      "ID": 1,
      "Features": [
        {
          "Name": "Name",
          "Value": null,
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "+Azw8VaXsRtz5w==",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "Platnosci": [
    {
      "Guid": "96a98e90-e210-4aca-8eab-d4c3d94453c8",
      "Podmiot": {
        "TypPodmiotu": "NieOkreślony",
        "ID": 1,
        "Kod": "Kod",
        "Guid": "4966875b-fade-49fd-b072-1815546e8e70",
        "ExternalID": "ExternalID",
        "EuVAT": "EuVAT",
        "Miejscowosc": "Miejscowosc"
      },
      "EwidencjaSP": "EwidencjaSP",
      "SposobZaplaty": "SposobZaplaty",
      "Rachunek26": "Rachunek26",
      "Opis": "Opis",
      "Termin": {
        "Year": 2026,
        "Month": 2,
        "Day": 27
      },
      "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": null,
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "U61NJVNMHgMKww==",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "ZadaniaCRM": [
    {
      "Guid": "571dac83-cc2d-4985-b05f-c0372cea548e",
      "DefinicjaZadaniaSymbol": "DefinicjaZadaniaSymbol",
      "Numer": "Numer",
      "Nazwa": "Nazwa",
      "Opis": "Opis",
      "DataOd": {
        "Year": 2026,
        "Month": 2,
        "Day": 27
      },
      "DataDo": {
        "Year": 2026,
        "Month": 2,
        "Day": 27
      },
      "ProwadzacyKod": "ProwadzacyKod",
      "KontrahentKod": "KontrahentKod",
      "WykonujacyKod": "WykonujacyKod",
      "StanZadaniaNazwa": "StanZadaniaNazwa",
      "ID": 1,
      "Features": [
        {
          "Name": "Name",
          "Value": null,
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "hI6866A+xAYECw==",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "ID": 1,
  "Features": [
    {
      "Name": "Name",
      "Value": null,
      "Type": "Type",
      "UpdateDate": null
    }
  ],
  "Attachments": [
    {
      "ID": 1,
      "Name": "Name",
      "Parent": 1,
      "Description": "Description",
      "IsDefault": false,
      "SendEmail": false,
      "Extension": "Extension",
      "Link": "Link",
      "SubType": "None",
      "Base64": "3sOvZw9Ku1Akmw==",
      "Features": [
        {
          "Name": "Name",
          "Value": null,
          "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",
"SystemKaucyjny"
]
},
"NKUP": {
"type": "number"
}
}
},
"FeatureDTO": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Value": {},
"Type": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"Name",
"Value"
]
},
"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": "6a0ff139-fde6-4818-81ec-7e4dd23b2c98",
  "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": null,
        "Type": "Type",
        "UpdateDate": null
      }
    ],
    "Attachments": [
      {
        "ID": 1,
        "Name": "Name",
        "Parent": 1,
        "Description": "Description",
        "IsDefault": false,
        "SendEmail": false,
        "Extension": "Extension",
        "Link": "Link",
        "SubType": "None",
        "Base64": "vTo+PJ/Fal3isg==",
        "Features": [
          {
            "Name": "Name",
            "Value": null,
            "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": null,
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "56GlJtQaa4Gw3A==",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "ID": 1,
  "Features": [
    {
      "Name": "Name",
      "Value": null,
      "Type": "Type",
      "UpdateDate": null
    }
  ],
  "Attachments": [
    {
      "ID": 1,
      "Name": "Name",
      "Parent": 1,
      "Description": "Description",
      "IsDefault": false,
      "SendEmail": false,
      "Extension": "Extension",
      "Link": "Link",
      "SubType": "None",
      "Base64": "0eU1yX++kGmmpw==",
      "Features": [
        {
          "Name": "Name",
          "Value": null,
          "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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"Name",
"Value"
]
},
"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": "294f206a-848a-4e12-bbf8-04e566f92e59",
  "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": null,
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "0WSpyDg3Nypspw==",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "Type": "Type",
              "UpdateDate": null
            }
          ]
        }
      ]
    }
  ],
  "ID": 1,
  "Features": [
    {
      "Name": "Name",
      "Value": null,
      "Type": "Type",
      "UpdateDate": null
    }
  ],
  "Attachments": [
    {
      "ID": 1,
      "Name": "Name",
      "Parent": 1,
      "Description": "Description",
      "IsDefault": false,
      "SendEmail": false,
      "Extension": "Extension",
      "Link": "Link",
      "SubType": "None",
      "Base64": "eCjEMDFG9lRjVg==",
      "Features": [
        {
          "Name": "Name",
          "Value": null,
          "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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name",
"Value"
]
}
},
"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": "013ae5ed-2979-4f4f-8b32-27699ea0777e",
  "RodzajPrzelewu": "Standardowy",
  "Definicja": "Definicja",
  "DataPrzelewu": {
    "Year": 2026,
    "Month": 2,
    "Day": 27
  },
  "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": 2026,
    "Month": 2,
    "Day": 27
  },
  "MppOkresDo": {
    "Year": 2026,
    "Month": 2,
    "Day": 27
  },
  "OpisPrzelewu": "OpisPrzelewu",
  "ID": 1,
  "Features": [
    {
      "Name": "Name",
      "Value": null,
      "Type": "Type",
      "UpdateDate": null
    }
  ],
  "Attachments": [
    {
      "ID": 1,
      "Name": "Name",
      "Parent": 1,
      "Description": "Description",
      "IsDefault": false,
      "SendEmail": false,
      "Extension": "Extension",
      "Link": "Link",
      "SubType": "None",
      "Base64": "gTilXbBqPnUCFw==",
      "Features": [
        {
          "Name": "Name",
          "Value": null,
          "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": "7bfbaef5-cdb1-44ad-9f29-157563a92977",
  "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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name",
"Value"
]
},
"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": "0a637232-c6d5-4db0-aa1a-7f9c5c52c203",
      "RodzajPrzelewu": "Standardowy",
      "Definicja": "Definicja",
      "DataPrzelewu": {
        "Year": 2026,
        "Month": 2,
        "Day": 27
      },
      "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": 2026,
        "Month": 2,
        "Day": 27
      },
      "MppOkresDo": {
        "Year": 2026,
        "Month": 2,
        "Day": 27
      },
      "OpisPrzelewu": "OpisPrzelewu",
      "ID": 1,
      "AttachmentsCount": 1,
      "TableName": "TableName",
      "Features": [
        {
          "Name": "Name",
          "Value": null,
          "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": "4vlhbMgsYP9xKA==",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name",
"Value"
]
},
"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": "0aa137e9-0d26-46ce-a213-784097c455a0",
    "DefinicjaZadaniaSymbol": "DefinicjaZadaniaSymbol",
    "Numer": "Numer",
    "Nazwa": "Nazwa",
    "Opis": "Opis",
    "DataOd": {
      "Year": 2026,
      "Month": 2,
      "Day": 27
    },
    "DataDo": {
      "Year": 2026,
      "Month": 2,
      "Day": 27
    },
    "ProwadzacyKod": "ProwadzacyKod",
    "KontrahentKod": "KontrahentKod",
    "WykonujacyKod": "WykonujacyKod",
    "StanZadaniaNazwa": "StanZadaniaNazwa",
    "ID": 1,
    "Features": [
      {
        "Name": "Name",
        "Value": null,
        "Type": "Type",
        "UpdateDate": null
      }
    ],
    "Attachments": [
      {
        "ID": 1,
        "Name": "Name",
        "Parent": 1,
        "Description": "Description",
        "IsDefault": false,
        "SendEmail": false,
        "Extension": "Extension",
        "Link": "Link",
        "SubType": "None",
        "Base64": "lccfLYbzMU7qag==",
        "Features": [
          {
            "Name": "Name",
            "Value": null,
            "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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name",
"Value"
]
},
"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": "bebead8a-347f-40a8-8e5b-b07be6e54e02",
      "DefinicjaZadaniaSymbol": "DefinicjaZadaniaSymbol",
      "Numer": "Numer",
      "Nazwa": "Nazwa",
      "Opis": "Opis",
      "DataOd": {
        "Year": 2026,
        "Month": 2,
        "Day": 27
      },
      "DataDo": {
        "Year": 2026,
        "Month": 2,
        "Day": 27
      },
      "ProwadzacyKod": "ProwadzacyKod",
      "KontrahentKod": "KontrahentKod",
      "WykonujacyKod": "WykonujacyKod",
      "StanZadaniaNazwa": "StanZadaniaNazwa",
      "ID": 1,
      "Features": [
        {
          "Name": "Name",
          "Value": null,
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "TpwOitaYB+KcVw==",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"Name",
"Value"
]
}
},
"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": null,
      "Type": "Type",
      "UpdateDate": null
    }
  ],
  "Attachments": [
    {
      "ID": 1,
      "Name": "Name",
      "Parent": 1,
      "Description": "Description",
      "IsDefault": false,
      "SendEmail": false,
      "Extension": "Extension",
      "Link": "Link",
      "SubType": "None",
      "Base64": "DuMLszLb8BjTzQ==",
      "Features": [
        {
          "Name": "Name",
          "Value": null,
          "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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name",
"Value"
]
},
"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": "156979ac-9725-477b-b335-e20ba86437ae",
    "IDExternal": 1,
    "DataAktualnosci": {
      "Year": 2026,
      "Month": 2,
      "Day": 27
    },
    "OkresOd": {
      "Year": 2026,
      "Month": 2,
      "Day": 27
    },
    "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": null,
        "Type": "Type",
        "UpdateDate": null
      }
    ],
    "Attachments": [
      {
        "ID": 1,
        "Name": "Name",
        "Parent": 1,
        "Description": "Description",
        "IsDefault": false,
        "SendEmail": false,
        "Extension": "Extension",
        "Link": "Link",
        "SubType": "None",
        "Base64": "BjvCUgnXW95VEA==",
        "Features": [
          {
            "Name": "Name",
            "Value": null,
            "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": "22d8a839-3d2a-4d69-835b-caeb30dc49a6",
      "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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name",
"Value"
]
},
"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": 2026,
      "Month": 2,
      "Day": 27
    },
    "Aktualizuj": false,
    "PodzielnikPozycje": [
      {
        "ElementPodzialowy": "ElementPodzialowy",
        "Wspolczynnik": 1.0,
        "ID": 1,
        "Features": [
          {
            "Name": "Name",
            "Value": null,
            "Type": "Type",
            "UpdateDate": null
          }
        ],
        "Attachments": [
          {
            "ID": 1,
            "Name": "Name",
            "Parent": 1,
            "Description": "Description",
            "IsDefault": false,
            "SendEmail": false,
            "Extension": "Extension",
            "Link": "Link",
            "SubType": "None",
            "Base64": "1xc68594FAup/g==",
            "Features": [
              {
                "Name": "Name",
                "Value": null,
                "Type": "Type",
                "UpdateDate": null
              }
            ]
          }
        ]
      }
    ],
    "ID": 1,
    "Features": [
      {
        "Name": "Name",
        "Value": null,
        "Type": "Type",
        "UpdateDate": null
      }
    ],
    "Attachments": [
      {
        "ID": 1,
        "Name": "Name",
        "Parent": 1,
        "Description": "Description",
        "IsDefault": false,
        "SendEmail": false,
        "Extension": "Extension",
        "Link": "Link",
        "SubType": "None",
        "Base64": "+WiREyfxtISkVw==",
        "Features": [
          {
            "Name": "Name",
            "Value": null,
            "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": "70a94555-3021-4dc9-8529-f3b479c9a664",
      "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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name",
"Value"
]
},
"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": "1a2f57b2-05a0-4d0d-8d31-6933773ae093",
      "Aktualizacja": false,
      "IDSource": 1,
      "KodPracownika": "KodPracownika",
      "TableSource": "TableSource",
      "DefinicjaDokumentu": "DefinicjaDokumentu",
      "NumerDokumentu": "NumerDokumentu",
      "Okres": {
        "From": {
          "Year": 2026,
          "Month": 2,
          "Day": 27
        },
        "To": {
          "Year": 2026,
          "Month": 2,
          "Day": 27
        }
      },
      "Data": "2026-02-27T16:12:05.1229249Z",
      "Termin": "2026-02-27T16:12:05.1229333Z",
      "Seria": "Seria",
      "DokumentDodatkowyPozycje": [
        {
          "Klucz": "Klucz",
          "Wartosc": "Wartosc"
        }
      ],
      "ID": 1,
      "Features": [
        {
          "Name": "Name",
          "Value": null,
          "Type": "Type",
          "UpdateDate": null
        }
      ],
      "Attachments": [
        {
          "ID": 1,
          "Name": "Name",
          "Parent": 1,
          "Description": "Description",
          "IsDefault": false,
          "SendEmail": false,
          "Extension": "Extension",
          "Link": "Link",
          "SubType": "None",
          "Base64": "cS2nxCn3W2xBlw==",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "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": "275f7939-359c-4d58-b7dc-567f9cb62e7a",
      "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": 2026,
    "Month": 2,
    "Day": 27
  }
}
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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name",
"Value"
]
},
"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": "4b290ae3-73a0-48c3-a0b8-46b49ecea291",
      "Aktualizacja": false,
      "IDSource": 1,
      "KodPracownika": "KodPracownika",
      "TableSource": "TableSource",
      "DefinicjaDokumentu": "DefinicjaDokumentu",
      "NumerDokumentu": "NumerDokumentu",
      "Okres": {
        "From": {
          "Year": 2026,
          "Month": 2,
          "Day": 27
        },
        "To": {
          "Year": 2026,
          "Month": 2,
          "Day": 27
        }
      },
      "Data": "2026-02-27T16:12:05.1299457Z",
      "Termin": "2026-02-27T16:12:05.1299498Z",
      "Seria": "Seria",
      "DokumentDodatkowyPozycje": [
        {
          "Klucz": "Klucz",
          "Wartosc": "Wartosc"
        }
      ],
      "ID": 1,
      "AttachmentsCount": 1,
      "TableName": "TableName",
      "Features": [
        {
          "Name": "Name",
          "Value": null,
          "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": "UJESYeHE2/i0yQ==",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "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": 2026,
    "Month": 2,
    "Day": 27
  }
}
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": 2026,
    "Month": 2,
    "Day": 27
  }
}
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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name",
"Value"
]
},
"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": "8ded8ba6-8dbc-4e70-b2e0-a7c7eeac3c31",
      "DataAktualnosci": {
        "Year": 2026,
        "Month": 2,
        "Day": 27
      },
      "OkresOd": {
        "Year": 2026,
        "Month": 2,
        "Day": 27
      },
      "OkresDo": {
        "Year": 2026,
        "Month": 2,
        "Day": 27
      },
      "IdDefinicjiUmowy": 1,
      "Numer": "Numer",
      "Tytul": "Tytul",
      "Wartosc": "Wartosc",
      "ID": 1,
      "AttachmentsCount": 1,
      "TableName": "TableName",
      "Features": [
        {
          "Name": "Name",
          "Value": null,
          "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": "dUsZOS7+cbGhHw==",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "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": 2026,
    "Month": 2,
    "Day": 27
  }
}
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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name",
"Value"
]
},
"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": "83a5169a-665b-4e5e-b3e7-f6a98e35cd61",
      "IDExternal": 1,
      "DataAktualnosci": {
        "Year": 2026,
        "Month": 2,
        "Day": 27
      },
      "OkresOd": {
        "Year": 2026,
        "Month": 2,
        "Day": 27
      },
      "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": null,
          "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": "NBtKys6EsZe58Q==",
          "Features": [
            {
              "Name": "Name",
              "Value": null,
              "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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO"
}
},
"required": [
"Name",
"Value"
]
}
},
"type": "array",
"items": {
"$ref": "#/definitions/DefinicjaDodatkowDTO"
}
}
Sample JSON file:
[
  {
    "Guid": "6ca2416a-b08a-408e-ba88-002e01e360a6",
    "Nazwa": "Nazwa",
    "PozycjaPIT": "PozycjaPIT",
    "Priorytet": 1,
    "ID": 1,
    "AttachmentsCount": 1,
    "TableName": "TableName",
    "Features": [
      {
        "Name": "Name",
        "Value": null,
        "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": "9idbhRgUVwZk1A==",
        "Features": [
          {
            "Name": "Name",
            "Value": null,
            "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": 2026,
    "Month": 2,
    "Day": 27
  },
  "Termin": {
    "From": {
      "Year": 2026,
      "Month": 2,
      "Day": 27
    },
    "To": {
      "Year": 2026,
      "Month": 2,
      "Day": 27
    }
  },
  "DefBadaniaLekarskiegoNazwa": "DefBadaniaLekarskiegoNazwa",
  "LastID": 1,
  "PacketSize": 1,
  "Conditions": [
    {
      "LogicalOperator": "And",
      "Operator": "Equal",
      "ColumnName": "ColumnName",
      "FilterValue": "FilterValue"
    }
  ],
  "UpdateDate": {
    "Year": 2026,
    "Month": 2,
    "Day": 27
  }
}
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": {
"type": "string"
},
"UpdateDate": {
"$ref": "#/definitions/DataDTO-1"
}
},
"required": [
"Name",
"Value"
]
}
},
"type": "array",
"items": {
"$ref": "#/definitions/BadanieLekarskieDTO"
}
}
Sample JSON file:
[
  {
    "Guid": "35ac61f2-d2f8-4e26-96f3-bca646f8f418",
    "KodPracownika": "KodPracownika",
    "IdPracownika": 1,
    "DefinicjaNazwa": "DefinicjaNazwa",
    "DefinicjaNazwaNastepne": "DefinicjaNazwaNastepne",
    "Anulowane": false,
    "DataWykonaniaDoDnia": {
      "Year": 2026,
      "Month": 2,
      "Day": 27
    },
    "DataWykonaniaDoDniaNastepne": {
      "Year": 2026,
      "Month": 2,
      "Day": 27
    },
    "DataWykonania": {
      "Year": 2026,
      "Month": 2,
      "Day": 27
    },
    "DataWaznosci": {
      "Year": 2026,
      "Month": 2,
      "Day": 27
    },
    "PracaWOkularach": false,
    "KwotaDofinansowania": 1.0,
    "DataDofinansowania": {
      "Year": 2026,
      "Month": 2,
      "Day": 27
    },
    "Opis": "Opis",
    "ID": 1,
    "AttachmentsCount": 1,
    "TableName": "TableName",
    "Features": [
      {
        "Name": "Name",
        "Value": null,
        "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": "gTyGDR9on16bVA==",
        "Features": [
          {
            "Name": "Name",
            "Value": null,
            "Type": "Type",
            "UpdateDate": null
          }
        ]
      }
    ]
  }
]

Back to the methods list for AltOne.WebAPI.ObslugaKadrowa