Overview
  • 09 Oct 2023
  • PDF

Overview

  • PDF

Article Summary

Files

Softera.Payroll API documentation's postman collection:

StatusPostman documentation versionPayroll versionAPI versionAPI Metadata
Current1.0314.1301.0Link
Previous1.0214.871.0Link
Previous0.7613.01.0Link

Collection:

Softera Payroll API v1.03.postman_collection.json

Environment:

Softera Payroll API v1.03.postman_environment.json

Fill in 4 variables in postman environment:

  1. [TENANTID] - GUID of microsoft tenant
  2. [ENVIRONMENTNAME] - BC environment name
  3. [CLIENTID] - app registration GUID from Azure
  4. [CLIENTSECRET] - app registration secret from Azure

Collection > Authorization > press "Get New Access Token"
Run GET {{url}}/softera/softeraPayroll/{{sprAPIVersion}}/schemaversion=2.0 - this should return full Payroll API metadata

Detailed tutorial how to create Client Id, Secret and use postman to connect to Business Central.

Info

Processes descriptions like employment, termination, position change and other are inside Postman collection documentation.

List of APIs

Setup

sprEmployeePostingGroups
sprGroundsForTermination
sprMaritalStatuses
sprNationalities
sprPositions
sprBanks
sprActivityCodes
sprWorkScheduleFormulas
sprBusinessTripLocations
sprBusinessTripAims
sprEDCodes

Main

sprEmployees
sprEmplPersonalInformations
sprContracts
sprAllocations
sprAllocationSalaries
sprPaymentLocations
sprRelatives
sprRelativesHistory
sprAbsenceEntries
sprWorkScheduleEntries
sprTimeSheetJournals
sprTimeSheetJournalLines
sprVacationBalances
sprAmountsJournals
sprAmountsJournalLines
sprAmountsEntries

Other

sprVacationBalancesApprox
sprDimensionSetLines

Usefull links