Fulltextové hledání - definice

GET

/fastsearchdefinitions

Získá kolekci BO Fulltextové hledání - definice

GET

/fastsearchdefinitions/meta/dataprotection

Získá seznam položek BO, které mohou být chráněny na BO Fulltextové hledání - definice

GET

/fastsearchdefinitions/views/{view}

Získá pohled nad BO Fulltextové hledání - definice

GET

/fastsearchdefinitions/{id}

Získá daný BO Fulltextové hledání - definice

GET

/fastsearchdefinitions/{id}/indexes

Získá řádky kolekce Fulltextové hledání - definice položky

GET

/fastsearchdefinitions/{id}/indexes/{id1}

Získá daný řádek kolekce Fulltextové hledání - definice položky

GET

/fastsearchdefinitions/{id}/iseditlock

Otestuje, zda existuje editační zámek na daném BO Fulltextové hledání - definice

GET

/fastsearchdefinitions/{id}/meta/dataprotection

Získá seznam chráněných položek, které jsou na BO Fulltextové hledání - definice aktuálnímu uživateli znepřístupněny

GET

/fastsearchdefinitions/{id}/userparameters

Získá seznam uživatelských parametrů včetně jejich hodnot k danému BO Fulltextové hledání - definice

POST

/fastsearchdefinitions

Vytvoří nový BO Fulltextové hledání - definice

POST

/fastsearchdefinitions/query

Vyhodnotí query dotaz nad BO Fulltextové hledání - definice

POST

/fastsearchdefinitions/{id}/indexes

Vytvoří nový řádek v kolekci Fulltextové hledání - definice položky

PUT

/fastsearchdefinitions/{id}

Modifikuje daný BO Fulltextové hledání - definice

PUT

/fastsearchdefinitions/{id}/editlock

Vytvoří editační zámek na daném BO Fulltextové hledání - definice

PUT

/fastsearchdefinitions/{id}/editunlock

Zruší editační zámek na daném BO Fulltextové hledání - definice

PUT

/fastsearchdefinitions/{id}/indexes/{id1}

Modifikuje řádek v kolekci Fulltextové hledání - definice položky

DELETE

/fastsearchdefinitions/{id}

Smaže BO Fulltextové hledání - definice

DELETE

/fastsearchdefinitions/{id}/indexes/{id1}

Smaže řádek z kolekce Fulltextové hledání - definice položky

Metadata - Perzistentní položky

boclsid string (26)

Třída, pole vlastněné tabulkou, možné řadit a filtrovat, pole je duplikováno při klonování objektu, fkAnsiCaseSensitive

correctedat$date string

Opraveno, pole vlastněné tabulkou, možné řadit a filtrovat, pole nepodporuje ochranu dat/GDPR

correctedby_id string (securityuser) relace

Opravil, pole vlastněné tabulkou, možné řadit a filtrovat, pole nepodporuje ochranu dat/GDPR

createdat$date string

Vytvořeno, pole vlastněné tabulkou, možné řadit a filtrovat, pole nepodporuje ochranu dat/GDPR

createdby_id string (securityuser) relace

Vytvořil, pole vlastněné tabulkou, možné řadit a filtrovat, pole nepodporuje ochranu dat/GDPR

indexes array (fastsearchdefinitionindex) relace

kolekce BO Fulltextové hledání - definice položky, pole je duplikováno při klonování objektu, objekt na který pole odkazuje je 'vlastněn'

objversion integer

Verze objektu, pouze pro čtení, pole vlastněné tabulkou, možné řadit a filtrovat, pole nepodporuje ochranu dat/GDPR

status integer

Stav, pole vlastněné tabulkou, možné řadit a filtrovat

tablename string (28)

Tabulka fulltextu, pole vlastněné tabulkou, možné řadit a filtrovat, pole je duplikováno při klonování objektu

updateddate$date string

Aktualizace, pole vlastněné tabulkou, možné řadit a filtrovat

Metadata - Neperzistentní položky

boname string (50)

Název třídy

classid string (26)

