{"id":559,"date":"2023-04-23T11:33:09","date_gmt":"2023-04-23T10:33:09","guid":{"rendered":"https:\/\/www.help.headlight.tech\/?post_type=ht_kb&#038;p=559"},"modified":"2023-04-23T11:34:11","modified_gmt":"2023-04-23T10:34:11","slug":"what-are-headlight-operations","status":"publish","type":"ht_kb","link":"https:\/\/www.help.headlight.tech\/?ht_kb=what-are-headlight-operations","title":{"rendered":"What are Headlight operations?"},"content":{"rendered":"\n<p>Headlight operations are <a href=\"https:\/\/www.help.headlight.tech\/?ht_kb=what-are-workflows\" data-type=\"ht_kb\" data-id=\"437\">workflow<\/a> component action types that allow you to perform various operations in the Headlight platform, such as activating someone&#8217;s car budget, booking a book car, creating an energy card, etc. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Configuring Headlight operations<\/h2>\n\n\n\n<p>Headlight operations all have a similar structure. They require a set of inputs, and they yield a set of outputs. For instance, the Headlight operation &#8220;Associate Energy Card&#8221; requires as input fields the <em>energy card id<\/em>, and the new owner <em>employee id<\/em>. Optionally, you can provide other inputs, such as the association date. As output, the operation yields a reference to the updated energy card. <\/p>\n\n\n\n<p>You can use available parameter references to fill out the fields that the operation requires. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"732\" src=\"https:\/\/www.help.headlight.tech\/wp-content\/uploads\/2023\/04\/Screenshot-2023-04-23-at-12.31.55-1024x732.png\" alt=\"\" class=\"wp-image-564\" srcset=\"https:\/\/www.help.headlight.tech\/wp-content\/uploads\/2023\/04\/Screenshot-2023-04-23-at-12.31.55-1024x732.png 1024w, https:\/\/www.help.headlight.tech\/wp-content\/uploads\/2023\/04\/Screenshot-2023-04-23-at-12.31.55-300x215.png 300w, https:\/\/www.help.headlight.tech\/wp-content\/uploads\/2023\/04\/Screenshot-2023-04-23-at-12.31.55-768x549.png 768w, https:\/\/www.help.headlight.tech\/wp-content\/uploads\/2023\/04\/Screenshot-2023-04-23-at-12.31.55-50x36.png 50w, https:\/\/www.help.headlight.tech\/wp-content\/uploads\/2023\/04\/Screenshot-2023-04-23-at-12.31.55-1536x1099.png 1536w, https:\/\/www.help.headlight.tech\/wp-content\/uploads\/2023\/04\/Screenshot-2023-04-23-at-12.31.55-2048x1465.png 2048w, https:\/\/www.help.headlight.tech\/wp-content\/uploads\/2023\/04\/Screenshot-2023-04-23-at-12.31.55-60x43.png 60w, https:\/\/www.help.headlight.tech\/wp-content\/uploads\/2023\/04\/Screenshot-2023-04-23-at-12.31.55-100x72.png 100w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Headlight operation example: Associate Energy Card<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Headlight operations are workflow component action types that allow you to perform various operations in the Headlight platform, such as activating someone&#8217;s car budget, booking a book car, creating an energy card, etc. Configuring Headlight operations Headlight operations all have a similar structure. They require a set of inputs, and&#8230;<\/p>\n","protected":false},"author":2,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":[],"ht-kb-category":[94],"ht-kb-tag":[],"_links":{"self":[{"href":"https:\/\/www.help.headlight.tech\/index.php?rest_route=\/wp\/v2\/ht-kb\/559"}],"collection":[{"href":"https:\/\/www.help.headlight.tech\/index.php?rest_route=\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.help.headlight.tech\/index.php?rest_route=\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.help.headlight.tech\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.help.headlight.tech\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=559"}],"version-history":[{"count":1,"href":"https:\/\/www.help.headlight.tech\/index.php?rest_route=\/wp\/v2\/ht-kb\/559\/revisions"}],"predecessor-version":[{"id":568,"href":"https:\/\/www.help.headlight.tech\/index.php?rest_route=\/wp\/v2\/ht-kb\/559\/revisions\/568"}],"wp:attachment":[{"href":"https:\/\/www.help.headlight.tech\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=559"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.help.headlight.tech\/index.php?rest_route=%2Fwp%2Fv2%2Fht-kb-category&post=559"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.help.headlight.tech\/index.php?rest_route=%2Fwp%2Fv2%2Fht-kb-tag&post=559"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}