Can I GET without the ID? - rest

I need to get a result from a table where I only know a few values from a report.
Which is the EntryID found on the 3rd line and the description
I'm only new to RestApi's
But how could i filter through and fine this particular result without having the transaction ID.
My url looks something like this
https://publicfacingURL/ServerName/services/select/Transaction/{transactionid}
<Transaction>
<TransactionID>1656286</TransactionID>
<EntryID>39013</EntryID>
<ChargeGroupID>88</ChargeGroupID>
<ChargeItemID>0</ChargeItemID>
<TransactionTypeEnum>Payment</TransactionTypeEnum>
<TransactionDate>2020-01-04T22:22:57.427</TransactionDate>
<ProcessedDate>2020-01-04T22:23:44.74</ProcessedDate>
<DueDate />
<Description>Web account payment #WEBR123123</Description>
<Amount>-398.0000</Amount>
<Duration>0</Duration>
<CallTypeEnum>Other</CallTypeEnum>
<Comments>CC Type used: Visa</Comments>
<Reference_BookingID>0</Reference_BookingID>
<PaidFrom />
<PaidTo />
<Excess>0</Excess>
<ExternalReceiptID></ExternalReceiptID>
<DateModified>2020-01-04T22:23:44.773</DateModified>
</Transaction>

I just updated to reflect the following below.
https://publicfacingurl/ServerName/services/select/transaction?entryid={entryId}
Thanks for everyone's help.

Related

T-SQL : getting the column descriptions into a XMLSCHEMA

I have a query where I generate a XMLSCHEMA and a XML sample.
SELECT TOP (10)
filename, queue, owner, resubmitFile,
pages, system, created, server, preflightlogs, status, kit, totalkits
FROM
Preflight_analytics
FOR XML AUTO, XMLSCHEMA ('Preflight_analytics')
All my columns have a description associated with it.
Is it possible to get the column description place inside the xsd like the below sample? I use the xsd to generate documentation and the tool I use, uses the tag <xsd:documentation> to add the description to the docs - like below:
<xsd:attribute name="JobID" fixed="" use="required">
<xsd:annotation>
<xsd:documentation xml:lang="en">Vendors unique ID</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="sqltypes:varchar" sqltypes:localeId="1033"
sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth"
sqltypes:sqlSortId="52">
<xsd:maxLength value="50"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute
I been looking over the docs here haven't found anything yet but still looking.
Thank you
Mike

Alfresco Custom Data List Type Text Field Help Text

I've successfully created a new Data List type in Alfresco, but was struggling to figure out what the tag is called to achieve a description under a field. I consulted the Data Dictionary, but was unable to find it.
It may not exist, but the this screenshot makes me hopeful. As you can see, the Modified Date field has the DD/MM/YYYY help text under it. This is exactly what I want to put under the Program Name field, but with my own string.
<property name="orpdl:programName">
<title>Program Name</title>
<type>d:text</type>
<helptext>What's this tag called?</helptext>
<mandatory>true</mandatory>
</property>
Eeuh that's just a div in the control field for all the date fields.
Take a look at alfresco/site-webscripts/org/alfresco/components/form/controls/date.ftl
The message you see is in this div:
<div class="format-info">
<span class="date-format">${msg("form.control.date-picker.display.date.format")}</span>
<#if showTime><span class="time-format<#if disabled>-disabled</#if>">${msg("form.control.date-picker.display.time.format")}</span></#if>
</div>
So you want a string, just create your own custom controller based on textfield.ftl and put whatever string you like. Probably best to do that by passing it through the control-params.

Typo3 6.2: Table Records in FCE (Flux)

I am trying to get a list of table-records in my FCE.
In documentation, i found the part "items" can use a Query.
But i can not find a way to make it work.
<flux:field.select name="myRecord" items="NOTHING WORKS HERE" label="Choose" maxItems="1" minItems="1" size="5" multiple="false" />
Does anybody know how the items can be filled with table-records ?
If you are trying to get the select box with all items maybe you can then switch to this:
<flux:field.relation size="1" minItems="0" table="tx_{YourExtensionName}_domain_model_{YourObjectName}" maxItems="1" name="package">
</flux:field.relation>
Of corse, you can use any table from the DB, like "pages"..
Hope it helps!

CONFLUENCE: How to get page id displaying by my plugin

i have a small problem, i would like to get an id of displaying page in my plugin (id of searchskills.vm).
<xwork ... >
...
<action name="searchskills" class="de.twt.confluence.plugins.actions.SearchSkillsAction">
<result name="success" type="velocity">/templates/manager/searchskills.vm</result>
</action>
...
</xwork>
but i can't get it form:
page = getWebInterfaceContext().getPage();
it returns only null!!!
Is there a way to get a page id?
Thanks!!!
Take a look at this: Show page ID I'm not sure if that's the solution you are looking for, could you give us a more detailed description of what you're trying to do?

jodd.bean.BeanException: Simple property not found: cId Invalid property: 'TradingCategoryImpl#cId'

I meet the following problem
I am using AlloyUI to implement a portlet in Liferay
with the following code
<liferay-ui:search-container-row
className="com.handysoft.tp.model.TradingCategory"
keyProperty="cId"
modelVar="category">
<liferay-ui:search-container-column-text
name="category-name"
value="<%= category.getCName() %>" />
<liferay-ui:search-container-column-jsp
path="/admin/action.jsp"
align="right" />
</liferay-ui:search-container-row>
Portlet still works but I meet the following error
jodd.bean.BeanException: Simple property not found: cId Invalid property: 'TradingCategoryImpl#cId'
If I change one small section to
<liferay-ui:search-container-column-text
name="category-name"
property="cName" />
The error happen in with both cName and cId. Nothing is appear, could u help me to solve this
FeinesFabi is right. It seems that Liferay Search container doesn't take the property names which has more than 1 capital letters in it.
For ex. if a property is tClassId then it won't work but tclassId will work fine.
I've had the same problem.
Renaming the primary key from gID to glossarId an re-running the service builder fixed it for me. I don't understand why, though.