ID třídy, pouze pro čtení, fkAnsiCaseSensitive, pole nepodporuje ochranu dat/GDPR

displayname string (100)

Název, pouze pro čtení

id string (10)

Vlastní ID, pouze pro čtení, fkAnsiCaseSensitive, pole nepodporuje ochranu dat/GDPR

sitename string (50)

Název agendy

sourcetablename string (30)

Zdrojová tabulka

statustext string (50)

Stav

Příklady
  • GET
  • QUERY
  • POST
  • PUT
  • DELETE
  • BATCH
  • Builder
Request

GET

https://atd.abra.eu/demodata/fastsearchdefinitions?take=1

GET

https://atd.abra.eu/demodata/fastsearchdefinitions/{id}
Response
{
    "objversion": 8,
    "boclsid": "4K3EXM5PQBCL35CH000ILPWJF4",
    "tablename": "FSU$Firms",
    "indexes": [
        {
            "description": "Město",
            "expressiontype": 0,
            "gid": "ZEWHEQ1PSEY4XEGG3FDGNDWM3O",
            "id": "3000000101",
            "indexexpression": "ResidenceAddress_ID.City",
            "maxwordlength": 50,
            "minwordlength": 3,
            "name": "Město",
            "objversion": 10,
            "parent_id": "1000000101",
            "posindex": 3,
            "status": 3,
            "wordsplitdelimiters": "",
            "wordsplitkind": 3
        },
        {
            "description": "Ulice",
            "expressiontype": 0,
            "gid": "RGKGOG2EJPFO30FEVJV1ZSQ4ZS",
            "id": "2000000101",
            "indexexpression": "ResidenceAddress_ID.Street",
            "maxwordlength": 50,
            "minwordlength": 3,
            "name": "Ulice",
            "objversion": 10,
            "parent_id": "1000000101",
            "posindex": 2,
            "status": 3,
            "wordsplitdelimiters": "",
            "wordsplitkind": 3
        },
        {
            "description": "Název firmy",
            "expressiontype": 0,
            "gid": "1PETCMIALFU452PGCQMQVQ3CNG",
            "id": "1000000101",
            "indexexpression": "Name",
            "maxwordlength": 50,
            "minwordlength": 3,
            "name": "Název firmy",
            "objversion": 10,
            "parent_id": "1000000101",
            "posindex": 1,
            "status": 3,
            "wordsplitdelimiters": "",
            "wordsplitkind": 3
        }
    ],
    "updateddate$date": "2019-12-19T09:40:25.814Z",
    "status": 0,
    "createdat$date": "2011-10-19T13:29:24.654Z",
    "correctedat$date": "2019-12-19T09:40:25.729Z",
    "createdby_id": "SUPER00000",
    "correctedby_id": "1200000101"
}
Request POST

POST

https://atd.abra.eu/demodata/query
{"class": "fastsearchdefinitions", "take": "1"}

POST

https://atd.abra.eu/demodata/fastsearchdefinitions/query
{"take": "1"}
Response
{
    "objversion": 8,
    "boclsid": "4K3EXM5PQBCL35CH000ILPWJF4",
    "tablename": "FSU$Firms",
    "indexes": [
        {
            "description": "Město",
            "expressiontype": 0,
            "gid": "ZEWHEQ1PSEY4XEGG3FDGNDWM3O",
            "id": "3000000101",
            "indexexpression": "ResidenceAddress_ID.City",
            "maxwordlength": 50,
            "minwordlength": 3,
            "name": "Město",
            "objversion": 10,
            "parent_id": "1000000101",
            "posindex": 3,
            "status": 3,
            "wordsplitdelimiters": "",
            "wordsplitkind": 3
        },
        {
            "description": "Ulice",
            "expressiontype": 0,
            "gid": "RGKGOG2EJPFO30FEVJV1ZSQ4ZS",
            "id": "2000000101",
            "indexexpression": "ResidenceAddress_ID.Street",
            "maxwordlength": 50,
            "minwordlength": 3,
            "name": "Ulice",
            "objversion": 10,
            "parent_id": "1000000101",
            "posindex": 2,
            "status": 3,
            "wordsplitdelimiters": "",
            "wordsplitkind": 3
        },
        {
            "description": "Název firmy",
            "expressiontype": 0,
            "gid": "1PETCMIALFU452PGCQMQVQ3CNG",
            "id": "1000000101",
            "indexexpression": "Name",
            "maxwordlength": 50,
            "minwordlength": 3,
            "name": "Název firmy",
            "objversion": 10,
            "parent_id": "1000000101",
            "posindex": 1,
            "status": 3,
            "wordsplitdelimiters": "",
            "wordsplitkind": 3
        }
    ],
    "updateddate$date": "2019-12-19T09:40:25.814Z",
    "status": 0,
    "createdat$date": "2011-10-19T13:29:24.654Z",
    "correctedat$date": "2019-12-19T09:40:25.729Z",
    "createdby_id": "SUPER00000",
    "correctedby_id": "1200000101"
}
Request

