MENU navbar-image

Introduction

AuxiSeg API REST

Documentacion para el uso de nuestra API.

Base URL

api.auxiseg.com.ar

Authenticating requests

This API is authenticated by sending an Authorization header with the value "Bearer token".

All authenticated endpoints are marked with a requires authentication badge in the documentation below.

You can retrieve your token by visiting your dashboard and clicking Generate API token.

GET /

requires authentication

Example request:
curl --request GET \
    --get "api.auxiseg.com.ar/" \
    --header "Authorization: Bearer token" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "api.auxiseg.com.ar/"
);

const headers = {
    "Authorization": "Bearer token",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (302):

Show headers
cache-control: no-cache, private
location: api.auxiseg.com.ar/docs
content-type: text/html; charset=utf-8
set-cookie: XSRF-TOKEN=eyJpdiI6IjI3RktBWHk1a25PMmFkV21NWWdTd0E9PSIsInZhbHVlIjoiS01qa1ZpVG0wNkhsRTJ4WTRhL3ZYYXVHRWt5Rkk1RFJLYlV1SHVrTlpTZ0FtYW40TnVSVmpIZlZCQzNnMFgxMzFxZThRVnFZblJyWFhZY2t1VG1Jc0p3dGhUeDZVVEE5MEVCZHc1Uk5JdFdCUGhtdSt0YUE3REZnbjhTRjNrNk4iLCJtYWMiOiIzN2QxZjJiMDJmZTZlYjVmMDBmOWEyNGNjMTNhODk4YmRmZjIwYWJiZDU3MjBjNDE0NjE3NjRmOGI3NWE5ZjBlIiwidGFnIjoiIn0%3D; expires=Thu, 12-Sep-2024 17:38:51 GMT; Max-Age=7200; path=/; samesite=lax; axs_api_session=eyJpdiI6InVsRit0NTc2OFRVZG9DdGR3bkg0OEE9PSIsInZhbHVlIjoiVnRuQjFVbWZ3ZHFBOVhqSU5pMXovVjErbXVCQnBhNi9VQ3RVYkNZd3BSVEZ0MWVvZmY4ZXVtWW4zZ0NsR1FObWM4ZFRYYmROdnFaY3B1eUl1NUh4TzRybE9HSzRpNkk1aUNoOHQ3MGlUdElkWTNqVU81ZWZHbGZuRUpPU0ZobFMiLCJtYWMiOiIzNWU3ZTg2NmY2MjJiZWQ0Mjc3MTNlMTc5MDc3MTlkNTcyZDc1ZjkxZDA4YzIyMDFlMjUzOTk4M2U1YzZlZDc2IiwidGFnIjoiIn0%3D; expires=Thu, 12-Sep-2024 17:38:51 GMT; Max-Age=7200; path=/; httponly; samesite=lax
 

<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8" />
        <meta http-equiv="refresh" content="0;url='api.auxiseg.com.ar/docs'" />

        <title>Redirecting to api.auxiseg.com.ar/docs</title>
    </head>
    <body>
        Redirecting to <a href="api.auxiseg.com.ar/docs">api.auxiseg.com.ar/docs</a>.
    </body>
</html>
 

Request      

GET /

GET cobranza/lotes/generar/{forma_pago}

requires authentication

Example request:
curl --request GET \
    --get "api.auxiseg.com.ar/cobranza/lotes/generar/delectus" \
    --header "Authorization: Bearer token" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "api.auxiseg.com.ar/cobranza/lotes/generar/delectus"
);

