How to know course is a free one or paid using webservice?

How to know course is a free one or paid using webservice?

by Crazy Coder -
Number of replies: 1

In an API I want to get the courses that are paid courses. I have read the API documentation, the API 'core_course_get_courses' doesn't provide the information that whether it is a paid course or self-enrollable course (free course). How can I know whether the course is a free one or paid one using API?

Average of ratings: -