|
@ -253,7 +253,9 @@ |
|
|
you can |
|
|
you can |
|
|
authenticate rest api. |
|
|
authenticate rest api. |
|
|
</li> |
|
|
</li> |
|
|
<li>First, extract the <b>zip</b> file. Then, you will obtain the JSON-format file, which you can directly import into <b>POSTMAN.</b></li> |
|
|
<li>First, extract the <b>zip</b> file. Then, you will obtain |
|
|
|
|
|
the JSON-format file, which you can directly import into <b>POSTMAN.</b> |
|
|
|
|
|
</li> |
|
|
<li>The url format will be like this - <b>http://cybrosys:8016/odoo_connect</b> |
|
|
<li>The url format will be like this - <b>http://cybrosys:8016/odoo_connect</b> |
|
|
Replace 'cybrosys:8016' with your localhost port number. |
|
|
Replace 'cybrosys:8016' with your localhost port number. |
|
|
</li> |
|
|
</li> |
|
@ -280,8 +282,9 @@ |
|
|
</h3> |
|
|
</h3> |
|
|
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;"> |
|
|
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;"> |
|
|
<ul> |
|
|
<ul> |
|
|
<li>After rest api authentication, we can create records in the |
|
|
<li>Once authenticated via the REST API, records can be created |
|
|
rest api app. |
|
|
within the REST API application. <br/><b>Note:</b> Only |
|
|
|
|
|
administrators have access to view the module. |
|
|
</li> |
|
|
</li> |
|
|
<li>Here we can choose the model, and also we can |
|
|
<li>Here we can choose the model, and also we can |
|
|
choose the http methods. |
|
|
choose the http methods. |
|
@ -379,9 +382,10 @@ |
|
|
<li>You have to provide the model and also the id or the record |
|
|
<li>You have to provide the model and also the id or the record |
|
|
that you want to update. |
|
|
that you want to update. |
|
|
</li> |
|
|
</li> |
|
|
<li>You can use the Postman collection that we have provided and , you |
|
|
<li>You can use the Postman collection that we have provided and |
|
|
|
|
|
, you |
|
|
will be always have to send request with your login |
|
|
will be always have to send request with your login |
|
|
credentials. Otherwise, it will be showing access denied. |
|
|
credentials. Otherwise, it will be showing access denied. |
|
|
</li> |
|
|
</li> |
|
|
<li>The format for sending PUT request will be like this - <b>http://cybrosys:8016/send_request?model=res.partner&Id=46.</b> |
|
|
<li>The format for sending PUT request will be like this - <b>http://cybrosys:8016/send_request?model=res.partner&Id=46.</b> |
|
|
</li> |
|
|
</li> |
|
|