const headers = {
    "Authorization": "Bearer token",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (500):

Show headers
cache-control: no-cache, private
content-type: application/json
set-cookie: XSRF-TOKEN=eyJpdiI6IjF4aGNWMGdSM2FlWWFXbmN3UElHUEE9PSIsInZhbHVlIjoidXROYTJrdEZteGRwRjBVcEJYcGljNTRDNmVlaWdlNGNKMmRENytDOEpJTGdZck5kMStHRExKZUJucWNJUUl0ajkxREVhanQzRUFRR0p6bS9memhzQkl4SmxJS0JYY01SZkNOM3A5MHdxUGlLZWUyakp0OFRNMDhTRVc3QnlFcTEiLCJtYWMiOiI3NGY5ZTRiZTVmZWViZTc5ZjQ4NzhjOTBjMGVhMjA2NTRiMTNlZDdjODlhNDZhYTBiMmY0MThlMzYwYjMzMWJiIiwidGFnIjoiIn0%3D; expires=Thu, 12-Sep-2024 17:38:51 GMT; Max-Age=7200; path=/; samesite=lax; axs_api_session=eyJpdiI6IlFQSzdmeHprRG10V0JuMzY0cTV6MWc9PSIsInZhbHVlIjoiYjdjbnVWeERkaUJRWlZXSEZnbThFOHpEaGZJZFVMWnZ3UTU1cS94MzQ4am16Z0M3LzdIaDhDcXk3ZVhyM1A0UFNOUGxCd1U0Mk1OanZUQnF5bmwvWlMza0ZsTXBiT05rREptemo0YnRITWtPQnhjbGxFdkhxbmE5UzhYSE0yZUYiLCJtYWMiOiI1N2JjY2QyZGM1OTQwYWJhNTBiMDRmYjQ0YjUwOTI1YTRhM2I5OTc0MjMyYmU3Y2VhYTI2NjRkZDZhNTcyYzEzIiwidGFnIjoiIn0%3D; expires=Thu, 12-Sep-2024 17:38:51 GMT; Max-Age=7200; path=/; httponly; samesite=lax
 

{
    "message": "SQLSTATE[42000]: Syntax error or access violation: 1305 PROCEDURE AXS.generarLoteCobranza does not exist (SQL: CALL generarLoteCobranza(delectus))",
    "exception": "Illuminate\\Database\\QueryException",
    "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/laravel/framework/src/Illuminate/Database/Connection.php",
    "line": 712,
    "trace": [
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/laravel/framework/src/Illuminate/Database/Connection.php",
            "line": 672,
            "function": "runQueryCallback",
            "class": "Illuminate\\Database\\Connection",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/laravel/framework/src/Illuminate/Database/Connection.php",
            "line": 376,
            "function": "run",
            "class": "Illuminate\\Database\\Connection",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php",
            "line": 442,
            "function": "select",
            "class": "Illuminate\\Database\\Connection",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php",
            "line": 261,
            "function": "__call",
            "class": "Illuminate\\Database\\DatabaseManager",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/app/Http/Controllers/CobranzasController.php",
            "line": 230,
            "function": "__callStatic",
            "class": "Illuminate\\Support\\Facades\\Facade",
            "type": "::"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/laravel/framework/src/Illuminate/Routing/Controller.php",
            "line": 54,
            "function": "generarLote",
            "class": "App\\Http\\Controllers\\CobranzasController",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php",
            "line": 45,
            "function": "callAction",
            "class": "Illuminate\\Routing\\Controller",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/laravel/framework/src/Illuminate/Routing/Route.php",
            "line": 262,
            "function": "dispatch",
            "class": "Illuminate\\Routing\\ControllerDispatcher",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/laravel/framework/src/Illuminate/Routing/Route.php",
            "line": 205,
            "function": "runController",
            "class": "Illuminate\\Routing\\Route",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
            "line": 721,
            "function": "run",
            "class": "Illuminate\\Routing\\Route",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 128,
            "function": "Illuminate\\Routing\\{closure}",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php",
            "line": 50,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 167,
            "function": "handle",
            "class": "Illuminate\\Routing\\Middleware\\SubstituteBindings",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php",
            "line": 78,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 167,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php",
            "line": 49,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 167,
            "function": "handle",
            "class": "Illuminate\\View\\Middleware\\ShareErrorsFromSession",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php",
            "line": 121,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php",
            "line": 64,
            "function": "handleStatefulRequest",
            "class": "Illuminate\\Session\\Middleware\\StartSession",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 167,
            "function": "handle",
            "class": "Illuminate\\Session\\Middleware\\StartSession",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php",
            "line": 37,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 167,
            "function": "handle",
            "class": "Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php",
            "line": 67,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 167,
            "function": "handle",
            "class": "Illuminate\\Cookie\\Middleware\\EncryptCookies",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 103,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
            "line": 723,
            "function": "then",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
            "line": 698,
            "function": "runRouteWithinStack",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
            "line": 662,
            "function": "runRoute",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
            "line": 651,
            "function": "dispatchToRoute",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php",
            "line": 167,
            "function": "dispatch",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 128,
            "function": "Illuminate\\Foundation\\Http\\{closure}",
            "class": "Illuminate\\Foundation\\Http\\Kernel",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php",
            "line": 21,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php",
            "line": 31,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 167,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php",
            "line": 21,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php",
            "line": 40,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 167,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\TrimStrings",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php",
            "line": 27,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 167,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php",
            "line": 86,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 167,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/fruitcake/laravel-cors/src/HandleCors.php",
            "line": 38,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 167,
            "function": "handle",
            "class": "Fruitcake\\Cors\\HandleCors",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/fideloper/proxy/src/TrustProxies.php",
            "line": 57,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 167,
            "function": "handle",
            "class": "Fideloper\\Proxy\\TrustProxies",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 103,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php",
            "line": 142,
            "function": "then",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php",
            "line": 111,
            "function": "sendRequestThroughRouter",
            "class": "Illuminate\\Foundation\\Http\\Kernel",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php",
            "line": 299,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Kernel",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php",
            "line": 287,
            "function": "callLaravelOrLumenRoute",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php",
            "line": 89,
            "function": "makeApiCall",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php",
            "line": 45,
            "function": "makeResponseCall",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php",
            "line": 35,
            "function": "makeResponseCallIfConditionsPass",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php",
            "line": 222,
            "function": "__invoke",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php",
            "line": 179,
            "function": "iterateThroughStrategies",
            "class": "Knuckles\\Scribe\\Extracting\\Extractor",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php",
            "line": 116,
            "function": "fetchResponses",
            "class": "Knuckles\\Scribe\\Extracting\\Extractor",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php",
            "line": 123,
            "function": "processRoute",
            "class": "Knuckles\\Scribe\\Extracting\\Extractor",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php",
            "line": 80,
            "function": "extractEndpointsInfoFromLaravelApp",
            "class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php",
            "line": 56,
            "function": "extractEndpointsInfoAndWriteToDisk",
            "class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/knuckleswtf/scribe/src/Commands/GenerateDocumentation.php",
            "line": 55,
            "function": "get",
            "class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php",
            "line": 36,
            "function": "handle",
            "class": "Knuckles\\Scribe\\Commands\\GenerateDocumentation",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/laravel/framework/src/Illuminate/Container/Util.php",
            "line": 40,
            "function": "Illuminate\\Container\\{closure}",
            "class": "Illuminate\\Container\\BoundMethod",
            "type": "::"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php",
            "line": 93,
            "function": "unwrapIfClosure",
            "class": "Illuminate\\Container\\Util",
            "type": "::"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php",
            "line": 37,
            "function": "callBoundMethod",
            "class": "Illuminate\\Container\\BoundMethod",
            "type": "::"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/laravel/framework/src/Illuminate/Container/Container.php",
            "line": 653,
            "function": "call",
            "class": "Illuminate\\Container\\BoundMethod",
            "type": "::"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/laravel/framework/src/Illuminate/Console/Command.php",
            "line": 136,
            "function": "call",
            "class": "Illuminate\\Container\\Container",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/symfony/console/Command/Command.php",
            "line": 298,
            "function": "execute",
            "class": "Illuminate\\Console\\Command",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/laravel/framework/src/Illuminate/Console/Command.php",
            "line": 121,
            "function": "run",
            "class": "Symfony\\Component\\Console\\Command\\Command",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/symfony/console/Application.php",
            "line": 1040,
            "function": "run",
            "class": "Illuminate\\Console\\Command",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/symfony/console/Application.php",
            "line": 301,
            "function": "doRunCommand",
            "class": "Symfony\\Component\\Console\\Application",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/symfony/console/Application.php",
            "line": 171,
            "function": "doRun",
            "class": "Symfony\\Component\\Console\\Application",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/laravel/framework/src/Illuminate/Console/Application.php",
            "line": 94,
            "function": "run",
            "class": "Symfony\\Component\\Console\\Application",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php",
            "line": 129,
            "function": "run",
            "class": "Illuminate\\Console\\Application",
            "type": "->"
        },
        {
            "file": "/home/auxseg/domains/api.auxiseg.com.ar/public_html/api.auxiseg/artisan",
            "line": 37,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Console\\Kernel",
            "type": "->"
        }
    ]
}
 

