Changes between Version 11 and Version 12 of JsonApi


Ignore:
Timestamp:
Jun 29, 2021, 4:47:38 PM (4 years ago)
Author:
Laurent R.
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TabularUnified JsonApi

    v11 v12  
    5050{
    5151        "clariprint_product": {
    52                 "reference": "Feuillet simple",
    53                 "kind": "leaflet",
    54                 "quantity": "2000",
    55                 "models": [
     52                "reference": "Feuillet simple", // libre
     53                "kind": "leaflet",  // leaflet:"feuillet" // folded:"dépliant" // book:"brochure" // cover:"couverture" // section:"intérieur de brochure"
     54                "quantity": "2000", // libre obligatoire
     55                "models": [  // uniquement si multi-modèle
    5656                        {
    5757                                "reference": "Model 2",
     
    6464
    6565                ],
    66                 "size": "21x29.7:A4", // lxh:commentaires  peut etre renplace par width: et height:
    67 
    68                 "with_bleeds": "1",
    69                 "pms1": {
    70                         "class": "PMS", // PMS / Spot / Metal
    71                         "back": "1", // verso 
    72                         "code": "253"
     66                "size": "21x29.7:A4", // lxh:commentaires  peut etre remplace par width: et height:
     67                "width": "21",  // optionnel, soit size soit width + height
     68                "height": "29.7", // optionnel
     69
     70                "with_bleeds": "1", // 1 avec blanc tournant, 0 sans fonds perdus
     71                "pms1": { // optionnel, définition d'une teinte Pantone
     72                        "class": "PMS", // PMS:Pantone std / Spot:Pantone fluo / Metal:Pantone métallique
     73                        "back": "1", // 1 présente au verso, 0 non présente 
     74                        "front": "1", // 1 présente au recto, 0 non présente
     75                        "code": "253"
    7376                },
    7477                "front_colors": [
     
    7982                ],
    8083                "finishing_front": "OFFSET_SATIN", // liste des finitions
    81                 "finishing_back": "",
    82                 "papers": {
    83                         "of": {
    84                                 "quality": "Couché Brillant PEFC",
    85                                 "weight": "250",
    86                                 "brand": "",
    87                                 "color": ""
    88                         }
    89                 },
    90                 "creasing": "0",
    91                 "embossing_top": "",
     84                "finishing_back": [                // exemple finition combinée
     85                        "PELLIC_ACETATE_BRILLANT",
     86                        "UVS_MAT_RESERVE"
     87                ],
     88                "papers": { // obligatoire
     89                        "custom": { // "of" pour offset ou "custom"
     90                                "processes": [ // optionnel liste des procédés d'impression autorisés, si absent sont actifs : of, n, ofuv, or
     91                                   "of", // procédé offset feuille
     92                                   "n",  // procédé numérique
     93                                   "ofuv", // procédé offset UV
     94                                   "or", // procédé Offset Roto
     95                                   "h"   // procédé hélio
     96                                 ]
     97                                "quality": "Couché Brillant PEFC", // texte exact de la qualité dans le référentiel
     98                                "weight": "250", // grammage
     99                                "brand": "Condat Gloss", // optionnel : texte exact de la marque dans le référentiel
     100                                "color": "blanc" // optionnel : texte exact de la couleur dans le référentiel
     101                        }
     102                },
     103                // paramètres de façonnage optionnel
     104                "creasing": "0", // rainage, 0: pas de rainage, 1:rainage au mieux, 2:rainage sur typo imposé
     105                "embossing_top": "", // embossing = gaufrage
    92106                "embossing_left": "",
    93107                "embossing_height": "",
    94108                "embossing_width": "",
    95                 "gilding": "",
    96                 "gilding_side": "",
     109                "gilding": "", // gilding = dorure
     110                "gilding_side": "", 
    97111                "gilding_top": "",
    98112                "gilding_left": "",
    99113                "gilding_height": "",
    100114                "gilding_width": "",
    101                 "gilding3d": "",
    102                 "cutting_die_exists": "0",
    103                 "cutting_die": "0",
    104                 "holes": "0",
    105                 "wrapping_0": {
    106                         "method": "shrink",
    107                         "quantity": "1000"
     115                "gilding3d": "", // gilding3d = dorure 3D
     116                "cutting_die_exists": "0", // cutting_die = forme de découpe, 1:l'outil de forme existe, 0: il n'existe pas
     117                "cutting_die": "0", // 0 si pas de forme, si forme :id de forme de découpe, voir aide JsonFolderDie
     118                "holes": "0", // holes: trous, 0: pas de trous, 1 2 ou 4 trous classeurs
     119                // wrapping : conditionnement,
     120                "wrapping_0": {
     121                        "method": "shrink", // shrink:mise sous film
     122                        "quantity": "1000" // optionnel, si rien calcul au mieux
    108123                },
    109124                "wrapping_1": {
    110                         "method": "cardboard",
     125                        "method": "cardboard", // cardboard: mise en carton
    111126                        "quantity": "10"
    112127                },
     
    115130                        "quantity": ""
    116131                },
    117                 "deliveries": {
    118                         "d55044": {
    119                                 "iso": "FRA",
    120                                 "address": "",
    121                                 "quantity": ""
    122                         }
    123                 },
    124                 "proofing": "soft",
    125                 "discounts_group": ""
     132                // deliveries : livraison,
     133                "deliveries": {
     134                      // 1 structure par point de livraison
     135                        "d55044": { // texte libre
     136                                "iso": "FR-17", // obligatoire : code iso de la zone (voir la liste dans Clariprint/optimProcess/Paramétrage/Zones géo iso
     137                                "address": "", // indicatif : champs libre
     138                                "quantity": "100" // obligatoire : quantité
     139                        }
     140                },
     141                "proofing": "soft", // ne pas tenir compte
     142                "discounts_group": "" // ne pas tenir compte
    126143        },
    127         "clariprint_product_paper_iso": ""
     144        "clariprint_product_paper_iso": "" // ne pas tenir compte
    128145}
    129146}}}
     
    165182                "cutting_die": "0",
    166183                "holes": "1",
    167                 "linear_perforating": "1",
    168                 "numbering": "1",
     184                "linear_perforating": "1", // perfo linéaire 0: pas de perfo, 1: perfo
     185                "numbering": "1", // numérotation, 0: non, 1: oui
    169186                "wrapping_0": {
    170187                        "method": "",
     
    208225                "kind": "book",
    209226                "quantity": "2000",
    210                 "size": "21x29",
    211                 "binding": "Stitching3",
     227                "size": "21x29", // definition du format fini de la brochure
     228                "binding": "Stitching3", // binding: méthode d'assemblage,
     229                     // "PerfectBinding","DCC" :  BrochageDosCarreColleItem(),
     230                     // "PerfectBindingPUR","DCCPUR" :  BrochageDosCarreColleItem(PUR?  = true),
     231                     // "SewnBinding","DCCC" :  BrochageDosCarreCousuItem(),
     232                     // "Stitching2","PC" :  PiqureChevalItem(nbPiqures = 2),
     233                     // "Stitching3" :  PiqureChevalItem(nbPiqures = 3),
     234                     // "Stitching4" :  PiqureChevalItem(nbPiqures = 4),
     235                     // "OpenEyesStitching2","PB" :  PiqureBoucletteItem(nbPiqures = 2),
     236                     // "OpenEyesStitching3" :  PiqureBoucletteItem(nbPiqures = 3),
     237                     // "OpenEyesStitching4" :  PiqureBoucletteItem(nbPiqures = 4),
     238                     // "WireO","WO" :  ReliureWireOItem(),
     239                     // "InlineStiching","PL" :  PiqureEnLigneItem(),
     240                     // "GluedOnFold","CP" :  CollageAuPliItem(),
     241
    212242                "cover": {
    213                         "label": "",
     243                        "label": "", // optionnel
    214244                        "papers": {
    215245                                "of": {
     
    222252                },
    223253                "components": {
    224                         "component_5490c092c962e": {
     254                        "component_5490c092c962e": { // nom libre
    225255                                "kind": "section",
    226                                 "pages": 64,
    227                                 "size" : "override", // prend la dimension generale
     256                                "pages": 64, // nombre de pages de la section
     257                                "size" : "override", // optionnel : prend la dimension generale sinon on peut preciser une autre dimension ex 19x18
    228258                                "papers": {
    229259                                        "of": {