Further Market offers an accessible portal for any developer wishing to publish a product.
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
As said above, the developer must have:
- Mobile Money account associated with a number
- Further Market Business Account
- Couple your Mobile money number with your Further Market Business Account
- Market service activated
http://api.furthermarket.com/FM/MARKET/ProductPub?MyAccountID= XXX &Password= YYY
Where XXX represent your further market account identifier and YYY represent your Further Market account password
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.
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.
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
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
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).