POST

https://atd.abra.eu/demodata/fastsearchdefinitions?select=id
Body
{
    "boclsid": "4K3EXM5PQBCL35CH000ILPWJF4",
    "correctedat$date": "2019-12-19T09:40:25.729Z",
    "correctedby_id": "1200000101",
    "createdat$date": "2011-10-19T13:29:24.654Z",
    "createdby_id": "SUPER00000",
    "indexes": [
        {
            "description": "Město",
            "expressiontype": 0,
            "gid": "ZEWHEQ1PSEY4XEGG3FDGNDWM3O",
            "id": "3000000101",
            "indexexpression": "ResidenceAddress_ID.City",
            "maxwordlength": 50,
            "minwordlength": 3,
            "name": "Město",
            "objversion": 10,
            "parent_id": "1000000101",
            "posindex": 3,
            "status": 3,
            "wordsplitdelimiters": "",
            "wordsplitkind": 3
        },
        {
            "description": "Ulice",
            "expressiontype": 0,
            "gid": "RGKGOG2EJPFO30FEVJV1ZSQ4ZS",
            "id": "2000000101",
            "indexexpression": "ResidenceAddress_ID.Street",
            "maxwordlength": 50,
            "minwordlength": 3,
            "name": "Ulice",
            "objversion": 10,
            "parent_id": "1000000101",
            "posindex": 2,
            "status": 3,
            "wordsplitdelimiters": "",
            "wordsplitkind": 3
        },
        {
            "description": "Název firmy",
            "expressiontype": 0,
            "gid": "1PETCMIALFU452PGCQMQVQ3CNG",
            "id": "1000000101",
            "indexexpression": "Name",
            "maxwordlength": 50,
            "minwordlength": 3,
            "name": "Název firmy",
            "objversion": 10,
            "parent_id": "1000000101",
            "posindex": 1,
            "status": 3,
            "wordsplitdelimiters": "",
            "wordsplitkind": 3
        }
    ],
    "status": 0,
    "tablename": "FSU$Firms",
    "updateddate$date": "2019-12-19T09:40:25.814Z"
}
Response
{
    "id": "1600000101"
}
Request

PUT