Request      

GET cobranza/lotes/generar/{forma_pago}

URL Parameters

forma_pago  string  

Authentication

Iniciar sesión de usuario

requires authentication

Example request:
curl --request POST \
    "api.auxiseg.com.ar/api/auth/login" \
    --header "Authorization: Bearer token" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"email\": \"odio\",
    \"password\": \"voluptatibus\"
}"
const url = new URL(
    "api.auxiseg.com.ar/api/auth/login"
);

const headers = {
    "Authorization": "Bearer token",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "email": "odio",
    "password": "voluptatibus"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (200):


{
    "token": "token_de_autenticacion",
    "token_type": "Bearer",
    "expires_in": 3600
}
 

Example response (401):


{
    "error": "Unauthorized",
    "message": "Credenciales inválidas"
}
 

Request      

POST api/auth/login

Body Parameters

email  string  

El correo electrónico del usuario.

password  string  

La contraseña del usuario.

Registrarse como nuevo usuario

requires authentication

Example request:
curl --request POST \
    "api.auxiseg.com.ar/api/auth/signup" \
    --header "Authorization: Bearer token" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"illo\",
    \"email\": \"facere\",
    \"password\": \"eius\"
}"
const url = new URL(
    "api.auxiseg.com.ar/api/auth/signup"
);

const headers = {
    "Authorization": "Bearer token",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "illo",
    "email": "facere",
    "password": "eius"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (201):


{
    "message": "Usuario registrado exitosamente"
}
 

Example response (401):


{
    "message": "Error. La clave maestra no es correcta"
}
 

Request      

POST api/auth/signup

Body Parameters

name  string  

El nombre del usuario.

email  string  

El correo electrónico del usuario.

password  string  

La contraseña del usuario.

Cerrar sesión de usuario

requires authentication

Example request:
curl --request GET \
    --get "api.auxiseg.com.ar/api/auth/logout" \
    --header "Authorization: Bearer token" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "api.auxiseg.com.ar/api/auth/logout"
);

