Zum Hauptinhalt springen
NowToPrint Hilfe
NowToPrint Hilfe
Hilfe-Center
Getting Started
Platform Overview
Marketplace
Print Shop
Prepress
Design Studio
Orders & Delivery
Notifications
Free Tools
Templates
VDP (Variable Data Printing)
Developer & API
API ReferenceOpenAPI Explorer & Spec Reference
Marketplace API ErrorsWebhook Access & DeliveryXJDF API RehberiXJDF Master Data Model
FAQ
Technical Reference
Edge Hub
Admin Panel
Developer & API
  1. Developer
  2. XJDF API Rehberi

XJDF API Rehberi

NowToPrint XJDF REST API v1 icin private-beta readiness endpoint, validation ve mesaj siniri referansi.

Entwicklerdocs5 Min. LesezeitGeprüft 7. Aug. 2026

XJDF API Rehberi

NowToPrint XJDF yuzeyi, private-beta ve dark-launch kullanimi icin standart referansli bir readiness katmanidir. Bu katmanda XJDF 2.2, PrintTalk 2.2 ve harici mesajlasma icin XJMF kullanilir; bu sayfa CIP4 sertifikasyonu, yasal uygunluk veya external GA iddiasi degildir.

Kanonik sinir

Platform icinde kanonik cekirdek XJDF 2.2 + XJMF + PrintTalk 2.2'dir. Legacy JDF/JMF sadece harici adapter katmaninda yasatilir.

Kanonik contract

Kanonik machine-readable contract /docs/api/xjdf-openapi.yaml adresindedir; render edilen ayri bir referans sayfasi yoktur.


Temel endpoint'ler

EndpointAmac
GET /api/v1/xjdfDiscovery ve yuzey bilgisi
GET /api/v1/xjdf/openapiOpenAPI 3.1 spesifikasyonu
GET /api/v1/xjdf/capabilitiesDesteklenen urun, medya ve finishing yetenekleri
POST /api/v1/xjdf/validateXJDF dokuman dogrulama
POST /api/v1/costing/calculate-xjdfL4 otoritesi bagliysa costing (pre-live)

Costing authority required

The XJDF costing endpoint requires an authenticated organization session and resolves the approved, effective L4 Master Data snapshot on the server. A missing or unusable snapshot returns 409 COSTING_AUTHORITY_REQUIRED; a client-supplied organization or cost context never establishes authority. Compatibility estimates are internal-only, must opt into executionMode: 'preview', and are always manual-review output; they are never a customer quote or AutoBid authority.

For an authoritative XJDF cost, include an exact ResourceSet media Media/@ID that exists in the server-resolved L4 snapshot. Media labels and grammage are descriptive only; they are never converted into a guessed Master Data ID or price. No-ID media is a manual-review/authority-required outcome.


Master Data-backed internal bridge

Master Data-backed XJDF bridge route'lari public contract degildir. Kodda route'lar var olabilir, ancak /api/v1/xjdf/media-catalog, /api/v1/xjdf/master-data-export ve /api/v1/xjdf/devices internal-only kabul edilir; public discovery ve public OpenAPI tarafinda yayinlanmaz.

/api/v1/xjdf/media-catalog accepts source=platform|organization, limit=1..100 and a safe-integer offset=0..100000, and requires master_data:read. When source is omitted, media defaults to organization. /api/v1/xjdf/devices accepts source=platform|organization, requires devices:read, and defaults to platform when source is omitted. Organization tenant identity always comes from the API credential; caller-supplied orgId is rejected. Empty tenant results stay empty, and repository/integrity or bounded-corpus overflow failures return 503/409 without platform fallback. Selected media and installed equipment are tenant projections/capabilities, not canonical L2 authority.

