You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
17
+
UnparsedObjectinterface{}
18
+
}
19
+
20
+
// StringAsBatchUpsertRowsRequestDataAttributesValue is a convenience function that returns string wrapped in BatchUpsertRowsRequestDataAttributesValue.
And request contains "id" parameter from "REPLACE.ME"
151
-
And body with value {"data": [{"attributes": {"values": {"example_key_value": "primary_key_value", "name": "row_name"}}, "id": "primary_key_value", "type": "row"}]}
151
+
And body with value {"data": [{"attributes": {"values": {}}, "id": "primary_key_value", "type": "row"}]}
And request contains "id" parameter from "REPLACE.ME"
159
-
And body with value {"data": [{"attributes": {"values": {"example_key_value": "primary_key_value", "name": "row_name"}}, "id": "primary_key_value", "type": "row"}]}
159
+
And body with value {"data": [{"attributes": {"values": {}}, "id": "primary_key_value", "type": "row"}]}
160
160
When the request is sent
161
161
Then the response status is 404 Not Found
162
162
163
163
@generated@skip@team:DataDog/redapl-experiences
164
164
Scenario: Upsert rows returns "Rows created or updated successfully" response
165
165
Given new "UpsertRows" request
166
166
And request contains "id" parameter from "REPLACE.ME"
167
-
And body with value {"data": [{"attributes": {"values": {"example_key_value": "primary_key_value", "name": "row_name"}}, "id": "primary_key_value", "type": "row"}]}
167
+
And body with value {"data": [{"attributes": {"values": {}}, "id": "primary_key_value", "type": "row"}]}
168
168
When the request is sent
169
169
Then the response status is 200 Rows created or updated successfully
0 commit comments