const headers = {
    "Authorization": "Bearer token",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (200):


{
    "message": "Se ha cerrado la sesión exitosamente"
}
 

Example response (401):


{
    "error": "Unauthorized",
    "message": "No autenticado"
}
 

Request      

GET api/auth/logout

Baja

Baja de Servicio para un Socio

requires authentication

Example request:
curl --request POST \
    "api.auxiseg.com.ar/api/servicio/baja" \
    --header "Authorization: Bearer token" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"ServicioSocioID\": 12
}"
const url = new URL(
    "api.auxiseg.com.ar/api/servicio/baja"
);

const headers = {
    "Authorization": "Bearer token",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "ServicioSocioID": 12
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (200):


{
  Vista previa del Documento de Baja            
}
 

Example response (400):


{
    "message": "No se encuentra vigente el ServicioSocio: ##### ."
}
 

Request      

POST api/servicio/baja

Body Parameters

ServicioSocioID  integer optional  

ID del ServicioSocio que desea anular

Cobranzas

Imputacion individual

requires authentication

Example request:
curl --request POST \
    "api.auxiseg.com.ar/api/cobranza/imputarServicio" \
    --header "Authorization: Bearer token" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"Lote\": 123,
    \"FormaPago\": 123,
    \"ServicioSocio\": 123,
    \"Monto\": 120,
    \"FechaPago\": 0
}"
const url = new URL(
    "api.auxiseg.com.ar/api/cobranza/imputarServicio"
);

const headers = {
    "Authorization": "Bearer token",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "Lote": 123,
    "FormaPago": 123,
    "ServicioSocio": 123,
    "Monto": 120,
    "FechaPago": 0
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (201):


{
    "exitos": "Imputado pago para ServicioSocio ## ",
    "errores": "No hay errores para mostrar"
}
 

Example response (400):


{
 "errores : [
   "No se encuentra el ServicioSocio: ### ",
   "El Servicio contratado en ServicioSocio ### no tiene un Costo asociado para cobrar ",
   "El Monto de pago no puede ser igual o inferior a 0. Ver ServicioSocio ID: ### ",
   "No alcanza el Pago del ServicioSocio ### con el Saldo a Favor para Saldar la cuota del mes. Pago registrado: ###. Saldo Faltante: ### ",
   "No alcanza el Pago del ServicioSocio ### para Saldar la cuota del mes. Pago registrado: ###. Saldo Faltante: ### "
 ]
}
 

Request      

POST api/cobranza/imputarServicio

Body Parameters

Lote  integer  

Numero de Lote.

FormaPago  integer  

ID de la Forma de Pago.

ServicioSocio  integer  

ID del ServicioSocio.

Monto  integer  

Monto del Pago registrado, los decimales separados por un punto.

FechaPago  integer  

Fecha del pago, formato AAAA-MM-DD HH-MM-SS.

Imputacion masiva

requires authentication

Example request:
curl --request POST \
    "api.auxiseg.com.ar/api/cobranza/imputacionMasiva" \
    --header "Authorization: Bearer token" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"Lote\": 1111,
    \"FormaPago\": 1,
    \"Pagos\": [
        \"eveniet\"
    ]
}"
const url = new URL(
    "api.auxiseg.com.ar/api/cobranza/imputacionMasiva"
);

const headers = {
    "Authorization": "Bearer token",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "Lote": 1111,
    "FormaPago": 1,
    "Pagos": [
        "eveniet"
    ]
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (201):


{
    "exitos": "Imputado pago para ServicioSocio ## ",
    "errores": "No hay errores para mostrar"
}
 

Example response (400):


{
 "errores : [
   "No se encuentra el ServicioSocio: ### ",
   "El Servicio contratado en ServicioSocio ### no tiene un Costo asociado para cobrar ",
   "El Monto de pago no puede ser igual o inferior a 0. Ver ServicioSocio ID: ### ",
   "No alcanza el Pago del ServicioSocio ### con el Saldo a Favor para Saldar la cuota del mes. Pago registrado: ###. Saldo Faltante: ### ",
   "No alcanza el Pago del ServicioSocio ### para Saldar la cuota del mes. Pago registrado: ###. Saldo Faltante: ### "
 ]
}
 

Request      

POST api/cobranza/imputacionMasiva

Body Parameters

Lote  integer  

El número de lote del pago.

FormaPago  integer  

La forma de pago.

Pagos  string[]  

Lista de pagos a registrar.

Pagos[].ServicioSocio  integer  

El ID del servicio del socio.

Pagos[].Monto  number  

El monto del pago.

Pagos[].FechaPago  string  

La fecha y hora del pago en formato YYYY-MM-DD HH:MM:SS.

Contratacion

Alta de Servicio para un Socio (existente o no)

requires authentication

