The request should have all the required parameter ?
« on: September 25, 2023, 12:48:56 PM »
Hi ,

This request &object=item&action=edit&itemId=xxx&price=100 is nott woking

Did i miss something ? im pretty sure something is wrong but i didn't find whats 

*

MB Themes

Re: The request should have all the required parameter ?
« Reply #1 on: September 25, 2023, 06:44:16 PM »
Sure.
Many many other required parameters.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

Re: The request should have all the required parameter ?
« Reply #2 on: September 27, 2023, 10:27:20 AM »
Thanks for reply ,


this is my demo request i try to send but the error message i get is 500

(URL + KEY ) &type=update&object=item&action=edit&itemId=xxxx&catId=32&contactName=John&[email protected]&price=25&countryId=MA&regionId=&cityId=&title=Hello+world+title&description=Today%20is%20a%20beautiful%20day%20to%20create%20new%20listing%20using%20API

did i miss something here ?

*

MB Themes

  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

Re: The request should have all the required parameter ?
« Reply #4 on: September 27, 2023, 01:24:31 PM »
The request you share with me its an INSERT request but im facing trouble with UPDATE request

*

MB Themes

Re: The request should have all the required parameter ?
« Reply #5 on: September 27, 2023, 08:30:36 PM »
Modify it based on core requirements.
Not that different
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

Re: The request should have all the required parameter ?
« Reply #6 on: September 28, 2023, 01:06:29 PM »
PLease excuse me but you are still not clear on that point.  we respect the required input field but we still get 500 (Internal Server Error)

This is our request but and we have respected the requirement input should be filed


https://www.xxxx.xx/oc-content/plugins/rest/api.php?key=xxxxxxxxxxxxxx&type=update&object=item&action=edit&itemId=xxxx&catId=14&contactName=John&[email protected]&price=25&currency=US&countryId=MA&regionId=306&cityId=22336&title[fr_FR]=Hellodansquelpartiedumondeilfuau&description[fr_FR]=dansunebienmindremesuredanslaspetitreldelapjfuuokhjhsdiuhijhzeufglqizufygkhqzeuhisygfliyqzeglifyglizuelfhuqze


Still not working

*

MB Themes

Re: The request should have all the required parameter ?
« Reply #7 on: September 28, 2023, 02:02:10 PM »
That's why on plugin page you have "Coding skills recommended" so you can identify such cases.
Osclass still miss something, you must debug update process and identify missing fields.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

Re: The request should have all the required parameter ?
« Reply #8 on: September 28, 2023, 10:57:51 PM »
AH now is clear. OsClass who miss something OK

*

MB Themes

Re: The request should have all the required parameter ?
« Reply #9 on: September 29, 2023, 09:34:32 AM »
No, osclass expect required params and you have not send all of these.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Smithtech

  • ****
  • 219 posts
Re: The request should have all the required parameter ?
« Reply #10 on: October 09, 2023, 01:13:14 PM »
The request you share with me its an INSERT request but im facing trouble with UPDATE request

@Farouk El Gharbaoui, were you able to at least POST/INSERT listing with image? If yes, please, what is your API call like? Because, tried, tried and didn't get anything.

Thank you very much

*

Smithtech

  • ****
  • 219 posts
Re: The request should have all the required parameter ?
« Reply #11 on: October 09, 2023, 01:23:10 PM »
That's why on plugin page you have "Coding skills recommended" so you can identify such cases.
Osclass still miss something, you must debug update process and identify missing fields.

Still trying to understand what this meant "Coding Skills recommended".
If one buys this plugin and hast to go and build all call by themselves, what is the essence of buying this plugin? This is Osclass and we believe you are Pros at it and you made a plugin so we got the plugin to fast track development. But this is the case, it almost looks as though one has to make everything from scratch.

It will be nice this plugin is updated with clearer and detailed API Call documentation that one can use for a complete project.

Thank you for your understanding.

*

MB Themes

Re: The request should have all the required parameter ?
« Reply #12 on: October 11, 2023, 10:44:11 PM »
Plugin translate requests ro Osclass core.
You should be able to understand functions in core you want to use.
Just translator for osclass. Nothing more, nothing less.
If function X require 20 params, its not plugin requirement.

You want clear api docs, but you got postman request for similar call and you have problem to utilize it and adjust few params. What would change any kind of documentation if you have no idea how osclass core works...
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots