[Stackoverflow] [Progress OpenEdge ABL] OpenEdge ABL adds additional tags on get request

Status
Not open for further replies.
A

Angular_dev

Guest
I have a below response json created by openedge ABL GET rest end point. Why does it adds response, ttcust and ttcust tags additionally? Is there a way to remove them while generating response json? Thank you in advance.

Code:
{
    "response": {
        "ttcust": {
            "ttcust": [
                {
                    "CustNum": 1,
                    "Country": "USA",
                    "Name": "Lift Tours",
                    "Address": "276 North Drive",
                    "Address2": "",
                    "City": "Burlington",
                    "State": "MA",
                    "PostalCode": "01730",
                    "Contact": "Gloria Shepley",
                    "Phone": "(617) 450-0086",
                    "SalesRep": "HXM",
                    "CreditLimit": 66700.0,
                    "Balance": 903.64,
                    "Terms": "Net30",
                    "Discount": 35,
                    "Comments": "This customer is on credit hold.",
                    "Fax": "",
                    "EmailAddress": ""
                },
                {
                    "CustNum": 2,
                    "Country": "Finland",
                    "Name": "Urpon Frisbee",
                    "Address": "Rattipolku 3",
                    "Address2": "",
                    "City": "Oslo",
                    "State": "Uusima",
                    "PostalCode": "45321",
                    "Contact": "Urpo Leppakoski",
                    "Phone": "(603) 532 5471",
                    "SalesRep": "DKP",
                    "CreditLimit": 27600.0,
                    "Balance": 437.63,
                    "Terms": "Net30",
                    "Discount": 35,
                    "Comments": "Ship all products 2nd Day Air.",
                    "Fax": "",
                    "EmailAddress": ""
                }

            ]
        }
    }
}

Continue reading...
 
Status
Not open for further replies.
Top