Further Market offers an accessible portal for any developer wishing to publish a product.
As said above, the developer must have:
The developer creates its Mobile Money account if not exist, then he creates a Further Market account (free) and receives a unique identifier. He proceeds to the binding of its Mobile Money account with that of Further Market . If during the course of his services, he want to publish products, the only thing to do is to call a link like the one below:
http://api.furthermarket.com/FM/MARKET/ProductPub?MyAccountID= XXX &Password= YYY
http://api.furthermarket.com/FM/MARKET/ProductPub?MyAccountID= XXX &Password= YYY
The data format
The second item after the egal sign represent the value of the first item before the same sign.
NB: Don't miss the "&" operator after each value except the last couple. The different values which have the ListOf inside have "," like separator. In the values of params, DayOfAvailability must be 0 Or 1 (respectively available or not) idem for PubDisabled.
A- OperationType
PubOperationType Can have 3 values: 1 = Add Prod, 2 = Remove Product, 3 = Update Publication. In the update, the only thing which is modified is the publication information, not the details of products. If you want to update the product information, delete it first and do the insertion after.
B- ProdsPrices
Here we have the list of products prices which match the number of products. You can set the price of one by "-1" to report the price of product instead of the imaginary price.
PUBLineID=PubID&
ProdsIDs=ListOfProdsIDs&
ProdsPrices=ListOfProdsPrices&
Quantities=ListOfQuantities&
StockDailyRenew=ListOfStockDailyRenew&
Designation=PubDesignation&
StartDate=PubStartDate&
StopDate=PubStopDate&
StartIDTimeHour=PubStartIDTimeHour&
StartIDTimeMin=PubStartIDTimeMin&
StopIDTimeHour=PubStopIDTimeHour&
StopIDTimeMin=PubStopIDTimeMin&
MonDays=DayOfAvailability&
TuesDays=DayOfAvailability&
WednesDays=DayOfAvailability&
ThursDays=DayOfAvailability&
Fridays=DayOfAvailability&
SaturDays=DayOfAvailability&
SunDays=DayOfAvailability&
Disabled=PubDisabled&
OperationType=PubOperationType&
Informations=Infos
SAMPLE
PUBLineID=2066&
ProdsIDs=238,248,239&
ProdsPrices=25,75,3& // -1 means reconduct product cost to publication
Quantities=24,7,3&
StockDailyRenew=0,0,0&
Designation=VIP OF VIPS&
StartDate=25/03/2015&
StopDate=30/03/2015&
StartIDTimeHour=7&
StartIDTimeMin=15&
StopIDTimeHour=10&
StopIDTimeMin=30&
MonDays=1&
TuesDays=1&
WednesDays=1&
ThursDays=1&
Fridays=1&
SaturDays=1&
SunDays=1&
Disabled=1&
OperationType=3&
Informations=Infos
ALERT: VERY IMPORTANT
The previous set of data you send is the binary data with POST Method, you can't authorize to pass it in the link of the API (be careful about it).