Example request:
curl --request POST \
    "api.auxiseg.com.ar/api/servicio/contratar" \
    --header "Authorization: Bearer token" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"Socio\": 6,
    \"Servicio\": 1,
    \"VigenteDesde\": \"est\",
    \"MarcaID\": 2,
    \"ModeloID\": 14,
    \"VehiculoPatente\": \"vel\",
    \"VehiculoAnio\": 13,
    \"VehiculoMotor\": \"in\",
    \"VehiculoChasis\": \"et\",
    \"VehiculoColor\": \"perspiciatis\",
    \"FormaPagoID\": 16,
    \"SocioIsTitular\": true,
    \"NomTituTarjeta\": \"eligendi\",
    \"TipoDocTituTarjeta\": 20,
    \"NroDocTituTarjeta\": 17,
    \"TarjetaID\": 10,
    \"NroTarjeta\": 16,
    \"VencimientoTarjeta\": \"blanditiis\",
    \"CBU\": 16,
    \"AgenciaID\": 6,
    \"Nombre\": \"qui\",
    \"Apellido\": \"et\",
    \"DomicilioCalle\": \"aliquam\",
    \"DomicilioNumero\": 7,
    \"DomicilioPiso\": 6,
    \"DomicilioDepto\": \"adipisci\",
    \"ProvinciaID\": 19,
    \"CodigoPostal\": \"qui\",
    \"FechaNacimiento\": \"sit\",
    \"EstadoCivilID\": 11,
    \"TipoDocumentoID\": 11,
    \"NroDoc\": 14,
    \"Email\": \"tempora\",
    \"Actividad\": \"et\",
    \"LocalidadID\": 7,
    \"CondicionIVAID\": 11,
    \"CUIT\": 13,
    \"Informoto\": 5,
    \"Sexo\": 6,
    \"TipoPersonaID\": 15,
    \"NacionalidadID\": 5,
    \"TelefonoParticularCA\": 5,
    \"TelefonoParticular\": 9,
    \"TelefonoLaboral\": 18,
    \"CelularCA\": 20,
    \"Celular\": 8,
    \"TipoActividadID\": 5,
    \"PersonaExpPol\": true,
    \"Cargo\": \"aut\"
}"
const url = new URL(
    "api.auxiseg.com.ar/api/servicio/contratar"
);

