slis/tanss-php-adapter

## TANSS API 文档。版本:5.8.22.1 ### 旧版本 旧版API文档可在此找到:* [5.8.21.6 文档](https://api-doc.tanss.de/5.8.21.6/) * [5.8.21.3 文档](https://api-doc.tanss.de/5.8.21.3/) * [5.8.21.1 文档](https://api-doc.tanss.de/5.8.2

5.8.22.1 2022-04-11 06:27 UTC

This package is auto-updated.

Last update: 2024-09-11 01:59:53 UTC


README

TANSS API 文档。版本:5.8.22.1

旧版本

旧版API文档可在此找到

安装 & 使用

要求

PHP 7.3 及以上版本。也应与PHP 8.0或8.1兼容,但尚未测试。

Composer

要使用Composer安装绑定,请将以下内容添加到composer.json

{
  "repositories": [
    {
      "type": "vcs",
      "url": "https://github.com/slis/tanss-php-adapter.git"
    }
  ],
  "require": {
    "slis/tanss-php-adapter": "*@dev"
  }
}

然后运行composer install

手动安装

下载文件并包含autoload.php

<?php
require_once('/path/to/TanssAdapter/vendor/autoload.php');

入门

请遵循安装程序,然后运行以下命令

<?php
require_once(__DIR__ . '/vendor/autoload.php');




$apiInstance = new SLIS\Adapter\Tanss\Api\AvailabilityApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client()
);
$employeeIds = 'employeeIds_example'; // string | Ids of the employees (comma separated)

try {
    $result = $apiInstance->apiV1AvailabilityPost($employeeIds);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AvailabilityApi->apiV1AvailabilityPost: ', $e->getMessage(), PHP_EOL;
}

API端点

所有URI均相对于https://

