Title: Not sure how to pull extra info
Last modified: June 12, 2025

---

# Not sure how to pull extra info

 *  Resolved [phaedrus10](https://wordpress.org/support/users/phaedrus10/)
 * (@phaedrus10)
 * [10 months, 1 week ago](https://wordpress.org/support/topic/not-sure-how-to-pull-extra-info/)
 * I am creating a course catalog on a WordPress site using the Populi REST API
   
   I have successfully pulled the information and styled my page (temporary styling)
   But, the API documentation says that I can expand the information pulled and 
   I need some of that extra information – specifically faculty and tuition schedules.
   I cannot figure it out.The API Documentation reads: Some calls are expandable.
   That means, in the request, you can specify that you want additional information
   included in the response. For example calling `/people/123` will give you back
   basic information about the person with ID 123. However, calling `/people/123`
   with `"expand": ["addresses", "phone_numbers", "tags"]` in the JSON request body
   will cause that person’s addresses, phone numbers, and tags to be included in
   the response.And, the expandable properties for the CatalogCourse route are as
   follows:Expandable Properties
    - faculty
    - corequisites
    - course_equivalencies
    - prerequisites
    - programs
    - department
    - tuition_schedules
 * But, I am unsure how to amend the JSON request body to include the two additional
   parameters.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fnot-sure-how-to-pull-extra-info%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [berkux](https://wordpress.org/support/users/berkux/)
 * (@berkux)
 * [10 months ago](https://wordpress.org/support/topic/not-sure-how-to-pull-extra-info/#post-18516794)
 * Hi [phaedrus10](https://wordpress.org/support/users/phaedrus10/),
   sorry for the
   delay. Is it about [https://populi.co/api/?php#request-and-response-format](https://populi.co/api/?php#request-and-response-format)
   There:
 *     ```wp-block-code
       POST https://yourschool.populiweb.com/api2/people/55782/phonenumbers/create
       {
         "number": "555-893-0032",
         "type": "home"
       }
       ```
   
 * You might try “Step 1” with method POST and a URL like [https://yourschool.populiweb.com/api2/people/55782/phonenumbers/create](https://yourschool.populiweb.com/api2/people/55782/phonenumbers/create)
   
   At POST-Payload set something like { “number”: “555-893-0032”, “type”: “home”}
   Then the API should answer with more data.Best regards,Bernhard

Viewing 1 replies (of 1 total)

The topic ‘Not sure how to pull extra info’ is closed to new replies.

 * ![](https://ps.w.org/json-content-importer/assets/icon-256x256.png?rev=3464653)
 * [Get Use APIs - JSON Content Importer](https://wordpress.org/plugins/json-content-importer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/json-content-importer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/json-content-importer/)
 * [Active Topics](https://wordpress.org/support/plugin/json-content-importer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/json-content-importer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/json-content-importer/reviews/)

## Tags

 * [api](https://wordpress.org/support/topic-tag/api/)

 * 2 replies
 * 2 participants
 * Last reply from: [berkux](https://wordpress.org/support/users/berkux/)
 * Last activity: [10 months ago](https://wordpress.org/support/topic/not-sure-how-to-pull-extra-info/#post-18516794)
 * Status: resolved