I'm not super familiar with this endpoint so hopefully someone else can
chime in here if necessary. But I believe the transactionId is already
composed in the Location header of this endpoint

POST
/data-transfer/input-ports/{portId}/transactions

There is a Java class [1] available in NiFi commons site to site client
that can be used to interact with these endpoints. Hopefully, this can be
helpful.

Matt

[1]
https://github.com/apache/nifi/blob/master/nifi-commons/nifi-site-to-site-client/src/main/java/org/apache/nifi/remote/util/SiteToSiteRestApiClient.java

On Mon, Jan 16, 2017 at 8:35 AM, iboumedien <[email protected]> wrote:

> Hi guys,
>
> I want to use the REST API of Nifi in particularly this one:
>
> POST
> /data-transfer/input-ports/{portId}/transactions/{
> transactionId}/flow-files
>
> But I'm not to found how I ca get the transactionId?
>
> Can anyone help me?
>
> Best regards
>
> Ismael
>
>
>
> --
> View this message in context: http://apache-nifi-users-list.
> 2361937.n4.nabble.com/How-to-use-Rest-API-ressource-data-
> transfer-tp666.html
> Sent from the Apache NiFi Users List mailing list archive at Nabble.com.
>

Reply via email to