request.json (2984B)
1 { 2 "name": "foo", 3 "description": "bar", 4 "comment": "", 5 "stockLevel": 0, 6 "minStockLevel": 0, 7 "averagePrice": 0, 8 "status": "", 9 "needsReview": false, 10 "partCondition": "", 11 "createDate": "2018-03-04T15:51:57.778Z", 12 "internalPartNumber": "", 13 "removals": false, 14 "lowStock": false, 15 "category": { 16 "@id": "/api/part_categories/56", 17 "@type": "PartCategory", 18 "parent": "/api/part_categories/1", 19 "children": [], 20 "categoryPath": "Root Category ➤ 00 - QR-reader", 21 "expanded": true, 22 "name": "00 - QR-reader", 23 "description": "", 24 "parentId": "/api/part_categories/1", 25 "index": 0, 26 "depth": 2, 27 "expandable": true, 28 "checked": null, 29 "leaf": false, 30 "cls": "", 31 "iconCls": "", 32 "icon": "", 33 "root": 0, 34 "isLast": false, 35 "isFirst": true, 36 "allowDrop": true, 37 "allowDrag": true, 38 "loaded": true, 39 "loading": false, 40 "href": "", 41 "hrefTarget": "", 42 "qtip": "", 43 "qtitle": "", 44 "qshowDelay": 0, 45 "visible": true, 46 "text": "", 47 "lft": 0, 48 "rgt": 0, 49 "lvl": 0 50 }, 51 "partUnit": { 52 "@id": "/api/part_measurement_units/1", 53 "@type": "PartMeasurementUnit", 54 "name": "Pieces", 55 "shortName": "pcs", 56 "default": true 57 }, 58 "footprint": null, 59 "storageLocation": { 60 "@id": "/api/storage_locations/30", 61 "@type": "StorageLocation", 62 "name": "Sense-Ordenar", 63 "image": null, 64 "categoryPath": "Root Category", 65 "category": { 66 "@id": "/api/storage_location_categories/1", 67 "@type": "StorageLocationCategory", 68 "parent": null, 69 "categoryPath": "Root Category", 70 "expanded": true, 71 "name": "Root Category", 72 "description": "", 73 "parentId": null, 74 "index": -1, 75 "depth": 0, 76 "expandable": true, 77 "checked": null, 78 "leaf": false, 79 "cls": "", 80 "iconCls": "", 81 "icon": "", 82 "root": 0, 83 "isLast": false, 84 "isFirst": false, 85 "allowDrop": true, 86 "allowDrag": true, 87 "loaded": false, 88 "loading": false, 89 "href": "", 90 "hrefTarget": "", 91 "qtip": "", 92 "qtitle": "", 93 "qshowDelay": 0, 94 "children": null, 95 "visible": true, 96 "text": "", 97 "lft": 0, 98 "rgt": 0, 99 "lvl": 0 100 } 101 }, 102 "partPartKeeprPartBundleEntityPartAttachments": [], 103 "attachments": [], 104 "partPartKeeprPartBundleEntityPartDistributors": [], 105 "distributors": [], 106 "partPartKeeprPartBundleEntityPartImages": [], 107 "partPartKeeprPartBundleEntityPartManufacturers": [], 108 "manufacturers": [], 109 "partPartKeeprPartBundleEntityPartParameters": [], 110 "parameters": [], 111 "partPartKeeprProjectBundleEntityProjectParts": [], 112 "projectParts": [], 113 "partPartKeeprStockBundleEntityStockEntries": [], 114 "stockLevels": [ 115 { 116 "stockLevel": 100, 117 "price": 0, 118 "dateTime": null, 119 "correction": false, 120 "comment": "", 121 "user": null 122 } 123 ], 124 "partPartKeeprProjectBundleEntityProjectReports": [] 125 }