const headers = {
    "Authorization": "Bearer token",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "Socio": 6,
    "Servicio": 1,
    "VigenteDesde": "est",
    "MarcaID": 2,
    "ModeloID": 14,
    "VehiculoPatente": "vel",
    "VehiculoAnio": 13,
    "VehiculoMotor": "in",
    "VehiculoChasis": "et",
    "VehiculoColor": "perspiciatis",
    "FormaPagoID": 16,
    "SocioIsTitular": true,
    "NomTituTarjeta": "eligendi",
    "TipoDocTituTarjeta": 20,
    "NroDocTituTarjeta": 17,
    "TarjetaID": 10,
    "NroTarjeta": 16,
    "VencimientoTarjeta": "blanditiis",
    "CBU": 16,
    "AgenciaID": 6,
    "Nombre": "qui",
    "Apellido": "et",
    "DomicilioCalle": "aliquam",
    "DomicilioNumero": 7,
    "DomicilioPiso": 6,
    "DomicilioDepto": "adipisci",
    "ProvinciaID": 19,
    "CodigoPostal": "qui",
    "FechaNacimiento": "sit",
    "EstadoCivilID": 11,
    "TipoDocumentoID": 11,
    "NroDoc": 14,
    "Email": "tempora",
    "Actividad": "et",
    "LocalidadID": 7,
    "CondicionIVAID": 11,
    "CUIT": 13,
    "Informoto": 5,
    "Sexo": 6,
    "TipoPersonaID": 15,
    "NacionalidadID": 5,
    "TelefonoParticularCA": 5,
    "TelefonoParticular": 9,
    "TelefonoLaboral": 18,
    "CelularCA": 20,
    "Celular": 8,
    "TipoActividadID": 5,
    "PersonaExpPol": true,
    "Cargo": "aut"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (201):


{
  "respuesta" : "Creacion exitosa",
  "servicio_socio" : ###,
  "servicio_socio_legado" : ###
}
 

Example response (400):


{
    "message": "No existe un socio/servicio registrado con ID = #### ."
}
 

Request      

POST api/servicio/contratar

Body Parameters

Socio  integer optional  

ID del Socio. Enviar '1' para dar de alta nuevo Socio

Servicio  integer  

ID del Servicio a contratar

VigenteDesde  date  

Fecha de inicio de cobertura del servicio

MarcaID  integer  

ID de la marca

ModeloID  integer  

ID del modelo

VehiculoPatente  string optional  

integer required Patente del vehiculo

VehiculoAnio  integer  

Año de fabricacion

VehiculoMotor  string  

Motor sin espacios, guiones ni asteriscos

VehiculoChasis  string  

Chasis sin espacios, guiones ni asteriscos

VehiculoColor  string  

Color predominante

FormaPagoID  integer  

ID de forma de pago

SocioIsTitular  boolean  

Si se declara TRUE, no necesita volver a poner los datos del Socio para titular de la tarjeta. Si es FALSE, debe declararlos

NomTituTarjeta  string optional  

Nombre y Apellido del titular de la tarjeta

TipoDocTituTarjeta  integer optional  

ID del tipo de documento del titular de la tarjeta

NroDocTituTarjeta  integer optional  

Numero de documento del titular de la tarjeta

TarjetaID  integer optional  

ID de la Entidad de la tarjeta

NroTarjeta  integer optional  

Numero de la tarjeta

VencimientoTarjeta  string optional  

Vencimiento en formato MM/AAAA

CBU  integer optional  

Los 22 digitos del CBU sin espacios ni caracteres especiales

AgenciaID  integer optional  

ID de la Agencia

Nombre  string optional  

Nombre del Socio

Apellido  string optional  

Apellido del Socio

DomicilioCalle  string optional  

Nombre de la Calle del Socio

DomicilioNumero  integer optional  

Altura del Domicilio del Socio

DomicilioPiso  integer optional  

Piso del Socio

DomicilioDepto  string optional  

Departamento del Socio

ProvinciaID  integer optional  

Provincia ID del Socio

CodigoPostal  string optional  

Codigo Postal del Socio

FechaNacimiento  Date optional  

Fecha de Nacimiento del Socio

EstadoCivilID  integer optional  

Estado Civil ID del Socio

TipoDocumentoID  integer optional  

Tipo de Documento ID del Socio

NroDoc  integer optional  

Numero de Documento del Socio

Email  string optional  

Email del Socio

Actividad  string optional  

Actividad del Socio

LocalidadID  integer optional  

Localidad ID del Socio

CondicionIVAID  integer optional  

ID del Tipo de Condicion IVA del Socio

CUIT  integer optional  

CUIT del Socio

Informoto  integer optional  

Informoto del Socio

Sexo  integer optional  

Sexo ID del Socio

TipoPersonaID  integer optional  

Tipo Persona ID del Socio

NacionalidadID  integer optional  

Nacionalidad ID del Socio

TelefonoParticularCA  integer optional  

Codigo Area del Telefono Particular del Socio

TelefonoParticular  integer optional  

Telefono Particular del Socio

TelefonoLaboral  integer optional  

Telefono Laboral del Socio

CelularCA  integer optional  

Codigo de Area del Celular del Socio

Celular  integer optional  

Celular del Socio

TipoActividadID  integer optional  

Tipo de Actividad ID del Socio

PersonaExpPol  boolean optional  

Persona Expuesta Polilticamente

Cargo  string optional  

Cargo del Socio

Documentacion

Ver Servicios por DNI

requires authentication

Example request:
curl --request GET \
    --get "api.auxiseg.com.ar/api/servicio/vigentes/1" \
    --header "Authorization: Bearer token" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "api.auxiseg.com.ar/api/servicio/vigentes/1"
);

const headers = {
    "Authorization": "Bearer token",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (200):


{
  "ServicioSocioID": ##,
  "Nombre": "Nombre",
  "Apellido": "Apellido",
  "NroDoc": #######,
  "SocioID": ######,
  "Estado": "VIGENTE"     
}
 

Example response (400):


{
    "message": "No se encuentran servicios vigentes con el dni: #### ."
}
 

Request      

GET api/servicio/vigentes/{dni}

URL Parameters

dni  integer optional  

Numero de Documento que tenga registrado en los Servicios

Constancia de Servicio

requires authentication

Example request:
curl --request GET \
    --get "api.auxiseg.com.ar/api/documentos/servicio/8/14" \
    --header "Authorization: Bearer token" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "api.auxiseg.com.ar/api/documentos/servicio/8/14"
);

const headers = {
    "Authorization": "Bearer token",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/documentos/servicio/{servicio_socio}/{cuit}

URL Parameters

servicio_socio  integer  

ID del ServicioSocio

cuit  integer  

Numero de CUIT del Socio

Socio

Datos de Socio por DNI

requires authentication

Example request:
curl --request GET \
    --get "api.auxiseg.com.ar/api/socio/datos/14" \
    --header "Authorization: Bearer token" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "api.auxiseg.com.ar/api/socio/datos/14"
);

