CRM leads
Состояние загрузки документа согласия
Changed onСессию видит только её автор. status=pending — байты ждём или завершение можно повторить; attached — файл стал документом согласия; failed — причина в failure.
get/api/v1/crm/web-form-upload-sessions/{id}
Request
- Base URLhttps://erp.akeda.ru
- Auth
- HTTP bearer
- or OAuth 2Authorization codehttps://erp.akeda.ru/oauth2/authorizeToken URLhttps://erp.akeda.ru/oauth2/tokenScopesakeda:delegate
Path parameters
id, string uuid required
Headers
X-Tenant, string required
Slug выбранного кабинета; кабинет не является юрлицом
Response
Состояние сессии
Transfer Session required
Сессия загрузки файла по подписанному адресу хранилища. Ключи хранилища наружу не отдаются.
id, string uuid required
owner_type, string required
owner_id, string
name, string required
mime_type, string required
size_bytes, integer required
sha256, string
attributes, object
status, 'pending' | 'processing' | 'attached' | 'failed' | 'expired' required
failure, 'infected' | 'size' | 'checksum' | 'storage' | 'owner' | 'aborted' | 'expired'
failure_detail, string
scan_status, 'pending' | 'clean' | 'infected' | 'skipped'
scan_verdict, string
published_ref, string
Номер строки, заведённой по файлу; у почты — id загрузки для upload_ids
expires_at, string date-time required
created_at, string date-time required
completed_at, string date-time
upload, Transfer Instructions
Как передать байты. Выдаётся один раз, при открытии сессии.
Changes
- info
added the optional property
fieldto the response with the status - info
added the optional property
fieldto the response with the status - info
added the optional property
fieldto the response with the status
3 more changes in this revision
- info