{"id":8363,"date":"2022-06-20T12:43:56","date_gmt":"2022-06-20T12:43:56","guid":{"rendered":"https:\/\/www.use-snip.com\/kb\/?post_type=ht_kb&#038;p=8363"},"modified":"2022-06-21T20:30:04","modified_gmt":"2022-06-21T20:30:04","slug":"web-api-add-a-base","status":"publish","type":"ht_kb","link":"https:\/\/www.use-snip.com\/kb\/knowledge-base\/web-api-add-a-base\/","title":{"rendered":"Web API, Add a Base"},"content":{"rendered":"<p>This article describes the <em>step-by-step<\/em> process to remotely add a new <a href=\"https:\/\/www.use-snip.com\/kb\/knowledge-base\/reserving-pushed-mountpoint\/\">Push_In Base Station Reservation<\/a> (for an <a href=\"https:\/\/www.use-snip.com\/kb\/knowledge-base\/question-what-is-an-ntrip-server\/\">NTRIP Server<\/a>) to the Caster.\u00a0 When the Web API Plug-In is present, <span style=\"color: #0000ff;\"><strong>SNIP<\/strong><\/span> allows adding new Base Station reservations remotely with a browser.\u00a0 For the Caster Admin account this process is never limited (you can create as many Base Stations as you wish and your license allows).\u00a0 For Customer Accounts, the number of Bases which can be added by that Customer is limited by the value set by the Caster Administrator for the Customer.\u00a0\u00a0 An active <a href=\"https:\/\/www.use-snip.com\/downloads\/snip_web\/\">Web API Plug-in<\/a> is required for this feature.\u00a0 First <a href=\"https:\/\/www.use-snip.com\/kb\/knowledge-base\/web-api-login\/\"><strong>Login<\/strong> <\/a>from an authorized account with <em>read-write<\/em> privileges, not with <em>read-only<\/em> privileges.<\/p>\n<p>From the Web API <a href=\"https:\/\/www.use-snip.com\/kb\/knowledge-base\/web-api-top-page\/\">top page<\/a>, go to the <strong>Current <span style=\"color: blue;\">PUSH-In<\/span> Bases and Reservations <\/strong>section at the top of the page.\u00a0 Press the button marked <strong>Add a New Base Station Reservation (NTRIP Server)<\/strong>.<\/p>\n<form title=\"Name\u00a0the\u00a0new\u00a0Base\u00a0Station\u00a0Account,\u00a0then\u00a0edit\u00a0it\" accept-charset=\"utf-8\" action=\"http:\/\/rtk2go.com:2101\/SNIP::SELECTNEWNAME\" method=\"POST\" target=\"_blank\"><\/form>\n<p>You will then be taken to a page to establish the <strong>name<\/strong> to be used with new Base (its mountPt name).\u00a0 See <a href=\"https:\/\/www.use-snip.com\/kb\/knowledge-base\/web-api-name-a-user-or-base\/\" target=\"_blank\" rel=\"noopener\">this article<\/a> for details of the naming process.\u00a0 Once a name has been determined, you will be taken to the New Push_in Reservation page, shown below (click to enlarge).<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2022\/06\/WebAPI_NewBase1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignright wp-image-8370\" src=\"https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2022\/06\/WebAPI_NewBase1-288x300.png\" alt=\"\" width=\"460\" height=\"479\" srcset=\"https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2022\/06\/WebAPI_NewBase1-288x300.png 288w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2022\/06\/WebAPI_NewBase1-768x800.png 768w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2022\/06\/WebAPI_NewBase1-48x50.png 48w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2022\/06\/WebAPI_NewBase1-920x958.png 920w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2022\/06\/WebAPI_NewBase1-600x625.png 600w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2022\/06\/WebAPI_NewBase1-320x333.png 320w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2022\/06\/WebAPI_NewBase1.png 960w\" sizes=\"auto, (max-width: 460px) 100vw, 460px\" \/><\/a><\/p>\n<p>The data fields all follow the same general flow which the <span style=\"color: #0000ff;\"><strong>SNIP<\/strong><\/span> dialog for a new <a href=\"https:\/\/www.use-snip.com\/kb\/knowledge-base\/reserving-pushed-mountpoint\/\">Push-In Reservation<\/a> does.<\/p>\n<p>The <strong>name<\/strong> you entered on the prior page is used for the mountPt.\u00a0 This is the name the <a href=\"https:\/\/www.use-snip.com\/kb\/knowledge-base\/question-what-is-an-ntrip-server\/\">NTRIP Server<\/a> will\u00a0 use to connect.<\/p>\n<p>The <strong>password<\/strong> field is completed with a suggested password.\u00a0 You may change this if desired.\u00a0 This is the password the NTRIP Server will\u00a0 use to connect.<\/p>\n<p>The <strong>Rev<\/strong> selects which\u00a0 NTRIP Protocol will be used, Rev1 or Rev2.<\/p>\n<p>When Rev2 is selected an account user name is also required for greater security.<\/p>\n<p>Please provide the (optional) name of <strong>City<\/strong> near the base.\u00a0 Only ASCII characters are allowed, as well as spaces.\u00a0 No diacritical marks are allowed.<\/p>\n<p>Please select the (optional) <strong>Country<\/strong> where the Base is located from the drop down list.<\/p>\n<p>It is generally best to leave the data stream <strong>Parsed<\/strong>.\u00a0 <span style=\"color: #0000ff;\"><strong>SNIP<\/strong><\/span> will automatically determine the contents of the data stream ad us that data to complete the Caster Table entry and other details for you.<\/p>\n<p>You can also <strong>hide<\/strong> the mountPt from being listed in the Caster table.\u00a0 This provide a minimal level of security, but some NTRIP Clients (notably older Trimble devices) cannot use a hidden mountPts.<\/p>\n<p>If you wish to <strong>restrict the IP<\/strong> that can connect and send this data stream, enter the details here.\u00a0 This provides an additional level of level of security. The stream must still use the correct mountPt name and password defined above.<\/p>\n<p>You can also enter pre-defined <strong>Caster Table Entry<\/strong> if you wish.\u00a0 It if generally best to let <span style=\"color: #0000ff;\"><strong>SNIP<\/strong><\/span> set this for you based on the contents of the data stream.<\/p>\n<p>If you wish the raw message data to be <strong>Logged<\/strong> as a data file, check this button.<\/p>\n<p>The <strong>Owner Details<\/strong> allow you to assign ownership of the new Base Station to a Customer Account.\u00a0 The default is to not assign the new Base.\u00a0 In such cases the Admin account &#8220;owns&#8221; the base station.\u00a0 If needed, you can assign ownership to a new Customer Account after it is created (by editing the Reservation).<\/p>\n<p>&nbsp;<\/p>\n<p>When the form is submitted (press the <strong>Update the Reservation<\/strong> button), the new Push-In reservation is created and an email with similar details is send to the Admin and the owner of the account (if the<a href=\"https:\/\/www.use-snip.com\/kb\/knowledge-base\/sending-email-from-snip\/\"> eMail Plug-In<\/a> is active)\u00a0\u00a0 See the below image.\u00a0 If there are any creation problems, a page with a summary of\u00a0 the errors is presented.<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2022\/06\/WebAPI_NewBase2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-8372 size-full\" src=\"https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2022\/06\/WebAPI_NewBase2.png?_t=1655729001\" alt=\"\" width=\"660\" height=\"200\" srcset=\"https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2022\/06\/WebAPI_NewBase2.png 660w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2022\/06\/WebAPI_NewBase2-300x91.png 300w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2022\/06\/WebAPI_NewBase2-50x15.png 50w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2022\/06\/WebAPI_NewBase2-600x182.png 600w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2022\/06\/WebAPI_NewBase2-320x97.png 320w\" sizes=\"auto, (max-width: 660px) 100vw, 660px\" \/><\/a><\/p>\n<h2>Use by Customer Accounts<\/h2>\n<p>When this process is performed by a browser logged in with a Customer Account, the top of the page also provides a summary of how many Base Stations they have already created (and therefore <em>own<\/em>) and how many more they are allowed to create.\u00a0 The ownership section is automatically assigned to their account (and they cannot edit this).<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This article describes the step-by-step process to remotely add a new Push_In Base Station Reservation (for an NTRIP Server) to the Caster.\u00a0 When the Web API Plug-In is present, SNIP allows adding new Base Station reservations remotely with a browser.\u00a0 For the Caster Admin account this process is never limited [&hellip;]<\/p>\n","protected":false},"author":13,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"ht-kb-category":[418],"ht-kb-tag":[331,332,518],"class_list":["post-8363","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-reports","ht_kb_tag-push-in","ht_kb_tag-reservations","ht_kb_tag-web-api"],"_links":{"self":[{"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/ht-kb\/8363","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/comments?post=8363"}],"version-history":[{"count":14,"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/ht-kb\/8363\/revisions"}],"predecessor-version":[{"id":8439,"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/ht-kb\/8363\/revisions\/8439"}],"wp:attachment":[{"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/media?parent=8363"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/ht-kb-category?post=8363"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/ht-kb-tag?post=8363"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}