Documentation for enova365 Soneta.WebApi OAS 3.0
Documentation version: v. 5.1
For database: TESTY_INTEGRACYJNE_BETA
License number: 68840001
To generate strongly-typed code from the JSON Schema, you can use: https://app.quicktype.io
The following libraries were found for documentation (AltOne.WCF.* and AltOne.WebAPI.*):
- AltOne.WebAPI.Core
- AltOne.WebAPI.DataExchangeTable
- AltOne.WebAPI.KsiegowanieListPlac
- AltOne.WebAPI.Motivizer
- AltOne.WebAPI.ObslugaCzasuPracy
- AltOne.WebAPI.ObslugaFakturHandlowych
- AltOne.WebApi.ObslugaFakturKosztowych
- AltOne.WebAPI.ObslugaKadrowa
- AltOne.WebAPI.ObslugaPlatnosci
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:
- Authentication through JSON tokens
- Login/logout mechanism (automatic logout after 5 minutes of inactivity)
- Method name moved from the request body to the URL path
The AltOne.WCF.Core (or AltOne.WebAPI.Core) library provides:
- Support for complex object serialization
- Centralized error handling and logging
- Built-in methods for reading and writing dictionary data and basic records (e.g. employees, contractors)
- Ability to handle custom object features without recompiling the library
- Automatic documentation generation for each implemented library
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:
-
Login to the Dynamic WebAPI:
https://{{baseAddress}}/api/LoginApi
Used to authenticate the session and obtain aBearer Tokenrequired for subsequent requests. -
Execute a specific method:
https://{{baseAddress}}/api/{{serviceName}}/{{methodName}}
Calls a specific function (method) implemented in your WebAPI add-on or service.
Example:https://{{baseAddress}}/api/OperationFunctionsWebAPI/GetPackableContractors -
Logout from the Dynamic WebAPI:
https://{{baseAddress}}/api/LogoutApi
Ends the user session and invalidates the token. The system will automatically log out after 5 minutes of inactivity.
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
"Year": 2026,
"Month": 2,
"Day": 10
}
}
Supported Value Types
The Value property accepts multiple data types. The library handles automatic conversion
between JSON and enova365 internal types:
- String - text values:
"Value": "Sample text" - Int - integers:
"Value": 123or"Value": "123" - Bool - boolean:
"Value": trueor"Value": "true" - Date - dates:
"Value": "2026-02-10" - Decimal/Double - decimal numbers:
"Value": 123.45or"Value": "123.45" - Currency - monetary values:
"Value": "1234.56 PLN" - Percent - percentages:
"Value": "15.5" - Reference - object references:
"Value": "TableName:123" - Tree - a single hierarchical path:
"Value": "Narciarstwo\\Buty" - Array - collection of literal strings:
"Value": ["1", "2", "3"] - ArrayOfTrees - collection of tree paths as a JSON array of strings:
"Value": ["1", "2", "3"]
Note: Since version 0.7.5.4, the Value property accepts
both typed values (e.g., 123) and string representations (e.g., "123").
Requests are deserialized using System.Text.Json. Both Name and Value
must be present; an explicit "Value": null is allowed, while omitting Value is an error.
Tree - A Single Hierarchical Path
For the Asortyment feature, include this entry in the object's Features collection when writing:
{ "Name": "Asortyment", "Value": "Narciarstwo\\Buty" }
The same feature in a read response:
{ "Name": "Asortyment", "Value": "Narciarstwo\\Buty", "Type": "Tree" }
Writing also accepts Soneta's full path: "Value": "\\Narciarstwo\\Buty\\".
Reading removes only leading and trailing backslashes, preserving internal levels and spaces.
Escape each backslash as \\ in JSON. Send null or "" to clear the selection;
reading then returns "". Arrays, objects, numbers and booleans are rejected.
This also applies to historical features. A setter algorithm still receives a single string.
Array - Collections of Strings
A multi-value feature of type Array uses a JSON array of strings.
For a feature named Cecha wielow, include this entry in the object's Features collection when writing:
{ "Name": "Cecha wielow", "Value": ["1", "2", "3"] }
The same feature in a read response:
{ "Name": "Cecha wielow", "Value": ["1", "2", "3"], "Type": "Array" }
Array preserves literal string contents, including spaces and backslashes.
Send string elements such as "1": [1, 2, 3] and the text "1|2|3" are rejected.
The definition determines the type; the feature's name does not change it.
Send null, "" or [] to clear the collection; reading then returns [].
ArrayOfTrees - Matching Write and Read Formats
An ArrayOfTrees feature uses a flat JSON array of strings in both write requests and read responses.
The examples assume an accessible feature named eSklep Kategorie on the target object.
Include the following feature in the object's Features collection when writing:
{
"Name": "eSklep Kategorie",
"Value": ["1", "2", "3"]
}
The same feature in a read response:
{
"Name": "eSklep Kategorie",
"Value": ["1", "2", "3"],
"Type": "ArrayOfTrees"
}
Reading removes only the leading and trailing backslashes added by Soneta. Internal path separators are preserved, so multi-level paths use the same JSON representation when writing and reading:
{
"Name": "eSklep Kategorie",
"Value": ["Dom\\Łazienka", "Elektronika\\Telefony"]
}
In JSON, \\ represents a single backslash. Soneta may sort the collection when saving.
Send strings such as "1" inside the array: numeric elements, objects, null elements and the text
"1|2|3" are rejected. Type is informational; the feature definition determines the write type.
These rules also apply to GetFeatures/UpdateFeatures, attachments and historical features.
Historical writes require UpdateDate.
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:
// Text is cleared to an empty string; a reference is cleared to null
"String": ""
"Reference": null
// Collections - clear the selection
"Array": []
"ArrayOfTrees": []
// 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": {
"Year": 2026,
"Month": 1,
"Day": 1
}
}
]
}
Writing Features - Example Request
When updating objects, you can include features in the request. The feature definition must have either "Dostęp przez WebAPI" (WebAPI Access) or the legacy "Obsługa WCF" flag set to true.
// 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
"Year": 2026,
"Month": 2,
"Day": 10
}
},
{
"Name": "ResponsiblePerson",
"Value": "Pracownicy:15", // Reference to Employee with ID=15
"Type": "Reference"
},
{
"Name": "Notes",
"Value": null // Clear text field (sets to an empty string)
},
{
"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 an empty string
{ "Name": "Description", "Value": null } // → ""
{ "Name": "Description", "Value": "" } // → ""
// Clearing references (Reference) - removes the link; the referenced object remains in the database
{ "Name": "Manager", "Value": null } // → null
{ "Name": "Manager", "Value": "" } // → null
// Clearing string collections (Array) - each alternative clears the selection to []
{ "Name": "Cecha wielow", "Value": [] } // → []
{ "Name": "Cecha wielow", "Value": null } // → []
{ "Name": "Cecha wielow", "Value": "" } // → []
// Clearing tree collections (ArrayOfTrees) - each alternative clears the selection to []
{ "Name": "eSklep Kategorie", "Value": [] } // → []
{ "Name": "eSklep Kategorie", "Value": null } // → []
{ "Name": "eSklep Kategorie", "Value": "" } // → []
// 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
WebAPI Access and Backward Compatibility
For new configurations, define a boolean feature named Dostęp przez WebAPI on feature definitions.
The legacy name Obsługa WCF remains supported indefinitely.
Reading and writing use the same rule: access is enabled when either flag is true.
An absent flag is treated as false. Adding the new flag with a default value of false
preserves access already enabled by the legacy flag. To disable access, both flags must be false or absent.
Existing configurations require no migration. An optional migration consists of creating the new flag, transferring the legacy values or algorithm, verifying access, and then disabling the legacy flag. The library does not create or rename feature definitions automatically. Algorithmic flags are evaluated in the current session for each access check. Operator permissions and read-only feature restrictions still apply.
Important Notes
- Feature
Namemust match exactly the feature name defined in enova365 - Feature definitions must have
Dostęp przez WebAPIor the legacyObsługa WCFset totrueto be accessible via API - Historical features require
UpdateDateto specify the validity date - Read-only (calculated) features with
Get/GetArgsalgorithms are returned in responses and skipped when writing.UpdateFeaturesreports each skipped feature inWarningswith typeReadOnlyFeature - If all features sent to
UpdateFeaturesare read-only, the response hasSuccess: true, warnings and a description explaining that no changes were saved Valueis required, including when clearing a field: send an explicitnullor"". Omitting a feature from the list leaves its value unchanged- Scalar feature values can be sent as typed values or strings.
ArrayandArrayOfTreesuse JSON arrays of strings - For
ArrayandArrayOfTrees,null,""and[]clear the collection; reading then returns[]. Only forArrayOfTrees, the array[""]selects the tree root - Sending
nullor""clears the field and sets it to its default value - Default values match the behavior of clearing fields in the enova365 user interface
- String values are cleared to
"", references tonull, and other types to their zero/empty values
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 ""
{ "Name": "Notes", "Value": "" } // Clears to ""
// 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: 2606.0.1.80102+fd55e59ec068d45db193441a255c7c5de449d3d3,
Last modified: 2.11.2026 15:26:54
List of available methods:
Interface: IHandel2
Interface: IKadryPlace2
Interface: IKsiegowosc2
Interface: IOperationFunctions2
- 01. GetWebServiceInfo
- 02. GetDocumentation
- 03. GetDictionary
- 04. UpdateDictionary
- 05. GetAttachments
- 06. InsertAttachment
- 07. GetFeatures
- 08. UpdateFeatures
- 09. GetContractors
- 10. GetPackableContractors
- 11. UpdateContractor
- 12. ZastapKontrahenta
- 13. DodajPowiazanieKontrahenta
- 14. GetVATRates
- 15. GetPaymentMethods
- 16. GetCashRegister
- 17. GetServicesToControllersMap
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"
},
"NietypowaLokalizacja": {
"type": "string"
},
"AdresRozszerzonyDTO": {
"$ref": "#/definitions/AdresRozszerzonyDTO"
}
}
},
"AdresRozszerzonyDTO": {
"type": "object",
"properties": {
"Departament": {
"type": "string"
},
"Wydzial": {
"type": "string"
},
"NazwaBudynku": {
"type": "string"
},
"Pietro": {
"type": "string"
},
"Dzielnica": {
"type": "string"
},
"Prowincja": {
"type": "string"
},
"SkrytkaPocztowa": {
"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": "f67b8408-a11a-4a78-8b79-6e472246690e",
"NumerPelny": "NumerPelny",
"Definicja": "Definicja",
"Magazyn": "Magazyn",
"Kategoria": "Kategoria",
"Seria": "Seria",
"Opis": "Opis",
"Data": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"DataOperacji": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"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",
"NietypowaLokalizacja": "NietypowaLokalizacja",
"AdresRozszerzonyDTO": {
"Departament": "Departament",
"Wydzial": "Wydzial",
"NazwaBudynku": "NazwaBudynku",
"Pietro": "Pietro",
"Dzielnica": "Dzielnica",
"Prowincja": "Prowincja",
"SkrytkaPocztowa": "Sk.22"
}
}
},
"Obcy": {
"Numer": "Numer",
"DataOtrzymania": {
"Year": 2026,
"Month": 11,
"Day": 24
}
},
"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": 11,
"Day": 24
},
"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": "Bkgb1xWxouHIng==",
"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"
}
]
}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"
},
"NietypowaLokalizacja": {
"type": "string"
},
"AdresRozszerzonyDTO": {
"$ref": "#/definitions/AdresRozszerzonyDTO"
}
}
},
"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"
},
"NietypowaLokalizacja": {
"type": "string"
},
"AdresRozszerzonyDTO": {
"$ref": "#/definitions/AdresRozszerzonyDTO"
}
}
},
"AdresRozszerzonyDTO": {
"type": "object",
"properties": {
"Departament": {
"type": "string"
},
"Wydzial": {
"type": "string"
},
"NazwaBudynku": {
"type": "string"
},
"Pietro": {
"type": "string"
},
"Dzielnica": {
"type": "string"
},
"Prowincja": {
"type": "string"
},
"SkrytkaPocztowa": {
"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"
]
},
"Wymiar": {
"$ref": "#/definitions/FractionDTO"
},
"Stanowisko": {
"type": "string"
},
"Funkcja": {
"type": "string"
},
"JednostkaOrg": {
"type": "string"
},
"Zwolniony": {
"type": "boolean"
},
"DataRozpPracy": {
"$ref": "#/definitions/DataDTO"
},
"DataZawarcia": {
"$ref": "#/definitions/DataDTO"
},
"ID": {
"type": "integer"
},
"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": "37b97242-f6fd-4628-b18f-6fd66e88c3aa",
"DataAktualizacji": "2026-11-24T11:52:50.6220520Z",
"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-11-24T11:52:50.6220672Z",
"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",
"NietypowaLokalizacja": "NietypowaLokalizacja",
"AdresRozszerzonyDTO": {
"Departament": "Departament",
"Wydzial": "Wydzial",
"NazwaBudynku": "NazwaBudynku",
"Pietro": "Pietro",
"Dzielnica": "Dzielnica",
"Prowincja": "Prowincja",
"SkrytkaPocztowa": "Sk.22"
}
},
"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",
"NietypowaLokalizacja": "NietypowaLokalizacja",
"AdresRozszerzonyDTO": {
"Departament": "Departament",
"Wydzial": "Wydzial",
"NazwaBudynku": "NazwaBudynku",
"Pietro": "Pietro",
"Dzielnica": "Dzielnica",
"Prowincja": "Prowincja",
"SkrytkaPocztowa": "Sk.22"
}
},
"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",
"NietypowaLokalizacja": "NietypowaLokalizacja",
"AdresRozszerzonyDTO": {
"Departament": "Departament",
"Wydzial": "Wydzial",
"NazwaBudynku": "NazwaBudynku",
"Pietro": "Pietro",
"Dzielnica": "Dzielnica",
"Prowincja": "Prowincja",
"SkrytkaPocztowa": "Sk.22"
}
},
"Kontakt": {
"TelefonKomorkowy": "TelefonKomorkowy",
"SkrytkaPocztowa": "Sk.22",
"EMAIL": "EMAIL",
"Skype": "Skype",
"WWW": "WWW"
},
"Podatki": {
"KodUrzeduSkarbowego": "KodUrzeduSkarbowego",
"Pit26": "Warunkowo2020",
"IdentyfikatorPodatkowy": "PESEL"
},
"Zatrudnienie": {
"OkresOd": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"OkresDo": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"TypUmowy": "Brak",
"Wymiar": {
"Numerator": 1,
"Denominator": 1
},
"Stanowisko": "Stanowisko",
"Funkcja": "Funkcja",
"JednostkaOrg": "JednostkaOrg",
"Zwolniony": false,
"DataRozpPracy": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"DataZawarcia": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"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": "JiSdn4RDKU0KTA==",
"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": "k+abpzcv/0/Hng==",
"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": "n9qbyxSEySMsZg==",
"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"
}
]
}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": "28c9977a-125d-4e44-8f45-c9d9c78fae34",
"CechaExternalID": "CechaExternalID",
"DataAktualnosci": "2026-11-24T11:52:50.6251618Z",
"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": 11,
"Day": 24
}
}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"
},
"NietypowaLokalizacja": {
"type": "string"
},
"AdresRozszerzonyDTO": {
"$ref": "#/definitions/AdresRozszerzonyDTO"
}
}
},
"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"
},
"NietypowaLokalizacja": {
"type": "string"
},
"AdresRozszerzonyDTO": {
"$ref": "#/definitions/AdresRozszerzonyDTO"
}
}
},
"AdresRozszerzonyDTO": {
"type": "object",
"properties": {
"Departament": {
"type": "string"
},
"Wydzial": {
"type": "string"
},
"NazwaBudynku": {
"type": "string"
},
"Pietro": {
"type": "string"
},
"Dzielnica": {
"type": "string"
},
"Prowincja": {
"type": "string"
},
"SkrytkaPocztowa": {
"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"
]
},
"Wymiar": {
"$ref": "#/definitions/FractionDTO"
},
"Stanowisko": {
"type": "string"
},
"Funkcja": {
"type": "string"
},
"JednostkaOrg": {
"type": "string"
},
"Zwolniony": {
"type": "boolean"
},
"DataRozpPracy": {
"$ref": "#/definitions/DataDTO"
},
"DataZawarcia": {
"$ref": "#/definitions/DataDTO"
},
"ID": {
"type": "integer"
},
"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": "add022b8-aa4c-411b-9f82-152beaf5bd06",
"DataAktualizacji": "2026-11-24T11:52:50.6390930Z",
"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-11-24T11:52:50.6391045Z",
"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",
"NietypowaLokalizacja": "NietypowaLokalizacja",
"AdresRozszerzonyDTO": {
"Departament": "Departament",
"Wydzial": "Wydzial",
"NazwaBudynku": "NazwaBudynku",
"Pietro": "Pietro",
"Dzielnica": "Dzielnica",
"Prowincja": "Prowincja",
"SkrytkaPocztowa": "Sk.22"
}
},
"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",
"NietypowaLokalizacja": "NietypowaLokalizacja",
"AdresRozszerzonyDTO": {
"Departament": "Departament",
"Wydzial": "Wydzial",
"NazwaBudynku": "NazwaBudynku",
"Pietro": "Pietro",
"Dzielnica": "Dzielnica",
"Prowincja": "Prowincja",
"SkrytkaPocztowa": "Sk.22"
}
},
"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",
"NietypowaLokalizacja": "NietypowaLokalizacja",
"AdresRozszerzonyDTO": {
"Departament": "Departament",
"Wydzial": "Wydzial",
"NazwaBudynku": "NazwaBudynku",
"Pietro": "Pietro",
"Dzielnica": "Dzielnica",
"Prowincja": "Prowincja",
"SkrytkaPocztowa": "Sk.22"
}
},
"Kontakt": {
"TelefonKomorkowy": "TelefonKomorkowy",
"SkrytkaPocztowa": "Sk.22",
"EMAIL": "EMAIL",
"Skype": "Skype",
"WWW": "WWW"
},
"Podatki": {
"KodUrzeduSkarbowego": "KodUrzeduSkarbowego",
"Pit26": "Warunkowo2020",
"IdentyfikatorPodatkowy": "PESEL"
},
"Zatrudnienie": {
"OkresOd": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"OkresDo": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"TypUmowy": "Brak",
"Wymiar": {
"Numerator": 1,
"Denominator": 1
},
"Stanowisko": "Stanowisko",
"Funkcja": "Funkcja",
"JednostkaOrg": "JednostkaOrg",
"Zwolniony": false,
"DataRozpPracy": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"DataZawarcia": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"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": "hi91RZ4wsBWwZA==",
"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": "NwI9r/wtC9gpAA==",
"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": "BvCghYT7VRoc0g==",
"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"
}
]
}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": "ed7081ef-7cbf-4fcd-a56e-0a9b9f5d8373",
"CechaExternalID": "CechaExternalID",
"DataAktualnosci": "2026-11-24T11:52:50.6405191Z",
"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": 11,
"Day": 24
}
}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"
},
"NietypowaLokalizacja": {
"type": "string"
},
"AdresRozszerzonyDTO": {
"$ref": "#/definitions/AdresRozszerzonyDTO"
}
}
},
"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"
},
"NietypowaLokalizacja": {
"type": "string"
},
"AdresRozszerzonyDTO": {
"$ref": "#/definitions/AdresRozszerzonyDTO"
}
}
},
"AdresRozszerzonyDTO": {
"type": "object",
"properties": {
"Departament": {
"type": "string"
},
"Wydzial": {
"type": "string"
},
"NazwaBudynku": {
"type": "string"
},
"Pietro": {
"type": "string"
},
"Dzielnica": {
"type": "string"
},
"Prowincja": {
"type": "string"
},
"SkrytkaPocztowa": {
"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"
]
},
"Wymiar": {
"$ref": "#/definitions/FractionDTO"
},
"Stanowisko": {
"type": "string"
},
"Funkcja": {
"type": "string"
},
"JednostkaOrg": {
"type": "string"
},
"Zwolniony": {
"type": "boolean"
},
"DataRozpPracy": {
"$ref": "#/definitions/DataDTO"
},
"DataZawarcia": {
"$ref": "#/definitions/DataDTO"
},
"ID": {
"type": "integer"
},
"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": "291ec415-1c3a-4c16-a86f-e5aeb8d0b84e",
"DataAktualizacji": "2026-11-24T11:52:50.6522873Z",
"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-11-24T11:52:50.6522977Z",
"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",
"NietypowaLokalizacja": "NietypowaLokalizacja",
"AdresRozszerzonyDTO": {
"Departament": "Departament",
"Wydzial": "Wydzial",
"NazwaBudynku": "NazwaBudynku",
"Pietro": "Pietro",
"Dzielnica": "Dzielnica",
"Prowincja": "Prowincja",
"SkrytkaPocztowa": "Sk.22"
}
},
"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",
"NietypowaLokalizacja": "NietypowaLokalizacja",
"AdresRozszerzonyDTO": {
"Departament": "Departament",
"Wydzial": "Wydzial",
"NazwaBudynku": "NazwaBudynku",
"Pietro": "Pietro",
"Dzielnica": "Dzielnica",
"Prowincja": "Prowincja",
"SkrytkaPocztowa": "Sk.22"
}
},
"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",
"NietypowaLokalizacja": "NietypowaLokalizacja",
"AdresRozszerzonyDTO": {
"Departament": "Departament",
"Wydzial": "Wydzial",
"NazwaBudynku": "NazwaBudynku",
"Pietro": "Pietro",
"Dzielnica": "Dzielnica",
"Prowincja": "Prowincja",
"SkrytkaPocztowa": "Sk.22"
}
},
"Kontakt": {
"TelefonKomorkowy": "TelefonKomorkowy",
"SkrytkaPocztowa": "Sk.22",
"EMAIL": "EMAIL",
"Skype": "Skype",
"WWW": "WWW"
},
"Podatki": {
"KodUrzeduSkarbowego": "KodUrzeduSkarbowego",
"Pit26": "Warunkowo2020",
"IdentyfikatorPodatkowy": "PESEL"
},
"Zatrudnienie": {
"OkresOd": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"OkresDo": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"TypUmowy": "Brak",
"Wymiar": {
"Numerator": 1,
"Denominator": 1
},
"Stanowisko": "Stanowisko",
"Funkcja": "Funkcja",
"JednostkaOrg": "JednostkaOrg",
"Zwolniony": false,
"DataRozpPracy": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"DataZawarcia": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"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": "BB812PWCVlsp5Q==",
"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": "9V8FkYTTV2Zkvw==",
"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": "G3/xS19B3nbASg==",
"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"
}
]
}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": "80e9c635-1029-43e3-abd0-63f71b01e8df",
"CechaExternalID": "CechaExternalID",
"DataAktualnosci": "2026-11-24T11:52:50.6536802Z",
"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": 11,
"Day": 24
}
}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": "8c344260-177c-4dde-ba26-2435d595fe47",
"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": 11,
"Day": 24
},
"OkresDo": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"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": "9R0q8Oj5lna+dw==",
"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"
}
]
}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": "Vr22xJdo7Fn9rg==",
"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"
}
]
}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-11-24T11:52:50.6678870Z"
},
"Key": "Key",
"Success": false,
"Description": "Description",
"Errors": [
{
"Source": "Source",
"Type": "Type",
"Message": "Message",
"StackTrace": "StackTrace"
}
],
"Warnings": [
{
"Lp": 1,
"Type": "Type",
"Message": "Message"
}
]
}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"
}
]
}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": "tCkShxPu/G2F2A==",
"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": "1NZ/4dfSUVliWA==",
"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"
}
]
}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": "RxRfVDqVpPKR7w==",
"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": "TXZTMA0/sNCd5w==",
"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"
}
]
}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": "srod/rf+2GgmSA==",
"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"
}
]
}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": "fOTixIMlYhe/ZQ==",
"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"
}
]
}Method name: GetFeatures
URL: https://{{baseAddress}}/api/OperationFunctionsWebAPI/GetFeatures
HTTP method: POST
Params type: GetFeaturesParams
Result type: GetResultFeatures
Description: The method retrieves features of an object by ID and table name / Metoda odczytu cech obiektu według ID i nazwy tabeli
Comment: Provide ID and TableName. DataAktualnosci determines the date for historical and context-dependent algorithmic features. A definition must have 'Dostęp przez WebAPI' or the legacy 'Obsługa WCF' flag set to true. To disable access, both flags must be false or absent / Podaj ID i TableName. DataAktualnosci określa datę odczytu cech historycznych i algorytmicznych zależnych od kontekstu. Definicja musi mieć 'Dostęp przez WebAPI' lub historyczną 'Obsługa WCF' ustawioną na true. Wyłączenie dostępu wymaga false lub braku obu znaczników
Sample request for object GetFeaturesParams. Replace placeholders with real values.
Schema (JSON) for class GetFeaturesParams:
{
"title": "GetFeaturesParams",
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"DataAktualnosci": {
"type": "string",
"format": "date-time"
}
},
"required": [
"ID",
"TableName"
]
}Sample JSON file:
{
"ID": 1,
"TableName": "TableName",
"DataAktualnosci": "2026-11-24T11:52:50.6888788Z"
}Sample response:
Schema (JSON) for class GetResultFeatures:
{
"title": "GetResultFeatures",
"definitions": {
"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": {
"ID": {
"type": "integer"
},
"TableName": {
"type": "string"
},
"Count": {
"type": "integer"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"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:
{
"ID": 1,
"TableName": "TableName",
"Count": 1,
"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"
}
]
}Method name: UpdateFeatures
URL: https://{{baseAddress}}/api/OperationFunctionsWebAPI/UpdateFeatures
HTTP method: POST
Params type: UpdateFeaturesParams
Result type: UpdateResult
Description: The method updates feature values on an existing object / Metoda aktualizacji wartości cech istniejącego obiektu
Comment: Only supplied feature values are changed; the object and feature definitions must already exist. Value is required; null clears the value according to its type. Historical features require UpdateDate. Read-only algorithms (Get/GetArgs) are skipped with a ReadOnlyFeature warning. TestMode=true rolls back the write / Zmieniane są tylko przekazane wartości cech; obiekt i definicje cech muszą już istnieć. Value jest wymagane; null czyści wartość zgodnie z typem cechy. Cechy historyczne wymagają UpdateDate. Algorytmy tylko do odczytu (Get/GetArgs) są pomijane z ostrzeżeniem ReadOnlyFeature. TestMode=true wycofuje zapis
Sample request for object UpdateFeaturesParams. Replace placeholders with real values.
Schema (JSON) for class UpdateFeaturesParams:
{
"title": "UpdateFeaturesParams",
"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"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
},
"TestMode": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"ID",
"TableName",
"Features"
]
}Sample JSON file:
{
"TestMode": false,
"ID": 1,
"TableName": "TableName",
"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"
}
]
}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": "8e9d06e0-b5c0-40d7-912a-21be30f2c7d3",
"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": 11,
"Day": 24
}
}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"
},
"NietypowaLokalizacja": {
"type": "string"
},
"AdresRozszerzonyDTO": {
"$ref": "#/definitions/AdresRozszerzonyDTO"
}
}
},
"AdresRozszerzonyDTO": {
"type": "object",
"properties": {
"Departament": {
"type": "string"
},
"Wydzial": {
"type": "string"
},
"NazwaBudynku": {
"type": "string"
},
"Pietro": {
"type": "string"
},
"Dzielnica": {
"type": "string"
},
"Prowincja": {
"type": "string"
},
"SkrytkaPocztowa": {
"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": "7657561d-2241-4585-9984-e86dbc6657bf",
"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",
"NietypowaLokalizacja": "NietypowaLokalizacja",
"AdresRozszerzonyDTO": {
"Departament": "Departament",
"Wydzial": "Wydzial",
"NazwaBudynku": "NazwaBudynku",
"Pietro": "Pietro",
"Dzielnica": "Dzielnica",
"Prowincja": "Prowincja",
"SkrytkaPocztowa": "Sk.22"
}
},
"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",
"NietypowaLokalizacja": "NietypowaLokalizacja",
"AdresRozszerzonyDTO": {
"Departament": "Departament",
"Wydzial": "Wydzial",
"NazwaBudynku": "NazwaBudynku",
"Pietro": "Pietro",
"Dzielnica": "Dzielnica",
"Prowincja": "Prowincja",
"SkrytkaPocztowa": "Sk.22"
}
},
"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": "2YFrTLGq7bIM8Q==",
"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": 11,
"Day": 24
},
"DataDo": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"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": "M2dRhh+kPjN/Sg==",
"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"
}
]
}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": "738760e1-cbb2-459a-88ad-971eb22fe64a",
"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": 11,
"Day": 24
}
}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"
},
"NietypowaLokalizacja": {
"type": "string"
},
"AdresRozszerzonyDTO": {
"$ref": "#/definitions/AdresRozszerzonyDTO"
}
}
},
"AdresRozszerzonyDTO": {
"type": "object",
"properties": {
"Departament": {
"type": "string"
},
"Wydzial": {
"type": "string"
},
"NazwaBudynku": {
"type": "string"
},
"Pietro": {
"type": "string"
},
"Dzielnica": {
"type": "string"
},
"Prowincja": {
"type": "string"
},
"SkrytkaPocztowa": {
"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": "f5dc4754-1185-4d53-b2b4-d7eb06fc21d8",
"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",
"NietypowaLokalizacja": "NietypowaLokalizacja",
"AdresRozszerzonyDTO": {
"Departament": "Departament",
"Wydzial": "Wydzial",
"NazwaBudynku": "NazwaBudynku",
"Pietro": "Pietro",
"Dzielnica": "Dzielnica",
"Prowincja": "Prowincja",
"SkrytkaPocztowa": "Sk.22"
}
},
"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",
"NietypowaLokalizacja": "NietypowaLokalizacja",
"AdresRozszerzonyDTO": {
"Departament": "Departament",
"Wydzial": "Wydzial",
"NazwaBudynku": "NazwaBudynku",
"Pietro": "Pietro",
"Dzielnica": "Dzielnica",
"Prowincja": "Prowincja",
"SkrytkaPocztowa": "Sk.22"
}
},
"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": "c4xNfpSuq9ryUw==",
"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": 11,
"Day": 24
},
"DataDo": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"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": "WVBWuvjDRMP+Hw==",
"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"
}
]
}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"
},
"NietypowaLokalizacja": {
"type": "string"
},
"AdresRozszerzonyDTO": {
"$ref": "#/definitions/AdresRozszerzonyDTO"
}
}
},
"AdresRozszerzonyDTO": {
"type": "object",
"properties": {
"Departament": {
"type": "string"
},
"Wydzial": {
"type": "string"
},
"NazwaBudynku": {
"type": "string"
},
"Pietro": {
"type": "string"
},
"Dzielnica": {
"type": "string"
},
"Prowincja": {
"type": "string"
},
"SkrytkaPocztowa": {
"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": "2e48d909-ff9a-4ce0-bbbb-be5d6ccd2a4a",
"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",
"NietypowaLokalizacja": "NietypowaLokalizacja",
"AdresRozszerzonyDTO": {
"Departament": "Departament",
"Wydzial": "Wydzial",
"NazwaBudynku": "NazwaBudynku",
"Pietro": "Pietro",
"Dzielnica": "Dzielnica",
"Prowincja": "Prowincja",
"SkrytkaPocztowa": "Sk.22"
}
},
"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",
"NietypowaLokalizacja": "NietypowaLokalizacja",
"AdresRozszerzonyDTO": {
"Departament": "Departament",
"Wydzial": "Wydzial",
"NazwaBudynku": "NazwaBudynku",
"Pietro": "Pietro",
"Dzielnica": "Dzielnica",
"Prowincja": "Prowincja",
"SkrytkaPocztowa": "Sk.22"
}
},
"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": "Zch5d28sVQ49EA==",
"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": 11,
"Day": 24
},
"DataDo": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"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": "UsBqPnGCI3Mx1w==",
"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"
}
]
}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"
}
]
}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": 11,
"Day": 24
},
"DataDo": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"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"
}
]
}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": "5gMbhjwoV5H1xA==",
"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"
}
]
}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": "R17QWkURQtUzkw==",
"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"
}
]
}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": "8mXovWzrjBLhAw==",
"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"
}
]
}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"
}
]
}AltOne.WebAPI.DataExchangeTable
Assembly name: AltOne.WCF.DataExchangeTable
Version: 2606.0.1.60100+be025e51fbe379a846634a8bf4bd82c7c10eaa70,
Last modified: 2.11.2026 15:26:54
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-11-24T11:52:50.7525424Z"
}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"
}
]
}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-11-24T11:52:50.7551250Z",
"SourceID": 1,
"HideErrors": false,
"Extended": false,
"LastID": 1,
"PacketSize": 1,
"Conditions": [
{
"LogicalOperator": "And",
"Operator": "Equal",
"ColumnName": "ColumnName",
"FilterValue": "FilterValue"
}
],
"UpdateDate": {
"Year": 2026,
"Month": 11,
"Day": 24
}
}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-11-24T11:52:50.7573211Z",
"TermToExport": "2026-11-24T11:52:50.7573224Z",
"Operator": "Operator",
"Memo": "Memo"
}
}
],
"Success": false,
"Description": "Description",
"Errors": [
{
"Source": "Source",
"Type": "Type",
"Message": "Message",
"StackTrace": "StackTrace"
}
],
"Warnings": [
{
"Lp": 1,
"Type": "Type",
"Message": "Message"
}
]
}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"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
}
},
"required": [
"ID_RecordChange",
"Success"
]
},
"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": {
"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",
"Features": [
{
"Name": "Name",
"Value": null,
"Type": "Type",
"UpdateDate": null
}
]
}
]
}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"
}
]
}AltOne.WebAPI.KsiegowanieListPlac
Assembly name: AltOne.WebAPI.KsiegowanieListPlac
Version: 2510.1.1.10101-Alfa+d82189e1f8ef59c060f4f4b1fea6dbaeb4d94676,
Last modified: 14.09.2026 14:34:28
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": {
"IDs": {
"type": "array",
"items": {
"type": "integer"
}
},
"IDsWgDokEwidencji": {
"type": "array",
"items": {
"type": "integer"
}
}
}
}Sample JSON file:
{
"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",
"GUS"
]
},
"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": 11,
"Day": 24
},
"StanRozliczenia": "Nierozliczony",
"Guid": "f6e34f0b-ced0-4505-8484-4aa8ab60b96d",
"Podmiot": {
"TypPodmiotu": "NieOkreślony",
"ID": 1,
"Kod": "Kod",
"Guid": "09e48186-8dcc-47c0-8718-120cc811e692",
"ExternalID": "ExternalID",
"EuVAT": "EuVAT",
"Miejscowosc": "Miejscowosc"
},
"EwidencjaSP": "EwidencjaSP",
"SposobZaplaty": "SposobZaplaty",
"Rachunek26": "Rachunek26",
"Opis": "Opis",
"Termin": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"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": "FCCsgof92Mf+2w==",
"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: GetDokumentEwidencji
URL: https://{{baseAddress}}/api/KsiegowanieListPlacWebAPI2/GetDokumentEwidencji
HTTP method: POST
Params type: GetDokumentEwidencjiParams
Result type: DataResponse<DokumentEwidencjiBaseDTO>
Description: Fetch accounting evidence document / Pobieranie dokumentu ewidencji
Comment: Retrieve the specified accounting evidence document identified by ID. The response contains document metadata and a collection of postings with journal entries. / Pobierz wskazany dokument ewidencji identyfikowany przez ID. Odpowiedź zawiera metadane dokumentu oraz kolekcję dekretów z zapisami księgowymi.
Sample request for object GetDokumentEwidencjiParams. Replace placeholders with real values.
Schema (JSON) for class GetDokumentEwidencjiParams:
{
"title": "GetDokumentEwidencjiParams",
"type": "object",
"properties": {
"ID": {
"type": "integer"
}
}
}Sample JSON file:
{
"ID": 1
}Sample response:
Schema (JSON) for class DataResponse<DokumentEwidencjiBaseDTO>:
{
"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": {
"Guid": {
"type": "string"
},
"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"
]
}
}
},
"DokumentEwidencjiBaseDTO": {
"type": "object",
"properties": {
"Guid": {
"type": "string"
},
"Definicja": {
"type": "string"
},
"DataWplywu": {
"$ref": "#/definitions/DataDTO"
},
"DataEwidencji": {
"$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"
]
},
"KontoKsiegoweDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"Symbol": {
"type": "string"
},
"Nazwa": {
"type": "string"
},
"Rodzaj2": {
"type": "string",
"enum": [
"Syntetyczne",
"Analityczne"
]
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
},
"ZapisKsiegowyDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"Lp": {
"type": "integer"
},
"Konto": {
"$ref": "#/definitions/KontoKsiegoweDTO"
},
"WN": {
"$ref": "#/definitions/CurrencyDTO"
},
"MA": {
"$ref": "#/definitions/CurrencyDTO"
},
"Opis": {
"type": "string"
},
"Features": {
"type": "array",
"items": {
"$ref": "#/definitions/FeatureDTO"
}
}
}
}
},
"type": "object",
"properties": {
"Data": {
"$ref": "#/definitions/DokumentEwidencjiBaseDTO"
},
"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": "26251571-0cff-4b07-80c9-23118f1d303f",
"Definicja": "Definicja",
"DataWplywu": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"DataEwidencji": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"Numer": "Numer",
"Opis": "Opis",
"Dekrety": [
{
"Guid": "087ba1e4-b142-4425-b970-4d79b764c5ba",
"Numer": "Numer",
"Data": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"Opis": "Opis",
"WN": {
"Value": 1.0,
"Symbol": "Symbol"
},
"MA": {
"Value": 1.0,
"Symbol": "Symbol"
},
"ZapisyKsiegowe": [
{
"ID": 1,
"Lp": 1,
"Konto": {
"ID": 1,
"Symbol": "Symbol",
"Nazwa": "Nazwa",
"Rodzaj2": "Syntetyczne"
},
"WN": {
"Value": 1.0,
"Symbol": "Symbol"
},
"MA": {
"Value": 1.0,
"Symbol": "Symbol"
},
"Opis": "Opis",
"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": "8m1FpEHiRfWrdg==",
"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": "EhB14Ho5+jg08g==",
"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: 2606.0.1.20000+a4c744e5afa115004d211c3185116be2dbd1bb08,
Last modified: 2.11.2026 15:26:54
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": "91fd6b06-40f0-4a6f-89d0-47d2d38e1d64",
"DataAktualnosci": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"OkresOd": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"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": "Un/MIlS3TPCKQQ==",
"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"
}
]
}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": "b57cb0c5-4cf7-455e-9d2e-58e8846a974b",
"CechaExternalID": "CechaExternalID",
"DataAktualnosci": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"IDs": [
1
],
"LastID": 1,
"PacketSize": 1,
"Conditions": [
{
"LogicalOperator": "And",
"Operator": "Equal",
"ColumnName": "ColumnName",
"FilterValue": "FilterValue"
}
],
"UpdateDate": {
"Year": 2026,
"Month": 11,
"Day": 24
}
}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": "f6028c14-2adb-47a7-b252-10cad0a40c80",
"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": "RW6s2WbswNW2uA==",
"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"
}
]
}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": "94fffbd7-2ddf-450e-a6af-af4a50be55b2"
}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"
}
]
}AltOne.WebAPI.ObslugaCzasuPracy
Assembly name: AltOne.WebAPI.ObslugaCzasuPracy
Version: 2606.0.1.20001+3d79ea42501321e833de351b6451bed91f83f0d2,
Last modified: 2.11.2026 15:26:54
List of available methods:
Interface: ICzasPracy
- 01. UpsertDniPlanu
- 02. UpsertDniPracy
- 03. GetDniPlanu
- 04. GetDniPracy
- 05. GetSwieta
- 06. GetNieobecnosci
- 07. GetDefinicjeNieobecnosci
- 08. GetDefinicjeDni
- 09. UpsertNieobecnosc
- 10. UpsertKorektaNieobecnosci
- 11. DeleteNieobecnosc
- 12. GetLimityNieobecnosci
- 13. GetKalendarzPracownika
- 14. UpsertKartaRcp
- 15. GetKartyRcp
- 16. GetPracaZdalna
- 17. GetOryginalneWejsciaWyjsciaRCP
Interface: IWorkTime
- 01. GetPlannedDays
- 02. GetWorkDays
- 03. UpsertPlannedDays
- 04. UpsertWorkingDays
- 05. GetHolidays
- 06. GetAbsences
- 07. GetAbsenceDefinitions
- 08. GetDayDefinitions
- 09. UpsertAbsence
- 10. UpsertAbsenceCorrect
- 11. DeleteAbsence
- 12. GetAbsenceLimits
- 13. GetEmployeeCalendar
- 14. UpsertTimeCard
- 15. GetTimeCards
- 16. GetOriginalTimeCardEntryExit
- 17. GetRemoteWork
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": 11,
"Day": 24
},
"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": "XR5aYxnASDYsMw==",
"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": "lQU+VJSAx1smWw==",
"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": 11,
"Day": 24
},
"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": "TuM6iC40/Zs9WQ==",
"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": "vlnbh+CkSe7Scw==",
"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": 11,
"Day": 24
},
"DataDo": {
"Year": 2026,
"Month": 11,
"Day": 24
}
},
"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": 11,
"Day": 24
},
"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": "tNaUuLFiA3TGFg==",
"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": "rdnMlEUQ3WzpNw==",
"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": 11,
"Day": 24
},
"DataDo": {
"Year": 2026,
"Month": 11,
"Day": 24
}
},
"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": 11,
"Day": 24
},
"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": "FCfjSOwNXy7c1g==",
"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": "wqp+rLs3lZ3dEQ==",
"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": 11,
"Day": 24
},
"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": "550eo32zz/dPUw==",
"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": "VtVOefSQcpPbQw==",
"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": 11,
"Day": 24
},
"DataDo": {
"Year": 2026,
"Month": 11,
"Day": 24
}
},
"Definicja": "Definicja",
"DodatkoweInformacje": false,
"LastID": 1,
"PacketSize": 1,
"Conditions": [
{
"LogicalOperator": "And",
"Operator": "Equal",
"ColumnName": "ColumnName",
"FilterValue": "FilterValue"
}
],
"UpdateDate": {
"Year": 2026,
"Month": 11,
"Day": 24
}
}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": "7e7e7c95-5f41-46ef-947b-fd41722f3dbe",
"IDPracownika": 1,
"KodPracownika": "KodPracownika",
"Definicja": "Definicja",
"DataOd": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"DataDo": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"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-11-24T11:52:50.8390608Z",
"Korekty": [
{
"IDPracownika": 1,
"KodPracownika": "KodPracownika",
"Definicja": "Definicja",
"DataOd": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"DataDo": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"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-11-24T11:52:50.8390724Z",
"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": "VG60Ol8YReQ7eQ==",
"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": "v7YqPktghaYLaA==",
"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": "cNqCtZ/JNmd5eQ==",
"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": "4e3d1da3-fc0d-416f-9a29-b71a4bf339b9",
"IDPracownika": 1,
"KodPracownika": "KodPracownika",
"Definicja": "Definicja",
"DataOd": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"DataDo": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"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-11-24T11:52:50.8539490Z",
"Korekty": [
{
"IDPracownika": 1,
"KodPracownika": "KodPracownika",
"Definicja": "Definicja",
"DataOd": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"DataDo": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"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-11-24T11:52:50.8539615Z",
"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": "v3+7KZKvJFDasw==",
"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": "H7udV1JGW9520g==",
"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": 11,
"Day": 24
},
"DataDo": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"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-11-24T11:52:50.8580318Z",
"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": "+SPRVjpkRcpFKw==",
"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": "5562fda3-03d4-4e16-9197-3945ad99e17a"
}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": 11,
"Day": 24
},
"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": 11,
"Day": 24
},
"DataDo": {
"Year": 2026,
"Month": 11,
"Day": 24
}
},
"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": "YCsWBH8EwZj6FA==",
"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": 11,
"Day": 24
},
"DataDo": {
"Year": 2026,
"Month": 11,
"Day": 24
}
}
}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": "11df0f5d-fbd1-4624-8b84-49861c73f74c",
"IDPracownika": 1,
"KodPracownika": "KodPracownika",
"Definicja": "Definicja",
"DataOd": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"DataDo": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"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-11-24T11:52:50.8803508Z",
"Korekty": [
{
"IDPracownika": 1,
"KodPracownika": "KodPracownika",
"Definicja": "Definicja",
"DataOd": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"DataDo": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"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-11-24T11:52:50.8803627Z",
"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": "xxwtgXJ/cXwSQA==",
"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": "EtQ2JMra2WzvhA==",
"Features": [
{
"Name": "Name",
"Value": null,
"Type": "Type",
"UpdateDate": null
}
]
}
]
},
"DzienPracyDTO": {
"IDPracownika": 1,
"KodPracownika": "KodPracownika",
"Data": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"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": "2bkA9HoMPK1rvQ==",
"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": "rnkq2ItOaG6bzw==",
"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": "9823f2be-c2d5-4d5f-a029-60f771f7e95d",
"IDPracownika": 1,
"KodPracownika": "KodPracownika",
"DataOd": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"DataDo": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"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": "hlAivc4AM1avXA==",
"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": 11,
"Day": 24
}
}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": "65c82687-ec32-496c-b9aa-3b8e9856484b",
"IDPracownika": 1,
"KodPracownika": "KodPracownika",
"DataOd": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"DataDo": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"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": "L73eZGNOa9Z/wg==",
"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": 11,
"Day": 24
}
}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": 11,
"Day": 24
},
"PracaZdalnaNaDzien": false,
"WniosekPracaZdalna": {
"Definicja": "Definicja",
"DataZlozenia": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"DataDecyzji": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"Okres": {
"DataOd": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"DataDo": {
"Year": 2026,
"Month": 11,
"Day": 24
}
}
}
}
],
"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": 11,
"Day": 24
},
"DataDo": {
"Year": 2026,
"Month": 11,
"Day": 24
}
},
"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": 11,
"Day": 24
},
"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": 11,
"Day": 24
},
"DateTo": {
"Year": 2026,
"Month": 11,
"Day": 24
}
},
"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": 11,
"Day": 24
},
"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": "majU0Elo4SDcrQ==",
"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": "/NpmdZ+aDu60AA==",
"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": 11,
"Day": 24
},
"DateTo": {
"Year": 2026,
"Month": 11,
"Day": 24
}
},
"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": 11,
"Day": 24
},
"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": "KwC5v9h78gb+RA==",
"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": "EHqp9V3Z6IeZAA==",
"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": 11,
"Day": 24
},
"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": "3FKlTdkt6DB3pA==",
"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": "zvUALQXfGAol+Q==",
"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": 11,
"Day": 24
},
"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": "kR40DXC3X+jgUg==",
"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": "N5whhjVWil10Zg==",
"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": 11,
"Day": 24
},
"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": "8xEnkQpq7elsPw==",
"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": "YKT6FqzhZz/njw==",
"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": 11,
"Day": 24
},
"DataDo": {
"Year": 2026,
"Month": 11,
"Day": 24
}
},
"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"
}
},
"SubstituteEmployeeCode": {
"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"
]
}
}
},
"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": "3b951a8a-30c8-4902-ac70-4d25721035e0",
"EmployeeID": 1,
"EmployeeCode": "EmployeeCode",
"AbsenceDefinition": "AbsenceDefinition",
"DateFrom": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"DateTo": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"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-11-24T11:52:50.9432978Z",
"Corrections": [
{
"EmployeeID": 1,
"EmployeeCode": "EmployeeCode",
"AbsenceDefinition": "AbsenceDefinition",
"DateFrom": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"DateTo": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"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-11-24T11:52:50.9433114Z",
"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": "/ab46OSW4O5/aA==",
"Features": [
{
"Name": "Name",
"Value": null,
"Type": "Type",
"UpdateDate": null
}
]
}
]
}
],
"SubstituteEmployeeCode": "SubstituteEmployeeCode",
"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": "9kWfumErHi7VbQ==",
"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": "oMCO/MVuiWFOiQ==",
"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"
}
},
"SubstituteEmployeeCode": {
"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": "aeafdadd-e6b8-451a-b6e8-a9759aa8ca4e",
"EmployeeID": 1,
"EmployeeCode": "EmployeeCode",
"AbsenceDefinition": "AbsenceDefinition",
"DateFrom": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"DateTo": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"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-11-24T11:52:50.9599839Z",
"Corrections": [
{
"EmployeeID": 1,
"EmployeeCode": "EmployeeCode",
"AbsenceDefinition": "AbsenceDefinition",
"DateFrom": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"DateTo": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"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-11-24T11:52:50.9599982Z",
"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": "cxVvw6ECghXILA==",
"Features": [
{
"Name": "Name",
"Value": null,
"Type": "Type",
"UpdateDate": null
}
]
}
]
}
],
"SubstituteEmployeeCode": "SubstituteEmployeeCode",
"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": "LBwd/ATkAJ2Oyw==",
"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": 11,
"Day": 24
},
"DateTo": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"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-11-24T11:52:50.9659231Z",
"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": "Ha3t+fFG2k1MIQ==",
"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": "b8c973c9-1762-4001-9a98-7b632ccb1535"
}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": 11,
"Day": 24
},
"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": 11,
"Day": 24
},
"DateTo": {
"Year": 2026,
"Month": 11,
"Day": 24
}
},
"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": "kj1Yb+PxrewqXA==",
"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": 11,
"Day": 24
},
"DataDo": {
"Year": 2026,
"Month": 11,
"Day": 24
}
}
}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": "27f54311-f212-4cb2-ac33-5d7f799922d2",
"IDPracownika": 1,
"KodPracownika": "KodPracownika",
"Definicja": "Definicja",
"DataOd": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"DataDo": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"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-11-24T11:52:50.9867443Z",
"Korekty": [
{
"IDPracownika": 1,
"KodPracownika": "KodPracownika",
"Definicja": "Definicja",
"DataOd": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"DataDo": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"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-11-24T11:52:50.9867582Z",
"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": "lG6ivVP01+zk4A==",
"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": "iApsMnuZt6Xwdg==",
"Features": [
{
"Name": "Name",
"Value": null,
"Type": "Type",
"UpdateDate": null
}
]
}
]
},
"WorkDay": {
"EmployeeID": 1,
"EmployeeCode": "EmployeeCode",
"Date": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"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": "30skwWEE7/Rciw==",
"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": "ZpwJVdAaQZhEAQ==",
"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": "0d185f2c-d308-4308-b4ea-194f3fdd9a38",
"EmployeeID": 1,
"EmployeeCode": "EmployeeCode",
"DateFrom": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"DateTo": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"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": "pveiwDwxbhICfA==",
"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": 11,
"Day": 24
},
"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": "f251dcaf-d40c-4860-8dd8-d3315b305a5f",
"EmployeeID": 1,
"EmployeeCode": "EmployeeCode",
"DateFrom": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"DateTo": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"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": "qR2IR4D6AwYzYw==",
"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": 11,
"Day": 24
},
"DataDo": {
"Year": 2026,
"Month": 11,
"Day": 24
}
},
"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": 11,
"Day": 24
},
"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": 11,
"Day": 24
}
}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": 11,
"Day": 24
},
"RemoteWorkForDay": false,
"RemoteWorkRequest": {
"Definicja": "Definicja",
"DataZlozenia": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"DataDecyzji": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"Okres": {
"DataOd": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"DataDo": {
"Year": 2026,
"Month": 11,
"Day": 24
}
}
}
}
],
"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: 2606.0.1.30000+58b1fb3d99c0ab4329ee87401adad706feaed311,
Last modified: 2.11.2026 15:26:54
List of available methods:
Interface: IFakturyHandlowe2
- 01. InsertDokumentHandlowy
- 02. GetFilePDF
- 03. UpsertKartotekaTowarowa
- 04. GetTowary
- 05. GetDokumentyHandlowe
- 06. GetOsobyKontaktowe
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": {
"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"
},
"NietypowaLokalizacja": {
"type": "string"
},
"AdresRozszerzonyDTO": {
"$ref": "#/definitions/AdresRozszerzonyDTO"
}
}
},
"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"
]
},
"AdresRozszerzonyDTO": {
"type": "object",
"properties": {
"Departament": {
"type": "string"
},
"Wydzial": {
"type": "string"
},
"NazwaBudynku": {
"type": "string"
},
"Pietro": {
"type": "string"
},
"Dzielnica": {
"type": "string"
},
"Prowincja": {
"type": "string"
},
"SkrytkaPocztowa": {
"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",
"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"
]
},
"DanePodmiotuTrzeciegoDTO": {
"type": "object",
"properties": {
"Zastosuj": {
"type": "boolean"
},
"Zmien": {
"type": "boolean"
},
"DaneDoKSeF": {
"type": "string",
"enum": [
"Brak",
"Lokalizacja",
"Odbiorca",
"NieWysylaj",
"Oddzial",
"DaneFirmy",
"DaneKontrahenta"
]
},
"IdentyfikatorWewnetrznyKSeF": {
"type": "string"
},
"RolaPodmiotuTrzeciegoKSeF": {
"type": "string",
"enum": [
"Brak",
"Faktor",
"Odbiorca",
"PodmiotPierwotny",
"DodatkowyNabywca",
"WystawcaFaktury",
"DokonujacyPlatnosci",
"JednostkaSamorzaduTerytorialnegoWystawca",
"JednostkaSamorzaduTerytorialnegoOdbiorca",
"CzłonekGrupyVATWystawca",
"CzłonekGrupyVATOdbiorca",
"Pracownik",
"RolaInna"
]
},
"TypIdentyfikatoraWew": {
"type": "string",
"enum": [
"IdWew",
"NIP",
"BrakId",
"NrVatUE",
"NrID"
]
}
}
},
"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"
]
},
"PodmiotDodatkowyDTO": {
"type": "object",
"properties": {
"IdentyfikatorWewnetrzny": {
"type": "string"
},
"KodKontrahenta": {
"type": "string"
},
"Rola": {
"type": "string",
"enum": [
"Brak",
"Faktor",
"Odbiorca",
"PodmiotPierwotny",
"DodatkowyNabywca",
"WystawcaFaktury",
"DokonujacyPlatnosci",
"JednostkaSamorzaduTerytorialnegoWystawca",
"JednostkaSamorzaduTerytorialnegoOdbiorca",
"CzłonekGrupyVATWystawca",
"CzłonekGrupyVATOdbiorca",
"Pracownik",
"RolaInna"
]
},
"Nazwa": {
"type": "string"
},
"AdresPodmiotu": {
"$ref": "#/definitions/AdresDTO"
}
}
},
"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"
},
"DanePodmiotuTrzeciego": {
"$ref": "#/definitions/DanePodmiotuTrzeciegoDTO"
},
"PodmiotyDodatkoweKSeF": {
"type": "array",
"items": {
"$ref": "#/definitions/PodmiotDodatkowyDTO"
}
},
"ID": {
"type": "integer"
},
"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": "ebdb021a-9a69-4a00-b04f-c742096b35c2",
"DataOperacji": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"Data": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"DataDostawy": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"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": 11,
"Day": 24
},
"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": "KW8nm6veR+OJfA==",
"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": "6GsChBFrZ7FQog==",
"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": 11,
"Day": 24
}
},
"Korekta": {
"NumerZrodlowy": "NumerZrodlowy",
"DataDokumentu": {
"Year": 2026,
"Month": 11,
"Day": 24
}
},
"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": 11,
"Day": 24
},
"DataPrzyjeciaKSeF": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"Link": "Link",
"ContentXML": "ContentXML"
},
"DanePodmiotuTrzeciego": {
"Zastosuj": false,
"Zmien": false,
"DaneDoKSeF": "Brak",
"IdentyfikatorWewnetrznyKSeF": "IdentyfikatorWewnetrznyKSeF",
"RolaPodmiotuTrzeciegoKSeF": "Brak",
"TypIdentyfikatoraWew": "IdWew"
},
"PodmiotyDodatkoweKSeF": [
{
"IdentyfikatorWewnetrzny": "IdentyfikatorWewnetrzny",
"KodKontrahenta": "KodKontrahenta",
"Rola": "Brak",
"Nazwa": "Nazwa",
"AdresPodmiotu": {
"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",
"NietypowaLokalizacja": "NietypowaLokalizacja",
"AdresRozszerzonyDTO": {
"Departament": "Departament",
"Wydzial": "Wydzial",
"NazwaBudynku": "NazwaBudynku",
"Pietro": "Pietro",
"Dzielnica": "Dzielnica",
"Prowincja": "Prowincja",
"SkrytkaPocztowa": "Sk.22"
}
}
}
],
"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": "2y7FaY1w3rBRlg==",
"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": "8c170309-46a8-4044-8a17-91e7e42682c6",
"NumerDokumentu": "NumerDokumentu",
"Kurs": 1.0,
"DataWystawienia": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"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": "TqUiIhZYCj85Uw==",
"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": "9cc39bb9-d76f-4ea8-9132-cde783ded84c",
"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": "BZPnBwPreEoakg==",
"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": 11,
"Day": 24
}
}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": "363393a4-37c2-4843-a170-5365be90f547",
"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": "cBh31XJ2M2gxVg==",
"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": 11,
"Day": 24
}
}Sample response:
Schema (JSON) for class PackableDataResponse<DokHandlowyDTO>:
{
"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"
},
"NietypowaLokalizacja": {
"type": "string"
},
"AdresRozszerzonyDTO": {
"$ref": "#/definitions/AdresRozszerzonyDTO"
}
}
},
"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"
]
},
"AdresRozszerzonyDTO": {
"type": "object",
"properties": {
"Departament": {
"type": "string"
},
"Wydzial": {
"type": "string"
},
"NazwaBudynku": {
"type": "string"
},
"Pietro": {
"type": "string"
},
"Dzielnica": {
"type": "string"
},
"Prowincja": {
"type": "string"
},
"SkrytkaPocztowa": {
"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",
"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"
]
},
"DanePodmiotuTrzeciegoDTO": {
"type": "object",
"properties": {
"Zastosuj": {
"type": "boolean"
},
"Zmien": {
"type": "boolean"
},
"DaneDoKSeF": {
"type": "string",
"enum": [
"Brak",
"Lokalizacja",
"Odbiorca",
"NieWysylaj",
"Oddzial",
"DaneFirmy",
"DaneKontrahenta"
]
},
"IdentyfikatorWewnetrznyKSeF": {
"type": "string"
},
"RolaPodmiotuTrzeciegoKSeF": {
"type": "string",
"enum": [
"Brak",
"Faktor",
"Odbiorca",
"PodmiotPierwotny",
"DodatkowyNabywca",
"WystawcaFaktury",
"DokonujacyPlatnosci",
"JednostkaSamorzaduTerytorialnegoWystawca",
"JednostkaSamorzaduTerytorialnegoOdbiorca",
"CzłonekGrupyVATWystawca",
"CzłonekGrupyVATOdbiorca",
"Pracownik",
"RolaInna"
]
},
"TypIdentyfikatoraWew": {
"type": "string",
"enum": [
"IdWew",
"NIP",
"BrakId",
"NrVatUE",
"NrID"
]
}
}
},
"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"
},
"DanePodmiotuTrzeciego": {
"$ref": "#/definitions/DanePodmiotuTrzeciegoDTO"
},
"PodmiotyDodatkoweKSeF": {
"type": "array",
"items": {
"$ref": "#/definitions/PodmiotDodatkowyDTO"
}
},
"ID": {
"type": "integer"
},
"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"
]
},
"PodmiotDodatkowyDTO": {
"type": "object",
"properties": {
"IdentyfikatorWewnetrzny": {
"type": "string"
},
"KodKontrahenta": {
"type": "string"
},
"Rola": {
"type": "string",
"enum": [
"Brak",
"Faktor",
"Odbiorca",
"PodmiotPierwotny",
"DodatkowyNabywca",
"WystawcaFaktury",
"DokonujacyPlatnosci",
"JednostkaSamorzaduTerytorialnegoWystawca",
"JednostkaSamorzaduTerytorialnegoOdbiorca",
"CzłonekGrupyVATWystawca",
"CzłonekGrupyVATOdbiorca",
"Pracownik",
"RolaInna"
]
},
"Nazwa": {
"type": "string"
},
"AdresPodmiotu": {
"$ref": "#/definitions/AdresDTO"
}
}
},
"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": "e1a1b8ec-15bd-485b-b7d9-db497301c063",
"DataOperacji": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"Data": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"DataDostawy": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"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": 11,
"Day": 24
},
"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": "mD8YYRWNdwfxIw==",
"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": "bKJPaOhefF/feQ==",
"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": 11,
"Day": 24
}
},
"Korekta": {
"NumerZrodlowy": "NumerZrodlowy",
"DataDokumentu": {
"Year": 2026,
"Month": 11,
"Day": 24
}
},
"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": 11,
"Day": 24
},
"DataPrzyjeciaKSeF": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"Link": "Link",
"ContentXML": "ContentXML"
},
"DanePodmiotuTrzeciego": {
"Zastosuj": false,
"Zmien": false,
"DaneDoKSeF": "Brak",
"IdentyfikatorWewnetrznyKSeF": "IdentyfikatorWewnetrznyKSeF",
"RolaPodmiotuTrzeciegoKSeF": "Brak",
"TypIdentyfikatoraWew": "IdWew"
},
"PodmiotyDodatkoweKSeF": [
{
"IdentyfikatorWewnetrzny": "IdentyfikatorWewnetrzny",
"KodKontrahenta": "KodKontrahenta",
"Rola": "Brak",
"Nazwa": "Nazwa",
"AdresPodmiotu": {
"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",
"NietypowaLokalizacja": "NietypowaLokalizacja",
"AdresRozszerzonyDTO": {
"Departament": "Departament",
"Wydzial": "Wydzial",
"NazwaBudynku": "NazwaBudynku",
"Pietro": "Pietro",
"Dzielnica": "Dzielnica",
"Prowincja": "Prowincja",
"SkrytkaPocztowa": "Sk.22"
}
}
}
],
"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": "fsFnUOy3Qh11qQ==",
"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": 11,
"Day": 24
}
}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"
},
"NietypowaLokalizacja": {
"type": "string"
},
"AdresRozszerzonyDTO": {
"$ref": "#/definitions/AdresRozszerzonyDTO"
}
}
},
"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"
]
},
"AdresRozszerzonyDTO": {
"type": "object",
"properties": {
"Departament": {
"type": "string"
},
"Wydzial": {
"type": "string"
},
"NazwaBudynku": {
"type": "string"
},
"Pietro": {
"type": "string"
},
"Dzielnica": {
"type": "string"
},
"Prowincja": {
"type": "string"
},
"SkrytkaPocztowa": {
"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"
]
},
"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",
"NietypowaLokalizacja": "NietypowaLokalizacja",
"AdresRozszerzonyDTO": {
"Departament": "Departament",
"Wydzial": "Wydzial",
"NazwaBudynku": "NazwaBudynku",
"Pietro": "Pietro",
"Dzielnica": "Dzielnica",
"Prowincja": "Prowincja",
"SkrytkaPocztowa": "Sk.22"
}
},
"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": "jzp3u67V7RnCLQ==",
"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: 2606.0.1.40000+089ecbf43e8870bb1279d1b1fe9e36a2e0b90d5e,
Last modified: 2.11.2026 15:26:54
List of available methods:
Interface: IFakturyKosztowe2
- 01. InsertFakturaKosztowa
- 02. UpdateFakturaKosztowa
- 03. GetFakturyKosztowe
- 04. GetStanyPlatnosci
- 05. InsertDokumentPK
- 06. UpsertMatrycaDokumentu
- 07. UpsertMatrycaZaplaty
- 08. InsertPrzelew
- 09. GetPrzelewy
- 10. GetPaczkiPrzelewow
- 11. UpsertZadanieCRM
- 12. InsertDokumentCRM
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"
},
"Typ": {
"type": "string",
"enum": [
"Należność",
"Zobowiązanie",
"Wpłata",
"Wypłata"
]
},
"ID": {
"type": "integer"
},
"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",
"GUS"
]
},
"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": "1b67f78d-8eca-483c-963c-cc2458d90f0b",
"DataEwidencji": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"DataWplywu": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"DataWystawienia": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"DataOperacji": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"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": 11,
"Day": 24
}
},
"Podmiot": {
"TypPodmiotu": "NieOkreślony",
"ID": 1,
"Kod": "Kod",
"Guid": "b3fa78c9-314f-4b44-ab2f-6cdb83bc88fa",
"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": "yQ6mCd+OsDzKmA==",
"Features": [
{
"Name": "Name",
"Value": null,
"Type": "Type",
"UpdateDate": null
}
]
}
]
}
],
"Platnosci": [
{
"Guid": "510782a3-d7b5-4196-ae3e-789de0976026",
"Podmiot": {
"TypPodmiotu": "NieOkreślony",
"ID": 1,
"Kod": "Kod",
"Guid": "65e76eef-83e9-43aa-8abf-c95b6465766a",
"ExternalID": "ExternalID",
"EuVAT": "EuVAT",
"Miejscowosc": "Miejscowosc"
},
"EwidencjaSP": "EwidencjaSP",
"SposobZaplaty": "SposobZaplaty",
"Rachunek26": "Rachunek26",
"Opis": "Opis",
"Termin": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"TerminDni": 1,
"Kwota": {
"Value": 1.0,
"Symbol": "Symbol"
},
"Priorytet": 1,
"KwotaMPP": {
"Value": 1.0,
"Symbol": "Symbol"
},
"Kurs": 1.0,
"Typ": "Należność",
"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": "sE+SjfnnGCsbpQ==",
"Features": [
{
"Name": "Name",
"Value": null,
"Type": "Type",
"UpdateDate": null
}
]
}
]
}
],
"OpisAnalityczny": [
{
"Data": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"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": "kSkqN0q48DiKUA==",
"Features": [
{
"Name": "Name",
"Value": null,
"Type": "Type",
"UpdateDate": null
}
]
}
]
}
],
"ZadaniaCRM": [
{
"Guid": "4cd99915-53c5-4d1e-bb53-6a617044ac74",
"DefinicjaZadaniaSymbol": "DefinicjaZadaniaSymbol",
"Numer": "Numer",
"Nazwa": "Nazwa",
"Opis": "Opis",
"DataOd": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"DataDo": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"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": "PDA1Bcx+du3JfQ==",
"Features": [
{
"Name": "Name",
"Value": null,
"Type": "Type",
"UpdateDate": null
}
]
}
]
}
],
"KSeF": {
"NumerDokumentuKSeF": "NumerDokumentuKSeF",
"DataKSeF": null,
"DataPrzeslaniaKSeF": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"DataPrzyjeciaKSeF": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"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": "uQbiwXN13pAD4Q==",
"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": "c4ea9654-0726-4582-a274-39030ca4bf45",
"NumerDokumentu": "NumerDokumentu",
"NumerDodatkowy": "NumerDodatkowy",
"WartoscCy": {
"Value": 1.0,
"Symbol": "Symbol"
},
"WartoscNettoCy": {
"Value": 1.0,
"Symbol": "Symbol"
},
"ZadaniaCRM": [
{
"Guid": "e078c6be-16f4-4925-894f-63145a8e6949",
"DefinicjaZadaniaSymbol": "DefinicjaZadaniaSymbol",
"Numer": "Numer",
"Nazwa": "Nazwa",
"Opis": "Opis",
"DataOd": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"DataDo": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"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": "x0Pf/zI5g39HAQ==",
"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"
},
"Typ": {
"type": "string",
"enum": [
"Należność",
"Zobowiązanie",
"Wpłata",
"Wypłata"
]
},
"ID": {
"type": "integer"
},
"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",
"GUS"
]
},
"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": "13c0ecc6-0917-4605-a6f6-b881c5632a78",
"DataEwidencji": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"DataWplywu": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"DataWystawienia": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"DataOperacji": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"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": 11,
"Day": 24
}
},
"Podmiot": {
"TypPodmiotu": "NieOkreślony",
"ID": 1,
"Kod": "Kod",
"Guid": "ed41b80c-ed06-4c2d-bb19-107823475f92",
"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": "gnFaS7wcgnLLug==",
"Features": [
{
"Name": "Name",
"Value": null,
"Type": "Type",
"UpdateDate": null
}
]
}
]
}
],
"Platnosci": [
{
"Guid": "b009ff22-fb97-40c7-83bc-21e08b81662a",
"Podmiot": {
"TypPodmiotu": "NieOkreślony",
"ID": 1,
"Kod": "Kod",
"Guid": "087b74ce-0994-4f47-b793-0738a191890d",
"ExternalID": "ExternalID",
"EuVAT": "EuVAT",
"Miejscowosc": "Miejscowosc"
},
"EwidencjaSP": "EwidencjaSP",
"SposobZaplaty": "SposobZaplaty",
"Rachunek26": "Rachunek26",
"Opis": "Opis",
"Termin": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"TerminDni": 1,
"Kwota": {
"Value": 1.0,
"Symbol": "Symbol"
},
"Priorytet": 1,
"KwotaMPP": {
"Value": 1.0,
"Symbol": "Symbol"
},
"Kurs": 1.0,
"Typ": "Należność",
"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": "8aS7JkR6xoWiBQ==",
"Features": [
{
"Name": "Name",
"Value": null,
"Type": "Type",
"UpdateDate": null
}
]
}
]
}
],
"OpisAnalityczny": [
{
"Data": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"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": "0nL1K3c6ejYGWw==",
"Features": [
{
"Name": "Name",
"Value": null,
"Type": "Type",
"UpdateDate": null
}
]
}
]
}
],
"ZadaniaCRM": [
{
"Guid": "5380cb20-c614-45f7-a9cb-95e3e5df7a2b",
"DefinicjaZadaniaSymbol": "DefinicjaZadaniaSymbol",
"Numer": "Numer",
"Nazwa": "Nazwa",
"Opis": "Opis",
"DataOd": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"DataDo": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"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": "DUZaBuV6i3zeMg==",
"Features": [
{
"Name": "Name",
"Value": null,
"Type": "Type",
"UpdateDate": null
}
]
}
]
}
],
"KSeF": {
"NumerDokumentuKSeF": "NumerDokumentuKSeF",
"DataKSeF": null,
"DataPrzeslaniaKSeF": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"DataPrzyjeciaKSeF": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"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": "0PGOQjLOFOL3zA==",
"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": "0c0cb010-0dd8-418b-8c23-8e03a6823458",
"NumerDokumentu": "NumerDokumentu",
"NumerDodatkowy": "NumerDodatkowy",
"WartoscCy": {
"Value": 1.0,
"Symbol": "Symbol"
},
"WartoscNettoCy": {
"Value": 1.0,
"Symbol": "Symbol"
},
"ZadaniaCRM": [
{
"Guid": "451cfb50-9a07-45b4-a5b8-f86cd9cf86be",
"DefinicjaZadaniaSymbol": "DefinicjaZadaniaSymbol",
"Numer": "Numer",
"Nazwa": "Nazwa",
"Opis": "Opis",
"DataOd": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"DataDo": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"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": "3qL1+d4XezMXxw==",
"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"
},
"Typ": {
"type": "string",
"enum": [
"Należność",
"Zobowiązanie",
"Wpłata",
"Wypłata"
]
},
"ID": {
"type": "integer"
},
"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",
"GUS"
]
},
"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": "2e2fc0e5-fdda-483e-9be8-3e93dd08741e",
"DataEwidencji": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"DataWplywu": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"DataWystawienia": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"DataOperacji": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"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": 11,
"Day": 24
}
},
"Podmiot": {
"TypPodmiotu": "NieOkreślony",
"ID": 1,
"Kod": "Kod",
"Guid": "895dd7fb-5f95-407a-a6af-c361a29059f2",
"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": "b3PI3vN6mryw4g==",
"Features": [
{
"Name": "Name",
"Value": null,
"Type": "Type",
"UpdateDate": null
}
]
}
]
}
],
"Platnosci": [
{
"Guid": "933833d1-b4df-45f7-9df1-396326c1754e",
"Podmiot": {
"TypPodmiotu": "NieOkreślony",
"ID": 1,
"Kod": "Kod",
"Guid": "f78775dd-5945-4bf0-a2a8-5c57ca733751",
"ExternalID": "ExternalID",
"EuVAT": "EuVAT",
"Miejscowosc": "Miejscowosc"
},
"EwidencjaSP": "EwidencjaSP",
"SposobZaplaty": "SposobZaplaty",
"Rachunek26": "Rachunek26",
"Opis": "Opis",
"Termin": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"TerminDni": 1,
"Kwota": {
"Value": 1.0,
"Symbol": "Symbol"
},
"Priorytet": 1,
"KwotaMPP": {
"Value": 1.0,
"Symbol": "Symbol"
},
"Kurs": 1.0,
"Typ": "Należność",
"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": "AVspjhON97ctgA==",
"Features": [
{
"Name": "Name",
"Value": null,
"Type": "Type",
"UpdateDate": null
}
]
}
]
}
],
"OpisAnalityczny": [
{
"Data": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"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": "UkQCYaiz/507hA==",
"Features": [
{
"Name": "Name",
"Value": null,
"Type": "Type",
"UpdateDate": null
}
]
}
]
}
],
"ZadaniaCRM": [
{
"Guid": "d7af1c1a-aef1-4e15-a1de-2f9f5850c0be",
"DefinicjaZadaniaSymbol": "DefinicjaZadaniaSymbol",
"Numer": "Numer",
"Nazwa": "Nazwa",
"Opis": "Opis",
"DataOd": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"DataDo": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"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": "mVKZ9apof8v3Tg==",
"Features": [
{
"Name": "Name",
"Value": null,
"Type": "Type",
"UpdateDate": null
}
]
}
]
}
],
"KSeF": {
"NumerDokumentuKSeF": "NumerDokumentuKSeF",
"DataKSeF": null,
"DataPrzeslaniaKSeF": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"DataPrzyjeciaKSeF": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"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": "d90gk9tK+x+brw==",
"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",
"GUS"
]
},
"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"
},
"Typ": {
"type": "string",
"enum": [
"Należność",
"Zobowiązanie",
"Wpłata",
"Wypłata"
]
},
"ID": {
"type": "integer"
},
"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": 11,
"Day": 24
},
"StanRozliczenia": "Nierozliczony",
"Guid": "e05d9214-e998-4ea3-bb47-dad3bb88a386",
"Podmiot": {
"TypPodmiotu": "NieOkreślony",
"ID": 1,
"Kod": "Kod",
"Guid": "0d35b9dc-e6bd-4646-ba8d-554e4fbf176a",
"ExternalID": "ExternalID",
"EuVAT": "EuVAT",
"Miejscowosc": "Miejscowosc"
},
"EwidencjaSP": "EwidencjaSP",
"SposobZaplaty": "SposobZaplaty",
"Rachunek26": "Rachunek26",
"Opis": "Opis",
"Termin": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"TerminDni": 1,
"Kwota": {
"Value": 1.0,
"Symbol": "Symbol"
},
"Priorytet": 1,
"KwotaMPP": {
"Value": 1.0,
"Symbol": "Symbol"
},
"Kurs": 1.0,
"Typ": "Należność",
"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": "R3fYN7V+X4CZZw==",
"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"
},
"Typ": {
"type": "string",
"enum": [
"Należność",
"Zobowiązanie",
"Wpłata",
"Wypłata"
]
},
"ID": {
"type": "integer"
},
"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",
"GUS"
]
},
"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": "d37227a4-391c-4066-9d00-c9c6eb64cd2c",
"Definicja": "Definicja",
"StanWprowadzony": false,
"DataWplywu": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"DataEwidencji": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"Numer": "Numer",
"NumerDodatkowy": "NumerDodatkowy",
"NumerDokumentu": "NumerDokumentu",
"DataDokumentu": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"DataOperacji": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"Opis": "Opis",
"Wartosc": {
"Value": 1.0,
"Symbol": "Symbol"
},
"Podmiot": {
"TypPodmiotu": "NieOkreślony",
"ID": 1,
"Kod": "Kod",
"Guid": "ddd9831f-a7cd-4908-95a2-ac3c50560bdc",
"ExternalID": "ExternalID",
"EuVAT": "EuVAT",
"Miejscowosc": "Miejscowosc"
},
"OpisAnalityczny": [
{
"Data": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"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": "hwDNcKjar239Og==",
"Features": [
{
"Name": "Name",
"Value": null,
"Type": "Type",
"UpdateDate": null
}
]
}
]
}
],
"Platnosci": [
{
"Guid": "71e12dd2-0e11-419d-ac10-88608580c8b0",
"Podmiot": {
"TypPodmiotu": "NieOkreślony",
"ID": 1,
"Kod": "Kod",
"Guid": "05e8f3ce-825f-42c1-bcd6-4bb327a9dab0",
"ExternalID": "ExternalID",
"EuVAT": "EuVAT",
"Miejscowosc": "Miejscowosc"
},
"EwidencjaSP": "EwidencjaSP",
"SposobZaplaty": "SposobZaplaty",
"Rachunek26": "Rachunek26",
"Opis": "Opis",
"Termin": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"TerminDni": 1,
"Kwota": {
"Value": 1.0,
"Symbol": "Symbol"
},
"Priorytet": 1,
"KwotaMPP": {
"Value": 1.0,
"Symbol": "Symbol"
},
"Kurs": 1.0,
"Typ": "Należność",
"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": "rKy7dKOc4+3Ppw==",
"Features": [
{
"Name": "Name",
"Value": null,
"Type": "Type",
"UpdateDate": null
}
]
}
]
}
],
"ZadaniaCRM": [
{
"Guid": "674d169b-f3da-4aa6-9ace-6216738ffd13",
"DefinicjaZadaniaSymbol": "DefinicjaZadaniaSymbol",
"Numer": "Numer",
"Nazwa": "Nazwa",
"Opis": "Opis",
"DataOd": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"DataDo": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"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": "yn6B4cjqwDmZMA==",
"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": "7kpZVQPqB1UxzQ==",
"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": "4ec397c2-3c52-4425-beac-378ee6c74f08",
"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": "4ql/tmowFClmuw==",
"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": "EtokRsNs90LS2w==",
"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": "t7Dr8dPDXUmYEw==",
"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": "000c716a-2d65-4adf-8b1b-d0d4dc16fcdf",
"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": "pP56m5HpotKhbA==",
"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": "Hqg/2m4BelAY8Q==",
"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"
},
"IdPaczki": {
"type": "integer"
},
"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",
"GUS"
]
},
"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"
},
"OnlineMgsId": {
"type": "string"
},
"OnlineStatus": {
"type": "string",
"enum": [
"NieDotyczy",
"Wyslany",
"Accepted",
"AcceptedChanges",
"Pending",
"Rejected"
]
},
"OnlineStatusTxt": {
"type": "string"
},
"OnlineTrnsId": {
"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": "595d6846-11d8-4d04-82f4-49d49d97bbfb",
"IdPaczki": 1,
"RodzajPrzelewu": "Standardowy",
"Definicja": "Definicja",
"DataPrzelewu": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"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": 11,
"Day": 24
},
"MppOkresDo": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"OpisPrzelewu": "OpisPrzelewu",
"OnlineMgsId": "OnlineMgsId",
"OnlineStatus": "NieDotyczy",
"OnlineStatusTxt": "OnlineStatusTxt",
"OnlineTrnsId": "OnlineTrnsId",
"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": "TlOEMiOetmi5XQ==",
"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": {
"IdPaczki": {
"type": "integer"
},
"ID": {
"type": "integer"
},
"IDs": {
"type": "array",
"items": {
"type": "integer"
}
},
"Guid": {
"type": "string"
},
"NumerPrzelewu": {
"type": "string"
}
}
}Sample JSON file:
{
"IdPaczki": 1,
"ID": 1,
"IDs": [
1
],
"Guid": "c4524cd5-2429-46ab-b45e-e1da5181d340",
"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"
},
"IdPaczki": {
"type": "integer"
},
"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",
"GUS"
]
},
"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"
},
"OnlineMgsId": {
"type": "string"
},
"OnlineStatus": {
"type": "string",
"enum": [
"NieDotyczy",
"Wyslany",
"Accepted",
"AcceptedChanges",
"Pending",
"Rejected"
]
},
"OnlineStatusTxt": {
"type": "string"
},
"OnlineTrnsId": {
"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": "3e577841-c911-4e9f-b21d-15701479ee2a",
"IdPaczki": 1,
"RodzajPrzelewu": "Standardowy",
"Definicja": "Definicja",
"DataPrzelewu": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"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": 11,
"Day": 24
},
"MppOkresDo": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"OpisPrzelewu": "OpisPrzelewu",
"OnlineMgsId": "OnlineMgsId",
"OnlineStatus": "NieDotyczy",
"OnlineStatusTxt": "OnlineStatusTxt",
"OnlineTrnsId": "OnlineTrnsId",
"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": "gWsTpTYhIEsEBg==",
"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: GetPaczkiPrzelewow
URL: https://{{baseAddress}}/api/FakturyKosztoweWebAPI2/GetPaczkiPrzelewow
HTTP method: POST
Params type: GetPaczkiPrzelewowParams
Result type: DataResponse<List<PaczkaPrzelewowDTO>>
Description: Reading transfer batch data / Odczyt danych dotyczących paczek przelewów
Comment: Retrieving information about transfer batches. / Pobieranie danych na temat paczek przelewów.
Sample request for object GetPaczkiPrzelewowParams. Replace placeholders with real values.
Schema (JSON) for class GetPaczkiPrzelewowParams:
{
"title": "GetPaczkiPrzelewowParams",
"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"
}
},
"StatusPaczki": {
"type": "string",
"enum": [
"Planowana",
"Modyfikowana",
"Weryfikowana",
"Zatwierdzona",
"Wyeksportowana",
"Anulowana",
"Zrealizowana",
"ZrealizowanaCzesciowo",
"Odrzucona",
"Wszystkie"
]
},
"Okres": {
"$ref": "#/definitions/OkresDTO"
},
"SymbolDefinicjiPaczki": {
"type": "string"
},
"NazwaEwidencjiSP": {
"type": "string"
}
}
}Sample JSON file:
{
"IDs": [
1
],
"StatusPaczki": "Planowana",
"Okres": {
"DataOd": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"DataDo": {
"Year": 2026,
"Month": 11,
"Day": 24
}
},
"SymbolDefinicjiPaczki": "SymbolDefinicjiPaczki",
"NazwaEwidencjiSP": "NazwaEwidencjiSP"
}Sample response:
Schema (JSON) for class DataResponse<List<PaczkaPrzelewowDTO>>:
{
"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"
]
},
"DefinicjaPaczkiPrzelewuDTO": {
"type": "object",
"properties": {
"Symbol": {
"type": "string"
},
"Nazwa": {
"type": "string"
}
}
},
"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-1"
}
},
"required": [
"Name",
"Value"
]
},
"PaczkaPrzelewowDTO": {
"type": "object",
"properties": {
"Guid": {
"type": "string"
},
"Definicja": {
"$ref": "#/definitions/DefinicjaPaczkiPrzelewuDTO"
},
"NumerPaczki": {
"type": "string"
},
"Data": {
"$ref": "#/definitions/DataDTO"
},
"Status": {
"type": "string",
"enum": [
"Planowana",
"Modyfikowana",
"Weryfikowana",
"Zatwierdzona",
"Wyeksportowana",
"Anulowana",
"Zrealizowana",
"ZrealizowanaCzesciowo",
"Odrzucona",
"Wszystkie"
]
},
"Nazwa": {
"type": "string"
},
"Opis": {
"type": "string"
},
"WartoscPaczki": {
"type": "number"
},
"RachunekBankowy": {
"$ref": "#/definitions/EwidencjaSP_DTO"
},
"TypPrzelewow": {
"type": "string",
"enum": [
"Standardowy",
"Walutowy"
]
},
"ID": {
"type": "integer"
},
"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/PaczkaPrzelewowDTO"
}
},
"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": "67ad0b0d-e1fe-45f4-8fbc-2782b4ded4f9",
"Definicja": {
"Symbol": "Symbol",
"Nazwa": "Nazwa"
},
"NumerPaczki": "NumerPaczki",
"Data": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"Status": "Planowana",
"Nazwa": "Nazwa",
"Opis": "Opis",
"WartoscPaczki": 1.0,
"RachunekBankowy": {
"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": "4JvU6DggViy5pQ==",
"Features": [
{
"Name": "Name",
"Value": null,
"Type": "Type",
"UpdateDate": null
}
]
}
]
},
"TypPrzelewow": "Standardowy",
"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": "NrElfSS2JNlhCw==",
"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": "b6fcf564-a007-4591-b307-c80f1832b568",
"DefinicjaZadaniaSymbol": "DefinicjaZadaniaSymbol",
"Numer": "Numer",
"Nazwa": "Nazwa",
"Opis": "Opis",
"DataOd": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"DataDo": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"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": "R52fGKN0KNG5Yg==",
"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": "5564957c-15a3-4b3c-82a5-bb984d79c3e7",
"DefinicjaZadaniaSymbol": "DefinicjaZadaniaSymbol",
"Numer": "Numer",
"Nazwa": "Nazwa",
"Opis": "Opis",
"DataOd": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"DataDo": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"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": "gx31rdCSlAF6ew==",
"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": "kWgE74wDMNZoCQ==",
"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: 2606.0.1.20000+3a17c97e2d9bd53aaa380ffe78a62ccb0f1eedc1,
Last modified: 2.11.2026 15:26:54
List of available methods:
Interface: IKadry
- 01. UpsertDodatkiPracownika
- 02. UpsertPodzielnikKosztow
- 03. UpsertDokumentDodatkowy
- 04. GetDokumentDodatkowy
- 05. DeleteDokumentDodatkowy
- 06. GetUmowaCP
- 07. GetDodatekPracownika
- 08. GetDefinicjeDodatkow
- 09. GetBadaniaLekarskie
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": "643419d5-b482-47ed-a7e3-a24c56fc7ba3",
"IDExternal": 1,
"DataAktualnosci": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"OkresOd": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"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": "u1mWwYXqXTEemA==",
"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": "1af86cef-6f28-4eac-87bf-32f1436ebe40",
"DocumentNumber": "DocumentNumber"
}
],
"Success": false,
"Description": "Description",
"Errors": [
{
"Source": "Source",
"Type": "Type",
"Message": "Message",
"StackTrace": "StackTrace"
}
],
"Warnings": [
{
"Lp": 1,
"Type": "Type",
"Message": "Message"
}
]
}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": 11,
"Day": 24
},
"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": "m3SQJJYFmWYEXw==",
"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": "/wRj2MbzpH2SDg==",
"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": "8ebdb598-2b11-42d4-afd6-9cc1bb1560cd",
"Name": "Name"
}
],
"Success": false,
"Description": "Description",
"Errors": [
{
"Source": "Source",
"Type": "Type",
"Message": "Message",
"StackTrace": "StackTrace"
}
],
"Warnings": [
{
"Lp": 1,
"Type": "Type",
"Message": "Message"
}
]
}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": "45b0b754-ce7e-480e-b1cc-f9260bf61e24",
"Aktualizacja": false,
"IDSource": 1,
"KodPracownika": "KodPracownika",
"TableSource": "TableSource",
"DefinicjaDokumentu": "DefinicjaDokumentu",
"NumerDokumentu": "NumerDokumentu",
"Okres": {
"From": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"To": {
"Year": 2026,
"Month": 11,
"Day": 24
}
},
"Data": "2026-11-24T11:52:51.1977643Z",
"Termin": "2026-11-24T11:52:51.1977682Z",
"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": "J8PG5KThGKA5nQ==",
"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": "a88a6e5f-0e18-4fee-a56f-df5a9dd6a437",
"DocumentNumber": "DocumentNumber"
}
],
"Success": false,
"Description": "Description",
"Errors": [
{
"Source": "Source",
"Type": "Type",
"Message": "Message",
"StackTrace": "StackTrace"
}
],
"Warnings": [
{
"Lp": 1,
"Type": "Type",
"Message": "Message"
}
]
}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": 11,
"Day": 24
}
}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": "f8dc909b-338e-4b70-aa03-0c9f5038bf54",
"Aktualizacja": false,
"IDSource": 1,
"KodPracownika": "KodPracownika",
"TableSource": "TableSource",
"DefinicjaDokumentu": "DefinicjaDokumentu",
"NumerDokumentu": "NumerDokumentu",
"Okres": {
"From": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"To": {
"Year": 2026,
"Month": 11,
"Day": 24
}
},
"Data": "2026-11-24T11:52:51.2049249Z",
"Termin": "2026-11-24T11:52:51.2049269Z",
"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": "8hWTA30v51VAAw==",
"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"
}
]
}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": 11,
"Day": 24
}
}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"
}
]
}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": 11,
"Day": 24
}
}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": "63774857-c381-4824-920e-887eb59c0281",
"DataAktualnosci": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"OkresOd": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"OkresDo": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"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": "ACGwmcPm4V+IAQ==",
"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"
}
]
}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": 11,
"Day": 24
}
}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": "fa07e6ef-5600-4de7-afcc-1dc207c39f45",
"IDExternal": 1,
"DataAktualnosci": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"OkresOd": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"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": "zH+jgpi00aY0Pg==",
"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"
}
]
}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": "4b541efd-266d-457d-8400-3f818d9e4d73",
"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": "ZlLJXHPMso5n8A==",
"Features": [
{
"Name": "Name",
"Value": null,
"Type": "Type",
"UpdateDate": null
}
]
}
]
}
]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": 11,
"Day": 24
},
"Termin": {
"From": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"To": {
"Year": 2026,
"Month": 11,
"Day": 24
}
},
"DefBadaniaLekarskiegoNazwa": "DefBadaniaLekarskiegoNazwa",
"LastID": 1,
"PacketSize": 1,
"Conditions": [
{
"LogicalOperator": "And",
"Operator": "Equal",
"ColumnName": "ColumnName",
"FilterValue": "FilterValue"
}
],
"UpdateDate": {
"Year": 2026,
"Month": 11,
"Day": 24
}
}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": "9d5411f5-5f75-401b-864c-b7109055c833",
"KodPracownika": "KodPracownika",
"IdPracownika": 1,
"DefinicjaNazwa": "DefinicjaNazwa",
"DefinicjaNazwaNastepne": "DefinicjaNazwaNastepne",
"Anulowane": false,
"DataWykonaniaDoDnia": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"DataWykonaniaDoDniaNastepne": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"DataWykonania": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"DataWaznosci": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"PracaWOkularach": false,
"KwotaDofinansowania": 1.0,
"DataDofinansowania": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"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": "NgTOQ9I88D+iqQ==",
"Features": [
{
"Name": "Name",
"Value": null,
"Type": "Type",
"UpdateDate": null
}
]
}
]
}
]AltOne.WebAPI.ObslugaPlatnosci
Assembly name: AltOne.WebAPI.ObslugaPlatnosci
Version: 2512.5.6.10000-Alfa+3ea034df7707b7e81ca3db2284f0ff5053645374,
Last modified: 19.11.2026 19:58:43
List of available methods:
Interface: IPlatnosci
Method descriptions and usage examples:
Method name: InsertWyciagBankowy
URL: https://{{baseAddress}}/api/PlatnosciWebAPI/InsertWyciagBankowy
HTTP method: POST
Params type: WyciagBankowyDTO
Result type: DataResponse<WyciagBankowyResponseDTO>
Description: Adding a bank statement / Dodanie wyciągu bankowego
Comment: Adding a bank statement with deposits and withdrawals / Dodanie wyciągu bankowego wraz z wpłatami i wypłatami
Sample request for object WyciagBankowyDTO. Replace placeholders with real values.
Schema (JSON) for class WyciagBankowyDTO:
{
"title": "WyciagBankowyDTO",
"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"
]
},
"ElementOpisuAnalitycznegoDTO": {
"type": "object",
"properties": {
"Konto": {
"type": "string"
},
"Wymiar": {
"type": "string"
},
"Symbol": {
"type": "string"
},
"Opis": {
"type": "string"
},
"Kwota": {
"$ref": "#/definitions/CurrencyDTO"
},
"Data": {
"$ref": "#/definitions/DataDTO"
},
"ID": {
"type": "integer"
},
"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": [
"Wymiar",
"Symbol",
"Kwota"
]
},
"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"
}
}
},
"ZaplataDTO": {
"type": "object",
"properties": {
"Data": {
"$ref": "#/definitions/DataDTO"
},
"PodlegaRzoliczeniu": {
"type": "boolean"
},
"TypZaplaty": {
"type": "string",
"enum": [
"Wplata",
"Wyplata"
]
},
"Kwota": {
"$ref": "#/definitions/CurrencyDTO"
},
"KwotaWgWalutyEwidencji": {
"$ref": "#/definitions/CurrencyDTO"
},
"WartoscWgKursuPLN": {
"$ref": "#/definitions/CurrencyDTO"
},
"SposobZaplaty": {
"type": "string"
},
"IDKontrahenta": {
"type": "integer"
},
"Opis": {
"type": "string"
},
"ZaplataZa": {
"type": "string"
},
"Zwrot": {
"type": "boolean"
},
"OpisAnalityczny": {
"type": "array",
"items": {
"$ref": "#/definitions/ElementOpisuAnalitycznegoDTO"
}
},
"ID": {
"type": "integer"
},
"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": [
"TypZaplaty",
"Kwota",
"Opis"
]
}
},
"type": "object",
"properties": {
"EwidencjaSPSymbol": {
"type": "string"
},
"Okres": {
"$ref": "#/definitions/FromToDTO"
},
"Numer": {
"type": "string"
},
"ZaplatyDTO": {
"type": "array",
"items": {
"$ref": "#/definitions/ZaplataDTO"
}
},
"ID": {
"type": "integer"
},
"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": [
"EwidencjaSPSymbol",
"Okres"
]
}Sample JSON file:
{
"TestMode": false,
"EwidencjaSPSymbol": "EwidencjaSPSymbol",
"Okres": {
"From": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"To": {
"Year": 2026,
"Month": 11,
"Day": 24
}
},
"Numer": "Numer",
"ZaplatyDTO": [
{
"Data": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"PodlegaRzoliczeniu": false,
"TypZaplaty": "Wplata",
"Kwota": {
"Value": 1.0,
"Symbol": "Symbol"
},
"KwotaWgWalutyEwidencji": {
"Value": 1.0,
"Symbol": "Symbol"
},
"WartoscWgKursuPLN": {
"Value": 1.0,
"Symbol": "Symbol"
},
"SposobZaplaty": "SposobZaplaty",
"IDKontrahenta": 1,
"Opis": "Opis",
"ZaplataZa": "ZaplataZa",
"Zwrot": false,
"OpisAnalityczny": [
{
"Konto": "Konto",
"Wymiar": "Wymiar",
"Symbol": "Symbol",
"Opis": "Opis",
"Kwota": {
"Value": 1.0,
"Symbol": "Symbol"
},
"Data": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"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": "cLC95x92c91I4A==",
"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": "6hPGU2oGHn7TDQ==",
"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": "r00dkolu+Ujtyw==",
"Features": [
{
"Name": "Name",
"Value": null,
"Type": "Type",
"UpdateDate": null
}
]
}
]
}Sample response:
Schema (JSON) for class DataResponse<WyciagBankowyResponseDTO>:
{
"title": "DataResponse`1",
"definitions": {
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
},
"WyciagBankowyResponseDTO": {
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"GUID": {
"type": "string"
},
"Numer": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"Data": {
"$ref": "#/definitions/WyciagBankowyResponseDTO"
},
"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": {
"ID": 1,
"GUID": "GUID",
"Numer": "Numer"
},
"Success": false,
"Description": "Description",
"Errors": [
{
"Source": "Source",
"Type": "Type",
"Message": "Message",
"StackTrace": "StackTrace"
}
],
"Warnings": [
{
"Lp": 1,
"Type": "Type",
"Message": "Message"
}
]
}Method name: GetWyciagiBankowe
URL: https://{{baseAddress}}/api/PlatnosciWebAPI/GetWyciagiBankowe
HTTP method: POST
Params type: WyciagiBankoweParams
Result type: DataResponse<List<WyciagBankowyDTO>>
Description: Downloading bank statements / Pobranie wyciągów bankowych
Comment: Download bank statements with deposits and withdrawals by providing IDs / Pobranie wyciągów bankowych wraz z wpłatami i wypłatami poprzez podanie IDs
Sample request for object WyciagiBankoweParams. Replace placeholders with real values.
Schema (JSON) for class WyciagiBankoweParams:
{
"title": "WyciagiBankoweParams",
"type": "object",
"properties": {
"IDs": {
"type": "array",
"items": {
"type": "integer"
}
}
},
"required": [
"IDs"
]
}Sample JSON file:
{
"IDs": [
1
]
}Sample response:
Schema (JSON) for class DataResponse<List<WyciagBankowyDTO>>:
{
"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"
]
},
"ElementOpisuAnalitycznegoDTO": {
"type": "object",
"properties": {
"Konto": {
"type": "string"
},
"Wymiar": {
"type": "string"
},
"Symbol": {
"type": "string"
},
"Opis": {
"type": "string"
},
"Kwota": {
"$ref": "#/definitions/CurrencyDTO"
},
"Data": {
"$ref": "#/definitions/DataDTO"
},
"ID": {
"type": "integer"
},
"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": [
"Wymiar",
"Symbol",
"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"
]
},
"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"
}
}
},
"WyciagBankowyDTO": {
"type": "object",
"properties": {
"EwidencjaSPSymbol": {
"type": "string"
},
"Okres": {
"$ref": "#/definitions/FromToDTO"
},
"Numer": {
"type": "string"
},
"ZaplatyDTO": {
"type": "array",
"items": {
"$ref": "#/definitions/ZaplataDTO"
}
},
"ID": {
"type": "integer"
},
"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": [
"EwidencjaSPSymbol",
"Okres"
]
},
"ZaplataDTO": {
"type": "object",
"properties": {
"Data": {
"$ref": "#/definitions/DataDTO"
},
"PodlegaRzoliczeniu": {
"type": "boolean"
},
"TypZaplaty": {
"type": "string",
"enum": [
"Wplata",
"Wyplata"
]
},
"Kwota": {
"$ref": "#/definitions/CurrencyDTO"
},
"KwotaWgWalutyEwidencji": {
"$ref": "#/definitions/CurrencyDTO"
},
"WartoscWgKursuPLN": {
"$ref": "#/definitions/CurrencyDTO"
},
"SposobZaplaty": {
"type": "string"
},
"IDKontrahenta": {
"type": "integer"
},
"Opis": {
"type": "string"
},
"ZaplataZa": {
"type": "string"
},
"Zwrot": {
"type": "boolean"
},
"OpisAnalityczny": {
"type": "array",
"items": {
"$ref": "#/definitions/ElementOpisuAnalitycznegoDTO"
}
},
"ID": {
"type": "integer"
},
"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": [
"TypZaplaty",
"Kwota",
"Opis"
]
}
},
"type": "object",
"properties": {
"Data": {
"type": "array",
"items": {
"$ref": "#/definitions/WyciagBankowyDTO"
}
},
"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": [
{
"EwidencjaSPSymbol": "EwidencjaSPSymbol",
"Okres": {
"From": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"To": {
"Year": 2026,
"Month": 11,
"Day": 24
}
},
"Numer": "Numer",
"ZaplatyDTO": [
{
"Data": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"PodlegaRzoliczeniu": false,
"TypZaplaty": "Wplata",
"Kwota": {
"Value": 1.0,
"Symbol": "Symbol"
},
"KwotaWgWalutyEwidencji": {
"Value": 1.0,
"Symbol": "Symbol"
},
"WartoscWgKursuPLN": {
"Value": 1.0,
"Symbol": "Symbol"
},
"SposobZaplaty": "SposobZaplaty",
"IDKontrahenta": 1,
"Opis": "Opis",
"ZaplataZa": "ZaplataZa",
"Zwrot": false,
"OpisAnalityczny": [
{
"Konto": "Konto",
"Wymiar": "Wymiar",
"Symbol": "Symbol",
"Opis": "Opis",
"Kwota": {
"Value": 1.0,
"Symbol": "Symbol"
},
"Data": {
"Year": 2026,
"Month": 11,
"Day": 24
},
"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": "hwzGYe5KkFQMfw==",
"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": "sqjpeLevWnaQ1A==",
"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": "grF1vqqzdWc7dA==",
"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"
}
]
}Method name: DeleteWyciagiBankowe
URL: https://{{baseAddress}}/api/PlatnosciWebAPI/DeleteWyciagiBankowe
HTTP method: POST
Params type: WyciagiBankoweParams
Result type: UpdateResult
Description: Delete bank statements / Kasowanie wyciągów bankowych
Comment: Delete bank statements with deposits and withdrawals by providing ID / Kasowanie wyciągów bankowych wraz z wpłatami i wypłatami poprzez podanie IDs
Sample request for object WyciagiBankoweParams. Replace placeholders with real values.
Schema (JSON) for class WyciagiBankoweParams:
{
"title": "WyciagiBankoweParams",
"type": "object",
"properties": {
"IDs": {
"type": "array",
"items": {
"type": "integer"
}
}
},
"required": [
"IDs"
]
}Sample JSON file:
{
"TestMode": false,
"IDs": [
1
]
}Sample response:
Schema (JSON) for class UpdateResult:
{
"title": "UpdateResult",
"definitions": {
"Error": {
"type": "object",
"properties": {
"Source": {
"type": "string"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
},
"StackTrace": {
"type": "string"
}
}
},
"Warning": {
"type": "object",
"properties": {
"Lp": {
"type": "integer"
},
"Type": {
"type": "string"
},
"Message": {
"type": "string"
}
}
}
},
"type": "object",
"properties": {
"ID": {
"type": "integer"
},
"Kod": {
"type": "string"
},
"Success": {
"type": "boolean"
},
"Description": {
"type": "string"
},
"Errors": {
"type": "array",
"items": {
"$ref": "#/definitions/Error"
}
},
"Warnings": {
"type": "array",
"items": {
"$ref": "#/definitions/Warning"
}
},
"TestMode": {
"type": "boolean"
}
},
"required": [
"Success"
]
}Sample JSON file:
{
"TestMode": false,
"ID": 1,
"Kod": "Kod",
"Success": false,
"Description": "Description",
"Errors": [
{
"Source": "Source",
"Type": "Type",
"Message": "Message",
"StackTrace": "StackTrace"
}
],
"Warnings": [
{
"Lp": 1,
"Type": "Type",
"Message": "Message"
}
]
}