Inserting and updating data using OData web services
The following Job demonstrates how to insert data into an OData service using fixed
data, then update inserted records using tODataInput and tODataOutput
components.
Before you begin
Linking the components
Procedure
Configuring the components
Procedure
Executing the Job
Procedure
- Press Ctrl + S to save your Job.
- Press F6 to execute it.
Results
The Job inserts the fixed data records into the OData service, then retrieves all records from the same entity set and displays them in the console. This demonstrates a complete write-and-read cycle using OData web services for data integration.
What to do next
- Edit the tFixedFlowInput component configuration to keep
only the entity and name to be changed, for example changing
Johnathan to John.
- Edit the tODATAOutput component configuration to select Update as Output action and Patch as Update type, in order to overwrite the existing record.
- Execute the Job again. The person record has been updated and the new first name
value is displayed in the Run console.