Open APIs

Expand all | Collapse all

Trouble Ticket - Create A new Ticket Issues

  • 1.  Trouble Ticket - Create A new Ticket Issues

    TM Forum Member
    Posted Jun 12, 2020 14:30
    I was trying to test the trouble ticket API.
    API URL : https://api-trouble-ticket-v4-0-0.mybluemix.net/tmf-api/troubleTicket/v4/troubleTicket

    Following is the body of post Request:
    {

    "description": "I do not accept the last VOD charge, since the movie was constantly interrupted, I had to quick watching the movie in the middle ",

    "expectedResolutionDate": "2021-06-10T07:34:45.968Z",

    "lastUpdate": "2020-05-31T07:34:45.968Z",

    "name": "Compliant over last bill",

    "priority": null,

    "requestedResolutionDate": "2019-05-31T07:34:45.968Z",

    "resolutionDate": null,

    "severity": "Urgent",

    "status": "inProgress",

    "ticketType": "Bill Dispute",

    "attachment": [

    {

    "description": "Scanned disputed bill",

    "mimeType": "image/png",

    "name": "March Bill",

    "url": "https://mycsp.com:7070/docloader?docnum=3534555"

    }

    ],

    "channel": {

    "id": "8774",

    "name": "self service",

    "@type": "Channel"

    },

    "note": [

    {

    "id": "77456",

    "author": "Jack Smith",

    "date": "2019-05-31T07:34:45.968Z",

    "text": "This is quite important, please aproch me as soon as posible",

    "@type": "Note"

    }

    ],

    "relatedEntity": [

    {

    "id": "3472",

    "href": "https://mycsp.com:8080/tmf-api/customerBillManagement/v4/customerBill/8297",

    "name": "March 2019 Bill",

    "role": "disputedBill",

    "@type": "RelatedEntity",

    "@referredType": "CustomerBill"

    }

    ],

    "relatedParty": [

    {

    "id": "9866",

    "href": "https://mycsp.com:8080/tmf-api/partyManagement/v1/individual/9866",

    "name": "Sandy Smith",

    "role": "member",

    "@referredType": "Individual"

    },

    {

    "id": "9176",

    "href": "https://host:port/partyManagement/v1/customer/9176",

    "name": "Jack Smith",

    "role": "customer",

    "@referredType": "Customer"

    }

    ],

    "@type": "TroubleTicket"

    }



    But I get 400 Bad Request, with following response body.

    {


    "code": 22,

    "reason": "Invalid body",

    "message": "Expected type string but found type null, Expected type string but found type null"

    }


    Can someone please let me know what is the issue? As per documentation, I check all the params and only found that the enums were made camel case for status param.



    ------------------------------
    Ankur Doshi
    Awarex Inc
    ------------------------------


  • 2.  RE: Trouble Ticket - Create A new Ticket Issues

    TM Forum Member
    Posted Jun 15, 2020 06:34
    Hi Ankur
    Can you provide more details on what exactly was the nature of your test.
    Were you working with your own implementation of the API, or perhaps a reference implementation, or something else.
    And how were you testing? With the Open API conformance kit, or with your own test kit, or what.

    ------------------------------
    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: Trouble Ticket - Create A new Ticket Issues

    TM Forum Member
    Posted Jun 15, 2020 13:31
    Hello Jonathan,
    I was just using the postman collection available on TMF open API. Looks like they are not updated. But I just got it working after removing a few fields.

    ------------------------------
    Ankur Doshi
    Awarex Inc
    ------------------------------



  • 4.  RE: Trouble Ticket - Create A new Ticket Issues

    TM Forum Member
    Posted Jun 16, 2020 01:55
    Suggest to bring to the attention of @Henrique Rodrigues - the TMF person responsible for these assets, maybe he will be able to make a necessary correction. Please describe in more detail what you fixed to get things to work.
    Thanks​

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