This Data Factory task is in phase. You can contact the Product-Live team at contact@product-live.com if you want more details and get an early access.
This task allows to find comment threads. Comment threads are conversations attached to suggestions, allowing suppliers and retailers to discuss proposed changes before they are applied.
The Product-Live API key If not provided, an automaticaly generated API key will be used to perform the request on behalf of the current user. If provided, the given API key will be used to perform the request.
ALL: Fetch all elements. REQUEST: Fetch all elements matching certain criteria.
See below
To day, application/json and application/xml are supported.
INLINE: The request body is provided inline in the request object. ATTACHMENT: The request body is provided as an attachment in the request object.
If method == INLINE and contentType == application/json
The request body as a JSON object.
The options of the request. Available options are: limit, sort, sortOrder.
The maximum number of elements to be returned by the task. If not set, the task returns the maximum number of elements available. If the limit property is less than the maximum number of elements that can be returned, the task returns the number of elements specified by the limit property.
The field to sort the elements by.
The order to sort the elements by. Available orders are: ASC, DESC.
The criteria of the request. See examples below
If request.method == ATTACHMENT
The request body as a file.
Default: API. The model/format used in the request. To day, only 'API' is supported.
The media type of the output. To day, application/json and application/xml are supported.
INLINE: The output is provided inline in the output object. ATTACHMENT: The output is provided as an attachment in the output object. INLINE is only supported for mediaType=application/json
The key of the output. Either json or xml
Default: DEFAULT. The model/format used in the output. To day, only 'DEFAULT' is supported.
When the outputMode=INLINE is selected, the maximum number of elements returned by this task is limited to 1000.If more elements are to be returned, the task ends with an error. To export up to the maximum of elements, use the limit input parameter to limit the number of elements return.
Data / Find comment threads
Task in alpha phase
This Data Factory task is in phase. You can contact the Product-Live team at contact@product-live.com if you want more details and get an early access.
This task allows to find comment threads. Comment threads are conversations attached to suggestions, allowing suppliers and retailers to discuss proposed changes before they are applied.
Task name:
Examples
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Definition
SUB_WORKFLOW.true: the job continues if there is an error on this task.false: the job fails.Inputs Parameters
If not provided, an automaticaly generated API key will be used to perform the request on behalf of the current user. If provided, the given API key will be used to perform the request.
ALL: Fetch all elements.REQUEST: Fetch all elements matching certain criteria.application/jsonandapplication/xmlare supported.INLINE: The request body is provided inline in the request object.ATTACHMENT: The request body is provided as an attachment in the request object.If
method == INLINEandcontentType == application/jsonlimit,sort,sortOrder.ASC,DESC.If
request.method == ATTACHMENTAPI. The model/format used in the request. To day, only 'API' is supported.[{"mediaType": "application/json", "outputMode": "INLINE", "outputKey": "json"}].application/jsonandapplication/xmlare supported.INLINE: The output is provided inline in the output object.ATTACHMENT: The output is provided as an attachment in the output object.INLINEis only supported formediaType=application/jsonEither
jsonorxmlDEFAULT. The model/format used in the output. To day, only 'DEFAULT' is supported.JSON criteria examples
2
3
4
5
6
7
2
3
4
5
6
7
2
3
4
5
6
7
2
3
4
5
6
7
XML criteria examples
2
3
4
5
6
7
8
2
3
4
5
6
7
8
Outputs
outputs[].outputKeyinput parameter.Json output -
outputs[].outputMode=INLINEandoutputs[].mediaType=application/jsonoutput.jsonis an array of objects as defined in the comment threads API.jsonis the default output key but may be changed by setting theoutputKeyproperty.Example output:
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
XML output -
outputs[].outputMode=ATTACHMENTandoutputs[].mediaType=application/xmlExample output:
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Limits and additional notes
outputMode=INLINEis selected, the maximum number of elements returned by this task is limited to1000. If more elements are to be returned, the task ends with an error. To export up to the maximum of elements, use thelimitinput parameter to limit the number of elements return.Additional examples
Find comment thread by ID
job.json
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Find comment threads with API key
job.json
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23