• Alex Thornton
    0
    Hello!

    We're starting our venture into automated some billing outputs for the MSP backups solution for use in our ticketing/billing system. I've been reading through the API documentation, specifically the https://api.mspbackups.com/Help/Api/GET-api-Billing page, but I can't find any information about a URI to point the API towards?

    It might just be me being a bit daft, but any help would be appreciated!
  • Matt
    91
    Are you referring to cURL by any chance?
    You can see various parameters and outputs here: https://api.mspbackups.com/Swagger/#!/Billing/Billing_Get
  • John Zabroski
    0
    Hi Matt,

    The Swagger URL you provided seems broken. Is it possible the 6.0 release broke this?

    https://api.mspbackups.com/Help seems to work, but it's not the same as the Swagger endpoint I generate for my own services where you can customize and "Try It Out!" and mess with the API all inside a browser window.

    When I go to https://api.mspbackups.com/Swagger/ I get the following garble:
    403 : <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
     <html xmlns="http://www.w3.org/1999/xhtml">
     <head>
     <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
     <title>403 - Forbidden: Access is denied.</title>
     <style type="text/css">
     <!--
     body{margin:0;font-size:.7em;font-family:Verdana, Arial, Helvetica, sans-serif;background:#EEEEEE;}
     fieldset{padding:0 15px 10px 15px;} 
     h1{font-size:2.4em;margin:0;color:#FFF;}
     h2{font-size:1.7em;margin:0;color:#CC0000;} 
     h3{font-size:1.2em;margin:10px 0 0 0;color:#000000;} 
     #header{width:96%;margin:0 0 0 0;padding:6px 2% 6px 2%;font-family:"trebuchet MS", Verdana, sans-serif;color:#FFF;
     background-color:#555555;}
     #content{margin:0 0 0 2%;position:relative;}
     .content-container{background:#FFF;width:96%;margin-top:8px;padding:10px;position:relative;}
     -->
     </style>
     </head>
     <body>
     <div id="header"><h1>Server Error</h1></div>
     <div id="content">
     <div class="content-container"><fieldset>
     <h2>403 - Forbidden: Access is denied.</h2>
     <h3>You do not have permission to view this directory or page using the credentials that you supplied.</h3>
     </fieldset></div>
     </div>
     </body>
     </html>
     https://api.mspbackups.com/help/v2/swagger
    
  • Matt
    91
    That requires support attention, so I suggest to create a ticket, provide any possible additional details and also mention that this is for Alex K. Don't forget to provide a link to this thread so we can identify the ticket.
  • Anton Zorin
    30


    The endpoint for API is the following for all requests:
    https://api.mspbackups.com/api/

    For example:
    https://api.mspbackups.com/api/provider/login

    As for Swagger, we'll look into this.
    UPD: It seems that swagger works fine except for some error it shows up, but which doesn't really affect anything.

    Thank you,
    Anton
bold
italic
underline
strike
code
quote
ulist
image
url
mention
reveal
youtube
tweet
Add a Comment