https://atd.abra.eu/demodata/fastsearchdefinitions/{id}?select=id
Body
{
    "boclsid": "4K3EXM5PQBCL35CH000ILPWJF4",
    "correctedat$date": "2019-12-19T09:40:25.729Z",
    "correctedby_id": "1200000101",
    "createdat$date": "2011-10-19T13:29:24.654Z",
    "createdby_id": "SUPER00000",
    "indexes": [
        {
            "description": "Město",
            "expressiontype": 0,
            "gid": "ZEWHEQ1PSEY4XEGG3FDGNDWM3O",
            "id": "3000000101",
            "indexexpression": "ResidenceAddress_ID.City",
            "maxwordlength": 50,
            "minwordlength": 3,
            "name": "Město",
            "objversion": 10,
            "parent_id": "1000000101",
            "posindex": 3,
            "status": 3,
            "wordsplitdelimiters": "",
            "wordsplitkind": 3
        },
        {
            "description": "Ulice",
            "expressiontype": 0,
            "gid": "RGKGOG2EJPFO30FEVJV1ZSQ4ZS",
            "id": "2000000101",
            "indexexpression": "ResidenceAddress_ID.Street",
            "maxwordlength": 50,
            "minwordlength": 3,
            "name": "Ulice",
            "objversion": 10,
            "parent_id": "1000000101",
            "posindex": 2,
            "status": 3,
            "wordsplitdelimiters": "",
            "wordsplitkind": 3
        },
        {
            "description": "Název firmy",
            "expressiontype": 0,
            "gid": "1PETCMIALFU452PGCQMQVQ3CNG",
            "id": "1000000101",
            "indexexpression": "Name",
            "maxwordlength": 50,
            "minwordlength": 3,
            "name": "Název firmy",
            "objversion": 10,
            "parent_id": "1000000101",
            "posindex": 1,
            "status": 3,
            "wordsplitdelimiters": "",
            "wordsplitkind": 3
        }
    ],
    "status": 0,
    "tablename": "FSU$Firms",
    "updateddate$date": "2019-12-19T09:40:25.814Z"
}
Response
{
    "id": "1600000101"
}

DELETE

https://atd.abra.eu/demodata/fastsearchdefinitions/{id}
Response
200 - OK Everything worked as expected.
Dávkové zprocování záznamů Request

PUT

https://atd.abra.eu/demodata//batch
  • CREATE
  • UPDATE
  • DELETE
