PhoneNumberVerification

APIDescription
GET api/PhoneNumberVerification/IsPhoneNumberVerified

Verify if user phone number is confirmed.

POST api/PhoneNumberVerification/GenerateOtp

Generate OTP for User. Send Access token in Header.

POST api/PhoneNumberVerification/GenerateNewOTP

Return OTP based on mobile no

POST api/PhoneNumberVerification/VerifyPhoneNumber

Verify User by OTP

POST api/PhoneNumberVerification/VerifyPhoneNumberNew

Verify User by OTP

POST api/PhoneNumberVerification/ChangeNumber

POST api/PhoneNumberVerification/ResendOTP

Category

APIDescription
GET api/Category/Categories

Get All Categories

Account

APIDescription
GET api/Account/UserInfo

GET api/Account/GetCustomerType

returns the type of the customer

POST api/Account/Logout

GET api/Account/ManageInfo?returnUrl={returnUrl}&generateState={generateState}

POST api/Account/ChangePassword

POST api/Account/ForgotPassword

POST api/Account/SetPassword

GET api/Account/IsAccountConfirmed

Account is sync to the existing ERP ID.

POST api/Account/Register

POST api/Account/UpdateUserMobile

Update user profile

POST api/Account/RegisterExternal

POST api/Account/UpdateUserInfo

Update user profile

GET api/Account/UserStatus

Offers

To Manage Offers

APIDescription
POST api/Offers/GetProductOffers

Get Offers

GET api/Offers/GetProductOffers?productId={productId}&qty={qty}

Get Offers

GET api/Offers/GetBillOffers?amount={amount}

Get Offers

GET api/Offers/GetThirdPartyOffer?id={id}

GET api/Offers/GetChargeCode?id={id}&orderId={orderId}

GET api/Offers/GetAllOffers

This method return all the offers

Customer

To Manage Customers Details

APIDescription
GET api/Customer/CustomerReceipts

To FIndout list of receipts

SplashScreen

Splash screen

APIDescription
GET api/SplashScreen/GetImages?deviceType={deviceType}

Fetch splash screen images

Order

APIDescription
GET api/Orders/GetAllOrders

Get All Order

GET api/Orders/GetAllOrders?StartDate={StartDate}&EndDate={EndDate}

Get All Order in a period of time

GET api/Orders/GetOrder?id={id}

POST api/Orders/CreateOrder

PUT api/Orders/UpdateOrder

GET api/Orders/GetOrderStatus?orderId={orderId}

GetOrderStatus

POST api/Orders/UpdateOrderPaymentMode

GetOrderStatus

POST api/Orders/UpdateShippingAddress

POST api/Orders/CancelOrder

cancels the order which is already placed.

GET api/Orders/IsOnlinePaymentForOrderSucceeded?GlobalOrderId={GlobalOrderId}

checks whether the payment for given order is successful or not

ShoppingCart

Manage Add/View/Update cart funtionality

APIDescription
GET api/ShoppingCart/CountProduct

Product count from shopping Cart

POST api/ShoppingCart/AddProduct

Add product in shopping cart

DELETE api/ShoppingCart/RemoveProduct?productId={productId}&SourceType={SourceType}

Remove product from shopping cart

PUT api/ShoppingCart/UpdateProductWithStock

Remove product from shopping cart

POST api/ShoppingCart/AddBillOffer

Add bill offer in shopping cart

DELETE api/ShoppingCart/RemoveBillOffer?SourceType={SourceType}

Remove bill offer from shopping cart

PUT api/ShoppingCart/UpdateBillOffer

Update bill offer from shopping cart

GET api/ShoppingCart/ViewShoppingCart?SourceType={SourceType}&AddressId={AddressId}

View complete shopping cart details inculding offers, tax, deposit amount

GET api/ShoppingCart/ViewShoppingCart?includeOffer={includeOffer}&SourceType={SourceType}&AddressId={AddressId}

View complete shopping cart details inculding offers, tax, deposit amount

GET api/ShoppingCart/EmptyBottlesCount

No documentation available.

GET api/ShoppingCart/DepositSummary

No documentation available.

GET api/ShoppingCart/GetDeliveryCharge?AddressId={AddressId}&SourceType={SourceType}

Getting Delivery Charge from shopping Cart

DeliverySheet

APIDescription
GET api/Deliverysheet/GetOrder?OrderId={OrderId}

GET api/Deliverysheet/StartShift?deliveryId={deliveryId}

GET api/Deliverysheet/EndShift?deliveryId={deliveryId}

POST api/Deliverysheet/MakePayments

GET api/Deliverysheet/GetLoadsheet?DeliveryId={DeliveryId}&OrderStatus={OrderStatus}&OrderId={OrderId}

GET api/Deliverysheet/GetDeliverySummary?shiftId={shiftId}&deliveryId={deliveryId}

POST api/Deliverysheet/ModifyOrderStatus

