0

I am creating a custom API in magento 1.9, but i don't know how to give url for the request and response

here is the api route

<routes>
   <route_entity> 
      <route>/servicebms/inboundoncall/:call_date/:call_time/:caller_number/:called_number/:call_status/:agent_number/conversation_duration/:call_duration/:call_type/:recording_url</route>
      <action_type>entity</action_type>
   </route_entity>
   <route_collection>
       <route>/servicebms/calls</route>
       <action_type>collection</action_type>
   </route_collection>       
   </routes>

I tried with the URL http://127.0.0.1/rest/api/servicebms/calls/(parameters)

In post man response i am getting home page code and status as 404 NOT FOUND Error.

Whar url shoild i give to get proper response

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.