All credential-authenticated bridge responses, including errors, are private no-store and vary on X-API-Key plus Authorization. Duplicate canonical media or device identities return 409 rather than being silently collapsed. Organization device capabilities are schema- and semantic-validated: media dimensions come only from explicit print-area dimensions, never grammage. Per-device class and ICS claims are omitted until a governed evidence field exists; the response-level platform ICS metadata is not evidence for an individual installed device.

Internal bridge su ailelerde kanonik modelden ResourceSet uretir:

  • paper veya media
  • machine veya device
  • ink
  • lamination
  • varnish
  • plate
  • adhesive
  • electricity
  • labor

External kullanicilar bu route'lara dogrudan baglanmamalidir. Master-data semantigi icin ana referans: XJDF Master Data Modeli


Validation

POST /api/v1/xjdf/validate endpoint'i dokumani schema ve temel semantik kurallara gore kontrol eder.

curl -X POST https://api.nowtoprint.com/api/v1/xjdf/validate \
  -H "Content-Type: application/json" \
  -d '{
    "@Version": "2.2",
    "ProductList": {
      "Product": { "@ProductType": "BusinessCard" }
    }
  }'

Validation su sorulari cevaplar:

  • schema gecerli mi?
  • beklenen vocabulary kullaniliyor mu?
  • desteklenmeyen alan veya kategori var mi?

XJMF ve webhook siniri

XJMF webhook'lari yalnizca harici vocabulary kabul eder. Ic workflow stage'leri dis Status alani icine yazilmaz.

Beklenen prensip:

  • external XJMF status = partnerlar arasi mesajlasma dili
  • internal workflow stage = platform ici event dili

Bu ayrim birlikte calisabilirlik icin zorunludur.

Inbound XJMF callback icin /api/v1/webhooks/xjmf kullanilir. Bu route X-XJMF-Signature, X-XJMF-Sender ve X-XJMF-Timestamp header'larini ister; sender server-side XJMF_SENDER_SECRETS registry'sinde kayitli olmali ve timestamp 5 dakikalik replay window icinde kalmalidir.


Guvenlik ve operasyon

  • API erisimi API key veya uygun entegrasyonlarda mTLS ile korunur
  • webhook ve signal alanlarinda signature dogrulamasi zorunludur
  • unsupported veya dogrulanamayan source/compatibility durumlari confidence dusurur
  • manual review gereken durumlar kesin quote gibi sunulmaz

Sik hata kodlari

HTTPKodAciklama
400VALIDATION_ERRORGecersiz XJDF yapisi veya semantik sorun
400INVALID_CATEGORYGecersiz master-data kategorisi
401Authentication requiredAuthenticated organization session is required
401MISSING_API_KEYAPI key saglanmadi
401INVALID_API_KEYGecersiz API key
403Organization scope mismatchBody organization cannot differ from the session
403INSUFFICIENT_SCOPEYetersiz izin kapsami
409COSTING_AUTHORITY_REQUIREDApproved/effective L4 authority is unavailable
409COSTING_MANUAL_REVIEW_REQUIREDResult is not safe for unattended quoting
422XJDF_COSTING_MEDIA_AUTHORITY_REQUIREDResourceSet media needs an exact Media/@ID
429RATE_LIMIT_EXCEEDEDHiz limiti asildi

Ilgili konular

XJDF Master Data Modeli

XJDF ve CIP4 Standartlari

Rate Limitleri

Hata Kodlari

War dieser Artikel hilfreich?

Verwandte Artikel

  • IAM Guide
  • Operational configuration security
  • Organisation Management
  • Registration, Onboarding, and Activation Operations
Edit on GitHub

Last updated on

Webhook Access & Delivery

How webhook access works under the current entitlement model and what delivery guarantees to expect.

XJDF Master Data Model

Canonical master data architecture for XJDF 2.2, XJMF and PrintTalk 2.2 inside NowToPrint.

On this page

XJDF API RehberiTemel endpoint'lerMaster Data-backed internal bridgeValidationXJMF ve webhook siniriGuvenlik ve operasyonSik hata kodlariIlgili konular
Ask AI Assistant