Open APIs

 View Only

TMF Standard for an Invalid Attribute Selection

  • 1.  TMF Standard for an Invalid Attribute Selection

    TM Forum Member
    Posted Nov 29, 2022 09:51
    I have a question regarding the expected TMF standard response for an invalid attribute selection during a GET calls 
    Example:
    1. GET /api/troubleTicket/42/?fields=blah
    Should this return a successful response with a 200 status code and only ID and href in the response body?
    or 
    Should it return a Bad request with a 400 status code and reason in the response body?  

    2. GET /api/troubleTicket/42/?fields=description,blah 
    I believe in this case we will return a successful response with a 200 status code and Only ID, href, and description in the response body

    What is the correct TMF standard behavior for these two examples pls?

    Regards
    Olay




    ------------------------------
    Olay Yusuf
    Hansen Technologies
    ------------------------------