Can I filter data received from the Customer API by Content State?

Yes, a new parameter has been added to the following calls to enable this option:

  • GetAllCourses
  • GetAllContent (Learning)
  • GetAllContent (Phish)
  • GetAllContent (Compliance)

 

Parameter

 

Content States

States’

Publish

Archive

Create

Campaign

Template

Review

Important: Ensure to add your parameter check and state exactly as above. For example, insert parameter as 'States' - not 'State' - to refine the required data.

Example calls =

https://api.metacompliance.com/Compliance/GetAllContent?key=xxxxxx-xxxx-xxxx-xx-xxxxxxxxxx&states=publish

Back to all articles