Migrated from Redmine #16 | Author: deepak ev Status: Rejected | Priority: High, I’m very impatient | Created: 2017-08-18
Hi ,
We tried using addCompanyReview ($login, $subject, $message, $rate, $provider, $accessToken)
var client = new JSONRpcClient({
‘url’: ‘https://user-api.simplybook.me/catalog’,
‘headers’: {
‘X-Company-Login’: ‘homestaydev’,
‘X-Token’: ‘1fa4eac6326c8feb1515bb39f529c6c1ed8824ad9c11ab6a857405e0a2e5b0d2’
},
‘onerror’: function (error) {
alert(error);
}
});
client.addCompanyReview(‘homestaydev’, ‘reviews’, ‘this is good’, 5, 'electrical systems ', ‘1fa4eac6326c8feb1515bb39f529c6c1ed8824ad9c11ab6a857405e0a2e5b0d2’)
The country_id is country code from ISO 3166-1 (2 characters).
state_id you can leave empty for a while, we are going to implement methods in API to return this lists.
How do payment API work if we are going use API’s for creating client and service provider app( not using RWD website provided by simplybook.me).
Once the booking API call is success, will it return url for payment gateway ?
2.What payment processor in ConfirmBookingPayment API. Is this API used by service provider ?