{"id":36242,"date":"2024-08-21T13:59:19","date_gmt":"2024-08-21T12:59:19","guid":{"rendered":"https:\/\/developers.ila.cegid.com\/valuekeep\/\/"},"modified":"2024-12-26T15:41:38","modified_gmt":"2024-12-26T14:41:38","slug":"webapi-authentication","status":"publish","type":"valuekeep","link":"https:\/\/developers.ila.cegid.com\/en\/valuekeep\/api-documentation-en\/web-api-en\/article\/webapi-authentication","title":{"rendered":"Web API Authentication"},"content":{"rendered":"<section class=\"av_textblock_section \"  itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/CreativeWork\" ><div class='avia_textblock  '   itemprop=\"text\" ><div>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0in; line-height: normal;\"><span class=\"size\" style=\"font-size: 12pt;\">The webapi authentication is performed using the &#8220;Primavera Identity&#8221; service.<\/span><\/p>\n<p><strong>Note<\/strong>: The webAPI is only available for Universe line customers.<\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: 0in; line-height: normal;\"><span class=\"size\" style=\"font-size: 12pt;\">To get the authentication token, you must follow these steps:<\/span><\/p>\n<ol>\n<li><span class=\"size\" style=\"font-size: 12pt;\">Make the call to Primavera Identity (<\/span><a href=\"https:\/\/identity.primaverabss.com\/connect\/token),\" target=\"_blank\" rel=\"noopener noreferrer\"><span class=\"colour\" style=\"color: blue;\"><span class=\"size\" style=\"font-size: 12pt;\">https:\/\/identity.primaverabss.com\/connect\/token),<\/span><\/span><\/a><span class=\"size\" style=\"font-size: 12pt;\"> placing the clientId, client_secret sent on the webapi registration email.<\/span><\/li>\n<li><span class=\"size\" style=\"font-size: 12pt;\">Example of the postman call<\/span><\/li>\n<\/ol>\n<\/div>\n<div id=\"target_mov_img_1431807054354406\" class=\"target_moving\" align=\"middle\"><img decoding=\"async\" class=\"docsimage\" style=\"padding: 0px; max-width: 100%; box-sizing: border-box; width: 888px; height: auto;\" src=\"https:\/\/help.valuekeep.com\/galleryDocuments\/edbsn6735dec02e5967e41604c168b015318584495a9052c48f24cffd3fe9785bf45c4a586f40fba843378b2eaff1c1d9498a71c24104f5028fff6da86ea98465acd9?inline=true\" data-zdeskdocid=\"img_1431807054354406\" data-zdeskdocselectedclass=\"original\" \/><\/div>\n<div><\/div>\n<ol>\n<li><span class=\"size\" style=\"font-size: 12pt;\">After making the call, the authentication token is returned<\/span><img decoding=\"async\" class=\"docsimage\" style=\"text-align: -webkit-center; padding: 0px; box-sizing: border-box; width: 1404px;\" src=\"https:\/\/help.valuekeep.com\/galleryDocuments\/edbsn6735dec02e5967e41604c168b0153185bbf9fefe8d6778f6b446a27941de23ccb5db4ec67f53a1174659f46b0eed2054417aca1c8004f92e8be5f8179625f751?inline=true\" data-zdeskdocid=\"img_7729497861903156\" data-zdeskdocselectedclass=\"original\" \/><\/li>\n<li><span class=\"size\" style=\"font-size: 12pt;\">The authentication token is necessary to call specific product methods, for example, to get the equipment list<\/span><img decoding=\"async\" class=\"docsimage\" style=\"text-align: -webkit-center; padding: 0px; box-sizing: border-box; width: 1404px;\" src=\"https:\/\/help.valuekeep.com\/galleryDocuments\/edbsn6735dec02e5967e41604c168b01531857be21d68c510b282e85849f4287031de9af46622490658c49a5d2d611418fbbc4f498c7f47c2a317605d06df2792ba56?inline=true\" data-zdeskdocid=\"img_32934127847542705\" data-zdeskdocselectedclass=\"original\" \/><\/li>\n<\/ol>\n<div>\n<div><\/div>\n<\/div>\n<\/div><\/section>\n","protected":false},"excerpt":{"rendered":"","protected":false},"featured_media":0,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","format":"standard","tags":[902],"videos_tax":[],"post-type":[300],"categoria-valuekeep":[998],"class_list":["post-36242","valuekeep","type-valuekeep","status-publish","format-standard","hentry","tag-authentication","post-type-artigo","categoria-valuekeep-web-api-en"],"_links":{"self":[{"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/valuekeep\/36242","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/valuekeep"}],"about":[{"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/types\/valuekeep"}],"replies":[{"embeddable":true,"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/comments?post=36242"}],"version-history":[{"count":0,"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/valuekeep\/36242\/revisions"}],"wp:attachment":[{"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/media?parent=36242"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/tags?post=36242"},{"taxonomy":"videos_tax","embeddable":true,"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/videos_tax?post=36242"},{"taxonomy":"post-type","embeddable":true,"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/post-type?post=36242"},{"taxonomy":"categoria-valuekeep","embeddable":true,"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/categoria-valuekeep?post=36242"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}