HRlink
Интеграция с HRlink (кадровый электронный документооборот).
Создать группу заявлений HR-Link
В: header
Тело запроса
application/json
TypeScript-определения
Используйте тип request body в TypeScript.
Тело ответа
application/json
curl -X POST "https://loading/api/v1/integrations/hrlink/applications/groups" \ -H "Content-Type: application/json" \ -d '{ "property1": null, "property2": null }'{
"property1": null,
"property2": null
}Подключить HR-Link
В: header
Тело запроса
application/json
TypeScript-определения
Используйте тип request body в TypeScript.
Тело ответа
application/json
application/problem+json
curl -X POST "https://loading/api/v1/integrations/hrlink/connect" \ -H "Content-Type: application/json" \ -d '{ "clientId": "string", "masterToken": "string" }'{
"property1": null,
"property2": null
}{
"code": "string",
"detail": "string",
"errors": [
{
"name": "string",
"pointer": "string",
"reason": "string",
"rule": "string"
}
],
"instance": "string",
"request_id": "string",
"status": 0,
"title": "string",
"trace_id": "string",
"type": "http://example.com",
"property1": null,
"property2": null
}curl -X POST "https://loading/api/v1/integrations/hrlink/disconnect"{
"success": true
}Создать группу документов HR-Link
В: header
Тело запроса
application/json
TypeScript-определения
Используйте тип request body в TypeScript.
Тело ответа
application/json
application/problem+json
curl -X POST "https://loading/api/v1/integrations/hrlink/documents/groups" \ -H "Content-Type: application/json" \ -d '{ "documents": [ { "fileId": "string" } ], "name": "string" }'{
"property1": null,
"property2": null
}{
"code": "string",
"detail": "string",
"errors": [
{
"name": "string",
"pointer": "string",
"reason": "string",
"rule": "string"
}
],
"instance": "string",
"request_id": "string",
"status": 0,
"title": "string",
"trace_id": "string",
"type": "http://example.com",
"property1": null,
"property2": null
}Реестр документов HR-Link (поллинг статусов)
В: header
Тело запроса
application/json
TypeScript-определения
Используйте тип request body в TypeScript.
Тело ответа
application/json
curl -X POST "https://loading/api/v1/integrations/hrlink/documents/registry" \ -H "Content-Type: application/json" \ -d '{}'{
"property1": null,
"property2": null
}Отправить документы на подписание HR-Link
В: header
Тело запроса
application/json
TypeScript-определения
Используйте тип request body в TypeScript.
Тело ответа
application/json
application/problem+json
curl -X PUT "https://loading/api/v1/integrations/hrlink/documents/send-to-signing" \ -H "Content-Type: application/json" \ -d '{ "documents": [ { "id": "string" } ] }'{
"property1": null,
"property2": null
}{
"code": "string",
"detail": "string",
"errors": [
{
"name": "string",
"pointer": "string",
"reason": "string",
"rule": "string"
}
],
"instance": "string",
"request_id": "string",
"status": 0,
"title": "string",
"trace_id": "string",
"type": "http://example.com",
"property1": null,
"property2": null
}Валидировать документы перед отправкой HR-Link
В: header
Тело запроса
application/json
TypeScript-определения
Используйте тип request body в TypeScript.
Тело ответа
application/json
application/problem+json
curl -X POST "https://loading/api/v1/integrations/hrlink/documents/validate" \ -H "Content-Type: application/json" \ -d '{ "documents": [ { "id": "string" } ] }'{
"property1": null,
"property2": null
}{
"code": "string",
"detail": "string",
"errors": [
{
"name": "string",
"pointer": "string",
"reason": "string",
"rule": "string"
}
],
"instance": "string",
"request_id": "string",
"status": 0,
"title": "string",
"trace_id": "string",
"type": "http://example.com",
"property1": null,
"property2": null
}Получить документ HR-Link
В: header
Параметры пути
Тело ответа
application/json
curl -X GET "https://loading/api/v1/integrations/hrlink/documents/string"{
"property1": null,
"property2": null
}Скачать архив документа с подписями HR-Link
В: header
Параметры пути
Тело ответа
application/octet-stream
application/problem+json
curl -X GET "https://loading/api/v1/integrations/hrlink/documents/string/archive""string"{
"code": "string",
"detail": "string",
"errors": [
{
"name": "string",
"pointer": "string",
"reason": "string",
"rule": "string"
}
],
"instance": "string",
"request_id": "string",
"status": 0,
"title": "string",
"trace_id": "string",
"type": "http://example.com",
"property1": null,
"property2": null
}Получить запрос на подписание HR-Link
В: header
Параметры пути
Тело ответа
application/json
curl -X GET "https://loading/api/v1/integrations/hrlink/documents/string/signing-requests/string"{
"property1": null,
"property2": null
}Загрузить файл в HR-Link
В: header
Тело запроса
multipart/form-data
TypeScript-определения
Используйте тип request body в TypeScript.
Тело ответа
application/json
application/problem+json
curl -X POST "https://loading/api/v1/integrations/hrlink/files" \ -F file="string"{
"property1": null,
"property2": null
}{
"code": "string",
"detail": "string",
"errors": [
{
"name": "string",
"pointer": "string",
"reason": "string",
"rule": "string"
}
],
"instance": "string",
"request_id": "string",
"status": 0,
"title": "string",
"trace_id": "string",
"type": "http://example.com",
"property1": null,
"property2": null
}Создать ЛНА HR-Link
В: header
Тело запроса
application/json
TypeScript-определения
Используйте тип request body в TypeScript.
Тело ответа
application/json
curl -X POST "https://loading/api/v1/integrations/hrlink/normative-acts" \ -H "Content-Type: application/json" \ -d '{ "property1": null, "property2": null }'{
"property1": null,
"property2": null
}Отправить ЛНА на подписание HR-Link
В: header
Параметры пути
Тело запроса
application/json
TypeScript-определения
Используйте тип request body в TypeScript.
Тело ответа
application/json
curl -X POST "https://loading/api/v1/integrations/hrlink/normative-acts/string/send-to-signing" \ -H "Content-Type: application/json" \ -d '{ "property1": null, "property2": null }'{
"property1": null,
"property2": null
}curl -X GET "https://loading/api/v1/integrations/hrlink/status"{
"connected": true,
"status": "connected"
}Запустить синхронизацию оргструктуры HR-Link
В: header
Тело запроса
application/json
TypeScript-определения
Используйте тип request body в TypeScript.
Тело ответа
application/json
application/problem+json
curl -X POST "https://loading/api/v1/integrations/hrlink/sync" \ -H "Content-Type: application/json" \ -d '{ "data": [ { "property1": null, "property2": null } ], "type": "EMPLOYEE_POSITIONS" }'{
"property1": null,
"property2": null
}{
"code": "string",
"detail": "string",
"errors": [
{
"name": "string",
"pointer": "string",
"reason": "string",
"rule": "string"
}
],
"instance": "string",
"request_id": "string",
"status": 0,
"title": "string",
"trace_id": "string",
"type": "http://example.com",
"property1": null,
"property2": null
}Статус задачи синхронизации HR-Link
В: header
Параметры пути
Тело ответа
application/json
curl -X GET "https://loading/api/v1/integrations/hrlink/sync/string"{
"property1": null,
"property2": null
}Пригласить пользователей в HR-Link
В: header
Тело запроса
application/json
TypeScript-определения
Используйте тип request body в TypeScript.
Тело ответа
application/json
curl -X POST "https://loading/api/v1/integrations/hrlink/users/invite" \ -H "Content-Type: application/json" \ -d '{ "property1": null, "property2": null }'{
"property1": null,
"property2": null
}