GET
Získá kolekci BO Definice ELDP
GET
Získá seznam položek BO, které mohou být chráněny na BO Definice ELDP
GET
Získá pohled nad BO Definice ELDP
GET
Získá daný BO Definice ELDP
GET
Otestuje, zda existuje editační zámek na daném BO Definice ELDP
GET
Získá seznam chráněných položek, které jsou na BO Definice ELDP aktuálnímu uživateli znepřístupněny
GET
Získá řádky kolekce Řádek definice ELDP
GET
Získá daný řádek kolekce Řádek definice ELDP
GET
Získá seznam uživatelských parametrů včetně jejich hodnot k danému BO Definice ELDP
POST
Vytvoří nový BO Definice ELDP
POST
Vyhodnotí query dotaz nad BO Definice ELDP
POST
Vytvoří nový řádek v kolekci Řádek definice ELDP
PUT
Modifikuje daný BO Definice ELDP
PUT
Vytvoří editační zámek na daném BO Definice ELDP
PUT
Zruší editační zámek na daném BO Definice ELDP
PUT
Modifikuje řádek v kolekci Řádek definice ELDP
DELETE
Smaže BO Definice ELDP
DELETE
Smaže řádek z kolekce Řádek definice ELDP
Rok, pole vlastněné tabulkou, možné řadit a filtrovat, pole je duplikováno při klonování objektu
Název, pole vlastněné tabulkou, možné řadit a filtrovat, pole je duplikováno při klonování objektu
Verze objektu, pouze pro čtení, pole vlastněné tabulkou, možné řadit a filtrovat, pole nepodporuje ochranu dat/GDPR
kolekce BO Řádek definice ELDP, pole je duplikováno při klonování objektu, objekt na který pole odkazuje je 'vlastněn'
ID třídy, pouze pro čtení, fkAnsiCaseSensitive, pole nepodporuje ochranu dat/GDPR
Název, pouze pro čtení
Vlastní ID, pouze pro čtení, fkAnsiCaseSensitive, pole nepodporuje ochranu dat/GDPR
GET
https://atd.abra.eu/demodata/retirementreportdefs?take=1
ResponseGET
https://atd.abra.eu/demodata/retirementreportdefs/{id}
{
"objversion": 1,
"rows": [
{
"expression": "NxRoundByValue(S_SocialInsBaseCorrect + if(MainWorkingRelation and not NxIsEmptyOID(WageListCommon_ID.ID), WageListCommon_ID.S_RetFundTaxBase, 0), 2, 1)",
"fieldname": "ZakladSP",
"id": "1000000000",
"objversion": 1,
"parent_id": "1000000000"
},
{
"expression": "S_SmallOrBigCompany",
"fieldname": "MalaOrganizace",
"id": "2000000000",
"objversion": 1,
"parent_id": "1000000000"
},
{
"expression": "WageListRecalculatedValue(ID, 'MDPojist', 'S_SubtractedDaysTotal')",
"fieldname": "OdecteneDny",
"id": "3000000000",
"objversion": 1,
"parent_id": "1000000000"
},
{
"expression": "WageListRecalculatedValue(ID, 'MDPojist', 'S_ExcludedDaysCorrect')",
"fieldname": "VylouceneDny",
"id": "4000000000",
"objversion": 1,
"parent_id": "1000000000"
},
{
"expression": "WageListRecalculatedValue(ID, 'MDPojist', 'S_ExcludedDaysAfterRetAge')",
"fieldname": "VylouceneDnyVDuchodu",
"id": "5000000000",
"objversion": 1,
"parent_id": "1000000000"
},
{
"expression": "if(WageEmployeeValueHistory('IsPartner', True, NxStrToDate('01.01.' + WagePeriod_ID.WPeriodYear) ,NxStrToDate('31.12.' + WagePeriod_ID.WPeriodYear), WorkingRelation_ID.Employee_ID.ID,'MM') <> '', 1, 0)",
"fieldname": "Spolecnik",
"id": "6000000000",
"objversion": 1,
"parent_id": "1000000000"
}
],
"name": "Definice ELDP 2004",
"calendaryear": 2004
}
POST
https://atd.abra.eu/demodata/query
{"class": "retirementreportdefs", "take": "1"}
POST
https://atd.abra.eu/demodata/retirementreportdefs/query
{"take": "1"}
Response
{
"objversion": 1,
"rows": [
{
"expression": "NxRoundByValue(S_SocialInsBaseCorrect + if(MainWorkingRelation and not NxIsEmptyOID(WageListCommon_ID.ID), WageListCommon_ID.S_RetFundTaxBase, 0), 2, 1)",
"fieldname": "ZakladSP",
"id": "1000000000",
"objversion": 1,
"parent_id": "1000000000"
},
{
"expression": "S_SmallOrBigCompany",
"fieldname": "MalaOrganizace",
"id": "2000000000",
"objversion": 1,
"parent_id": "1000000000"
},
{
"expression": "WageListRecalculatedValue(ID, 'MDPojist', 'S_SubtractedDaysTotal')",
"fieldname": "OdecteneDny",
"id": "3000000000",
"objversion": 1,
"parent_id": "1000000000"
},
{
"expression": "WageListRecalculatedValue(ID, 'MDPojist', 'S_ExcludedDaysCorrect')",
"fieldname": "VylouceneDny",
"id": "4000000000",
"objversion": 1,
"parent_id": "1000000000"
},
{
"expression": "WageListRecalculatedValue(ID, 'MDPojist', 'S_ExcludedDaysAfterRetAge')",
"fieldname": "VylouceneDnyVDuchodu",
"id": "5000000000",
"objversion": 1,
"parent_id": "1000000000"
},
{
"expression": "if(WageEmployeeValueHistory('IsPartner', True, NxStrToDate('01.01.' + WagePeriod_ID.WPeriodYear) ,NxStrToDate('31.12.' + WagePeriod_ID.WPeriodYear), WorkingRelation_ID.Employee_ID.ID,'MM') <> '', 1, 0)",
"fieldname": "Spolecnik",
"id": "6000000000",
"objversion": 1,
"parent_id": "1000000000"
}
],
"name": "Definice ELDP 2004",
"calendaryear": 2004
}
BodyPOST
https://atd.abra.eu/demodata/retirementreportdefs?select=id
{
"calendaryear": 2004,
"name": "Definice ELDP 2004",
"rows": [
{
"expression": "NxRoundByValue(S_SocialInsBaseCorrect + if(MainWorkingRelation and not NxIsEmptyOID(WageListCommon_ID.ID), WageListCommon_ID.S_RetFundTaxBase, 0), 2, 1)",
"fieldname": "ZakladSP",
"id": "1000000000",
"objversion": 1,
"parent_id": "1000000000"
},
{
"expression": "S_SmallOrBigCompany",
"fieldname": "MalaOrganizace",
"id": "2000000000",
"objversion": 1,
"parent_id": "1000000000"
},
{
"expression": "WageListRecalculatedValue(ID, 'MDPojist', 'S_SubtractedDaysTotal')",
"fieldname": "OdecteneDny",
"id": "3000000000",
"objversion": 1,
"parent_id": "1000000000"
},
{
"expression": "WageListRecalculatedValue(ID, 'MDPojist', 'S_ExcludedDaysCorrect')",
"fieldname": "VylouceneDny",
"id": "4000000000",
"objversion": 1,
"parent_id": "1000000000"
},
{
"expression": "WageListRecalculatedValue(ID, 'MDPojist', 'S_ExcludedDaysAfterRetAge')",
"fieldname": "VylouceneDnyVDuchodu",
"id": "5000000000",
"objversion": 1,
"parent_id": "1000000000"
},
{
"expression": "if(WageEmployeeValueHistory('IsPartner', True, NxStrToDate('01.01.' + WagePeriod_ID.WPeriodYear) ,NxStrToDate('31.12.' + WagePeriod_ID.WPeriodYear), WorkingRelation_ID.Employee_ID.ID,'MM') <> '', 1, 0)",
"fieldname": "Spolecnik",
"id": "6000000000",
"objversion": 1,
"parent_id": "1000000000"
}
]
}
Response
{
"id": "1600000101"
}
BodyPUT
https://atd.abra.eu/demodata/retirementreportdefs/{id}?select=id
{
"calendaryear": 2004,
"name": "Definice ELDP 2004",
"rows": [
{
"expression": "NxRoundByValue(S_SocialInsBaseCorrect + if(MainWorkingRelation and not NxIsEmptyOID(WageListCommon_ID.ID), WageListCommon_ID.S_RetFundTaxBase, 0), 2, 1)",
"fieldname": "ZakladSP",
"id": "1000000000",
"objversion": 1,
"parent_id": "1000000000"
},
{
"expression": "S_SmallOrBigCompany",
"fieldname": "MalaOrganizace",
"id": "2000000000",
"objversion": 1,
"parent_id": "1000000000"
},
{
"expression": "WageListRecalculatedValue(ID, 'MDPojist', 'S_SubtractedDaysTotal')",
"fieldname": "OdecteneDny",
"id": "3000000000",
"objversion": 1,
"parent_id": "1000000000"
},
{
"expression": "WageListRecalculatedValue(ID, 'MDPojist', 'S_ExcludedDaysCorrect')",
"fieldname": "VylouceneDny",
"id": "4000000000",
"objversion": 1,
"parent_id": "1000000000"
},
{
"expression": "WageListRecalculatedValue(ID, 'MDPojist', 'S_ExcludedDaysAfterRetAge')",
"fieldname": "VylouceneDnyVDuchodu",
"id": "5000000000",
"objversion": 1,
"parent_id": "1000000000"
},
{
"expression": "if(WageEmployeeValueHistory('IsPartner', True, NxStrToDate('01.01.' + WagePeriod_ID.WPeriodYear) ,NxStrToDate('31.12.' + WagePeriod_ID.WPeriodYear), WorkingRelation_ID.Employee_ID.ID,'MM') <> '', 1, 0)",
"fieldname": "Spolecnik",
"id": "6000000000",
"objversion": 1,
"parent_id": "1000000000"
}
]
}
Response
{
"id": "1600000101"
}
ResponseDELETE
https://atd.abra.eu/demodata/retirementreportdefs/{id}
200 - OK Everything worked as expected.
PUT
https://atd.abra.eu/demodata//batch
{
"items": [
{
"type": "create",
"id": "id0",
"data": {
"class_id": "retirementreportdefs",
"object_data": {
"calendaryear": 2004,
"name": "Definice ELDP 2004",
"rows": [
{
"expression": "NxRoundByValue(S_SocialInsBaseCorrect + if(MainWorkingRelation and not NxIsEmptyOID(WageListCommon_ID.ID), WageListCommon_ID.S_RetFundTaxBase, 0), 2, 1)",
"fieldname": "ZakladSP",
"id": "1000000000",
"objversion": 1,
"parent_id": "1000000000"
},
{
"expression": "S_SmallOrBigCompany",
"fieldname": "MalaOrganizace",
"id": "2000000000",
"objversion": 1,
"parent_id": "1000000000"
},
{
"expression": "WageListRecalculatedValue(ID, 'MDPojist', 'S_SubtractedDaysTotal')",
"fieldname": "OdecteneDny",
"id": "3000000000",
"objversion": 1,
"parent_id": "1000000000"
},
{
"expression": "WageListRecalculatedValue(ID, 'MDPojist', 'S_ExcludedDaysCorrect')",
"fieldname": "VylouceneDny",
"id": "4000000000",
"objversion": 1,
"parent_id": "1000000000"
},
{
"expression": "WageListRecalculatedValue(ID, 'MDPojist', 'S_ExcludedDaysAfterRetAge')",
"fieldname": "VylouceneDnyVDuchodu",
"id": "5000000000",
"objversion": 1,
"parent_id": "1000000000"
},
{
"expression": "if(WageEmployeeValueHistory('IsPartner', True, NxStrToDate('01.01.' + WagePeriod_ID.WPeriodYear) ,NxStrToDate('31.12.' + WagePeriod_ID.WPeriodYear), WorkingRelation_ID.Employee_ID.ID,'MM') <> '', 1, 0)",
"fieldname": "Spolecnik",
"id": "6000000000",
"objversion": 1,
"parent_id": "1000000000"
}
]
},
"query": {
"select": [
"id"
]
}
}
},
{
"type": "create",
"id": "id1",
"data": {
"class_id": "retirementreportdefs",
"object_data": {
"calendaryear": 2004,
"name": "Definice ELDP 2004",
"rows": [
{
"expression": "NxRoundByValue(S_SocialInsBaseCorrect + if(MainWorkingRelation and not NxIsEmptyOID(WageListCommon_ID.ID), WageListCommon_ID.S_RetFundTaxBase, 0), 2, 1)",
"fieldname": "ZakladSP",
"id": "1000000000",
"objversion": 1,
"parent_id": "1000000000"
},
{
"expression": "S_SmallOrBigCompany",
"fieldname": "MalaOrganizace",
"id": "2000000000",
"objversion": 1,
"parent_id": "1000000000"
},
{
"expression": "WageListRecalculatedValue(ID, 'MDPojist', 'S_SubtractedDaysTotal')",
"fieldname": "OdecteneDny",
"id": "3000000000",
"objversion": 1,
"parent_id": "1000000000"
},
{
"expression": "WageListRecalculatedValue(ID, 'MDPojist', 'S_ExcludedDaysCorrect')",
"fieldname": "VylouceneDny",
"id": "4000000000",
"objversion": 1,
"parent_id": "1000000000"
},
{
"expression": "WageListRecalculatedValue(ID, 'MDPojist', 'S_ExcludedDaysAfterRetAge')",
"fieldname": "VylouceneDnyVDuchodu",
"id": "5000000000",
"objversion": 1,
"parent_id": "1000000000"
},
{
"expression": "if(WageEmployeeValueHistory('IsPartner', True, NxStrToDate('01.01.' + WagePeriod_ID.WPeriodYear) ,NxStrToDate('31.12.' + WagePeriod_ID.WPeriodYear), WorkingRelation_ID.Employee_ID.ID,'MM') <> '', 1, 0)",
"fieldname": "Spolecnik",
"id": "6000000000",
"objversion": 1,
"parent_id": "1000000000"
}
]
},
"query": {
"select": [
"id"
]
}
}
}
]
}
{
"items": [
{
"type": "update",
"id": "id0",
"data": {
"class_id": "retirementreportdefs",
"obj_id": "1600000100",
"object_data": {
"calendaryear": 2004,
"name": "Definice ELDP 2004",
"rows": [
{
"expression": "NxRoundByValue(S_SocialInsBaseCorrect + if(MainWorkingRelation and not NxIsEmptyOID(WageListCommon_ID.ID), WageListCommon_ID.S_RetFundTaxBase, 0), 2, 1)",
"fieldname": "ZakladSP",
"id": "1000000000",
"objversion": 1,
"parent_id": "1000000000"
},
{
"expression": "S_SmallOrBigCompany",
"fieldname": "MalaOrganizace",
"id": "2000000000",
"objversion": 1,
"parent_id": "1000000000"
},
{
"expression": "WageListRecalculatedValue(ID, 'MDPojist', 'S_SubtractedDaysTotal')",
"fieldname": "OdecteneDny",
"id": "3000000000",
"objversion": 1,
"parent_id": "1000000000"
},
{
"expression": "WageListRecalculatedValue(ID, 'MDPojist', 'S_ExcludedDaysCorrect')",
"fieldname": "VylouceneDny",
"id": "4000000000",
"objversion": 1,
"parent_id": "1000000000"
},
{
"expression": "WageListRecalculatedValue(ID, 'MDPojist', 'S_ExcludedDaysAfterRetAge')",
"fieldname": "VylouceneDnyVDuchodu",
"id": "5000000000",
"objversion": 1,
"parent_id": "1000000000"
},
{
"expression": "if(WageEmployeeValueHistory('IsPartner', True, NxStrToDate('01.01.' + WagePeriod_ID.WPeriodYear) ,NxStrToDate('31.12.' + WagePeriod_ID.WPeriodYear), WorkingRelation_ID.Employee_ID.ID,'MM') <> '', 1, 0)",
"fieldname": "Spolecnik",
"id": "6000000000",
"objversion": 1,
"parent_id": "1000000000"
}
]
},
"query": {
"select": [
"id"
]
}
}
},
{
"type": "update",
"id": "id1",
"data": {
"class_id": "retirementreportdefs",
"obj_id": "1600000101",
"object_data": {
"calendaryear": 2004,
"name": "Definice ELDP 2004",
"rows": [
{
"expression": "NxRoundByValue(S_SocialInsBaseCorrect + if(MainWorkingRelation and not NxIsEmptyOID(WageListCommon_ID.ID), WageListCommon_ID.S_RetFundTaxBase, 0), 2, 1)",
"fieldname": "ZakladSP",
"id": "1000000000",
"objversion": 1,
"parent_id": "1000000000"
},
{
"expression": "S_SmallOrBigCompany",
"fieldname": "MalaOrganizace",
"id": "2000000000",
"objversion": 1,
"parent_id": "1000000000"
},
{
"expression": "WageListRecalculatedValue(ID, 'MDPojist', 'S_SubtractedDaysTotal')",
"fieldname": "OdecteneDny",
"id": "3000000000",
"objversion": 1,
"parent_id": "1000000000"
},
{
"expression": "WageListRecalculatedValue(ID, 'MDPojist', 'S_ExcludedDaysCorrect')",
"fieldname": "VylouceneDny",
"id": "4000000000",
"objversion": 1,
"parent_id": "1000000000"
},
{
"expression": "WageListRecalculatedValue(ID, 'MDPojist', 'S_ExcludedDaysAfterRetAge')",
"fieldname": "VylouceneDnyVDuchodu",
"id": "5000000000",
"objversion": 1,
"parent_id": "1000000000"
},
{
"expression": "if(WageEmployeeValueHistory('IsPartner', True, NxStrToDate('01.01.' + WagePeriod_ID.WPeriodYear) ,NxStrToDate('31.12.' + WagePeriod_ID.WPeriodYear), WorkingRelation_ID.Employee_ID.ID,'MM') <> '', 1, 0)",
"fieldname": "Spolecnik",
"id": "6000000000",
"objversion": 1,
"parent_id": "1000000000"
}
]
},
"query": {
"select": [
"id"
]
}
}
}
]
}
{
"items": [
{
"type": "delete",
"id": "id0",
"data": {
"class_id": "retirementreportdefs",
"obj_id": "1600000100"
}
},
{
"type": "delete",
"id": "id1",
"data": {
"class_id": "retirementreportdefs",
"obj_id": "1600000101"
}
},
{
"type": "delete",
"id": "id2",
"data": {
"class_id": "retirementreportdefs",
"obj_id": "1600000102"
}
},
{
"type": "delete",
"id": "id3",
"data": {
"class_id": "retirementreportdefs",
"obj_id": "1600000103"
}
},
{
"type": "delete",
"id": "id4",
"data": {
"class_id": "retirementreportdefs",
"obj_id": "1600000104"
}
}
]
}