
flexrep.pullGetById( pull-id as (Number|String), [assert as Boolean] ) as element(flexrep.pull)?
This function returns the pull replication configuration for the specified Pull ID.
// Execute on the Replica database.
const flexrep = require('/MarkLogic/flexrep');
flexrep.pullGetById(13991089731050212552);
// Returns the pull replication configuration for the specified ID.
http://marklogic.com/xdmp/privileges/flexrep-admin
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.