const headers = {
    "Authorization": "Bearer token",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (200):


{
    "message": "Socio Existente",
    "SocioID": 12345
}
 

Example response (200):


{
    "message": "Socio Inexistente"
}
 

Request      

GET api/socio/datos/{dni}

URL Parameters

dni  integer  

El número de documento del socio, sin puntos ni espacios

Alta de Socio

requires authentication

Example request:
curl --request POST \
    "api.auxiseg.com.ar/api/socio/alta" \
    --header "Authorization: Bearer token" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"Nombre\": \"voluptatem\",
    \"Apellido\": \"amet\",
    \"DomicilioCalle\": \"aut\",
    \"DomicilioNumero\": 14,
    \"DomicilioPiso\": 1,
    \"DomicilioDepto\": \"atque\",
    \"ProvinciaID\": 5,
    \"CodigoPostal\": \"aut\",
    \"FechaNacimiento\": \"sint\",
    \"EstadoCivilID\": 9,
    \"TipoDocumentoID\": 2,
    \"NroDoc\": 5,
    \"Email\": \"eaque\",
    \"Actividad\": \"ullam\",
    \"LocalidadID\": 8,
    \"CondicionIVAID\": 13,
    \"CUIT\": 12,
    \"Informoto\": 19,
    \"Sexo\": 7,
    \"TipoPersonaID\": 14,
    \"NacionalidadID\": 4,
    \"TelefonoParticularCA\": 8,
    \"TelefonoParticular\": 14,
    \"TelefonoLaboral\": 6,
    \"CelularCA\": 5,
    \"Celular\": 15,
    \"TipoActividadID\": 1,
    \"PersonaExpPol\": true,
    \"Cargo\": \"voluptatem\"
}"
const url = new URL(
    "api.auxiseg.com.ar/api/socio/alta"
);

const headers = {
    "Authorization": "Bearer token",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "Nombre": "voluptatem",
    "Apellido": "amet",
    "DomicilioCalle": "aut",
    "DomicilioNumero": 14,
    "DomicilioPiso": 1,
    "DomicilioDepto": "atque",
    "ProvinciaID": 5,
    "CodigoPostal": "aut",
    "FechaNacimiento": "sint",
    "EstadoCivilID": 9,
    "TipoDocumentoID": 2,
    "NroDoc": 5,
    "Email": "eaque",
    "Actividad": "ullam",
    "LocalidadID": 8,
    "CondicionIVAID": 13,
    "CUIT": 12,
    "Informoto": 19,
    "Sexo": 7,
    "TipoPersonaID": 14,
    "NacionalidadID": 4,
    "TelefonoParticularCA": 8,
    "TelefonoParticular": 14,
    "TelefonoLaboral": 6,
    "CelularCA": 5,
    "Celular": 15,
    "TipoActividadID": 1,
    "PersonaExpPol": true,
    "Cargo": "voluptatem"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Example response (200):


{
  "message" : 'El socio se creo exitosamente.',
  "socio_id" : ###
}
 

Example response (400):


{
  "message": 'Motivo del error.'
}
 

Request      

POST api/socio/alta

Body Parameters

Nombre  string  

Nombre del Socio

Apellido  string  

Apellido del Socio

DomicilioCalle  string  

Nombre de la Calle del Socio

DomicilioNumero  integer  

Altura del Domicilio del Socio

DomicilioPiso  integer  

Piso del Socio

DomicilioDepto  string  

Departamento del Socio

ProvinciaID  integer  

Provincia ID del Socio

CodigoPostal  string  

Codigo Postal del Socio

FechaNacimiento  Date  

Fecha de Nacimiento del Socio

EstadoCivilID  integer  

Estado Civil ID del Socio

TipoDocumentoID  integer  

Tipo de Documento ID del Socio

NroDoc  integer  

Numero de Documento del Socio

Email  string  

Email del Socio

Actividad  string  

Actividad del Socio

LocalidadID  integer  

Localidad ID del Socio

CondicionIVAID  integer  

ID del Tipo de Condicion IVA del Socio

CUIT  integer  

CUIT del Socio

Informoto  integer  

Informoto del Socio

Sexo  integer  

Sexo ID del Socio

TipoPersonaID  integer  

Tipo Persona ID del Socio

NacionalidadID  integer  

Nacionalidad ID del Socio

TelefonoParticularCA  integer  

Codigo Area del Telefono Particular del Socio

TelefonoParticular  integer  

Telefono Particular del Socio

TelefonoLaboral  integer  

Telefono Laboral del Socio

CelularCA  integer  

Codigo de Area del Celular del Socio

Celular  integer  

Celular del Socio

TipoActividadID  integer  

Tipo de Actividad ID del Socio

PersonaExpPol  boolean  

Persona Expuesta Polilticamente

Cargo  string  

Cargo del Socio

Tablas

Listar Servicios Contratables

requires authentication

Example request:
curl --request GET \
    --get "api.auxiseg.com.ar/api/listas/servicios" \
    --header "Authorization: Bearer token" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "api.auxiseg.com.ar/api/listas/servicios"
);

const headers = {
    "Authorization": "Bearer token",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (200):


{
    "IdServicio": 1,
    "Descripcion": "Moto 100",
    "NombreCorto": "M100",
    "Costo": "2500.00",
    "Prestaciones": [
        "Auxilio",
        "Remolque hasta 100 km, 2 mensuales"
    ]
}
 

Request      

GET api/listas/servicios

Listar Productos Contratables

requires authentication

Example request:
curl --request GET \
    --get "api.auxiseg.com.ar/api/listas/productos" \
    --header "Authorization: Bearer token" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "api.auxiseg.com.ar/api/listas/productos"
);

