TM Forum Community

Expand all | Collapse all

HTTP error code if schedule is not available

  • 1.  HTTP error code if schedule is not available

    TM Forum Member
    Posted Jan 27, 2020 10:27
    What http error code should i return, if requested time schedule is not available. I need to return bunch of reasons back for not available schedule?
    Should i use HTTP 422 or 404 or 204.

    #DigitalEcosystems
    #DigitalTransformationMaturity
    #TMForumGeneral

    ------------------------------
    hashim Singh
    Rogers Communications Inc.
    ------------------------------


  • 2.  RE: HTTP error code if schedule is not available

    TM Forum Member
    Posted Jan 29, 2020 05:41
    Hi Hashim
    First, can I suggest that you post this type of query on the Open API forum, here.
    Which Open API are you referring to, my guess is Appointment management, but please confirm. Then we could try to direct you to the relevant API lead.

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



  • 3.  RE: HTTP error code if schedule is not available

    TM Forum Member
    Posted Jan 31, 2020 14:30
    Hello Hashim,

    i would use "409 Conflict"

    Regards
    Moataz Salem


    ------------------------------
    Moataz Salem
    Vodafone Group
    ------------------------------



  • 4.  RE: HTTP error code if schedule is not available

    Posted Feb 19, 2020 13:12
    I think you can have user defind error code in 4xx in your implementation.

    ------------------------------
    Bhuwan Chandra Padhalni
    TO BE VERIFIED
    ------------------------------