Public
Documentation Settings

SIMA API Doc Full

Bateria de pruebas de la API

POSTTest_Register_New_User

http://{{API_HOST}}:{{API_PORT}}/api/v1/users/register?monitoringArea=-1000&phoneNumber=32165487
HEADERS
Content-Type

application/json

{{X-SIMA-APIKEY}}

{{API_KEY_ROLE_API}}

PARAMS
monitoringArea

-1000

phoneNumber

32165487

Bodyraw
{
    "countryId": "{{new_country_id}}",
    "email": "{{new_user_email}}",
    "plainPassword": "aaa"
}
Example Request
curl
curl --location -g 'http://{{API_HOST}}:{{API_PORT}}/api/v1/users/register?monitoringArea=-1000&phoneNumber=32165487' \
--header 'Content-Type: application/json' \
--header '{{X-SIMA-APIKEY}}: {{API_KEY_ROLE_API}}' \
--data '{
    "countryId": "{{new_country_id}}",
    "email": "{{new_user_email}}",
    "plainPassword": "aaa"
}'
Example Response
No response body
This request doesn't return any response body
No response headers
This request doesn't return any response headers

POSTTest_Login

http://{{API_HOST}}:{{API_PORT}}/api/v2/login
HEADERS
Accept

application/json

Content-Type

application/json

Bodyraw (json)
json
{
    "email":"{{new_user_email}}",
    "password":"{{MASTER_PASSWORD}}",
    "deviceId":null,
    "appVersion":null,
    "androidVersion": null
}
Example Request
curl
curl --location -g 'http://{{API_HOST}}:{{API_PORT}}/api/v2/login' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
    "email":"{{new_user_email}}",
    "password":"{{MASTER_PASSWORD}}",
    "deviceId":null,
    "appVersion":null,
    "androidVersion": null
}'
Example Response
No response body
This request doesn't return any response body
No response headers
This request doesn't return any response headers

GETTest_Download_Master_Part_1

http://{{API_HOST}}:{{API_PORT}}/api/v1/download_masterdata?date=1900-01-01&part=1
HEADERS
{{X-SIMA-APIKEY}}

{{new_api_key}}

X-SIMA-SYSTEM-ID

{{system_id}}

X-SIMA-CLIENT

app/android

X-SIMA-CLIENT-VERSION

{{app_version}}

Accept

application/json

Content-Type

application/json

Accept-Encoding

gzip

PARAMS
date

1900-01-01

part

1

Example Request
curl
curl --location -g 'http://{{API_HOST}}:{{API_PORT}}/api/v1/download_masterdata?date=1900-01-01&part=1' \
--header '{{X-SIMA-APIKEY}}: {{new_api_key}}' \
--header 'X-SIMA-SYSTEM-ID: {{system_id}}' \
--header 'X-SIMA-CLIENT: app/android' \
--header 'X-SIMA-CLIENT-VERSION: {{app_version}}' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Accept-Encoding: gzip'
Example Response
No response body
This request doesn't return any response body
No response headers
This request doesn't return any response headers