Skip to content

Commit

Permalink
ref convertigo/C8oForms/issues/817 done baserow_lib side
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlesGrimont committed Dec 17, 2024
1 parent 03a97cc commit 46c0454
Show file tree
Hide file tree
Showing 7 changed files with 520 additions and 21 deletions.
3 changes: 1 addition & 2 deletions _c8oProject/sequences/FieldsList.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ responseExpiryDate: absolute,60
comment: Returns only the fields of the table related to the provided value.
description: table_id
required: true
value:
↓Copy [steps.XMLCopyStep-1665297256066]:
sourceDefinition:
- xmlizable:
Expand All @@ -37,7 +36,7 @@ responseExpiryDate: absolute,60
↓table_id [variables.TestCaseVariable-1665298068600]:
description: table_id
required: true
value: 191
value: 109
↓TestOK1 [core.TestCase]:
↓table_id [variables.TestCaseVariable-1665917990559]:
description: table_id
Expand Down
73 changes: 73 additions & 0 deletions _c8oProject/sequences/TableCreateColumn.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
accessibility: Private
comment: Creates a row in a table
↓Input_variables [steps.InputVariablesStep-1734431144799]:
↓Call_Sequence [steps.SequenceStep-1734431144802]:
sourceSequence: lib_BaseRow.TokenGetOrRefresh
↓Call_Transaction [steps.TransactionStep-1734431144805]:
sourceTransaction: lib_BaseRow.Baserow_API_spec._api_database_fields_table__table_id___POST
↓__header_Authorization [variables.StepVariable-1734431144808]:
sourceDefinition:
- xmlizable:
- ↑classname: com.twinsoft.convertigo.beans.common.XMLVector
- com.twinsoft.convertigo.beans.common.XMLVector:
- java.lang.String:
- ↑value: 1734431144802
- java.lang.String:
- ↑value: ./document/Bearer/text()
↓__body [variables.StepVariable-1734431144811]:
required: true
sourceDefinition:
- xmlizable:
- ↑classname: com.twinsoft.convertigo.beans.common.XMLVector
- com.twinsoft.convertigo.beans.common.XMLVector:
- java.lang.String:
- ↑value: 1734431144799
- java.lang.String:
- ↑value: ./data/text()
↓user_field_names [variables.StepVariable-1734431144817]:
comment: A flag query parameter which if provided this endpoint will expect and return the user specified field names instead of internal Baserow field names (field_123 etc).
description: user_field_names
value: true
↓table_id [variables.StepVariable-1734431144820]:
comment: Creates a row in the table related to the provided value.
description: table_id
required: true
value:
↓Copy [steps.XMLCopyStep-1734431144823]:
sourceDefinition:
- xmlizable:
- ↑classname: com.twinsoft.convertigo.beans.common.XMLVector
- com.twinsoft.convertigo.beans.common.XMLVector:
- java.lang.String:
- ↑value: 1734431144805
- java.lang.String:
- ↑value: ./document/object/*
↓table_id [variables.RequestableVariable-1734431144826]:
comment: Insert row in this table_id
description: table_id
required: true
↓data [variables.RequestableVariable-1734431144832]:
comment: A JSON object with each field name and value
required: true
↓TestAddInFinanCialTable [core.TestCase]:
↓table_id [variables.TestCaseVariable-1734431144836]:
description: table_id
required: true
value: 109868
↓data [variables.TestCaseVariable-1734431144839]:
required: true
value: |
'{
"ID": "GLC 2022Q3",
"Show": [
1
],
"Goal": 0,
"Ticket sales": "0.00",
"Grants": [
1,2,3
],
"Expenses": [
1
]
}'
Loading

0 comments on commit 46c0454

Please sign in to comment.