Coupon

Controller to handle the Coupon

APIDescription
GET api/my/coupon/{id}

Get Coupon detail with the status either active or inactive

OrderInfor

Controller to generate OrderID

APIDescription
GET api/my/orderinfor

Generate the OrderInfor/OrderID

Package

Controller to handle the Shopping Package

APIDescription
GET api/my/package

Get the list of Package object

GET api/my/package/transactions

No documentation available.

POST api/my/package/renew

Renew agent's residential or commercial package base on setting in BillingPackages

Utility

Controller to generate OrderID

APIDescription
GET api/my/utility/refresh/{type}

Refresh the application variable based on the parameter {type} {type} are "all", "item", "pacakge"

OrderProcess

Controller to handle the datafeed from payment gateway

APIDescription
POST api/my/orderprocess

Process the order base on the datafeed. Return "OK" no matter failed or success to acknowledge payment gateway.

GET api/my/orderprocess/pdf/{orderId}

Get the receipt in pdf based on order id

PUT api/my/orderprocess/cancel/{orderId}

Update cancel status to the transaction based on order id

PUT api/my/orderprocess/fail/{orderId}

Update failed status to the transaction based on order id

PostOrder

Controller to store order detail to database

APIDescription
POST api/my/postorder

Insert order to the database before redirect to payment gateway. The compulsory input object fields required are (Items or PackageID) and agentID. Full detail will return after order being stored. {TransationType}: "HL": HomeOwner on add new listing, "HF": HomeOwner on renewal of feature listing, "TC": Training course, null/empty: irealtor online payment.

Item

Controller to handle the Shopping Item

APIDescription
GET api/my/item/{type}

Get the list of Item object {type} are "all", "fc", "ml" (fc = featured credit, ml = montly limit (residential), mc = monthly limit (commercial))

GET api/my/item/transactions/{agentId}/{pagesize}/{page}

No documentation available.

GET api/my/item/transactions/{orderId}

Get the list of Item transactions object based on order id.

Values

APIDescription
GET api/Values

No documentation available.

GET api/Values/{id}

No documentation available.

POST api/Values

No documentation available.

PUT api/Values/{id}

No documentation available.

DELETE api/Values/{id}

No documentation available.