POST api/Deliverysheet/CollectReturns

POST api/Deliverysheet/EmptyBottleStatus

GET api/Deliverysheet/GetShiftDeliverysheet?FromDate={FromDate}&ToDate={ToDate}

GET api/Deliverysheet/GetShiftDeliverysheet

POST api/Deliverysheet/CancelOrder

Cancel Order

POST api/Deliverysheet/GetSignature

Cancel Order

GET api/Deliverysheet/GetStartShiftStatus?deliveryId={deliveryId}

Start Shift Status

GET api/Deliverysheet/GetEndShiftStatus?deliveryId={deliveryId}

End Shift Status

Notification

APIDescription
POST api/Notification/AddDevice

Associate FCM Register device token with user

POST api/Notification/SendNotificationToAll

Test API to broadcast a notification to all device manually.

POST api/Notification/SendNotification

Test API to send notification to a user manually

GET api/Notification/GetAllNotification

Get All notification from backend

MobileMedia

APIDescription
GET api/Mobile/GetMobileHomePageImages

GET api/Mobile/GetMobileTourImages

Brand

APIDescription
GET api/Brands/GetBrandImages?brandId={brandId}

GET api/Brands/GetAllBrandImages

GET api/Brand

Get All Categories

GET api/Brand?categoryId={categoryId}

Address

To Manage Customers Address

APIDescription
GET api/Address/GetIslands?includeInActive={includeInActive}

Returns list of Islands in Maldives where C2H is operational

GET api/Address/GetLocations?includeInActive={includeInActive}&islandId={islandId}

Gets All Locations

POST api/Address/AddAddress

Add Customer Billing and Shipping Address

POST api/Address/AddFriendAddress

Add Customer Billing and Shipping Address

GET api/Address/GetAllAddress

Get All Address

GET api/Address/GetAddressById?Id={Id}

Get Address by Id

POST api/Address/UpdateAddress

Add Customer Billing and Shipping Address

GET api/Address/GetShippingAddress

DELETE api/Address/DeleteAddress?id={id}

GET api/Address/GetAllIslands

GET api/Address/GetAllAddressNew

Get All Address(es) for the User

GET api/Address/GetAddressByIdNew?AddressId={AddressId}

Get Address for the User By AddressId

GET api/Address/GetFriendsAddressesNew

Get All Friends Address(es) for the User

GET api/Address/GetShippingAddressesNew

Get All Shipping Address(es) for the User

GET api/Address/GetBillingAddressesNew

Get All Billing Address(es) for the User

GET api/Address/GetAddressesNew?addressId={addressId}&addressType={addressType}

Get Address(es) for the User

GET api/Address

This method will return all Friend Address for an particular logged in user

FeedBack

APIDescription
POST api/FeedBack/SubmitFeedBack

Accepts Independent feedback

POST api/FeedBack/SubmitFeedBackForOrder

Accepts feedback for given order

GET api/FeedBack/GetPendingFeedbackOrderIdForUser

Gives orderId which requires feedback

Product

To Manage Product

APIDescription
GET api/Products/GetProducts?productGroupBy={productGroupBy}&ProductName={ProductName}&categoryId={categoryId}&brandId={brandId}

Get Products

GET api/Products/GetProductsById?ProductId[0]={ProductId[0]}&ProductId[1]={ProductId[1]}

GET api/Products/GetDepositAmount

Get Deposit amount summary

GET api/Products/GetNoOfBottlesReturn

Get No of Bottles Return

GET api/Products/GetofferDescByProductsId?productId={productId}

GET api/Products/GetProductImages?productId={productId}

GET api/Products/GetAllProductImages

Favorite

APIDescription
GET api/Favorites/GetAllFavorites

GET api/Favorites/GetFavoriteById?favoriteId={favoriteId}

POST api/Favorites/CreateFavoriteProduct

DELETE api/Favorites/RemoveFavoriteById?favoriteId={favoriteId}

GET api/Favorites/GetFrequentlyOrderedProducts

Test

APIDescription
POST api/Test/TestSendMail

Reminder

APIDescription
GET api/Reminders/GetAllReminders

GET api/Reminders/GetByReminderId?reminderId={reminderId}

POST api/Reminders/CreateProductReminder

DELETE api/Reminders/DeleteProductRemainder?reminderId={reminderId}

POST api/Reminders/UpdateProductReminder

ProductPack

APIDescription
GET api/Pack/GetAllPacks

ProductSize

APIDescription
GET api/Size/GetAllSize

ProductDescription

APIDescription
GET api/ProductDescription

GetAllProductDescriptions

GET api/ProductDescription?productId={productId}

MobileApis

APIDescription
GET api/MobileApis

Get All Master Data

GET api/MobileApis?LastDownLoadDate={LastDownLoadDate}

Get All Master Data

AR

APIDescription
GET api/AR

Get All Categories

GET api/AR/{id}