Open APIs

 View Only
  • 1.  POST operation to update existing CUSTOMER

    Posted Dec 28, 2023 01:36

    Hi Team , 
    Can POST request be used to update existing customer entity.

    we already have customer with id 123-456-789. Input POST request has id 123-456-789 with new value for modifiable attributes 
    in above case what should be open API behavior 

    Thanks
    Prashanth 



    ------------------------------
    prashanth kumaraswamy
    TO BE VERIFIED
    ------------------------------


  • 2.  RE: POST operation to update existing CUSTOMER

    Posted Dec 28, 2023 15:05

    For updating an existing identity, you would use a PATCH operation, where the uri includes the ID of the resource that you want to update, and the request body explains how to update. There are multiple protocols for PATCH - specifically PATCH Merge and JSON PATCH - suggest you research the internet for more.

    Specifically for TMF Open API, look in TMF630 Design Guidelines for how to use these variants.

    Hope it helps



    ------------------------------
    Jonathan Goldberg
    Amdocs Management Limited
    Any opinions and statements made by me on this forum are purely personal, and do not necessarily reflect the position of the TM Forum or my employer.
    ------------------------------