YSHFbPage

API Controller for Donation Data

APIDescription
GET api/fbpage?user_uid={user_uid}&lg={lg}&offset={offset}&count={count}

Get List of facebook pages

POST api/fbpage/refresh_user/{user_uid}

No documentation available.

OPTIONS api/YSHFbPage/Options

No documentation available.

OPTIONS api/YSHFbPage

No documentation available.

YSHChat

APIDescription
GET api/chat/group/{user_uid}?offset={offset}&count={count}

Get list of user's chat groups

GET api/chat/{product_uid}/{buyer_uid}?datetime={datetime}&message_uid={message_uid}&count={count}&viewer_uid={viewer_uid}

Get List of Messages by order uid in descending order of create datetime

POST api/chat/{product_uid}/{buyer_uid}/activate

Activate a chat by product uid and buyer uid

POST api/chat/{product_uid}/{buyer_uid}/image?sender_uid={sender_uid}&receiver_uid={receiver_uid}

Upload image to a chat. Must use multipart/form-data.

YSHUser

API Controller for User Data

APIDescription
POST api/user/facebooklogin

Login or Sign up to the system with Facebook's info

GET api/user/{uid}

Get User Basic Information

GET api/user/{uid}/transaction?offset={offset}&count={count}

Get user transaction record

POST api/user/{uid}/credit/recharge/paypal

Recharge credits by Paypal

POST api/user/{uid}/push_token

Store user's FCM Push Token

GET api/user/{uid}/fbpage

Refresh user facebook pages likes

GET api/user/{uid}/review?offset={offset}&count={count}

Get list of reviews to the user

POST api/user/{user_uid}/notification/set

No documentation available.

GET api/user/{user_uid}/badges

No documentation available.

GET api/user/testNotification

No documentation available.

OPTIONS api/YSHUser/Options

No documentation available.

OPTIONS api/YSHUser

No documentation available.

YSHDonation

API Controller for Donation Data

APIDescription
POST api/donation

Post new Product to the system

GET api/donation/{uid}

Get the detail of the Product and increase the viewcount Viewer releated order of the product will also return

POST api/donation/{uid}

Update product.

POST api/donation/image

Upload product image

OPTIONS api/YSHDonation/Options

No documentation available.

OPTIONS api/YSHDonation

No documentation available.

YSHAdminPlatform

API Controller for Product Data

APIDescription
POST api/admin/login

Get users from system

POST api/admin/user

Get users from system

GET api/admin/user/{uid}

Get users from system

GET api/admin/user/{uid}/transaction

Get users from system

GET api/admin/user/{uid}/chat

Get list of user's chat groups

POST api/admin/user/{uid}/credit

Get List of Messages by order uid in descending order of create datetime

POST api/admin/user/{uid}/status

No documentation available.

POST api/admin/product

Get products from system

GET api/admin/product/{uid}

Get products from system

POST api/admin/donation

Get donations from system

GET api/admin/donation/{uid}

Get donations from system

GET api/admin/order/product/{product_uid}?offset={offset}&count={count}

Get List of Orders from input Product Orders are sorted according to Orders's Creation Date

GET api/admin/chat/{product_uid}/{buyer_uid}?datetime={datetime}&message_uid={message_uid}&count={count}

Get List of Messages by order uid in descending order of create datetime

GET api/admin/fbPage?locale={locale}

No documentation available.

POST api/admin/fbPage/datatable

No documentation available.

POST api/admin/fbPage

No documentation available.

GET api/admin/fbPage/{uid}

No documentation available.

POST api/admin/fbPage/{uid}

No documentation available.

GET api/admin/category?locale={locale}

Upload product image

POST api/admin/category/datatable

Upload product image

POST api/admin/category

Upload product image

GET api/admin/category/{uid}?locale={locale}

Upload product image

POST api/admin/category/{uid}

Upload product image

GET api/admin/product/shipping_method/post

No documentation available.

POST api/admin/product/shipping_method/post

No documentation available.

POST api/admin/product/shipping_method/image

No documentation available.

GET api/admin/utils/notification?token={token}

No documentation available.

GET api/admin/news

No documentation available.

POST api/admin/news

No documentation available.

POST api/admin/news/{uid}

No documentation available.

POST api/admin/news/{uid}/delete

No documentation available.

POST api/admin/news/{uid}/notify

No documentation available.

OPTIONS api/YSHAdminPlatform/Options

No documentation available.

OPTIONS api/YSHAdminPlatform

No documentation available.

YSHOrder

APIDescription
POST api/order

Create an order

POST api/order/{uid}/cancel

Cancel an order

GET api/order/product/{uid}?offset={offset}&count={count}

Get List of Orders from input Product Orders are sorted according to Orders's Creation Date

GET api/order/seller/{uid}?offset={offset}&count={count}&viewer_uid={viewer_uid}

Get List of Orders from input Seller Orders are sorted according to Orders's Creation Date

GET api/order/buyer/{uid}?offset={offset}&count={count}&viewer_uid={viewer_uid}

Get List of Orders from input Buyer Orders are sorted according to Orders's Creation Date

POST api/order/confirm

Confirm a order

YSHMisc

API Controller for User Data

APIDescription
GET api/misc/news?user_uid={user_uid}

No documentation available.

GET api/misc/test

No documentation available.

OPTIONS api/YSHMisc/Options

No documentation available.

OPTIONS api/YSHMisc

No documentation available.

YSHProduct

API Controller for Product Data

APIDescription
POST api/product

Post new Product to the system

GET api/product/{uid}?viewer={viewer}

Get the detail of the Product and increase the viewcount Viewer releated order of the product will also return

POST api/product/{uid}

Update product.

POST api/product/{uid}/cancel

Cancel product.

GET api/product/review?review_uid={review_uid}&product_uid={product_uid}&buyer_uid={buyer_uid}&seller_uid={seller_uid}&include_buyer={include_buyer}&include_seller={include_seller}&include_order={include_order}&include_product={include_product}&sort_by={sort_by}&sort_direction={sort_direction}&offset={offset}&count={count}

Get list of reviews of a product

GET api/product/{uid}/review?buyer_uid={buyer_uid}&include_buyer={include_buyer}&include_seller={include_seller}&include_order={include_order}&include_product={include_product}&sort_by={sort_by}&sort_direction={sort_direction}&offset={offset}&count={count}

Get list of reviews of a product

POST api/product/{uid}/review

Create a product review

GET api/product/cate/{uid}?offset={offset}&count={count}

Get List of Products from input Category which is on sale Product is sorted according to Product's Creation Date

GET api/product?offset={offset}&count={count}&search={search}&category_uids={category_uids}&sort_by={sort_by}&sort_direction={sort_direction}&include_expired={include_expired}

Get List of Products from All Category which is on sale Product is sorted according to Product's Creation Date

POST api/product/image

Upload product image

GET api/product/category?locale={locale}

Get List of categories

GET api/product/shipping_method/face_to_face

Text description for face to face shipping method

GET api/product/shipping_method/post

Text description for post shipping method

GET api/product/shipping_method/other

Text description for other shipping method

OPTIONS api/YSHProduct/Options

No documentation available.

OPTIONS api/YSHProduct

No documentation available.

GCSApi

APIDescription
OPTIONS api/GCSApi/Options

No documentation available.

OPTIONS api/GCSApi

No documentation available.