admin:appserver-recurring-request-blackout( $users as xs:unsignedLong*, $roles as xs:unsignedLong*, $days as xs:string*, $start-time as xs:time?, $end-time as xs:time?, $duration as xs:duration? ) as element(gr:request-blackout)
This function constructs a request-blackout specification.
xquery version "1.0-ml"; import module namespace admin = "http://marklogic.com/xdmp/admin" at "/MarkLogic/admin.xqy"; admin:appserver-recurring-request-blackout((),(), "monday", xs:time("09:45:00"), xs:time("11:45:00"), () ) (: returns the request-blackout specification :)
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.