Affiliate

Affiliate's client management

APIDescription
GET api/Affiliate/GetUserDetail?id={id}&email={email}

To fetch the details of an individual affiliate's.

GET api/Affiliate/GetSpecialtyList

Get speciality list

GET api/Affiliate?page={page}&records={records}

To fetch the details of an individual affiliate's.

POST api/Affiliate

Create a new client under affiliate user, By passing userid value greater then zero means you want to update client detail

DELETE api/Affiliate/{id}

Delete client by passing userid means id of client

Orders

Order API's, for placing orders, fetch orders, update order status etc

APIDescription
GET api/Orders/UpdateOrderStatus?id={id}&status={status}

Update order status based on condition. API user can update order status like "cancel".

GET api/Orders/GetOrderStatusList

Get order status list

GET api/Orders/GetShippingMethodList

Get shipping method list

GET api/Orders/GetPaymentMethodList

Get payment method list

GET api/Orders?page={page}&records={records}&status={status}&orderIds={orderIds}&orderDate={orderDate}

Using this API users can get their order list, also perform searching and filtering. OrderIds may be comma seprated for example:- 1,2,3

GET api/Orders/{id}

Get order detail by passing orderId

GET api/Orders?custref={custref}

Get order detail by passing orderId

POST api/Orders

Through the API user can place an order by passig values as sample format, API return order object with detail as givin sample response format

Protocol

APIDescription
GET api/Protocol/{id}

GET api/Protocol?page={page}&records={records}

Get Protocol list

POST api/Protocol

Add/ update protocol

Materials

Manage material's API

APIDescription
GET api/Materials?fromdate={fromdate}

Get material list

GET api/Materials/{id}

Get material detail by material id

Mixes

Manage mixes API's

APIDescription
GET api/Mixes

Get mixes

Formula

Fomula API's, Add/update formula, fetch formula list and formula detail

APIDescription
GET api/Formula?page={page}&records={records}

Fetch formula list also perform pagination.

GET api/Formula/{id}

Get formula detail using formula id

POST api/Formula

Add and update formula by passing the request object as givin sample format, If you will pass formula id then it would be considered as update request otherwise add request

DELETE api/Formula/{id}

Delete formula by passing formula id

Category

APIDescription
GET api/Category?page={page}&records={records}

Get list of the current categories

Quote

Quote API manage

APIDescription
POST api/Quote

Get order quotation posting order object as givin in sample