orlund
Member
I am using /v2/appstack to open then create an employee record on P060116Q_W060116QA
When I get the response there appears to be no records created, and no errors or warnings returned:
"rowset": [],
"summary": {
"records": 0,
"moreRecords": false
}
}
},
"errors": [],
"warnings": []
Shouldn't I be getting either a record created or an error?
I am able to create employees on this form, with these minimal amount of fields, just not through the APIs
We also been able to retrieve and update records but not create.
This is what I am sending (changed the "controlID" : "21" for this post since it is private info)
{
"token" : "{{token}}",
"allowCache": true,
"action": "execute",
"actionRequest" : {
"stopOnWarning": "false",
"returnControlIDs" : "1[18,19]",
"formServiceAction": "C",
"formServiceDemo": false,
"outputType" : "VERSION2",
"formActions" : [
{
"gridAction" : {
"gridID" : "1",
"gridRowInsertEvents" : [{
"gridColumnEvents" : [
{
"command" : "SetGridCellValue",
"controlID" : "18",
"value" : "500010"
},
{
"command" : "SetGridComboValue",
"controlID" : "64",
"value" : " N"
},
{
"command" : "SetGridCellValue",
"controlID" : "19",
"value" : "Someone, Tester10"
},
{
"command" : "SetGridCellValue",
"controlID" : "21",
"value" : "000000000"
},
{
"command" : "SetGridCellValue",
"controlID" : "26",
"value" : "70000"
},
{
"command" : "SetGridCellValue",
"controlID" : "27",
"value" : "36.000"
},
{
"command" : "SetGridCellValue",
"controlID" : "22",
"value" : "1501"
},
{
"command" : "SetGridCellValue",
"controlID" : "32",
"value" : "01/01/50"
},
{
"command" : "SetGridCellValue",
"controlID" : "24",
"value" : "52901"
},
{
"command" : "SetGridCellValue",
"controlID" : "159",
"value" : "CW"
}
]
}
]
}
},
{
"command" : "DoAction",
"controlID" : "12"
}
],
"formOID" : "W01012B"
},
"stackId": {{stackId}},
"stateId": {{stateId}},
"rid": "{{rid}}"
}
When I get the response there appears to be no records created, and no errors or warnings returned:
"rowset": [],
"summary": {
"records": 0,
"moreRecords": false
}
}
},
"errors": [],
"warnings": []
Shouldn't I be getting either a record created or an error?
I am able to create employees on this form, with these minimal amount of fields, just not through the APIs
We also been able to retrieve and update records but not create.
This is what I am sending (changed the "controlID" : "21" for this post since it is private info)
{
"token" : "{{token}}",
"allowCache": true,
"action": "execute",
"actionRequest" : {
"stopOnWarning": "false",
"returnControlIDs" : "1[18,19]",
"formServiceAction": "C",
"formServiceDemo": false,
"outputType" : "VERSION2",
"formActions" : [
{
"gridAction" : {
"gridID" : "1",
"gridRowInsertEvents" : [{
"gridColumnEvents" : [
{
"command" : "SetGridCellValue",
"controlID" : "18",
"value" : "500010"
},
{
"command" : "SetGridComboValue",
"controlID" : "64",
"value" : " N"
},
{
"command" : "SetGridCellValue",
"controlID" : "19",
"value" : "Someone, Tester10"
},
{
"command" : "SetGridCellValue",
"controlID" : "21",
"value" : "000000000"
},
{
"command" : "SetGridCellValue",
"controlID" : "26",
"value" : "70000"
},
{
"command" : "SetGridCellValue",
"controlID" : "27",
"value" : "36.000"
},
{
"command" : "SetGridCellValue",
"controlID" : "22",
"value" : "1501"
},
{
"command" : "SetGridCellValue",
"controlID" : "32",
"value" : "01/01/50"
},
{
"command" : "SetGridCellValue",
"controlID" : "24",
"value" : "52901"
},
{
"command" : "SetGridCellValue",
"controlID" : "159",
"value" : "CW"
}
]
}
]
}
},
{
"command" : "DoAction",
"controlID" : "12"
}
],
"formOID" : "W01012B"
},
"stackId": {{stackId}},
"stateId": {{stateId}},
"rid": "{{rid}}"
}