Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

id

The Flex document identifier. Either a document ID (such as 1000) or a job ID (such as c300).

int/string, Mandatory
skipOptional, default is 0. Permits to paginate transactions. A value of 20 means that we show the 20th, 21th etc. transactionint?, Optional
takeOptional, default is 20. Retrieve this number of transaction. The maximum allowed value is 100.int?, Optional
bodyOnly

Optional, default is false.

  • true: Get complete HTML document: Incudes <html> tag and CSS styles.
  • false: Get HTML body only. Use if you want to embed the content in your own HTML page or if you want to define your own CSS styles. 
bool?, Optional


RESULTS

HTML content.

Set bodyOnly to false for a complete HTML document including styles:

Code Block
languagexml
<!DOCTYPE html>
html><html<html lang="en"><head><meta>

<head>
	<meta charset="utf-8"><title>Transactions>
	<title>Transactions - sampleJAWS-417.wbflex</title><styletitle>
	<style type="text/css">
		.flex-body {
			font-family: Arial, Verdana, Helvetica, sans-serif;
			font-size: 12px;
			margin-bottom: 40px;
		}

		.flex-header {
			border: 1px solid #bbbbbb;
			background-color: #fdfdfd;
			margin: 0;
			padding: 0;
		}

		.flex-table {
			border-collapse: collapse;
			width: 100%;
			margin-bottom: 6px;
		}
.flex-table td { padding: 6px 6px 6px 6px; }

		.flex-tabletext-column-1 { width: 350px; }
.flex-table-column-2 { width: 250px; }
.flex-table-column-3 { }
.flex-tr-align-top td { vertical-align: top; }
.flex-transac { border: 1px solid #bbbbbb; background-color: #fdfdfd; margin:0; padding:0; margin-top: 40px; }
.flex-transac-success { background-color: inherited; }
.flex-transac-failure { background-color: orange; }
.flex-transac-title { strong {
			font-weight: bold;
font-size: 14px; 		}
.flex-section
tr { } .flex-section td { border-bottom: 1px solid #d0d0d0; font-weight: bold; font-size: 14px; padding-top: 16px; }
.flex-margin-top { margin-top: 6px; }
.flex-margin-top-twice { margin-top: 20px; }
.flex-comments { font-size: 11px; font-weight: normal; color: #444444; }
.flex-text-green { color: green }
.flex-text-red { color: red }
.flex-text-small { font-size: 11px; }
.flex-text-strong { font-weight: bold; }

	</style>
</head><bodyhead>

<body class="flex-body"><div>
	<div class="flex-header"><table>
		<table class="flex-table"><colgroup><col>
			<colgroup>
				<col class="flex-table-column-1"></col><col>
				</col>
				<col class="flex-table-column-2"></col><col>
				</col>
				<col class="flex-table-column-3"></col></colgroup><tr><td>Flex Document:</td><td>JAWS-417.wbflex</td><td class="flex-comments">ID=10683</td></tr><tr><td>Project:</td><td>JAWS-417>
				</col>
			</colgroup>

......


Opening this in a browser, gives:

...

Code Block
<div class="flex-header"><table>
	<table class="flex-table"><colgroup><col>
		<colgroup>
			<col class="flex-table-column-1"></col><col>
			</col>
			<col class="flex-table-column-2"></col><col>
			</col>
			<col class="flex-table-column-3"></col></colgroup><tr><td>Flex>
			</col>
		</colgroup>
		<tr>
			<td>Flex Document:</td><td>JAWStd>
			<td>JAWS-417.wbflex</td><tdtd>
			<td class="flex-comments">ID=10683</td></tr><tr><td>Projecttd>
		</tr>
		<tr>
			<td>Project:</td><td>JAWStd>
			<td>JAWS-417</td><tdtd>
			<td class="flex-comments">ID=3623</td></tr><tr><td>Sourcetd>
		</tr>
		<tr>
			<td>Source language:</td><td>Englishtd>
			<td>English (United Kingdom) (en-GB)</td><td></td></tr><tr><td>Targettd>
			<td></td>
		</tr>
		<tr>
			<td>Target language(s):</td><td>Frenchtd>
			<td>French (France) (fr-FR)</td><td></td></tr><tr><td>Filtertd>
			<td></td>
		</tr>
		<tr>
			<td>Filter name:</td><td>SRX</td><tdtd>
			<td>SRX</td>
			<td class="flex-comments">Filter properties are assigned when creating Flex document.</td></tr></table></div><div class="flex-margin-top"><p>Most recent 6 out of 6 events:</p></div><div class="flex-transac"><table class="flex-table" style="100%"><colgroup><col class="flex-table-column-1"></col><col class="flex-table-column-2"></col><col class="flex-table-column-3"></col></colgroup><tr class="flex-transac-success"><td class="flex-transac-title" colspan="3">#1: 10/06/2020 17:36 - EVENT<div class="flex-comments" style="float:right">Transaction: 405e37d6-90f4-4667-b675-eefc8de03cc3</div></td></tr><tr class="flex-tr-align-top"><td>Status:</td><td class="colspan" colspan="2td>
		</tr>
	</table>
</div>
<div class="flex-margin-top">
......


EXAMPLES

-