Példa entitás

Példa egy konkrét bejegyzés adatára.

2022.01.11 — Posted by Webb & Flow


Tartalomjegyzék

A következő egy példa bejegyzés adata (ebben az esetben egy Script típusú entitás).

   {
       "entityLoaded": "fully",
       "entity": {
           "id": {
               "value": "scr_6197958773047296"
           },
           "idEnd": {
               "value": "6197958773047296"
           },
           "createdAt": {
               "value": "2021-02-22T13:59:07+00:00",
               "warnings": []
           },
           "createdBy": {
               "value": "gergely.kovacs@webbandflow.co.uk",
               "warnings": []
           },
           "lastModAt": {
               "value": "2021-02-24T14:02:01+00:00",
               "warnings": []
           },
           "lastModBy": {
               "value": "gergely.kovacs@webbandflow.co.uk",
               "warnings": []
           },
           "shortDescription": {
               "value": "",
               "warnings": [],
               "editable": 1,
               "validation": []
           },
           "techComment": {
               "value": "",
               "warnings": [],
               "editable": 1,
               "validation": []
           },
           "weight": {
               "value": 10,
               "warnings": [],
               "editable": 1,
               "validation": [
                   {
                       "validator": "number",
                       "level": "error"
                   }
               ]
           },
           "status": {
               "value": 0,
               "warnings": []
           },
           "warningCount": {
               "value": 0,
               "warnings": []
           },
           "usageCount": {
               "value": 0,
               "warnings": []
           },
           "visible": {
               "value": 1,
               "warnings": [],
               "editable": 1,
               "validation": []
           },
           "editable": {
               "value": 1,
               "warnings": [],
               "editable": 1,
               "validation": []
           },
           "locked": {
               "value": 0,
               "warnings": []
           },
           "name": {
               "value": "SCRIPT_001",
               "warnings": [],
               "editable": 1,
               "validation": [
                   {
                       "validator": "required",
                       "level": "error"
                   },
                   {
                       "validator": "unique",
                       "level": "error"
                   }
               ]
           },
           "code": {
               "value": "asdf",
               "warnings": [],
               "editable": 1,
               "validation": []
           }
       },
       "entityOperations": {
           "access": 1,
           "select": 0,
           "edit": 1,
           "activate": 0,
           "archive": 1,
           "trash": 1,
           "lock": 1,
           "unlock": 0,
           "delete": 0,
           "restore": 1,
           "viewChangeLogs": 1,
           "viewMilestones": 1,
           "addMilestone": 1,
           "editMilestone": 1
       }
   }