Questions about the API in general

Kommentarer

1 kommentar

  • Avatar
    DataLøn API Team

    Hi Magnus,

    I assume 'department' corresponds to what we call 'employer', i.e. a distinct DataLøn subscription.

    • No, they must be posted separately, since the employerId is part of the route.
    • Yes, each refresh token is only valid for a single employer. When an employer provides you with a refresh token fetched on our integration site, that token should only give you access to post data on behalf of that specific employer.
    • If the rates are the same for both paytypes, you can post as many instances of the same paytype as you like - they will just be summed when they are imported into a given payroll in DataLøn. However, if the rates are different, they cannot be imported into DataLøn. You can still post it to the API, but the user will get a validation error when importing, and will have to correct the data manually.
    • There is currently no good way of detecting the properties of a given paytype using our API. You will have to handle it on your end somehow, such that you use the appropriate paytypes for your data. You can consult https://dataloen.bluegarden.dk/loendele to learn about the different paytypes.
    0
    Kommentarhandlinger Permalink

Log ind for at efterlade en kommentar.