API Methods

From Developer's API

(Difference between revisions)
(Examples)
Line 7: Line 7:
 
:{| border="1" cellspacing="0" cellpadding="5"
 
:{| border="1" cellspacing="0" cellpadding="5"
 
|-valign="top"
 
|-valign="top"
| <nowiki>https://localhost/API/32012</nowiki>
+
| <nowiki>https://www.mcssl.com/API/118303</nowiki>
| Returns a list of Group Level methods available to merchant 32012
+
| Returns a list of Group Level methods available to merchant 118303
 
|-valign="top"
 
|-valign="top"
| <nowiki>https://localhost/API/32012/Products</nowiki>
+
| <nowiki>https://www.mcssl.com/API/118303/Products</nowiki>
 
| Returns a list Product related methods
 
| Returns a list Product related methods
 
|-valign="top"
 
|-valign="top"
| <nowiki>https://localhost/API/32012/Products/LIST</nowiki>
+
| <nowiki>https://www.mcssl.com/API/118303/Products/LIST</nowiki>
 
| Returns a LIST of Products
 
| Returns a LIST of Products
 
|-valign="top"
 
|-valign="top"
| <nowiki>https://localhost/API/32012/Products/173457882/READ </nowiki>
+
| <nowiki>https://www.mcssl.com/API/118303/Products/173457882/READ </nowiki>
 
| Returns Product details for ProductId 173457882
 
| Returns Product details for ProductId 173457882
 
|}
 
|}

Revision as of 12:48, 27 May 2008

Calling an API method is done by making a request to a method URI

API Methods are of the form https://{host}/API/{MerchantId}[/{TableName}[/{ItemId}][/{Command}]]

Contents

Examples

https://www.mcssl.com/API/118303 Returns a list of Group Level methods available to merchant 118303
https://www.mcssl.com/API/118303/Products Returns a list Product related methods
https://www.mcssl.com/API/118303/Products/LIST Returns a LIST of Products
https://www.mcssl.com/API/118303/Products/173457882/READ Returns Product details for ProductId 173457882

External links

Clients Methods

List Clients
Read Client

Products Methods

List Products
Read Product

Orders Methods

List Orders
Count Orders
Read Order

Errors Methods

API Error Codes

API Method Parameters Matrix

List Clients List Products List Orders List Errors
Limit Count -
Limit Offset -
Sort Column 1 - 2 -
Sort Order - -
Limit Start Date - - -
Limit End Date - - -
1 FirstName, LastName
2 GrandTotal