Expand my Community achievements bar.

Join us on September 25th for a must-attend webinar featuring Adobe Experience Maker winner Anish Raul. Discover how leading enterprises are adopting AI into their workflows securely, responsibly, and at scale.
SOLVED

How to enable a partial ingestion through API call?

Avatar

Level 2

Hi Team

We have a requirement to ingest the data from AWS S3 with encrypted data.so we are using API calls for decrypting the data through flow service API. Now our requirement is to enable partial ingestion with 1% threshold.

Through UI we were able to enable partial ingestion. We are looking for this configuration through API.

 

If someone help on this requirement will be much appreciated.

 

Regards,

Nikhil.N

1 Accepted Solution

Avatar

Correct answer by
Moderator

Hi @Nikhil70326 

 

When firing POST request for create flow can you structure the payload in this format and check -->

 

{
"name": "Flow",
"sourceConnectionIds": [
"XXXXXXXXXXXXX"
],
"targetConnectionIds": [
"XXXXXXXXXXX"
],
"flowSpec": {
"id": "XXXXXXXXXXXXX",
"version": "1.0"
},
"scheduleParams": {
"startTime": "1692086139",
"frequency": "once"
},
"options": {
"errorDiagnosticsEnabled": true,
"partialIngestionPercent": 20
},
"transformations": [
{
"name": "Mapping",
"params": {
"mappingId": "XXXXXXXXXXXXX",
"mappingVersion": 0
}
},
{
"name": "Encryption",
"params": {
"publicKeyId": "XXXXX"
}
}
]
}

 

Regards,

Arijit Ghosh

View solution in original post

1 Reply

Avatar

Correct answer by
Moderator

Hi @Nikhil70326 

 

When firing POST request for create flow can you structure the payload in this format and check -->

 

{
"name": "Flow",
"sourceConnectionIds": [
"XXXXXXXXXXXXX"
],
"targetConnectionIds": [
"XXXXXXXXXXX"
],
"flowSpec": {
"id": "XXXXXXXXXXXXX",
"version": "1.0"
},
"scheduleParams": {
"startTime": "1692086139",
"frequency": "once"
},
"options": {
"errorDiagnosticsEnabled": true,
"partialIngestionPercent": 20
},
"transformations": [
{
"name": "Mapping",
"params": {
"mappingId": "XXXXXXXXXXXXX",
"mappingVersion": 0
}
},
{
"name": "Encryption",
"params": {
"publicKeyId": "XXXXX"
}
}
]
}

 

Regards,

Arijit Ghosh