Documentation

API Documentation

Overview

This API allows users to authenticate and retrieve company valuations. Authentication is required to access the valuation data.

Autenticación

Endpoint: /api/auth/signinExt

            {
              "email": "yourEmail",
              "password": "yourPassword"
            }
      
            {
              "yourAccessToken"
            }
      
      curl -X POST https://mval.m2mcapital.com/api/auth/signinExt \
        -H "Content-Type: application/json" \
        -d '{"email": "yourEmail", "password": "yourPassword"}'
      

Get Company Valuations

Endpoint: api/GetCompanyValuations

      curl -X GET https://mval.m2mcapital.com/api/GetCompanyValuations \
        -H "Authorization: Bearer yourAccessToken"
      

With companyName and date parameters:

      curl -X GET "https://mval.m2mcapital.com/api/GetCompanyValuations/CompanyName" \
        -H "Authorization: Bearer yourAccessToken"
      

Error Handling