
var template = `
<style type="text/css">
.tftable {font-size:14px;color:#333333;width:100%;border-width: 1px;border-color: #87ceeb;border-collapse: collapse;}
.tftable th {font-size:18px;background-color:#87ceeb;border-width: 1px;padding: 8px;border-style: solid;border-color: #ffffff;text-align:left;}
.tftable tr {background-color:#ffffff;}
.tftable td {font-size:14px;border-width: 1px;padding: 8px;border-style: solid;border-color: #87ceeb;}
.tftable tr:hover {background-color:#e0ffff;}
</style>
<table class="tftable" border="1">
<tr>
<th>Item No</th>
<th>Prod Code</th>
<th>Prod Group</th>
<th>Quantity</th>
<th>Amount</th>
<th>Total Tax</th>
<th>Tax Rate</th>
<th>Tax Amount</th>
<th>Tax JurCode</th>
<th>Tax JurLevel</th>
</tr>
{{#each response.d.accountItemsSet.results}}
<tr>
<td>{{ItemNo}}</td>
<td>{{ProdCode}}</td>
<td>{{ProdGroup}}</td>
<td>{{Quantity}}</td>
<td>{{Amount}}</td>
<td>{{TotalTax}}</td>
<td>{{TaxRate}}</td>
<td>{{TaxAmount}}</td>
<td>{{TaxJurCode}}</td>
<td>{{TaxJurLevel}}</td>
</tr>
{{/each}}
</table>
`;
pm.visualizer.set(template, {
response: pm.response.json()
});
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 | |
4 |