Feature Request - Upsert method
Hello,
Please could you consider adding the field(s) provided in the duplicate_check_fields parameter of the request to the record summaries returned in the response data array.
For example, for the request:
- msg.payload = {
- 'duplicate_check_fields': ['My_Field_Name'],
- 'data': [{}]
- }
The response payload would look like:
- [{
- "code":"SUCCESS",
- "duplicate_field":"My_Field_Name",
- "action":"update",
- "details":{
- "Modified_Time":"2019-06-12T15:15:01+01:00",
- "Modified_By":{
- "name":"user.name",
- "id":"123456789000000000"
- },
- "Created_Time":"2019-06-11T16:26:40+01:00",
- "id":"987654321000000000",
- "Created_By":{
- "name":"user.name",
- "id":"123456789000000000"
- },
- "My_Field_Name":"Thevalue"
- },
- "message":"record updated",
- "status":"success"
- }]
The use-case for this is to update a local system with the correct result status after an upsert action.