/rest/dc/scope Get or set the scope of a DC. method what do we want to do? string dc the DC key string credentials the user credentials data:text/plain,guest:guest representation the requested representation string Accept the accepted representation string sloot.xpath2eval var:representation .='' this:cond sloot.mimeparse var:Accept xml:application/xml var:representation sloot.xpath2eval var:method .='GET' this:cond ISOcat.manage.dc.scope var:dc var:credentials var:response sloot.xpath2eval var:method .='POST' this:cond sloot.non-exists var:params this:cond throw ISOcat[BAD REQUEST] The DC scope update is absent. sloot.xpath2eval var:dc .='0' this:cond throw ISOcat[BAD REQUEST] The updated DC scope should already have an id. ISOcat.manage.dc.scope.update var:dc var:params var:credentials var:response throw ISOcat[METHOD NOT ALLOWED] This method is not suppored by this resource. sloot.xpath2eval var:representation .='xml' this:cond cast var:response application/xml this:response throw ISOcat[NOT FOUND] This representation isn't supported by this resource. ffcpl:/trace/dc-scope.exception.xml ffcpl:/trace/dc-scope.response.xml now