eClass-Learning Management System
  • Introduction
    • Documentation
    • Key Features
    • eClass Addons
    • Introduction
  • Installation
    • Server Requirements
    • Shared Hosting Install
    • Installation Steps
    • Installation with Apache
  • Setting Up eClass
    • PWA Setup
    • Mail Settings
    • Import Demo Content
    • Geolocation
    • Chat Settings
    • Social Login Settings
      • Facebook Login Setting.
      • Google Login Setting.
      • GitLab Login Setting.
      • LinkedIn Login Setting.
      • Amazon Login Setting.
      • Twitter Login Setting.
    • Payment Gateways
      • PayPal Payment Gateway
      • Stripe Payment Gateway
      • Razorpay Payment Gateway
      • Paytm Payment Gateway
      • Mollie Payment Gateway
      • Skrill Payment Gateway
      • Braintree Payment Gateway
      • Payflexi Payment Gateway
      • Instamojo Payment Gateway
      • PayU Money Payment Gateway
      • Cashfree Payment Gateway
      • Rave Payment Gateway
      • Paystack Payment Gateway
      • Omise Payment Gateway
    • Meetings
      • Zoom Meeting
      • Google Meet
      • Jitsi Meet
      • BigBlueButton
    • Push Notification
    • Setting Up Multicurrency
    • Home Page Setting
    • AWS Setting
    • Mail Chimp
    • Google Drive Link
    • Language Translate
    • Affiliate
    • ReCaptcha Setting
    • App Secret Key
    • Ai Tool
    • Two Factor Authentication
    • Coming Soon
  • Faqs
    • Installation FAQ's
    • General Settings
    • Access Denied
    • Disclaimer
    • Regular & Extended Licenses
    • Privacy Policy
  • Update Details
    • Change Log
    • Update Process
  • Video And Support
    • Support
    • Source And Credits
    • Eclass Tutorials-Youtube
  • Conclusion
    • Conclusion
  • ECLASS API
    • 🍿Getting Started
  • Login
  • Register
  • Refresh Token
  • Logout
  • Home
  • Add bundle course to cart
  • Remove bundle course from cart
  • Notifications
  • Read all Notifications
  • Instructor Details
  • Course Review
  • Chapter Total Duration
  • API Keys
  • All Courses with details
  • All Coupons
  • Order Create
  • Become an Instructor
  • Purchase History
  • About Us
  • Contact Us
  • Blog
  • Blog Detail
  • Recent Blog
  • Recent Course
  • TermsCondition & PrivacyPolicy
  • Career Page
  • Zoom Meeting
  • Big Blue Button Meeting
  • Payment Gateways Api Keys
  • Get Course Progress
  • Course Progress Update
  • Course Report
  • Coupon Apply
  • Coupon Remove
  • Course Content
  • Course Appointment Request
  • Course Assignment Submit
  • Course Question Submit
  • Course Answer Submit
  • Appointment Delete
  • Instructor Dashboard
  • Review Submit
  • Get All Categories
  • Get one category by using id
  • Create Category
  • Update Category
  • Delete Category
  • Get All SubCategories
  • Get one SubCategories by using id
  • Create SubCategories
  • Update SubCategories
  • Delete SubCategories
  • Get All ChildCategory
  • Get one ChildCategory by using id
  • Create ChildCategory
  • Update ChildCategory
  • Delete ChildCategory
  • Get All Course
  • Get one course by using id
  • Create Course
  • Update Course
  • Delete Course
  • Get All Refund Policies
  • Get All Course Language
  • Get one course language by using id
  • Create Language
  • Update Course Language
  • Get All Refund Policies
  • Get All Course Include
  • Get one course Include by using id
  • Create Include
  • Update Course Include
  • Delete Course Include
  • Get All Course WhatLearn
  • Get one course WhatLearn by using id
  • Create WhatLearn
  • Update Course WhatLearn
  • Delete Course WhatLearn
  • Get All Course Chapter
  • Get one course Chapter by using id
  • Create Course Chapter
  • Update Course Chapter
  • Delete Course Chapter
  • Get All Course Class
  • Get one course Class by using id
  • Create Course Class
  • Update Course Class
  • Delete Course Class
  • Course with pagination
  • All Languages
  • Invoice Download
  • Certificate Download
  • gift/user/check
  • Gift Checkout
  • Free Enroll
  • Quiz submit
  • Add to watchlist
  • View watchlist
  • Add to watchlist
  • Get All Order
  • Get one order by using id
  • Create Order
  • Delete Order
  • Get All Refund
  • Get one Refund by using id
  • Update Refund
  • Delete Refund
  • Update Review Like/Dislike
  • Get All Assignment
  • Get one Assignment by using id
  • Update Assignment
  • Delete Assignment
Powered by GitBook
On this page
  • Upon successful response you will get access token and refresh token
  • IF response fail

Was this helpful?

Get All Refund

Upon successful response you will get access token and refresh token

GET https://castleindia.in/emart/public /api/login

Headers

Name
Type
Description

Accept

String

application/json

Request Body

Name
Type
Description

password

String

enter user password

email

String

enter user email addres

{
  ```json
"token_type": "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refresh_token": "def502009d3fd0250d60709804387ea2196e374f3cfb64a55ca4dcce59845793c412555a358fb012aeda0f821a03bde985a08f67f40e6e8e89753dbad7fdd7aa5b00c39f1e4d45c22dc2eef5d62e76ed0ea89317dd5e804ff1b181dc3ed1bb0c970b4ec7f192b28a619b2cdbe8da1553a8258ab9fbc57d3abf11cdd6c242f290b0f3c2be4a03515abd3203d0b43cf9cbfc6f8161c70f72ec31bd31e7ae2673772e6c9aba1eaac525c876c09b170f5f325f0eb8bee994e7e28ad7d4e46f8686ef9ca191edce6e530a2a3718ad1408fae7934a9547f51f7dd9779bc98d261eafb1c7c84176a014ce37b50b4c93581006e1a4fc95378e3ad258a31b0bd390e83c47eb98cfe2475d04d41749f1a24d1e5184210138dd69a45fe718e819de327bf7bf1182c2fa95fe871fef1609f26be4ca4a14baa854aa598194977d59cc4ac9f35843d2d2bf0efbd71ab2ab4a67066b742efa0757ea6acc9f491d174ae96cb233f0953ecce8"
```
}

IF response fail

```html
<!DOCTYPE html>
<html>

<head>
	<meta charset="UTF-8" />
	<meta name="robots" content="noindex,nofollow,noarchive" />
	<title>An Error Occurred: Method Not Allowed</title>
	<style>
		body {
			background-color: #fff;
			color: #222;
			font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
			margin: 0;
		}

		.container {
			margin: 30px;
			max-width: 600px;
		}

		h1 {
			color: #dc3545;
			font-size: 24px;
		}

		h2 {
			font-size: 18px;
		}
	</style>
</head>

<body>
	<div class="container">
		<h1>Oops! An Error Occurred</h1>
		<h2>The server returned a "405 Method Not Allowed".</h2>

		<p>
			Something is broken. Please let us know what you were doing when this error occurred.
			We will fix it as soon as possible. Sorry for any inconvenience caused.
		</p>
	</div>
</body>

</html>
```
PreviousDelete OrderNextGet one Refund by using id

Last updated 2 years ago

Was this helpful?