Seitenhistorie
Beispiele zum Download:
Anhänge | |||||
---|---|---|---|---|---|
|
...
Inhalt | ||
---|---|---|
|
/
Codeblock |
---|
{
"session_id": "ckW5dWQzBxkIfiH2eaWb",
"username": "nuclos",
"locale": "de_DE",
"link": [
{"rel": "self", "href": "http://localhost:8280/example/rest/", "verb": "POST"},
{"rel": "bometalist", "href": "http://localhost:8280/example/rest/bo/meta", "verb": "GET"},
{"rel": "menu", "href": "http://localhost:8280/example/rest/meta/menu", "verb": "GET"}
]
} |
/meta/bo
Codeblock |
---|
[
{
"bo_meta_id": "A3wu3cgTYSt3iXx8mIeH",
"name": "Order",
"href": "http://localhost:8280/example/rest/meta/bo/A3wu3cgTYSt3iXx8mIeH"
},
{
"bo_meta_id": "sYFUgWuHvxtv8MDrpgV2",
"name": "Customer",
"href": "http://localhost:8280/example/rest/meta/bo/sYFUgWuHvxtv8MDrpgV2"
},
{
"bo_meta_id": "jVRqzzCD7QdHpwzKvAqQ",
"name": "Article",
"href": "http://localhost:8280/example/rest/meta/bo/jVRqzzCD7QdHpwzKvAqQ"
}
] |
/meta/bo/A3wu3cgTYSt3iXx8mIeH
Codeblock |
---|
{
"bo_meta_id": "A3wu3cgTYSt3iXx8mIeH",
"name": "Order",
"update": true,
"delete": true,
"insert": true,
"list_href": "http://localhost:8280/example/rest/data/A3wu3cgTYSt3iXx8mIeH",
"layout_href": "http://localhost:8280/example/rest/meta/layout/1147011274",
"hasimage": true //Check if necessary
} |
/meta/layout/1147011274
Codeblock |
---|
{
"type": "ROOT",
"layout": {
"columns": [
12,
120,
96,
112,
180,
50,
-1,
5
],
"rows": [
12,
22,
22,
22,
22,
22,
22,
5,
-1
]
},
"components": [
{
"bo_attr_id": "sgVvrtGMgTS4B8l6MuOw",
"name": "Order date",
"type": "Date",
"readonly": false,
"unique": false,
"nullable": true,
"reference": false,
"order": 3,
"group": "Example attribute group 1",
"tablecstr": {
"col": 2,
"row": 5
},
"labelcstr": {
"col": 1,
"row": 5
}
},
{
"title": "Tabbedpane_1",
"type": "TABBEDPANE",
"cstr": {
"col": 1,
"colspan": 6,
"row": 8
},
"components": [
{
"title": "Position",
"type": "TAB",
"layout": {
"columns": [
0,
-1
],
"rows": [
0,
-1
]
},
"components": [
{
"bo_meta_id": "WPYYgEC0psVEY9d7C78Z",
"name": "Order position",
"parent_bo_attr_id": "6NnStbGHIp0xVoXK21KL",
"type": "DEPENDENCE_LIST",
"readonly": false,
"fields": [
{
"bo_attr_id": "6NnStbGHIp0xVoXK21KL",
"name": "Order",
"type": "String",
"readonly": false,
"unique": false,
"nullable": false,
"reference": true,
"referencing_bo_meta_id": "A3wu3cgTYSt3iXx8mIeH",
"order": 0,
"group": "Example attribute group 1"
},
{
"bo_attr_id": "Aj8AVwwBaIZaBUIaXlzJ",
"name": "Article",
"type": "String",
"readonly": false,
"unique": false,
"nullable": false,
"reference": true,
"referencing_bo_meta_id": "jVRqzzCD7QdHpwzKvAqQ",
"order": 1,
"group": "Example attribute group 1",
"layout_rules": [
{
"type": "lookup",
"source_bo_attr_id": "Aj8AVwwBaIZaBUIaXlzJ",
"dependence_bo_meta_id": "WPYYgEC0psVEY9d7C78Z",
"actions": [
{
"type": "transfer-lookedup-value",
"target_bo_attr_id": "9dTVY27oKuuGT67c9Lm2",
"parameter": "ZAVTJqVqe3ToyhsvtZnA"
}
]
}
],
"value_list_provider": {
"type": "ds",
"value": "RK30kN1qDSczSBsUfGvC",
"params": {
"vlp_meta_id": "DJIq.RK30kN1qDSczSBsUfGvC",
"vlp_key_attr_id": "intid",
"vlp_value_attr_id": "strname"
}
}
},
{
"bo_attr_id": "9dTVY27oKuuGT67c9Lm2",
"name": "Price",
"type": "Decimal",
"readonly": false,
"unique": false,
"nullable": false,
"reference": false,
"order": 2,
"group": "Example attribute group 1"
},
{
"bo_attr_id": "1sJUnkeLZacxxUIoePiC",
"name": "Quantity",
"type": "Decimal",
"readonly": false,
"unique": false,
"nullable": false,
"reference": false,
"order": 3,
"group": "Example attribute group 1"
}
]
}
]
}
]
},
{
"bo_attr_id": "mkbW5XHJG69FyoxBA4uE",
"name": "Note",
"type": "String",
"readonly": false,
"unique": false,
"nullable": true,
"reference": false,
"order": 5,
"group": "Example attribute group 1",
"memo": true,
"tablecstr": {
"col": 6,
"row": 1,
"rowspan": 6
},
"labelcstr": {
"col": 5,
"row": 1,
"valign": "middle"
}
},
{
"bo_attr_id": "15f8oxrX6cSka7yq0jTS",
"name": "Discount",
"type": "Decimal",
"readonly": false,
"unique": false,
"nullable": true,
"reference": false,
"order": 4,
"group": "Example attribute group 1",
"tablecstr": {
"col": 2,
"row": 6,
"valign": "middle"
},
"labelcstr": {
"col": 1,
"row": 6,
"valign": "middle"
}
},
{
"bo_attr_id": "DehvMLszOxRH2OHMcl5D",
"name": "Order number",
"type": "Number",
"readonly": false,
"unique": true,
"nullable": false,
"reference": false,
"order": 0,
"group": "Example attribute group 1",
"tablecstr": {
"col": 2,
"row": 1
},
"labelcstr": {
"col": 1,
"row": 1
}
},
{
"bo_attr_id": "F8oMtVf266iYLHEF91LO",
"name": "Customer",
"type": "String",
"readonly": false,
"unique": false,
"nullable": true,
"reference": true,
"referencing_bo_meta_id": "sYFUgWuHvxtv8MDrpgV2",
"order": 1,
"group": "Example attribute group 1",
"tablecstr": {
"col": 2,
"colspan": 2,
"row": 3
},
"labelcstr": {
"col": 1,
"row": 3
},
"layout_rules": [
{
"type": "lookup",
"source_bo_attr_id": "F8oMtVf266iYLHEF91LO",
"actions": [
{
"type": "transfer-lookedup-value",
"target_bo_attr_id": "15f8oxrX6cSka7yq0jTS",
"parameter": "imCuENAlyLJTKzq5Tkgs"
}
]
},
{
"type": "value-changed",
"source_bo_attr_id": "F8oMtVf266iYLHEF91LO",
"actions": [
{
"type": "refresh-valuelist",
"target_bo_attr_id": "91cxckSRNQyaKskdj0Zl",
"parameter": "customer"
},
{
"type": "clear",
"target_bo_attr_id": "91cxckSRNQyaKskdj0Zl"
}
]
}
],
"value_list_provider": {
"type": "ds",
"value": "L8KZcyJolYtf5ai9Gssx",
"params": {
"vlp_meta_id": "DJIq.L8KZcyJolYtf5ai9Gssx",
"vlp_key_attr_id": "intid",
"vlp_value_attr_id": "strname"
}
}
},
{
"bo_attr_id": "91cxckSRNQyaKskdj0Zl",
"name": "Customer address",
"type": "String",
"readonly": false,
"unique": false,
"nullable": true,
"reference": true,
"referencing_bo_meta_id": "iCkm9KpNyzMk7Zi47tYn",
"order": 2,
"group": "Example attribute group 1",
"tablecstr": {
"col": 2,
"colspan": 3,
"row": 4
},
"labelcstr": {
"col": 1,
"row": 4,
"valign": "middle"
},
"value_list_provider": {
"type": "ds",
"value": "bIw5ANNwVMLjBVYW0OMa",
"params": {
"vlp_meta_id": "DJIq.bIw5ANNwVMLjBVYW0OMa",
"vlp_key_attr_id": "intid",
"customer": "",
"vlp_value_attr_id": "strcity"
}
}
},
{
"bo_attr_id": "A3wu3cgTYSt3iXx8mIeH10",
"name": "Action",
"type": "String",
"readonly": false,
"unique": false,
"nullable": true,
"reference": true,
"referencing_bo_meta_id": "ui9l",
"order": 6,
"tablecstr": {
"col": 2,
"colspan": 2,
"row": 2
},
"labelcstr": {
"col": 1,
"row": 2,
"valign": "middle"
},
"value_list_provider": {
"type": "named",
"value": "process",
"params": {}
}
}
]
} |
/meta/menu
...
/data/A3wu3cgTYSt3iXx8mIeH
Codeblock |
---|
{
"all": true,
"title": "Order",
"bo_simple_list": [
{
"bo_instance_id": 40000302,
"href": "http://localhost:8280/example/rest/data/A3wu3cgTYSt3iXx8mIeH/40000302",
"title": "1011 Max Mustermann",
"info": "München, 800700, Teger.., 2014-06-26, 1.50"
},
{
"bo_instance_id": 40000308,
"href": "http://localhost:8280/example/rest/data/A3wu3cgTYSt3iXx8mIeH/40000308",
"title": "1010 Max Mustermann",
"info": "München, 800700, Teger.., 2014-06-05, 1.50"
},
{
"bo_instance_id": 40000305,
"href": "http://localhost:8280/example/rest/data/A3wu3cgTYSt3iXx8mIeH/40000305",
"title": "1012 Maria Mustermann",
"info": "Berlin, 100200, .., 2014-06-26, 2014-06-27"
}
]
} |
/data/A3wu3cgTYSt3iXx8mIeH/40000302
...
...
[
{
"path": "Example",
"entries": [
{
"name": "Order",
"bo_meta_id": "A3wu3cgTYSt3iXx8mIeH",
"href": "http://localhost:8280/example/rest/meta/bometa/A3wu3cgTYSt3iXx8mIeH",
"icon_href": "http://localhost:8280/example/rest/meta/icon/org.nuclos.client.resource.icon.glyphish.61-brightness.png"
},
{
"name": "Customer",
"bo_meta_id": "sYFUgWuHvxtv8MDrpgV2",
"href": "http://localhost:8280/example/rest/meta/bometa/sYFUgWuHvxtv8MDrpgV2",
"icon_href": "http://localhost:8280/example/rest/meta/icon/org.nuclos.client.resource.icon.glyphish.119-piggy-bank.png"
},
{
"name": "Article",
"bo_meta_id": "jVRqzzCD7QdHpwzKvAqQ",
"href": "http://localhost:8280/example/rest/meta/bometa/jVRqzzCD7QdHpwzKvAqQ",
"icon_href": "http://localhost:8280/example/rest/meta/icon/org.nuclos.client.resource.icon.glyphish.195-barcode.png"
}
]
}
]
|
...
/data/A3wu3cgTYSt3iXx8mIeH/40000302/dependence
Codeblock |
---|
{
"6NnStbGHIp0xVoXK21KL": "http://localhost:8280/example/rest/data/A3wu3cgTYSt3iXx8mIeH/40000302/dependence/6NnStbGHIp0xVoXK21KL"
} |
/data/A3wu3cgTYSt3iXx8mIeH/40000302/dependence/6NnStbGHIp0xVoXK21KL
Codeblock |
---|
{
"all": true,
"total": 1,
"title": "Order position",
"bo_simple_list": [
{
"bo_instance_id": 40000303,
"href": "http://localhost:8280/example/rest/data/WPYYgEC0psVEY9d7C78Z/40000303",
"title": "2011 20 TB HDD",
"info": "99.00, 2.00"
}
]
} |
/data/WPYYgEC0psVEY9d7C78Z/40000303
Codeblock |
---|
{
"bo_instance": {
"bo_instance_id": 40000303,
"href": "http://localhost:8280/example/rest/data/WPYYgEC0psVEY9d7C78Z/40000303",
"bo_meta_id": "WPYYgEC0psVEY9d7C78Z",
"title": "2011 20 TB HDD",
"info": ""
}
} |
/data/sYFUgWuHvxtv8MDrpgV2
Codeblock |
---|
{
"all": true,
"title": "Customer",
"bo_simple_list": [
{
"bo_instance_id": 40000294,
"href": "http://localhost:8280/example/rest/data/sYFUgWuHvxtv8MDrpgV2/40000294",
"title": "Max Mustermann",
"info": "3011, 1980-01-01, 1.50"
},
{
"bo_instance_id": 40000296,
"href": "http://localhost:8280/example/rest/data/sYFUgWuHvxtv8MDrpgV2/40000296",
"title": "Maria Mustermann",
"info": "3012, 1980-01-02, 2.00"
},
{
"bo_instance_id": 40000298,
"href": "http://localhost:8280/example/rest/data/sYFUgWuHvxtv8MDrpgV2/40000298",
"title": "Mr. X",
"info": "3013"
}
]
} |
/data/sYFUgWuHvxtv8MDrpgV2/40000294
Codeblock |
---|
{
"bo_instance": {
"bo_instance_id": 40000294,
"href": "http://localhost:8280/example/rest/data/sYFUgWuHvxtv8MDrpgV2/40000294",
"bo_attr_values": {
"yRrNxQuuEubF3geNfE0A": 3011,
"Tsq9sMXXXuAAVFnKLKNr": "Max Mustermann",
"PI0aFHtZRMXLtFNVPFT0": "1980-01-01",
"pGwFv9qaL7PCAwdMIWti": true,
"imCuENAlyLJTKzq5Tkgs": "1.50",
}
"bo_meta_id": "sYFUgWuHvxtv8MDrpgV2",
"layout": "http://localhost:8280/example/rest/meta/layout/-939307636",
"dependencies": "http://localhost:8280/example/rest/data/sYFUgWuHvxtv8MDrpgV2/40000294/dependence",
"title": "Max Mustermann",
"info": "3011, 1980-01-01, 1.50"
}
} |
/data/sYFUgWuHvxtv8MDrpgV2/40000294/dependence
Codeblock |
---|
{
"l4ndyl0Dh0Ga39YF7sco": "http://localhost:8280/example/rest/data/sYFUgWuHvxtv8MDrpgV2/40000294/dependence/l4ndyl0Dh0Ga39YF7sco"
} |
/data/sYFUgWuHvxtv8MDrpgV2/40000294/dependence/l4ndyl0Dh0Ga39YF7sco
Codeblock |
---|
{
"all": true,
"total": 1,
"title": "Customer address",
"bo_simple_list": [
{
"bo_instance_id": 40000295,
"href": "http://localhost:8280/example/rest/data/iCkm9KpNyzMk7Zi47tYn/40000295",
"title": "München, 800700, Tegernseeroberlandstr. 119",
"info": ""
}
]
} |
/data/iCkm9KpNyzMk7Zi47tYn/40000295
Codeblock |
---|
{
"bo_instance": {
"bo_instance_id": 40000295,
"href": "http://localhost:8280/example/rest/data/iCkm9KpNyzMk7Zi47tYn/40000295",
"bo_meta_id": "iCkm9KpNyzMk7Zi47tYn",
"title": "München, 800700, Tegernseeroberlandstr. 119",
"info": ""
}
} |
...
Überblick
Inhalte