TM Forum Community

 View Only
  • 1.  Supplying Schema Location on POST/PATCH

    TM Forum Member
    Posted Aug 08, 2023 05:03

    I have a query on the rationale of being specifying the Schema Location on an incoming payload for a POST/PATCH given that a calling client could potentially specify a URL that yields a 404 or one that gives insufficient or incorrect validation. Does it make sense? If so, what would be an appropriate response given a 404? A invalid payload due to not being able to validate? I totally understand returning it as the API is in control of that data. Any advice you could give on this would be great.


    #General

    ------------------------------
    Mark Neil
    Hansen Technologies
    ------------------------------


  • 2.  RE: Supplying Schema Location on POST/PATCH

    TM Forum Member
    Posted Aug 08, 2023 05:42

    Hi Mark

    I suggest to continue the discussion on the original thread that prompted this question, here: https://engage.tmforum.org/discussion/should-a-calling-system-really-be-able-to-determine-what-schemalocation-should-be

    See @Vance Shipley's answer there.



    ------------------------------
    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.
    ------------------------------