Skip to content

Latest commit

 

History

History
135 lines (101 loc) · 3.72 KB

ProfileApi.md

File metadata and controls

135 lines (101 loc) · 3.72 KB

IO.Swagger.Api.ProfileApi

All URIs are relative to https://remesita.com

Method HTTP request Description
RestV1BalanceGet GET /rest/v1/balance Obtiene datos de balance
RestV1UserLockupCodeCodePost POST /rest/v1/user/lockup-code/{code} Obtener datos de un cliente a partir de su codigo de cliente/referidos

RestV1BalanceGet

InlineResponse2009 RestV1BalanceGet ()

Obtiene datos de balance

Devuelve el balance y otros detalles relacionados

Example

using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class RestV1BalanceGetExample
    {
        public void main()
        {
            // Configure API key authorization: Bearer
            Configuration.Default.AddApiKey("Authorization", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.AddApiKeyPrefix("Authorization", "Bearer");

            var apiInstance = new ProfileApi();

            try
            {
                // Obtiene datos de balance
                InlineResponse2009 result = apiInstance.RestV1BalanceGet();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProfileApi.RestV1BalanceGet: " + e.Message );
            }
        }
    }
}

Parameters

This endpoint does not need any parameter.

Return type

InlineResponse2009

Authorization

Bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]

RestV1UserLockupCodeCodePost

void RestV1UserLockupCodeCodePost (string code)

Obtener datos de un cliente a partir de su codigo de cliente/referidos

Example

using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class RestV1UserLockupCodeCodePostExample
    {
        public void main()
        {
            // Configure API key authorization: Bearer
            Configuration.Default.AddApiKey("Authorization", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.AddApiKeyPrefix("Authorization", "Bearer");

            var apiInstance = new ProfileApi();
            var code = code_example;  // string | 

            try
            {
                // Obtener datos de un cliente a partir de su codigo de cliente/referidos
                apiInstance.RestV1UserLockupCodeCodePost(code);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProfileApi.RestV1UserLockupCodeCodePost: " + e.Message );
            }
        }
    }
}

Parameters

Name Type Description Notes
code string

Return type

void (empty response body)

Authorization

Bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]