{"id":99567,"date":"2017-10-14T15:01:00","date_gmt":"2017-10-14T15:01:00","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=99567"},"modified":"2019-10-01T11:37:25","modified_gmt":"2019-10-01T11:37:25","slug":"creating-cron-server-action-odoo-11","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/creating-cron-server-action-odoo-11\/","title":{"rendered":"Creating Cron and Server Action in Odoo 11"},"content":{"rendered":"<p>For creation the Cron in odoo11, you will have also have to set <strong>model_id<\/strong> fields also as now in odoo11 <strong>ir.cron<\/strong>&nbsp; have the <strong>delegate<\/strong> based relationship with<strong> ir.actions.server<\/strong> in which the&nbsp; model_id is set to required.<\/p>\n<p>Below code is explaining the <strong>delegate<\/strong> based relation between <strong>ir.cron <\/strong>and <strong>ir.actions.server<\/strong>.<\/p>\n<p>&nbsp;<\/p>\n<pre class=\"brush:py\">class ir_cron(models.Model):\n\t_name = \"ir.cron\"\n\t_order = 'cron_name'\n\n\tir_actions_server_id = fields.Many2one(\n\t\tcomodel_name = 'ir.actions.server', \n\t\tstring = 'Server action',\n\t\tdelegate = True,\n\t\tondelete = 'restrict', \n\t\trequired = True\n\t)\n\t....\n\t....\n\nclass IrActionsServer(models.Model):\n\t_name = 'ir.actions.server'\n\t_table = 'ir_act_server'\n\t_inherit = 'ir.actions.actions'\n\n\tmodel_id = fields.Many2one(\n\t\tcomodel_name = 'ir.model', \n\t\tstring = 'Model', \n\t\trequired = True, \n\t\tondelete = 'cascade',\n\t\thelp = \"Model on which the server action runs.\"\n\t)\n\t....\n\t....\n<\/pre>\n<pre class=\"brush:xml\"><\/pre>\n<p>For explaining the example I am creating a new a model (my.task) and registering&nbsp; <strong>@api.model<\/strong> decorated method&nbsp; cron_do_task.<\/p>\n<pre class=\"brush:py\">class MyTask(models.Model):\n\n\t_name = \"my.task\"\n\n\t@api.model\n\tdef cron_do_task(self):pass\t\n\t\t....\n\t\t....<\/pre>\n<p>&nbsp;<\/p>\n<p>Now create data XML file for ir.cron&nbsp; which should look like:<\/p>\n<pre class=\"brush:xml\">&lt;record id=\"cron_do_task\" forcecreate='True' model=\"ir.cron\"&gt;\n      &lt;field name=\"name\"&gt;Do -Task&lt;\/field&gt;\n      &lt;field eval=\"False\" name=\"active\"\/&gt;\n      &lt;field name=\"user_id\" ref=\"base.user_root\"\/&gt;\n      &lt;field name=\"interval_number\"&gt;15&lt;\/field&gt;\n      &lt;field name=\"interval_type\"&gt;minutes&lt;\/field&gt;\n      &lt;field name=\"numbercall\"&gt;-1&lt;\/field&gt;\n      &lt;field name=\"model_id\" ref=\"<strong>model_my_task<\/strong>\"\/&gt;\n      &lt;field name=\"state\"&gt;code&lt;\/field&gt;\n      &lt;field name=\"code\"&gt;model.<strong>cron_do_task<\/strong>()&lt;\/field&gt;\n&lt;\/record&gt;<\/pre>\n<p>Here the <strong>model_id<\/strong> is the model in which you want to execute the <strong>code<\/strong> section (for now @api.model decorated method&nbsp;cron_do_task ).<\/p>\n<p>&nbsp;<\/p>\n<p>For creation the Server Action in odoo11 follow the below example:<\/p>\n<p>Update your python code and add <strong>@api.multi decorated <\/strong>method ( <strong>server_do_action<\/strong> ):<\/p>\n<pre class=\"brush:py\">class MyTask(models.Model):\n\n\t_name = \"my.task\"\n\t\n\t@api.model\n\tdef cron_do_task(self):pass\t\n\t\n\t@api.multi\n\tdef <strong>server_do_action<\/strong>(self):pass\t\n\t\t....\n\t\t....<\/pre>\n<p>&nbsp;<\/p>\n<p>and create data XML file for&nbsp; <strong>ir.actions.server<\/strong>&nbsp; as below:<\/p>\n<pre class=\"brush:xml\">    &lt;record id=\"do_task_server\" model=\"ir.actions.server\"&gt;\n          &lt;field name=\"name\"&gt;Do Action&lt;\/field&gt;\n          &lt;field name=\"type\"&gt;ir.actions.server&lt;\/field&gt;\n          &lt;field name=\"model_id\" ref=\"model_my_task\"\/&gt;\n          &lt;field name=\"state\"&gt;code&lt;\/field&gt;\n          &lt;field name=\"code\"&gt;\n              if records:\n                  action = records.<strong>server_do_action<\/strong>()\n          &lt;\/field&gt;\n          &lt;field name=\"<strong>binding_model_id<\/strong>\" ref=\"model_my_task\"\/&gt;\n      &lt;\/record&gt;<\/pre>\n<p>&nbsp;<\/p>\n<p>Here <strong>model_id&nbsp;<\/strong> is the model on which this action will show and&nbsp; <strong>binding_model_id<\/strong> is the model which <strong>code <\/strong>section<strong> (records.server_do_action())<\/strong> will execute on the click of server action.<\/p>\n<p>&nbsp;<\/p>\n<p>That\u2019s all for today. I hope this blog will help you. I\u2019d be very grateful if you\u2019d write your opinions, comments, and suggestions to keep the page updated and interesting.<\/p>\n<p>You may also like our post on&nbsp;<a href=\"https:\/\/webkul.com\/blog\/string-and-bytes-conversion-in-python3-x\/\">Performing String and Bytes Data Conversion in Python3.x<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For creation the Cron in odoo11, you will have also have to set model_id fields also as now in odoo11 ir.cron&nbsp; have the delegate based relationship with ir.actions.server in which the&nbsp; model_id is set to required. Below code is explaining the delegate based relation between ir.cron and ir.actions.server. &nbsp; class ir_cron(models.Model): _name = &#8220;ir.cron&#8221; _order <a href=\"https:\/\/webkul.com\/blog\/creating-cron-server-action-odoo-11\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":86,"featured_media":45511,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2007],"tags":[5616,5615],"class_list":["post-99567","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-odoo","tag-creating-cron-in-odoo-11","tag-server-action-in-odoo-11"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Creating Cron and Server Action in Odoo 11 - Webkul Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/webkul.com\/blog\/creating-cron-server-action-odoo-11\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Creating Cron and Server Action in Odoo 11 - Webkul Blog\" \/>\n<meta property=\"og:description\" content=\"For creation the Cron in odoo11, you will have also have to set model_id fields also as now in odoo11 ir.cron&nbsp; have the delegate based relationship with ir.actions.server in which the&nbsp; model_id is set to required. Below code is explaining the delegate based relation between ir.cron and ir.actions.server. &nbsp; class ir_cron(models.Model): _name = &quot;ir.cron&quot; _order [...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/creating-cron-server-action-odoo-11\/\" \/>\n<meta property=\"og:site_name\" content=\"Webkul Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webkul\/\" \/>\n<meta property=\"article:published_time\" content=\"2017-10-14T15:01:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-10-01T11:37:25+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/04\/Odoo-Code-Snippet-banner.png\" \/>\n\t<meta property=\"og:image:width\" content=\"825\" \/>\n\t<meta property=\"og:image:height\" content=\"260\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Prakash Kumar\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@webkul\" \/>\n<meta name=\"twitter:site\" content=\"@webkul\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Prakash Kumar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/creating-cron-server-action-odoo-11\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/creating-cron-server-action-odoo-11\/\"},\"author\":{\"name\":\"Prakash Kumar\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/8b41d806aa1c7ec81f958437fac62e5b\"},\"headline\":\"Creating Cron and Server Action in Odoo 11\",\"datePublished\":\"2017-10-14T15:01:00+00:00\",\"dateModified\":\"2019-10-01T11:37:25+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/creating-cron-server-action-odoo-11\/\"},\"wordCount\":257,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/creating-cron-server-action-odoo-11\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/04\/Odoo-Code-Snippet-banner.png\",\"keywords\":[\"Creating Cron in Odoo 11\",\"Server Action in Odoo 11\"],\"articleSection\":[\"Odoo\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/creating-cron-server-action-odoo-11\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/creating-cron-server-action-odoo-11\/\",\"url\":\"https:\/\/webkul.com\/blog\/creating-cron-server-action-odoo-11\/\",\"name\":\"Creating Cron and Server Action in Odoo 11 - Webkul Blog\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/creating-cron-server-action-odoo-11\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/creating-cron-server-action-odoo-11\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/04\/Odoo-Code-Snippet-banner.png\",\"datePublished\":\"2017-10-14T15:01:00+00:00\",\"dateModified\":\"2019-10-01T11:37:25+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/creating-cron-server-action-odoo-11\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/creating-cron-server-action-odoo-11\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/creating-cron-server-action-odoo-11\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/04\/Odoo-Code-Snippet-banner.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/04\/Odoo-Code-Snippet-banner.png\",\"width\":825,\"height\":260},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/creating-cron-server-action-odoo-11\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Creating Cron and Server Action in Odoo 11\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/webkul.com\/blog\/#website\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"name\":\"Webkul Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/webkul.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/webkul.com\/blog\/#organization\",\"name\":\"WebKul Software Private Limited\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"width\":380,\"height\":380,\"caption\":\"WebKul Software Private Limited\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webkul\/\",\"https:\/\/x.com\/webkul\",\"https:\/\/www.instagram.com\/webkul\/\",\"https:\/\/www.linkedin.com\/company\/webkul\",\"https:\/\/www.youtube.com\/user\/webkul\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/8b41d806aa1c7ec81f958437fac62e5b\",\"name\":\"Prakash Kumar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0423ba8e78c94fb466768b44982d402aec0a1bb0ea274e7907672f740c41d776?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0423ba8e78c94fb466768b44982d402aec0a1bb0ea274e7907672f740c41d776?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Prakash Kumar\"},\"url\":\"https:\/\/webkul.com\/blog\/author\/prakash-kumar163\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Creating Cron and Server Action in Odoo 11 - Webkul Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/webkul.com\/blog\/creating-cron-server-action-odoo-11\/","og_locale":"en_US","og_type":"article","og_title":"Creating Cron and Server Action in Odoo 11 - Webkul Blog","og_description":"For creation the Cron in odoo11, you will have also have to set model_id fields also as now in odoo11 ir.cron&nbsp; have the delegate based relationship with ir.actions.server in which the&nbsp; model_id is set to required. Below code is explaining the delegate based relation between ir.cron and ir.actions.server. &nbsp; class ir_cron(models.Model): _name = \"ir.cron\" _order [...]","og_url":"https:\/\/webkul.com\/blog\/creating-cron-server-action-odoo-11\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2017-10-14T15:01:00+00:00","article_modified_time":"2019-10-01T11:37:25+00:00","og_image":[{"width":825,"height":260,"url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/04\/Odoo-Code-Snippet-banner.png","type":"image\/png"}],"author":"Prakash Kumar","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Prakash Kumar","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/creating-cron-server-action-odoo-11\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/creating-cron-server-action-odoo-11\/"},"author":{"name":"Prakash Kumar","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/8b41d806aa1c7ec81f958437fac62e5b"},"headline":"Creating Cron and Server Action in Odoo 11","datePublished":"2017-10-14T15:01:00+00:00","dateModified":"2019-10-01T11:37:25+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/creating-cron-server-action-odoo-11\/"},"wordCount":257,"commentCount":0,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/creating-cron-server-action-odoo-11\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/04\/Odoo-Code-Snippet-banner.png","keywords":["Creating Cron in Odoo 11","Server Action in Odoo 11"],"articleSection":["Odoo"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/creating-cron-server-action-odoo-11\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/creating-cron-server-action-odoo-11\/","url":"https:\/\/webkul.com\/blog\/creating-cron-server-action-odoo-11\/","name":"Creating Cron and Server Action in Odoo 11 - Webkul Blog","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/creating-cron-server-action-odoo-11\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/creating-cron-server-action-odoo-11\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/04\/Odoo-Code-Snippet-banner.png","datePublished":"2017-10-14T15:01:00+00:00","dateModified":"2019-10-01T11:37:25+00:00","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/creating-cron-server-action-odoo-11\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/creating-cron-server-action-odoo-11\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/creating-cron-server-action-odoo-11\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/04\/Odoo-Code-Snippet-banner.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/04\/Odoo-Code-Snippet-banner.png","width":825,"height":260},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/creating-cron-server-action-odoo-11\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Creating Cron and Server Action in Odoo 11"}]},{"@type":"WebSite","@id":"https:\/\/webkul.com\/blog\/#website","url":"https:\/\/webkul.com\/blog\/","name":"Webkul Blog","description":"","publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/webkul.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/webkul.com\/blog\/#organization","name":"WebKul Software Private Limited","url":"https:\/\/webkul.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","width":380,"height":380,"caption":"WebKul Software Private Limited"},"image":{"@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webkul\/","https:\/\/x.com\/webkul","https:\/\/www.instagram.com\/webkul\/","https:\/\/www.linkedin.com\/company\/webkul","https:\/\/www.youtube.com\/user\/webkul\/"]},{"@type":"Person","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/8b41d806aa1c7ec81f958437fac62e5b","name":"Prakash Kumar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/0423ba8e78c94fb466768b44982d402aec0a1bb0ea274e7907672f740c41d776?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0423ba8e78c94fb466768b44982d402aec0a1bb0ea274e7907672f740c41d776?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"Prakash Kumar"},"url":"https:\/\/webkul.com\/blog\/author\/prakash-kumar163\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/99567","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/users\/86"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=99567"}],"version-history":[{"count":17,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/99567\/revisions"}],"predecessor-version":[{"id":200906,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/99567\/revisions\/200906"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media\/45511"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=99567"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=99567"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=99567"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}