Sign up now for Client Certification Foundation Course - June cohort!
Pure's logos
Pure Help Center for Pure Administrators

If you are a researcher, or other non-admin at your institution, click here.

  • Home
  • Announcements
  • Release Notes
  • Technical user guides
  • Training
  • Events
  • Support
  • Contact Us
  • Home
  • Knowledge base articles
  • Data Sources and Integrations

How Can We Help?

Search Results

Filter By Category

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Contact us

Web Service: How to Exclude/Limit to Content of a Specific TypeWeb Service: How to Exclude/Limit to Content of a Specific Type

What  

When you query a content type via the Web Service you will be default get all available types. 
Introduced in 5.21, it is now possible to exclude or limit to selected sub types.

How 

POST example - exclude by content type: 

  • This query will return all Research outputs except those Research Outputs of the type Contribution to Conference › Abstract 
<?xml version="1.0"?>
        <researchOutputsQuery>
         <excludeByTypeUri>true</excludeByTypeUri>
         <typeUris>
         <typeUri>/dk/atira/pure/researchoutput/researchoutputtypes/contributiontoconference/abstract</typeUri>
         </typeUris>
        </researchOutputsQuery>
         

POST example - exclude multiple content types:

  • Contribution to conference › Abstract + Contribution to journal › Article:
<?xml version="1.0"?>
        <researchOutputsQuery>
         <excludeByTypeUri>true</excludeByTypeUri>
         <typeUris>
         <typeUri>/dk/atira/pure/researchoutput/researchoutputtypes/contributiontoconference/abstract</typeUri>
         <typeUri>/dk/atira/pure/researchoutput/researchoutputtypes/contributiontojournal/article</typeUri>
         </typeUris>
        </researchOutputsQuery>
        

Note: it is not possible to do a wildcard typeUri query (e.g. /dk/atira/pure/researchoutput/researchoutputtypes/contributiontoconference/*).

  • You will have to add all type URIs like above. 

POST example - Include/limit content of a specific content type

  • This query will only return Research Outputs of this type Contribution to Conference › Other: 
<?xml version="1.0"?>
        <researchOutputsQuery>
         <typeUris>
         <typeUri>/dk/atira/pure/researchoutput/researchoutputtypes/contributiontoconference/other</typeUri>
         </typeUris>
        </researchOutputsQuery>
        

  
In doubt of the type URI strings?

  • It is possible to fetch the full tree of classification types in the classification-scheme endpoint with a call like this [your pure url]/ws/api/521/classification-schemes/[insert id of the classification scheme]?apiKey=[insert api key] 

More information

5.21.0 Release Notes

Published at January 04, 2024

Download
Related Articles
  • Classification/Structured Keyword Volume Limits
  • How QABO Matches Authors
  • Type Field in Classification Schemes
Keywords
  • web service - api post
  • 5.21.0
  • post
  • get
  • request
  • ws
  • api
  • limit
  • endpoint

Was this article helpful?

Yes
No
Give feedback about this article

    About Pure

  • Announcements

    Additional Support

  • Events
  • Client Community
  • Training

    Need Help?

  • Contact Us
  • Submit a Support Case
  • My Cases
  • Linkedin
  • Twitter
  • Facebook
  • Youtube
Elsevier logo Relx logo

Copyright © 2025 Elsevier, except certain content provided by third parties.

  • Terms & Conditions Terms & Conditions
  • Privacy policyPrivacy policy
  • AccesibilityAccesibility
  • Cookie SettingsCookie Settings
  • Log in to Pure Help CenterLog in to Helpjuice Center

Knowledge Base Software powered by Helpjuice

Expand