Codat.Sync.Payroll
3.0.0
See the version list below for details.
dotnet add package Codat.Sync.Payroll --version 3.0.0
NuGet\Install-Package Codat.Sync.Payroll -Version 3.0.0
<PackageReference Include="Codat.Sync.Payroll" Version="3.0.0" />
<PackageVersion Include="Codat.Sync.Payroll" Version="3.0.0" />
<PackageReference Include="Codat.Sync.Payroll" />
paket add Codat.Sync.Payroll --version 3.0.0
#r "nuget: Codat.Sync.Payroll, 3.0.0"
#addin nuget:?package=Codat.Sync.Payroll&version=3.0.0
#tool nuget:?package=Codat.Sync.Payroll&version=3.0.0
Sync for Payroll
Push payroll to accounting platforms.
SDK Installation
Nuget
dotnet add package Codat.Sync.Payroll
Example Usage
SDK Example Usage
Example
using Codat.Sync.Payroll;
using Codat.Sync.Payroll.Models.Shared;
using System.Collections.Generic;
var sdk = new CodatSyncPayroll(security: new Security() {
AuthHeader = "Basic BASE_64_ENCODED(API_KEY)",
});
CompanyRequestBody req = new CompanyRequestBody() {
Description = "Requested early access to the new financing scheme.",
Name = "Bank of Dave",
};
var res = await sdk.Companies.CreateAsync(req);
// handle response
Available Resources and Operations
Companies
- Create - Create company
- Delete - Delete a company
- Get - Get company
- List - List companies
- Update - Update company
Connections
- Create - Create connection
- Delete - Delete connection
- Get - Get connection
- List - List connections
- Unlink - Unlink connection
Accounts
- Create - Create account
- Get - Get account
- GetCreateModel - Get create account model
- List - List accounts
JournalEntries
- Create - Create journal entry
- Delete - Delete journal entry
- Get - Get journal entry
- GetCreateModel - Get create journal entry model
- List - List journal entries
Journals
- Create - Create journal
- Get - Get journal
- GetCreateModel - Get create journal model
- List - List journals
ManageData
- GetDataStatus - Get data status
- GetPullOperation - Get pull operation
- GetPushOperation - Get push operation
- List - List push operations
- ListPullOperations - List pull operations
- RefreshAllDataTypes - Refresh all data
- RefreshDataType - Refresh data type
CompanyInfo
- GetAccountingProfile - Get company accounting profile
TrackingCategories
Server Selection
Server Selection
Select Server by Index
You can override the default server globally by passing a server index to the serverIndex: number
optional parameter when initializing the SDK client instance. The selected server will then be used as the default on the operations that use it. This table lists the indexes associated with the available servers:
# | Server | Variables |
---|---|---|
0 | https://api.codat.io |
None |
Override Server URL Per-Client
The default server can also be overridden globally by passing a URL to the serverUrl: str
optional parameter when initializing the SDK client instance. For example:
Authentication
Per-Client Security Schemes
This SDK supports the following security scheme globally:
Name | Type | Scheme |
---|---|---|
authHeader |
apiKey | API key |
You can set the security parameters through the security
optional parameter when initializing the SDK client instance. For example:
using Codat.Sync.Payroll;
using Codat.Sync.Payroll.Models.Shared;
using System.Collections.Generic;
var sdk = new CodatSyncPayroll(security: new Security() {
AuthHeader = "Basic BASE_64_ENCODED(API_KEY)",
});
CompanyRequestBody req = new CompanyRequestBody() {
Description = "Requested early access to the new financing scheme.",
Name = "Bank of Dave",
};
var res = await sdk.Companies.CreateAsync(req);
// handle response
Support
If you encounter any challenges while utilizing our SDKs, please don't hesitate to reach out for assistance. You can raise any issues by contacting your dedicated Codat representative or reaching out to our support team. We're here to help ensure a smooth experience for you.
Library generated by Speakeasy
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net6.0
- newtonsoft.json (>= 13.0.3)
- nodatime (>= 3.1.9)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.