{"id":2638,"date":"2023-12-18T17:49:38","date_gmt":"2023-12-18T17:49:38","guid":{"rendered":"https:\/\/developers.maplink.global\/status-codes-toll\/"},"modified":"2024-03-01T13:48:33","modified_gmt":"2024-03-01T13:48:33","slug":"status-codes-toll","status":"publish","type":"post","link":"https:\/\/developers.maplink.global\/en\/status-codes-toll\/","title":{"rendered":"Status Codes &#8211; Toll"},"content":{"rendered":"\n<p>Below is the table with the <em>status codes<\/em> for each endpoint available in the Toll API:<\/p>\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>Code<\/strong><\/td><td><strong>Method<\/strong><\/td><td><strong>Endpoint<\/strong><\/td><td><strong>Description<\/strong><\/td><\/tr><tr><td>200<\/td><td>POST<\/td><td><a href=\"https:\/\/api.maplink.global\/toll\/v1\/calculations\">https:\/\/api.maplink.global\/toll\/v1\/calculations<\/a><\/td><td><code>OK<\/code>  (calculation made)<\/td><\/tr><tr><td>400<\/td><td>POST<\/td><td><a href=\"https:\/\/api.maplink.global\/toll\/v1\/calculations\">https:\/\/api.maplink.global\/toll\/v1\/calculations<\/a><\/td><td><code>Error: Bad Request<\/code>  (missing parameters, incomplete sending or request with errors)<\/td><\/tr><tr><td>500<\/td><td>POST<\/td><td><a href=\"https:\/\/api.maplink.global\/toll\/v1\/calculations\">https:\/\/api.maplink.global\/toll\/v1\/calculations<\/a><\/td><td><code>An Internal Server Error occurred<\/code>  (internal error in processing the requisition)<\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\">Table with all possible statuses returned by each endpoint<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Below is the table with the status codes for each endpoint available in the Toll API: Code Method Endpoint Description 200 POST https:\/\/api.maplink.global\/toll\/v1\/calculations OK (calculation made) 400 POST https:\/\/api.maplink.global\/toll\/v1\/calculations Error: Bad Request (missing parameters, incomplete sending or request with errors) 500 POST https:\/\/api.maplink.global\/toll\/v1\/calculations An Internal Server Error occurred (internal error in processing the requisition) Table [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[163],"tags":[],"class_list":["post-2638","post","type-post","status-publish","format-standard","hentry","category-toll-en"],"acf":[],"_links":{"self":[{"href":"https:\/\/developers.maplink.global\/en\/wp-json\/wp\/v2\/posts\/2638","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developers.maplink.global\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/developers.maplink.global\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/developers.maplink.global\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/developers.maplink.global\/en\/wp-json\/wp\/v2\/comments?post=2638"}],"version-history":[{"count":1,"href":"https:\/\/developers.maplink.global\/en\/wp-json\/wp\/v2\/posts\/2638\/revisions"}],"predecessor-version":[{"id":2639,"href":"https:\/\/developers.maplink.global\/en\/wp-json\/wp\/v2\/posts\/2638\/revisions\/2639"}],"wp:attachment":[{"href":"https:\/\/developers.maplink.global\/en\/wp-json\/wp\/v2\/media?parent=2638"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developers.maplink.global\/en\/wp-json\/wp\/v2\/categories?post=2638"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developers.maplink.global\/en\/wp-json\/wp\/v2\/tags?post=2638"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}