HP ST 11.52 - Json response is not diplaying in grid,it was displaying in text. (272 Views)
Reply
Occasional Contributor
DevLab
Posts: 4
Registered: ‎02-29-2012
Message 1 of 2 (272 Views)

HP ST 11.52 - Json response is not diplaying in grid,it was displaying in text.

[ Edited ]

The following is the json response is returning as text and not returning in grid format,please let me know what is the issue and is there any work around.

 

{
 "checkoutPackageResponse" : {
  "header" : {
   "sender" : {
    "senderId" : "TMO_IHAP",
    "channelId" : "TELESALES_CD",
    "applicationId" : "NA",
    "applicationUserId" : 123,
    "sessionId" : "d2cf499c8a94156c:-3b8328a1:141945d75dd:-7fd0",
    "workflowId" : 12345,
    "activityId" : 4567,
    "timestamp" : "2001-12-31T12:00:00",
    "storeId" : 10051,
    "dealerCode" : "S0000002"
   },
   "target" : {
    "targetSystemId" : {
     "systemId" : 5698,
     "userId" : 89653
    },
    "userCompanyId" : "T-Mobile",
    "customerCompanyId" : "TMobileUS",
    "servicePartnerId" : 63698,
    "transactionType" : 896521
   }
  },
  "responseStatus" : {
   "@code" : "100"
  },
  "order" : {
   "id" : "S000000903",
   "fulfillmentOrderId" : null,
   "selectionStatus" : "CONFIRMEDSELECTION",
   "orderCategory" : "Sale",
   "orderType" : "STANDARD",
   "rawSelections" : null,
   "totalCharges" : {
    "linesTotal" : 199.99
   },
   "archived" : false,
   "eipInfo" : {
    "actualInstallmentPaid" : 27.0,
    "financedAmount" : 27.0,
    "remainingFinancedAmount" : 27.0,
    "EIPTax" : 27.0,
    "planId" : null,
    "numberOfPayments" : null,
    "transactionType" : null,
    "transactionId" : null,
    "disclosureDocumentURI" : null,
    "disclosureDocumentId" : null,
    "disclosureFormat" : null,
    "creditStatus" : null,
    "creditRiskProfile" : null,
    "creditRiskDecision" : null,
    "creditAppNumber" : null,
    "behaviorScore" : null,
    "paymentMethod" : null,
    "emailOptions" : null
   },
   "paymentStatus" : "AwaitingPaymentInfo",
   "option" : [ {
    "name" : "O_ShippingMethod",
    "required" : false,
    "lastOptionUpdateDate" : "2013-10-08T04:18:22-04:00",
    "status" : "Open"
   }, {
    "name" : "M_PaymentHold",
    "required" : true,
    "lastOptionUpdateDate" : "2013-10-08T04:18:22-04:00",
    "status" : "Open"
   }, {
    "name" : "M_BillingAddress",
    "required" : true,
    "lastOptionUpdateDate" : "2013-10-08T04:18:22-04:00",
    "status" : "Open"
   }, {
    "name" : "M_CreditCheck",
    "required" : true,
    "lastOptionUpdateDate" : "2013-10-08T04:18:22-04:00",
    "status" : "Open"
   }, {
    "name" : "M_CustInfo",
    "required" : true,
    "lastOptionUpdateDate" : "2013-10-08T04:18:22-04:00",
    "status" : "Open"
   }, {
    "name" : "O_ShippingAddress",
    "required" : false,
    "lastOptionUpdateDate" : "2013-10-08T04:18:22-04:00",
    "status" : "Open"
   } ],
   "headerCharge" : [ {
    "amount" : 27.0,
    "name" : "TPriceEIPMRC",
    "category" : "MRC"
   }, {
    "amount" : 99.99,
    "name" : "MinFirstInstallment",
    "category" : "InfoOnly"
   }, {
    "amount" : 99.99,
    "name" : "ActualInstallmentPaid",
    "category" : "InfoOnly"
   }, {
    "amount" : 747.99,
    "name" : "TotalFinancedAmount",
    "category" : "InfoOnly"
   }, {
    "amount" : 648.0,
    "name" : "RemainingFinancedAmount",
    "category" : "InfoOnly"
   }, {
    "amount" : 0.0,
    "name" : "NumberOfPayments",
    "category" : "InfoOnly"
   } ],
   "orderLine" : [ {
    "id" : 201310080418174847990,
    "lineId" : null,
    "sequenceNumber" : 1.1,
    "description" : "Voice Plan New Customers 22",
    "shortDescription" : "VPNew",
    "cartEntryKey" : 201310080418214848106,
    "kitCode" : "BUNDLE",
    "quantity" : 1,
    "unitOfMeasure" : 0.00,
    "status" : null,
    "charge" : {
     "amount" : 0.0,
     "name" : "TBundleType"
    },
    "priceInfo" : {
     "unitPrice" : 0.0
    },
    "eipInfo" : {
     "depositIndicator" : false
    },
    "UPCCode" : null,
    "NPA" : null,
    "NGP" : null,
    "tradeInCredit" : null,
    "subscriberInfo" : {
     "contractTerm" : null,
     "migrationFeeTenure" : null,
     "eligibleForEarlyUpgrade" : false
    }
   }, {
    "id" : 201310080418174847992,
    "lineId" : 1.0,
    "sequenceNumber" : "1.1.2",
    "description" : "SAP Apple iPhone 5 - Black - 32GB",
    "shortDescription" : "VPDevices.AppleiPhone5Black32GB",
    "cartEntryKey" : null,
    "kitCode" : null,
    "quantity" : 1,
    "unitOfMeasure" : 0.00,
    "status" : null,
    "charge" : {
     "amount" : 0.0,
     "name" : "TPriceEIPTerm"
    },
    "option" : [ {
     "name" : "O_E911Address",
     "required" : false,
     "lastOptionUpdateDate" : "2013-10-08T04:18:21-04:00",
     "status" : "Open"
    }, {
     "name" : "O_NPE",
     "required" : false,
     "lastOptionUpdateDate" : "2013-10-08T04:18:21-04:00",
     "status" : "Open"
    }, {
     "name" : "O_PPUAddress",
     "required" : false,
     "lastOptionUpdateDate" : "2013-10-08T04:18:21-04:00",
     "status" : "Open"
    } ],
    "priceInfo" : {
     "unitPrice" : 0.0
    },
    "eipInfo" : {
     "depositIndicator" : false
    },
    "UPCCode" : null,
    "NPA" : null,
    "NGP" : null,
    "tradeInCredit" : null,
    "subscriberInfo" : {
     "contractTerm" : null,
     "migrationFeeTenure" : null,
     "eligibleForEarlyUpgrade" : false
    }
   }, {
    "id" : 201310080418174847991,
    "lineId" : 1.0,
    "sequenceNumber" : "1.1.1",
    "description" : "SAP Value (No Contract) Unlimited TT",
    "shortDescription" : "VPValueIndivPlans.ValNCUnlimitedTTInd",
    "cartEntryKey" : null,
    "kitCode" : null,
    "quantity" : 1,
    "unitOfMeasure" : 0.00,
    "status" : null,
    "charge" : {
     "amount" : 0.0,
     "name" : "TDeviceLineId"
    },
    "priceInfo" : {
     "unitPrice" : 0.0
    },
    "eipInfo" : {
     "depositIndicator" : false
    },
    "UPCCode" : null,
    "NPA" : null,
    "NGP" : null,
    "tradeInCredit" : null,
    "subscriberInfo" : {
     "contractTerm" : null,
     "migrationFeeTenure" : null,
     "eligibleForEarlyUpgrade" : false
    }
   }, {
    "id" : 201310080418174847993,
    "lineId" : 1.0,
    "sequenceNumber" : "1.1.3",
    "description" : "Unlimited Nationwide 4G",
    "shortDescription" : "DataServValueSmart.UnlimNatw5004G",
    "cartEntryKey" : null,
    "kitCode" : null,
    "quantity" : 1,
    "unitOfMeasure" : 0.00,
    "status" : null,
    "charge" : {
     "amount" : 0.0,
     "name" : "TDeviceLineId"
    },
    "priceInfo" : {
     "unitPrice" : 0.0
    },
    "eipInfo" : {
     "depositIndicator" : false
    },
    "UPCCode" : null,
    "NPA" : null,
    "NGP" : null,
    "tradeInCredit" : null,
    "subscriberInfo" : {
     "contractTerm" : null,
     "migrationFeeTenure" : null,
     "eligibleForEarlyUpgrade" : false
    }
   } ],
   "createdBy" : {
    "userName" : "admin",
    "time" : "2013-10-08T04:18:22-04:00"
   },
   "modifiedBy" : {
    "channelId" : null,
    "storeId" : "TMobileUS",
    "userName" : "admin",
    "time" : "2013-10-08T04:18:22-04:00"
   },
   "shippingInfo" : null
  }
 }
}

Occasional Advisor
punit_45
Posts: 11
Registered: ‎10-10-2013
Message 2 of 2 (108 Views)

Re: HP ST 11.52 - Json response is not diplaying in grid,it was displaying in text.

You can save this json response and import it in the response body

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.