Not able to Update Data Type Record Using DX API v2/data/{data_view_ID}

Hi All, I have an application built on Theme-Cosmos and Pega 8.8.x version.
Was trying to update Data Type record using DX API v2/data/{data_view_ID}.

  1. Does this API only works with Constellation?
  2. If it’s built to work with Theme Cosmos as well, then what are the steps?

Tried creating pyEdit manually from Dev studio as suggested by another post, it’s adding new record if pyGUID(PK) is not present.

If pyGUID exists then have to pass all the values present in the table else those values becoming blank.

Have created a connector to call this API from another app ,which has the same structure “data”… but class will also be passed as well with the request which is not accepted by the Service request format and Service gives invalid Request error.

@SudipP40

DX API Version 2 focuses on view-based authoring and requires that your application uses the React-based UI runtime.

V2 DX API works ONLY with the Constellation Application. Please use V1 DX API for Traditional applications.

More details: Pegasystems Documentation?