返回顶部
y

youdo-business

Work with the YouDo Business API. Use when asked to interact with YouDo Business to manage employees, projects, tasks, payments, webhooks, or generate signed API requests.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 2026.3.13
安全检测
已通过
168
下载量
0
收藏
概述
安装方式
版本历史

youdo-business

# YouDo Business API Skill This skill provides the knowledge and guidelines for interacting with the YouDo Business API. ## Base URLs - **Production**: `https://business-api.youdo.com/api/v1` - **Sandbox/Test**: `https://business-api.public-test.youdo.sg/api/v1` - **Swagger**: `https://business-api.youdo.com/api/doc/index.html` ## Authentication All requests use **JSON Web Token (JWT)** signed with the **RS256** asymmetric algorithm. - The JWT must be sent in the header: `Authorization: Bearer <JWT_TOKEN>` - **Header**: `{"alg": "RS256", "typ": "JWT", "kid": "<Key ID>"}` - **Payload**: `{"iss": "<Issuer ID>", "cid": "<Company ID>"}` ## Request Signing Certain methods (like `/api/v1/Task/{taskId}/pay`) require request signing. You must include the following headers: - `Date`: Current time, RFC 7231 (e.g., `Tue, 19 Feb 2019 08:43:02 GMT`) - `Content-SHA256`: SHA256 hex hash of the request body (empty string for GET). - `Signature`: RS256 signed hex string of the request string. **String to Sign format**: ``` Uppercase(RequestMethod) + "\n" RequestPath + "\n" RequestQuery + "\n" // Alphabetically sorted, URLEncoded SignedRequestHeaders + "\n" // Alphabetically sorted, lowercased keys SHA256Hex(RequestPayload) ``` ## Key Endpoints ### Employees (Исполнители) - **Create**: `POST /Employee` - Body: `phone`, `firstName`, `lastName`, `inn`, `projectId` - **Get Info**: `GET /Employee/{id}` - **Search**: `POST /Employe/search` (Body: `projectIds`, `employeeName`, `inns`, `phones`, `itemsPerPage`, `page`) - **Find by Phone**: `GET /Employe/byPhone/{phone}` - **Add to Project**: `POST /Employee/addToProject` - **Remove from Project**: `DELETE /Employee/{id}/deleteFromProject/{projectId}` - **Restart Binding**: `PUT /Employee/{id}/binding/restart` ### Projects (Проекты) - **Get Projects**: `GET /Project/Projects` ### Tasks & Payments (Задания и выплаты) - **Create Internal Task**: `POST /Task/internal` - **Create External Task**: `POST /Task/external` - **Get Task**: `GET /Task/{taskId}` - **Update Task**: `PUT /Task/{taskId}` - **Pay Task**: `POST /Task/{taskId}/pay` (Requires request signing) - **Resend Offer**: `PUT /Task/{taskId}/resendOffer` ### Documents (Документы) - **Download Doc**: `GET /Documents/{documentId}` - **Download Cert**: `GET /Documents/{documentId}/certificate` ### Payments Report (Отчет агента) - **List Payments**: `POST /Payments` (Body: `from`, `to`, `inn`, `taskIds`, `ids`) ### Framework Agreements (Рамочные соглашения) - **Get Agreements**: `GET /FrameworkAgreements/employees/{employeeId}/projects/{projectId}` - **Create**: `POST /FrameworkAgreements` - **Stop**: `POST /FrameworkAgreements/{agreementId}/stop` ### Prepayment Invoices (Счета на предоплату) - **Create**: `POST /prepaymentInvoices` (Body: `companyId`, `amount`) - **Get**: `GET /prepaymentInvoices/{id}` ### Balance (Баланс) - **By Company**: `GET /Balance/byCompany?companyId={id}` - **By Project**: `GET /Balance/byProject?projectId={id}` ### Webhooks - **Subscribe**: `POST /WebHook/subscribe` (Body: `type`, `url`, `headers`) - **Unsubscribe**: `DELETE /WebHook/{type}/unsubscribe`

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 youdo-business-1776382021 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 youdo-business-1776382021 技能

通过命令行安装

skillhub install youdo-business-1776382021

下载 Zip 包

⬇ 下载 youdo-business v2026.3.13

文件大小: 2.18 KB | 发布时间: 2026-4-17 16:38

v2026.3.13 最新 2026-4-17 16:38
- Added detailed documentation for YouDo Business API endpoints, authentication, and request signing.
- Outlined key API endpoints for managing employees, projects, tasks, payments, documents, reports, agreements, invoices, balance, and webhooks.
- Specified JWT-based authentication and signing requirements for certain requests.
- Provided sample header and request formats for secure API interactions.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部