Revise the Update API for Segment definition | Adobe Higher Education
Skip to main content
Level 2
February 28, 2023
New

Revise the Update API for Segment definition

  • February 28, 2023
  • 0 답변들
  • 358 조회

Description - 

The payload for patch call in the Update Segment Definition needs entire definition of the segment. It would be time taking and copy paste process to extract the definition of the segment and make the changes to the payload and resubmit as the patch. Instead, the patch solution should have been like Field Group "Patch" API call. Just what property we need to replace and the corresponding value. 

 

Why is this feature important to you - This feature helps to update only the relevant property of a segment definition without copying the complex PQL of the segment. 

How would you like the feature to work -  The patch solution should have been like Field Group "Patch" API call. Just what property we need to replace and the corresponding value. 

{

    "op": "replace",

    "path": "/mergePolicyId",

        "value": "<revised Merge Policy ID>"

   

}

Current Behaviour - 

The Update API call requires entire definition of the segment along with PQL and other properties to be part of payload while changing the properties like merge policy etc.