const headers = {
    "Authorization": "Bearer token",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/listas/productos

Listar Marcas

requires authentication

Example request:
curl --request GET \
    --get "api.auxiseg.com.ar/api/listas/marcas/alias" \
    --header "Authorization: Bearer token" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "api.auxiseg.com.ar/api/listas/marcas/alias"
);

const headers = {
    "Authorization": "Bearer token",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/listas/marcas/{tipo_vehiculo?}

URL Parameters

tipo_vehiculo  string optional  

vehiculo_id  integer optional  

ID del tipo de Vehiculo que se desea enlistar

Listar Modelos

requires authentication

Example request:
curl --request GET \
    --get "api.auxiseg.com.ar/api/listas/modelos/17/et" \
    --header "Authorization: Bearer token" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "api.auxiseg.com.ar/api/listas/modelos/17/et"
);

const headers = {
    "Authorization": "Bearer token",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/listas/modelos/{marca_id?}/{tipo_vehiculo?}

URL Parameters

marca_id  integer optional  

ID del tipo de la Marca que se desea enlistar

tipo_vehiculo  string optional  

vehiculo_id  integer optional  

ID del tipo de Vehiculo que se desea enlistar

Listar Provincias

requires authentication

Example request:
curl --request GET \
    --get "api.auxiseg.com.ar/api/listas/provincias" \
    --header "Authorization: Bearer token" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "api.auxiseg.com.ar/api/listas/provincias"
);

const headers = {
    "Authorization": "Bearer token",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/listas/provincias

Listar Localidades

requires authentication

Example request:
curl --request GET \
    --get "api.auxiseg.com.ar/api/listas/localidades/molestiae" \
    --header "Authorization: Bearer token" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "api.auxiseg.com.ar/api/listas/localidades/molestiae"
);

const headers = {
    "Authorization": "Bearer token",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/listas/localidades/{id_provincia?}

URL Parameters

id_provincia  string optional  

provincia_id  integer optional  

ID de la Provincia

Listar Sexo

requires authentication

Example request:
curl --request GET \
    --get "api.auxiseg.com.ar/api/listas/Sexo" \
    --header "Authorization: Bearer token" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "api.auxiseg.com.ar/api/listas/Sexo"
);

const headers = {
    "Authorization": "Bearer token",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/listas/Sexo

Listar EstadoCivil

requires authentication

Example request:
curl --request GET \
    --get "api.auxiseg.com.ar/api/listas/EstadoCivil" \
    --header "Authorization: Bearer token" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "api.auxiseg.com.ar/api/listas/EstadoCivil"
);

const headers = {
    "Authorization": "Bearer token",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/listas/EstadoCivil

Listar TipoDocumento

requires authentication

Example request:
curl --request GET \
    --get "api.auxiseg.com.ar/api/listas/TipoDocumento" \
    --header "Authorization: Bearer token" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "api.auxiseg.com.ar/api/listas/TipoDocumento"
);

const headers = {
    "Authorization": "Bearer token",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/listas/TipoDocumento

Listar CondicionIVA

requires authentication

Example request:
curl --request GET \
    --get "api.auxiseg.com.ar/api/listas/CondicionIVA" \
    --header "Authorization: Bearer token" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "api.auxiseg.com.ar/api/listas/CondicionIVA"
);

const headers = {
    "Authorization": "Bearer token",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/listas/CondicionIVA

Listar TipoPersona

requires authentication

Example request:
curl --request GET \
    --get "api.auxiseg.com.ar/api/listas/TipoPersona" \
    --header "Authorization: Bearer token" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "api.auxiseg.com.ar/api/listas/TipoPersona"
);

const headers = {
    "Authorization": "Bearer token",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/listas/TipoPersona

Listar Nacionalidades (Paises)

requires authentication

Example request:
curl --request GET \
    --get "api.auxiseg.com.ar/api/listas/Nacionalidad" \
    --header "Authorization: Bearer token" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "api.auxiseg.com.ar/api/listas/Nacionalidad"
);

const headers = {
    "Authorization": "Bearer token",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/listas/Nacionalidad

Listar TipoActividad

requires authentication

Example request:
curl --request GET \
    --get "api.auxiseg.com.ar/api/listas/TipoActividad" \
    --header "Authorization: Bearer token" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "api.auxiseg.com.ar/api/listas/TipoActividad"
);

const headers = {
    "Authorization": "Bearer token",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/listas/TipoActividad

Listar Entidades Tarjetas

requires authentication

Example request:
curl --request GET \
    --get "api.auxiseg.com.ar/api/listas/EntidadTarjeta" \
    --header "Authorization: Bearer token" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "api.auxiseg.com.ar/api/listas/EntidadTarjeta"
);

const headers = {
    "Authorization": "Bearer token",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/listas/EntidadTarjeta