方法HTTP请求描述
AvailabilityApiapiV1AvailabilityPostPOST /api/v1/availability获取可用性信息
CallbackApiapiV1CallbacksCallbackIdGetGET /api/v1/callbacks/{callbackId}获取回调
CallbackApiapiV1CallbacksCallbackIdPutPUT /api/v1/callbacks/{callbackId}更新回调
CallbackApiapiV1CallbacksPostPOST /api/v1/callbacks创建回调
CallbackApiapiV1CallbacksPutPUT /api/v1/callbacks获取回调列表
CallsApiapiCallsV1EmployeeAssignmentDeleteDELETE /api/calls/v1/employeeAssignment删除员工分配
CallsApiapiCallsV1EmployeeAssignmentGetGET /api/calls/v1/employeeAssignment获取所有员工分配
CallsApiapiCallsV1EmployeeAssignmentPostPOST /api/calls/v1/employeeAssignment创建新的员工分配
CallsApiapiCallsV1IdGetGET /api/calls/v1/{id}通过ID获取电话
CallsApiapiCallsV1IdPutPUT /api/calls/v1/{id}更新电话
CallsApiapiCallsV1NotificationPostPOST /api/calls/v1/notification创建电话通知
CallsApiapiCallsV1PostPOST /api/calls/v1将电话创建/导入到数据库中
CallsApiapiCallsV1PutPUT /api/calls/v1获取电话列表
ChatsApiapiV1ChatsChatIdGetGET /api/v1/chats/{chatId}获取聊天
ChatsApiapiV1ChatsCloseChatIdPostPOST /api/v1/chats/close/{chatId}关闭聊天
ChatsApiapiV1ChatsCloseChatIdPutPUT /api/v1/chats/close/{chatId}接受/拒绝关闭请求
ChatsApiapiV1ChatsCloseRequestsGetGET /api/v1/chats/closeRequests获取聊天关闭请求
ChatsApiapiV1ChatsMessagesPostPOST /api/v1/chats/messages创建新的聊天消息
ChatsApiapiV1ChatsParticipantsDeleteDELETE /api/v1/chats/participants删除参与者
ChatsApiapiV1ChatsParticipantsPostPOST /api/v1/chats/participants添加参与者
ChatsApiapiV1ChatsPostPOST /api/v1/chats创建新的聊天
ChatsApiapiV1ChatsPutPUT /api/v1/chats获取聊天列表
ChatsApiapiV1ChatsReOpenChatIdPostPOST /api/v1/chats/reOpen/{chatId}重新打开聊天
ChecklistsApiapiV1ChecklistsAssignmentLinkTypeIdLinkIdChecklistIdDeleteDELETE /api/v1/checklists/assignment/{linkTypeId}/{linkId}/{checklistId}从票据中移除检查表
ChecklistsApiapiV1ChecklistsAssignmentLinkTypeIdLinkIdChecklistIdPostPOST /api/v1/checklists/assignment/{linkTypeId}/{linkId}/{checklistId}将检查表分配给票据
ChecklistsApiapiV1ChecklistsAssignmentLinkTypeIdLinkIdGetGET /api/v1/checklists/assignment/{linkTypeId}/{linkId}获取票据的检查表
ChecklistsApiapiV1ChecklistsCheckPutPUT /api/v1/checklists/check检查项目
ChecklistsApiapiV1ChecklistsChecklistIdProcessGetGET /api/v1/checklists/{checklistId}/process获取票据的检查表
CompanyApiapiV1CompaniesPostPOST /api/v1/companies创建新的公司
CompanyCategoryApiapiV1CompanyCategoriesGetGET /api/v1/companyCategories分类列表
CompanyCategoryApiapiV1CompanyCategoriesIdDeleteDELETE /api/v1/companyCategories/{id}删除公司分类
CompanyCategoryApiapiV1CompanyCategoriesIdGetGET /api/v1/companyCategories/{id}获取分类
CompanyCategoryApiapiV1CompanyCategoriesIdPutPUT /api/v1/companyCategories/{id}更新分类
CompanyCategoryApiapiV1CompanyCategoriesPostPOST /api/v1/companyCategories创建新的公司分类
CompanyCategoryApiapiV1CompanyCategoriesTypesGetGET /api/v1/companyCategories/types公司类型列表
CompanyCategoryApiapiV1CompanyCategoriesTypesIdDeleteDELETE /api/v1/companyCategories/types/{id}删除公司类型
CompanyCategoryApiapiV1CompanyCategoriesTypesIdGetGET /api/v1/companyCategories/types/{id}获取公司类型
CompanyCategoryApiapiV1CompanyCategoriesTypesIdPutPUT /api/v1/companyCategories/types/{id}更新公司类型
CompanyCategoryApiapiV1CompanyCategoriesTypesPostPOST /api/v1/companyCategories/types创建新的公司类型
ComponentsApiapiV1ComponentsComponentIdDeleteDELETE /api/v1/components/{componentId}删除组件
ComponentsApiapiV1ComponentsComponentIdGetGET /api/v1/components/{componentId}通过ID获取组件
ComponentsApiapiV1ComponentsComponentIdPutPUT /api/v1/components/{componentId}更新组件
ComponentsApiapiV1ComponentsPostPOST /api/v1/components创建组件
ComponentsApiapiV1ComponentsPutPUT /api/v1/components获取组件列表
ComponentsApiapiV1ComponentsTypesGetGET /api/v1/components/types获取组件类型列表
ComponentsApiapiV1ComponentsTypesPostPOST /api/v1/components/types创建组件类型
ComponentsApiapiV1ComponentsTypesTypeIdDeleteDELETE /api/v1/components/types/{typeId}删除组件类型
ComponentsApiapiV1ComponentsTypesTypeIdPutPUT /api/v1/components/types/{typeId}更新组件类型
CpusApiapiV1CpusGetGET /api/v1/cpus获取所有CPU列表
CpusApiapiV1CpusIdGetGET /api/v1/cpus/{id}获取CPU
CpusApiapiV1CpusIdPutPUT /api/v1/cpus/{id}更新CPU
CpusApiapiV1CpusPostPOST /api/v1/cpus创建新的CPU
EmployeesApiapiV1EmployeesPostPOST /api/v1/employees创建员工
EmployeesApiapiV1EmployeesTechniciansGetGET /api/v1/employees/technicians获取所有技术人员
ErpApiapiErpV1CompaniesDepartmentsGetGET /api/erp/v1/companies/departments获取所有部门
ErpApiapiErpV1CompaniesEmployeesDepartmentsGetGET /api/erp/v1/companies/employees/departments/获取所有关联部门的用户
ErpApiapiErpV1CompaniesEmployeesGetGET /api/erp/v1/companies/employees获取自己公司的所有员工
ErpApiapiErpV1CompaniesSearchIdDisplayIdGetGET /api/erp/v1/companies/searchId/{displayId}搜索公司
ErpApiapiErpV1CompanyCategoriesGetGET /api/erp/v1/companyCategories公司类别列表
ErpApiapiErpV1CustomersGetGET /api/erp/v1/customers获取客户和员工列表
ErpApiapiErpV1CustomersPostPOST /api/erp/v1/customers插入新客户
ErpApiapiErpV1DepartmentsDepartmentIdEmployeesGetGET /api/erp/v1/departments/{departmentId}/employees获取部门所有员工
ErpApiapiErpV1EmployeesEmployeeIdDepartmentsGetGET /api/erp/v1/employees/{employeeId}/departments获取员工所有部门
ErpApiapiErpV1InvoicesGetGET /api/erp/v1/invoices获取可收费支持列表
ErpApiapiErpV1InvoicesPostPOST /api/erp/v1/invoices插入新发票
ErpApiapiErpV1TicketsPostPOST /api/erp/v1/tickets创建新工单
ErpApiapiErpV1TicketsStatusGetGET /api/erp/v1/tickets/status获取工单状态列表
ErpApiapiErpV1TicketsTypesGetGET /api/erp/v1/tickets/types获取工单类型列表
IdentifyApiapiV1IdentifyPostPOST /api/v1/identify识别物品
MailsApiapiV1MailsTestSmtpPostPOST /api/v1/mails/test/smtp测试邮件SMTP设置
ManufacturerApiapiV1CpusIdDeleteDELETE /api/v1/cpus/{id}删除CPU
ManufacturerApiapiV1ManufacturersGetGET /api/v1/manufacturers获取所有制造商列表
ManufacturerApiapiV1ManufacturersIdDeleteDELETE /api/v1/manufacturers/{id}删除制造商
ManufacturerApiapiV1ManufacturersIdGetGET /api/v1/manufacturers/{id}获取制造商
ManufacturerApiapiV1ManufacturersIdPutPUT /api/v1/manufacturers/{id}更新制造商
ManufacturerApiapiV1ManufacturersPostPOST /api/v1/manufacturers创建新的制造商
MonitoringApiapiMonitoringV1AssignGroupDeleteDELETE /api/monitoring/v1/assignGroup删除分组分配
MonitoringApiapiMonitoringV1AssignGroupGetGET /api/monitoring/v1/assignGroup获取所有分组分配
MonitoringApiapiMonitoringV1AssignGroupPostPOST /api/monitoring/v1/assignGroup将groupName分配给公司或设备
MonitoringApiapiMonitoringV1TicketFromGroupGetGET /api/monitoring/v1/ticketFromGroup基于给定分组获取工单
MonitoringApiapiMonitoringV1TicketPostPOST /api/monitoring/v1/ticket使用监控API创建工单
MonitoringApiapiMonitoringV1TicketTicketIdGetGET /api/monitoring/v1/ticket/{ticketId}通过id获取工单(由监控API创建)
MonitoringApiapiMonitoringV1TicketTicketIdPutPUT /api/monitoring/v1/ticket/{ticketId}通过id更新工单(由监控API创建)
OfferApiapiV1OfferOfferIdDeleteDELETE /api/v1/offer/{offerId}删除报价
OfferApiapiV1OfferOfferIdGetGET /api/v1/offer/{offerId}获取报价
OfferApiapiV1OfferOfferIdPutPUT /api/v1/offer/{offerId}更新报价
OfferApiapiV1OffersErpSelectionsErpSelectionIdDeleteDELETE /api/v1/offers/erpSelections/{erpSelectionId}删除ERP选择项
OfferApiapiV1OffersErpSelectionsErpSelectionIdGetGET /api/v1/offers/erpSelections/{erpSelectionId}获取ERP选择项
OfferApiapiV1OffersErpSelectionsErpSelectionIdPutPUT /api/v1/offers/erpSelections/{erpSelectionId}更新ERP选择项
OfferApiapiV1OffersErpSelectionsMatPickerErpSelectionIdGetGET /api/v1/offers/erpSelections/matPicker/{erpSelectionId}ERP选择项材料选择器
OfferApiapiV1OffersErpSelectionsMatPickerGetGET /api/v1/offers/erpSelections/matPicker材料选择器
OfferApiapiV1OffersErpSelectionsPostPOST /api/v1/offers/erpSelections创建新的ERP选择项
OfferApiapiV1OffersPostPOST /api/v1/offers创建报价
OfferApiapiV1OffersPutPUT /api/v1/offers获取报价列表
OfferApiapiV1OffersTemplatesGetGET /api/v1/offers/templates获取报价模板列表
OfferApiapiV1OffersTemplatesPostPOST /api/v1/offers/templates创建报价模板
OfferApiapiV1OffersTemplatesTemplateIdDeleteDELETE /api/v1/offers/templates/{templateId}删除报价模板
OfferApiapiV1OffersTemplatesTemplateIdGetGET /api/v1/offers/templates/{templateId}获取特定报价模板
OfferApiapiV1OffersTemplatesTemplateIdPutPUT /api/v1/offers/templates/{templateId}更新报价模板
OperatingSystemsApiapiV1OsGetGET /api/v1/os获取所有操作系统列表
OperatingSystemsApiapiV1OsIdDeleteDELETE /api/v1/os/{id}删除特定操作系统
OperatingSystemsApiapiV1OsIdGetGET /api/v1/os/{id}获取特定操作系统
OperatingSystemsApiapiV1OsIdPutPUT /api/v1/os/{id}更新操作系统
OperatingSystemsApiapiV1OsPostPOST /api/v1/os创建新的操作系统
PcApiapiV1PcsPcIdDeleteDELETE /api/v1/pcs/{pcId}删除电脑
PcApiapiV1PcsPcIdGetGET /api/v1/pcs/{pcId}通过ID获取电脑
PcApiapiV1PcsPcIdPutPUT /api/v1/pcs/{pcId}更新电脑
PcApiapiV1PcsPostPOST /api/v1/pcs创建电脑
PcApiapiV1PcsPutPUT /api/v1/pcs获取电脑列表
PeripheryApiapiV1PeripheriesPeripheryIdBuildInLinkTypeIdLinkIdDeleteDELETE /api/v1/peripheries/{peripheryId}/buildIn/{linkTypeId}/{linkId}删除外围设备分配
PeripheryApiapiV1PeripheriesPeripheryIdBuildInLinkTypeIdLinkIdPostPOST /api/v1/peripheries/{peripheryId}/buildIn/{linkTypeId}/{linkId}分配外围设备
PeripheryApiapiV1PeripheriesPeripheryIdDeleteDELETE /api/v1/peripheries/{peripheryId}删除外围设备
PeripheryApiapiV1PeripheriesPeripheryIdGetGET /api/v1/peripheries/{peripheryId}通过ID获取外围设备
PeripheryApiapiV1PeripheriesPeripheryIdPutPUT /api/v1/peripheries/{peripheryId}更新外围设备
PeripheryApiapiV1PeripheriesPostPOST /api/v1/peripheries创建外围设备
PeripheryApiapiV1PeripheriesPutPUT /api/v1/peripheries获取外围设备列表
PeripheryApiapiV1PeripheriesTypesGetGET /api/v1/peripheries/types获取外围设备类型
PeripheryApiapiV1PeripheriesTypesPostPOST /api/v1/peripheries/types创建外围设备类型
PeripheryApiapiV1PeripheriesTypesTypeIdDeleteDELETE /api/v1/peripheries/types/{typeId}删除外围设备类型
PeripheryApiapiV1PeripheriesTypesTypeIdPutPUT /api/v1/peripheries/types/{typeId}更新外围设备类型
RemoteSupportsApiapiRemoteSupportsV1AssignDeviceDeleteDELETE /api/remoteSupports/v1/assignDevice删除设备分配
RemoteSupportsApiapiRemoteSupportsV1AssignDeviceGetGET /api/remoteSupports/v1/assignDevice获取所有设备分配
RemoteSupportsApiapiRemoteSupportsV1AssignDevicePostPOST /api/remoteSupports/v1/assignDevice创建设备分配
RemoteSupportsApiapiRemoteSupportsV1AssignEmployeeDeleteDELETE /api/remoteSupports/v1/assignEmployee删除技术人员分配
RemoteSupportsApiapiRemoteSupportsV1AssignEmployeeGetGET /api/remoteSupports/v1/assignEmployee获取所有技术人员分配
RemoteSupportsApiapiRemoteSupportsV1AssignEmployeePostPOST /api/remoteSupports/v1/assignEmployee创建技术人员分配
RemoteSupportsApiapiRemoteSupportsV1PostPOST /api/remoteSupports/v1将远程支持创建/导入到数据库
RemoteSupportsApiapiRemoteSupportsV1PutPUT /api/remoteSupports/v1获取远程支持列表
RemoteSupportsApiapiRemoteSupportsV1RemoteSupportIdDeleteDELETE /api/remoteSupports/v1/{remoteSupportId}删除远程支持
RemoteSupportsApiapiRemoteSupportsV1RemoteSupportIdGetGET /api/remoteSupports/v1/{remoteSupportId}通过ID获取远程支持
RemoteSupportsApiapiRemoteSupportsV1RemoteSupportIdPutPUT /api/remoteSupports/v1/{remoteSupportId}更新远程支持
SearchApiapiV1SearchPutPUT /api/v1/search全局搜索
SecurityApiapiV1UserLoginGetGET /api/v1/user/login用户登录并生成API令牌以进行后续认证
ServicesApiapiV1ServicesGetGET /api/v1/services获取所有服务的列表
ServicesApiapiV1ServicesIdDeleteDELETE /api/v1/services/{id}删除一个服务
ServicesApiapiV1ServicesIdGetGET /api/v1/services/{id}通过id获取一个服务
ServicesApiapiV1ServicesIdPutPUT /api/v1/services/{id}更新一个服务
ServicesApiapiV1ServicesPostPOST /api/v1/services创建一个服务
SupportsApiapiV1SupportsListPutPUT /api/v1/supports/list获取支持列表
TagsApiapiV1TagsAssignmentDeleteDELETE /api/v1/tags/assignment移除一个标签
TagsApiapiV1TagsAssignmentGetGET /api/v1/tags/assignment获取分配给任务的标签列表
TagsApiapiV1TagsAssignmentLogGetGET /api/v1/tags/assignment/log获取分配给任务的标签日志列表
TagsApiapiV1TagsAssignmentPostPOST /api/v1/tags/assignment分配一个标签
TagsApiapiV1TagsAssignmentPutPUT /api/v1/tags/assignment分配多个标签
TagsApiapiV1TagsGetGET /api/v1/tags获取所有标签
TagsApiapiV1TagsIdDeleteDELETE /api/v1/tags/{id}删除一个标签
TagsApiapiV1TagsIdGetGET /api/v1/tags/{id}获取一个标签
TagsApiapiV1TagsIdPutPUT /api/v1/tags/{id}编辑一个标签
TagsApiapiV1TagsPostPOST /api/v1/tags创建一个新的标签
TicketBoardApiapiV1TicketBoardGetGET /api/v1/ticketBoard获取包含所有面板的票据板
TicketBoardApiapiV1TicketBoardPanelGetGET /api/v1/ticketBoard/panel获取一个空的票据板面板
TicketBoardApiapiV1TicketBoardPanelIdDeleteDELETE /api/v1/ticketBoard/panel/{id}删除一个票据板面板
TicketBoardApiapiV1TicketBoardPanelIdGetGET /api/v1/ticketBoard/panel/{id}获取一个票据板面板
TicketBoardApiapiV1TicketBoardPanelIdRegistersGetGET /api/v1/ticketBoard/panel/{id}/registers从票据板面板获取所有登记信息
TicketBoardApiapiV1TicketBoardPanelPostPOST /api/v1/ticketBoard/panel创建一个新的票据板面板
TicketBoardApiapiV1TicketBoardPanelPutPUT /api/v1/ticketBoard/panel更新一个票据板面板
TicketBoardApiapiV1TicketBoardProjectGlobalPanelsGetGET /api/v1/ticketBoard/project/globalPanels获取全局票据面板
TicketBoardApiapiV1TicketBoardProjectIdGetGET /api/v1/ticketBoard/project/{id}从项目中获取票据板
TicketBoardApiapiV1TicketBoardProjectIdRegistersGetGET /api/v1/ticketBoard/project/{id}/registers从票据板项目中获取所有登记信息
TicketContentApiapiV1TicketsTicketIdDocumentsDocumentIdGetGET /api/v1/tickets/{ticketId}/documents/{documentId}获取票据文档
TicketContentApiapiV1TicketsTicketIdDocumentsGetGET /api/v1/tickets/{ticketId}/documents获取所有票据文档
TicketContentApiapiV1TicketsTicketIdScreenshotsGetGET /api/v1/tickets/{ticketId}/screenshots获取所有票据图片
TicketContentApiapiV1TicketsTicketIdScreenshotsImageIdGetGET /api/v1/tickets/{ticketId}/screenshots/{imageId}获取一个票据图片
TicketContentApiapiV1TicketsTicketIdUploadPostPOST /api/v1/tickets/{ticketId}/upload上传文档/图片
TicketListsApiapiV1TicketsCompanyCompanyIdGetGET /api/v1/tickets/company/{companyId}获取公司票据列表
TicketListsApiapiV1TicketsGeneralGetGET /api/v1/tickets/general获取未分配给员工的通用票据列表
TicketListsApiapiV1TicketsLocalAdminOverviewGetGET /api/v1/tickets/localAdminOverview获取所有分配给本地票据管理员的票据列表
TicketListsApiapiV1TicketsNotIdentifiedGetGET /api/v1/tickets/notIdentified获取未识别的票据列表
TicketListsApiapiV1TicketsOwnGetGET /api/v1/tickets/own获取当前登录员工分配的票据列表
TicketListsApiapiV1TicketsProjectsGetGET /api/v1/tickets/projects获取所有项目的列表
TicketListsApiapiV1TicketsPutPUT /api/v1/tickets获取(自定义)票据列表
TicketListsApiapiV1TicketsRepairGetGET /api/v1/tickets/repair获取维修票据列表
TicketListsApiapiV1TicketsTechnicianGetGET /api/v1/tickets/technician获取所有技术人员票据列表
TicketListsApiapiV1TicketsWithRoleGetGET /api/v1/tickets/withRole获取技术人员参与的票据列表
TicketsApiapiV1TicketsHistoryTicketIdGetGET /api/v1/tickets/history/{ticketId}获取票据历史
TicketsApiapiV1TicketsPostPOST /api/v1/tickets在数据库中创建票据
TicketsApiapiV1TicketsTicketIdCommentsPostPOST /api/v1/tickets/{ticketId}/comments创建评论
TicketsApiapiV1TicketsTicketIdDeleteDELETE /api/v1/tickets/{ticketId}通过ID删除票据
TicketsApiapiV1TicketsTicketIdGetGET /api/v1/tickets/{ticketId}通过ID获取票据
TicketsApiapiV1TicketsTicketIdPutPUT /api/v1/tickets/{ticketId}更新票据
TimersApiapiV1TimersDeleteDELETE /api/v1/timers删除计时器
TimersApiapiV1TimersGetGET /api/v1/timers获取当前用户的所有计时器
TimersApiapiV1TimersNotesDeleteDELETE /api/v1/timers/notes删除计时器片段
TimersApiapiV1TimersNotesPutPUT /api/v1/timers/notes更新计时器片段
TimersApiapiV1TimersNotesTimerIdGetGET /api/v1/timers/notes/{timerId}获取所有计时器片段
TimersApiapiV1TimersPostPOST /api/v1/timers创建计时器
TimersApiapiV1TimersTimerIdGetGET /api/v1/timers/{timerId}获取特定计时器
TimersApiapiV1TimersTimerIdPutPUT /api/v1/timers/{timerId}开始/停止计时器
TimestampApiapiV1TimestampsDayClosingDeleteDELETE /api/v1/timestamps/dayClosing移除/撤销时间戳模块的一个或多个“每日关闭”
TimestampApiapiV1TimestampsDayClosingPostPOST /api/v1/timestamps/dayClosing为时间戳模块执行一个或多个“每日关闭”
TimestampApiapiV1TimestampsDayClosingTillDateGetGET /api/v1/timestamps/dayClosing/tillDate获取员工最后一天关闭的所有信息
TimestampApiapiV1TimestampsDayClosingTillDatePostPOST /api/v1/timestamps/dayClosing/tillDate创建到给定日期的日关闭
TimestampApiapiV1TimestampsEmployeeEmployeeIdInitialBalancePostPOST /api/v1/timestamps/employee/{employeeId}/initialBalance设置此员工的初始余额
TimestampApiapiV1TimestampsEmployeeIdDayDayPutPUT /api/v1/timestamps/{employeeId}/day/{day}一次性将整个一天的时间戳写入数据库
TimestampApiapiV1TimestampsGetGET /api/v1/timestamps获取给定时间段的时间戳列表
TimestampApiapiV1TimestampsInfoGetGET /api/v1/timestamps/info获取给定时间段的时间戳信息
TimestampApiapiV1TimestampsPauseConfigsGetGET /api/v1/timestamps/pauseConfigs获取所有暂停配置列表
TimestampApiapiV1TimestampsPauseConfigsIdDeleteDELETE /api/v1/timestamps/pauseConfigs/{id}删除暂停配置
TimestampApiapiV1TimestampsPauseConfigsIdPutPUT /api/v1/timestamps/pauseConfigs/{id}更新暂停配置
TimestampApiapiV1TimestampsPauseConfigsPostPOST /api/v1/timestamps/pauseConfigs创建暂停配置
TimestampApiapiV1TimestampsPostPOST /api/v1/timestamps将时间戳写入数据库
TimestampApiapiV1TimestampsStatisticsGetGET /api/v1/timestamps/statistics获取给定时间段的时间戳信息(带统计值)
TimestampApiapiV1TimestampsTimestampIdPutPUT /api/v1/timestamps/{timestampId}编辑单个时间戳
WebHooksApiapiV1TanssEventsRulesIdDeleteDELETE /api/v1/tanssEvents/rules/{id}删除规则
WebHooksApiapiV1TanssEventsRulesIdGetGET /api/v1/tanssEvents/rules/{id}获取规则
WebHooksApiapiV1TanssEventsRulesIdPutPUT /api/v1/tanssEvents/rules/{id}更新规则
WebHooksApiapiV1TanssEventsRulesPostPOST /api/v1/tanssEvents/rules创建规则
WebHooksApiapiV1TanssEventsRulesPutPUT /api/v1/tanssEvents/rules获取规则列表
WebHooksApiapiV1TanssEventsRulesTestActionPutPUT /api/v1/tanssEvents/rules/test/action测试规则

模型

授权

所有端点均不需要授权。

测试

要运行测试,请使用

composer install
vendor/bin/phpunit

作者

support@tanss.de

关于此包

此PHP包由OpenAPI Generator项目自动生成

  • API版本:5.8.22.1
    • 包版本:5.8.22.1
  • 构建包:org.openapitools.codegen.languages.PhpClientCodegen