Body - Create
{
    "items": [
        {
            "type": "create",
            "id": "id0",
            "data": {
                "class_id": "fastsearchdefinitions",
                "object_data": {
                    "boclsid": "4K3EXM5PQBCL35CH000ILPWJF4",
                    "correctedat$date": "2019-12-19T09:40:25.729Z",
                    "correctedby_id": "1200000101",
                    "createdat$date": "2011-10-19T13:29:24.654Z",
                    "createdby_id": "SUPER00000",
                    "indexes": [
                        {
                            "description": "Město",
                            "expressiontype": 0,
                            "gid": "ZEWHEQ1PSEY4XEGG3FDGNDWM3O",
                            "id": "3000000101",
                            "indexexpression": "ResidenceAddress_ID.City",
                            "maxwordlength": 50,
                            "minwordlength": 3,
                            "name": "Město",
                            "objversion": 10,
                            "parent_id": "1000000101",
                            "posindex": 3,
                            "status": 3,
                            "wordsplitdelimiters": "",
                            "wordsplitkind": 3
                        },
                        {
                            "description": "Ulice",
                            "expressiontype": 0,
                            "gid": "RGKGOG2EJPFO30FEVJV1ZSQ4ZS",
                            "id": "2000000101",
                            "indexexpression": "ResidenceAddress_ID.Street",
                            "maxwordlength": 50,
                            "minwordlength": 3,
                            "name": "Ulice",
                            "objversion": 10,
                            "parent_id": "1000000101",
                            "posindex": 2,
                            "status": 3,
                            "wordsplitdelimiters": "",
                            "wordsplitkind": 3
                        },
                        {
                            "description": "Název firmy",
                            "expressiontype": 0,
                            "gid": "1PETCMIALFU452PGCQMQVQ3CNG",
                            "id": "1000000101",
                            "indexexpression": "Name",
                            "maxwordlength": 50,
                            "minwordlength": 3,
                            "name": "Název firmy",
                            "objversion": 10,
                            "parent_id": "1000000101",
                            "posindex": 1,
                            "status": 3,
                            "wordsplitdelimiters": "",
                            "wordsplitkind": 3
                        }
                    ],
                    "status": 0,
                    "tablename": "FSU$Firms",
                    "updateddate$date": "2019-12-19T09:40:25.814Z"
                },
                "query": {
                    "select": [
                        "id"
                    ]
                }
            }
        },
        {
            "type": "create",
            "id": "id1",
            "data": {
                "class_id": "fastsearchdefinitions",
                "object_data": {
                    "boclsid": "4K3EXM5PQBCL35CH000ILPWJF4",
                    "correctedat$date": "2019-12-19T09:40:25.729Z",
                    "correctedby_id": "1200000101",
                    "createdat$date": "2011-10-19T13:29:24.654Z",
                    "createdby_id": "SUPER00000",
                    "indexes": [
                        {
                            "description": "Město",
                            "expressiontype": 0,
                            "gid": "ZEWHEQ1PSEY4XEGG3FDGNDWM3O",
                            "id": "3000000101",
                            "indexexpression": "ResidenceAddress_ID.City",
                            "maxwordlength": 50,
                            "minwordlength": 3,
                            "name": "Město",
                            "objversion": 10,
                            "parent_id": "1000000101",
                            "posindex": 3,
                            "status": 3,
                            "wordsplitdelimiters": "",
                            "wordsplitkind": 3
                        },
                        {
                            "description": "Ulice",
                            "expressiontype": 0,
                            "gid": "RGKGOG2EJPFO30FEVJV1ZSQ4ZS",
                            "id": "2000000101",
                            "indexexpression": "ResidenceAddress_ID.Street",
                            "maxwordlength": 50,
                            "minwordlength": 3,
                            "name": "Ulice",
                            "objversion": 10,
                            "parent_id": "1000000101",
                            "posindex": 2,
                            "status": 3,
                            "wordsplitdelimiters": "",
                            "wordsplitkind": 3
                        },
                        {
                            "description": "Název firmy",
                            "expressiontype": 0,
                            "gid": "1PETCMIALFU452PGCQMQVQ3CNG",
                            "id": "1000000101",
                            "indexexpression": "Name",
                            "maxwordlength": 50,
                            "minwordlength": 3,
                            "name": "Název firmy",
                            "objversion": 10,
                            "parent_id": "1000000101",
                            "posindex": 1,
                            "status": 3,
                            "wordsplitdelimiters": "",
                            "wordsplitkind": 3
                        }
                    ],
                    "status": 0,
                    "tablename": "FSU$Firms",
                    "updateddate$date": "2019-12-19T09:40:25.814Z"
                },
                "query": {
                    "select": [
                        "id"
                    ]
                }
            }
        }
    ]
}
Body - Update
{
    "items": [
        {
            "type": "update",
            "id": "id0",
            "data": {
                "class_id": "fastsearchdefinitions",
                "obj_id": "1600000100",
                "object_data": {
                    "boclsid": "4K3EXM5PQBCL35CH000ILPWJF4",
                    "correctedat$date": "2019-12-19T09:40:25.729Z",
                    "correctedby_id": "1200000101",
                    "createdat$date": "2011-10-19T13:29:24.654Z",
                    "createdby_id": "SUPER00000",
                    "indexes": [
                        {
                            "description": "Město",
                            "expressiontype": 0,
                            "gid": "ZEWHEQ1PSEY4XEGG3FDGNDWM3O",
                            "id": "3000000101",
                            "indexexpression": "ResidenceAddress_ID.City",
                            "maxwordlength": 50,
                            "minwordlength": 3,
                            "name": "Město",
                            "objversion": 10,
                            "parent_id": "1000000101",
                            "posindex": 3,
                            "status": 3,
                            "wordsplitdelimiters": "",
                            "wordsplitkind": 3
                        },
                        {
                            "description": "Ulice",
                            "expressiontype": 0,
                            "gid": "RGKGOG2EJPFO30FEVJV1ZSQ4ZS",
                            "id": "2000000101",
                            "indexexpression": "ResidenceAddress_ID.Street",
                            "maxwordlength": 50,
                            "minwordlength": 3,
                            "name": "Ulice",
                            "objversion": 10,
                            "parent_id": "1000000101",
                            "posindex": 2,
                            "status": 3,
                            "wordsplitdelimiters": "",
                            "wordsplitkind": 3
                        },
                        {
                            "description": "Název firmy",
                            "expressiontype": 0,
                            "gid": "1PETCMIALFU452PGCQMQVQ3CNG",
                            "id": "1000000101",
                            "indexexpression": "Name",
                            "maxwordlength": 50,
                            "minwordlength": 3,
                            "name": "Název firmy",
                            "objversion": 10,
                            "parent_id": "1000000101",
                            "posindex": 1,
                            "status": 3,
                            "wordsplitdelimiters": "",
                            "wordsplitkind": 3
                        }
                    ],
                    "status": 0,
                    "tablename": "FSU$Firms",
                    "updateddate$date": "2019-12-19T09:40:25.814Z"
                },
                "query": {
                    "select": [
                        "id"
                    ]
                }
            }
        },
        {
            "type": "update",
            "id": "id1",
            "data": {
                "class_id": "fastsearchdefinitions",
                "obj_id": "1600000101",
                "object_data": {
                    "boclsid": "4K3EXM5PQBCL35CH000ILPWJF4",
                    "correctedat$date": "2019-12-19T09:40:25.729Z",
                    "correctedby_id": "1200000101",
                    "createdat$date": "2011-10-19T13:29:24.654Z",
                    "createdby_id": "SUPER00000",
                    "indexes": [
                        {
                            "description": "Město",
                            "expressiontype": 0,
                            "gid": "ZEWHEQ1PSEY4XEGG3FDGNDWM3O",
                            "id": "3000000101",
                            "indexexpression": "ResidenceAddress_ID.City",
                            "maxwordlength": 50,
                            "minwordlength": 3,
                            "name": "Město",
                            "objversion": 10,
                            "parent_id": "1000000101",
                            "posindex": 3,
                            "status": 3,
                            "wordsplitdelimiters": "",
                            "wordsplitkind": 3
                        },
                        {
                            "description": "Ulice",
                            "expressiontype": 0,
                            "gid": "RGKGOG2EJPFO30FEVJV1ZSQ4ZS",
                            "id": "2000000101",
                            "indexexpression": "ResidenceAddress_ID.Street",
                            "maxwordlength": 50,
                            "minwordlength": 3,
                            "name": "Ulice",
                            "objversion": 10,
                            "parent_id": "1000000101",
                            "posindex": 2,
                            "status": 3,
                            "wordsplitdelimiters": "",
                            "wordsplitkind": 3
                        },
                        {
                            "description": "Název firmy",
                            "expressiontype": 0,
                            "gid": "1PETCMIALFU452PGCQMQVQ3CNG",
                            "id": "1000000101",
                            "indexexpression": "Name",
                            "maxwordlength": 50,
                            "minwordlength": 3,
                            "name": "Název firmy",
                            "objversion": 10,
                            "parent_id": "1000000101",
                            "posindex": 1,
                            "status": 3,
                            "wordsplitdelimiters": "",
                            "wordsplitkind": 3
                        }
                    ],
                    "status": 0,
                    "tablename": "FSU$Firms",
                    "updateddate$date": "2019-12-19T09:40:25.814Z"
                },
                "query": {
                    "select": [
                        "id"
                    ]
                }
            }
        }
    ]
}
Body - Delete
{
    "items": [
        {
            "type": "delete",
            "id": "id0",
            "data": {
                "class_id": "fastsearchdefinitions",
                "obj_id": "1600000100"
            }
        },
        {
            "type": "delete",
            "id": "id1",
            "data": {
                "class_id": "fastsearchdefinitions",
                "obj_id": "1600000101"
            }
        },
        {
            "type": "delete",
            "id": "id2",
            "data": {
                "class_id": "fastsearchdefinitions",
                "obj_id": "1600000102"
            }
        },
        {
            "type": "delete",
            "id": "id3",
            "data": {
                "class_id": "fastsearchdefinitions",
                "obj_id": "1600000103"
            }
        },
        {
            "type": "delete",
            "id": "id4",
            "data": {
                "class_id": "fastsearchdefinitions",
                "obj_id": "1600000104"
            }
        }
    ]
}