RRUFUS Help

Modelos

Modelo do esquema

O envelopeQualquer objeto

Definição do objeto EnvelopeAny.

CampoTipoObrigatórioDescrição
bodyanyOpcionalOperation result body.
Exemplo JSON
{
  "body": "string"
}
Modelo do esquema

O objeto EnvelopeNull

Definição do objeto EnvelopeNull.

CampoTipoObrigatórioDescrição
bodyany | nullObrigatório
Exemplo JSON
{
  "body": "string"
}
Modelo do esquema

O objeto de paginação

Definição do objeto Pagination.

CampoTipoObrigatórioDescrição
pageintegerObrigatório
limitintegerObrigatório
totalintegerObrigatório
has_morebooleanObrigatório
Exemplo JSON
{
  "page": 1,
  "limit": 1,
  "total": 1,
  "has_more": true
}
Modelo do esquema

O objeto DeviceSummary

Definição do objeto DeviceSummary.

CampoTipoObrigatórioDescrição
deviceidstringObrigatório
typestringObrigatório
modelstringObrigatório
aliasstringObrigatório
firmwarestring | nullOpcional
serial_numberstringObrigatório
last_loginstring<date-time> | nullOpcional
creation_datestring<date-time> | nullOpcional
sessionsintegerOpcional
device_statusstring | nullOpcional
battery_percentageinteger | nullOpcional
chargingboolean | nullOpcional
last_telemetry_atstring<date-time> | nullOpcional
last_reported_latitudenumber | nullOpcional
last_reported_longitudenumber | nullOpcional
Exemplo JSON
{
  "deviceid": "DEVICE_ID",
  "type": "string",
  "model": "string",
  "alias": "string",
  "firmware": "string",
  "serial_number": "string",
  "last_login": "2026-09-02T10:30:00.000Z",
  "creation_date": "2026-09-02T10:30:00.000Z",
  "sessions": 1,
  "device_status": "string",
  "battery_percentage": 1,
  "charging": true,
  "last_telemetry_at": "2026-09-02T10:30:00.000Z",
  "last_reported_latitude": 1,
  "last_reported_longitude": 1
}
Modelo do esquema

O objeto DeviceDetails

Definição do objeto DeviceDetails.

Este esquema não define propriedades nomeadas.

Exemplo JSON
{
  "deviceid": "DEVICE_ID",
  "type": "string",
  "model": "string",
  "alias": "string",
  "firmware": "string",
  "serial_number": "string",
  "last_login": "2026-09-02T10:30:00.000Z",
  "creation_date": "2026-09-02T10:30:00.000Z",
  "sessions": 1,
  "device_status": "string",
  "battery_percentage": 1,
  "charging": true,
  "last_telemetry_at": "2026-09-02T10:30:00.000Z",
  "last_reported_latitude": 1,
  "last_reported_longitude": 1,
  "passings": 1,
  "last_seen": "2026-09-02T10:30:00.000Z",
  "battery_volts": 1,
  "temperature_celsius": 1,
  "gps_accuracy_m": 1,
  "network_type": "string",
  "signal_strength": 1
}
Modelo do esquema

O objeto BindDeviceRequest

Definição do objeto BindDeviceRequest.

CampoTipoObrigatórioDescrição
typestringObrigatório
modelstringObrigatório
serial_numberstringObrigatório
aliasstringOpcional
firmwarestringOpcional
Exemplo JSON
{
  "type": "string",
  "model": "string",
  "serial_number": "string",
  "alias": "string",
  "firmware": "string"
}
Modelo do esquema

O objeto BindDeviceResponse

Definição do objeto BindDeviceResponse.

CampoTipoObrigatórioDescrição
bodyobjectObrigatório
Exemplo JSON
{
  "body": {
    "description": "string",
    "deviceid": "DEVICE_ID",
    "already_binded": true
  }
}
Modelo do esquema

O objeto UnbindDeviceResponse

Definição do objeto UnbindDeviceResponse.

CampoTipoObrigatórioDescrição
bodyobjectObrigatório
Exemplo JSON
{
  "body": {
    "description": "string",
    "deviceid": "DEVICE_ID"
  }
}
Modelo do esquema

O objeto DevicesListResponse

Definição do objeto DevicesListResponse.

CampoTipoObrigatórioDescrição
bodyobjectObrigatório
Exemplo JSON
{
  "body": {
    "description": "string",
    "result": [
      {
        "deviceid": "DEVICE_ID",
        "type": "string",
        "model": "string",
        "alias": "string",
        "firmware": "string",
        "serial_number": "string",
        "last_login": "2026-09-02T10:30:00.000Z",
        "creation_date": "2026-09-02T10:30:00.000Z",
        "sessions": 1,
        "device_status": "string",
        "battery_percentage": 1,
        "charging": true,
        "last_telemetry_at": "2026-09-02T10:30:00.000Z",
        "last_reported_latitude": 1,
        "last_reported_longitude": 1
      }
    ],
    "pagination": {
      "page": 1,
      "limit": 1,
      "total": 1,
      "has_more": true
    }
  }
}
Modelo do esquema

O objeto DeviceGetResponse

Definição do objeto DeviceGetResponse.

CampoTipoObrigatórioDescrição
bodyobjectObrigatório
Exemplo JSON
{
  "body": {
    "description": "string",
    "result": {
      "deviceid": "DEVICE_ID",
      "type": "string",
      "model": "string",
      "alias": "string",
      "firmware": "string",
      "serial_number": "string",
      "last_login": "2026-09-02T10:30:00.000Z",
      "creation_date": "2026-09-02T10:30:00.000Z",
      "sessions": 1,
      "device_status": "string",
      "battery_percentage": 1,
      "charging": true,
      "last_telemetry_at": "2026-09-02T10:30:00.000Z",
      "last_reported_latitude": 1,
      "last_reported_longitude": 1,
      "passings": 1,
      "last_seen": "2026-09-02T10:30:00.000Z",
      "battery_volts": 1,
      "temperature_celsius": 1,
      "gps_accuracy_m": 1,
      "network_type": "string",
      "signal_strength": 1
    }
  }
}
Modelo do esquema

O objeto DeviceTelemetryRequest

At least one telemetry field is required.

CampoTipoObrigatórioDescrição
reported_atstring<date-time>Opcional
device_statusstringOpcional
battery_percentageintegerOpcional
battery_voltsnumberOpcional
chargingbooleanOpcional
temperature_celsiusintegerOpcional
latitudenumberOpcional
longitudenumberOpcional
gps_accuracy_mnumberOpcional
network_typestringOpcional
signal_strengthintegerOpcional
Exemplo JSON
{
  "reported_at": "2026-09-02T10:30:00.000Z",
  "device_status": "string",
  "battery_percentage": 1,
  "battery_volts": 1,
  "charging": true,
  "temperature_celsius": 1,
  "latitude": 1,
  "longitude": 1,
  "gps_accuracy_m": 1,
  "network_type": "string",
  "signal_strength": 1
}
Modelo do esquema

O objeto DeviceTelemetryResponse

Definição do objeto DeviceTelemetryResponse.

CampoTipoObrigatórioDescrição
bodyobjectObrigatório
Exemplo JSON
{
  "body": {
    "description": "string",
    "deviceid": "DEVICE_ID",
    "result": {
      "deviceid": "DEVICE_ID",
      "last_telemetry_at": "2026-09-02T10:30:00.000Z",
      "device_status": "string",
      "battery_percentage": 1,
      "battery_volts": 1,
      "charging": true,
      "temperature_celsius": 1,
      "last_reported_latitude": 1,
      "last_reported_longitude": 1,
      "gps_accuracy_m": 1,
      "network_type": "string",
      "signal_strength": 1
    }
  }
}
Modelo do esquema

O objeto CreateSessionRequest

Definição do objeto CreateSessionRequest.

CampoTipoObrigatórioDescrição
deviceidstringObrigatório
aliasstringOpcional
Exemplo JSON
{
  "deviceid": "DEVICE_ID",
  "alias": "string"
}
Modelo do esquema

O objeto CreateSessionResponse

Definição do objeto CreateSessionResponse.

CampoTipoObrigatórioDescrição
bodyobjectObrigatório
Exemplo JSON
{
  "body": {
    "description": "string",
    "token_session": "SESSION_TOKEN"
  }
}
Modelo do esquema

O objeto CloseSessionResponse

Definição do objeto CloseSessionResponse.

CampoTipoObrigatórioDescrição
bodyobjectObrigatório
Exemplo JSON
{
  "body": {
    "description": "string",
    "token_session": "SESSION_TOKEN"
  }
}
Modelo do esquema

O objeto SessionDetails

Definição do objeto SessionDetails.

CampoTipoObrigatórioDescrição
token_sessionstringObrigatório
aliasstringObrigatório
creation_datestring<date-time>Opcional
durationnumber | nullOpcional
activebooleanObrigatório
passingsintegerOpcional
firststring<date-time> | nullOpcional
laststring<date-time> | nullOpcional
Exemplo JSON
{
  "token_session": "SESSION_TOKEN",
  "alias": "string",
  "creation_date": "2026-09-02T10:30:00.000Z",
  "duration": 1,
  "active": true,
  "passings": 1,
  "first": "2026-09-02T10:30:00.000Z",
  "last": "2026-09-02T10:30:00.000Z"
}
Modelo do esquema

O objeto SessionSummary

Definição do objeto SessionSummary.

CampoTipoObrigatórioDescrição
token_sessionstringObrigatório
aliasstringObrigatório
creation_datestring<date-time>Opcional
durationnumber | nullOpcional
activebooleanObrigatório
passingsintegerOpcional
Exemplo JSON
{
  "token_session": "SESSION_TOKEN",
  "alias": "string",
  "creation_date": "2026-09-02T10:30:00.000Z",
  "duration": 1,
  "active": true,
  "passings": 1
}
Modelo do esquema

O objeto SessionGetResponse

Definição do objeto SessionGetResponse.

CampoTipoObrigatórioDescrição
bodyobjectObrigatório
Exemplo JSON
{
  "body": {
    "description": "string",
    "result": [
      {
        "token_session": "SESSION_TOKEN",
        "alias": "string",
        "creation_date": "2026-09-02T10:30:00.000Z",
        "duration": 1,
        "active": true,
        "passings": 1,
        "first": "2026-09-02T10:30:00.000Z",
        "last": "2026-09-02T10:30:00.000Z"
      }
    ]
  }
}
Modelo do esquema

O objeto SessionsListResponse

Definição do objeto SessionsListResponse.

CampoTipoObrigatórioDescrição
bodyobjectObrigatório
Exemplo JSON
{
  "body": {
    "description": "string",
    "result": [
      {
        "token_session": "SESSION_TOKEN",
        "alias": "string",
        "creation_date": "2026-09-02T10:30:00.000Z",
        "duration": 1,
        "active": true,
        "passings": 1
      }
    ]
  }
}
Modelo do esquema

O objeto de passagem

Definição do objeto Passing.

CampoTipoObrigatórioDescrição
timestampstring<date-time>Obrigatório
num_passingintegerObrigatório
bibstringObrigatório
participant_idstring | nullOpcional
chipstring | nullOpcional
latitudenumber | nullOpcional
longitudenumber | nullOpcional
statusstring | nullOpcional
timezonestring | nullOpcional
genderstring | nullOpcional
Exemplo JSON
{
  "timestamp": "2026-09-02T10:30:00.000Z",
  "num_passing": 1,
  "bib": "string",
  "participant_id": "string",
  "chip": "string",
  "latitude": 1,
  "longitude": 1,
  "status": "string",
  "timezone": "string",
  "gender": "string"
}
Modelo do esquema

O objeto InsertPassingsRequest

Definição do objeto InsertPassingsRequest.

CampoTipoObrigatórioDescrição
token_sessionstringObrigatório
passings_listarray<Passing>Obrigatório
Exemplo JSON
{
  "token_session": "SESSION_TOKEN",
  "passings_list": [
    {
      "timestamp": "2026-09-02T10:30:00.000Z",
      "num_passing": 1,
      "bib": "string",
      "participant_id": "string",
      "chip": "string",
      "latitude": 1,
      "longitude": 1,
      "status": "string",
      "timezone": "string",
      "gender": "string"
    }
  ]
}
Modelo do esquema

O objeto InsertPassingsResponse

Definição do objeto InsertPassingsResponse.

CampoTipoObrigatórioDescrição
bodyobjectObrigatório
Exemplo JSON
{
  "body": {
    "description": "string",
    "token_session": "SESSION_TOKEN",
    "inserted_count": 1,
    "duplicate_count": 1
  }
}
Modelo do esquema

O objeto PassingsListResponse

Definição do objeto PassingsListResponse.

CampoTipoObrigatórioDescrição
bodyobjectObrigatório
Exemplo JSON
{
  "body": {
    "description": "string",
    "result": [
      {
        "timestamp": "2026-09-02T10:30:00.000Z",
        "num_passing": 1,
        "bib": "string",
        "participant_id": "string",
        "chip": "string",
        "latitude": 1,
        "longitude": 1,
        "status": "string",
        "timezone": "string",
        "gender": "string"
      }
    ]
  }
}
Modelo do esquema

O objeto EventSummary

Definição do objeto EventSummary.

CampoTipoObrigatórioDescrição
event_tokenstringObrigatório
namestring | nullOpcional
editionstring | nullOpcional
locationstring | nullOpcional
start_datestring<date-time> | nullOpcional
end_datestring<date-time> | nullOpcional
statusstring | nullOpcional
Exemplo JSON
{
  "event_token": "EVENT_TOKEN",
  "name": "Sample name",
  "edition": "string",
  "location": "string",
  "start_date": "2026-09-02T10:30:00.000Z",
  "end_date": "2026-09-02T10:30:00.000Z",
  "status": "string"
}
Modelo do esquema

O objeto EventsListResponse

Definição do objeto EventsListResponse.

CampoTipoObrigatórioDescrição
bodyobjectObrigatório
Exemplo JSON
{
  "body": {
    "description": "string",
    "result": [
      {
        "event_token": "EVENT_TOKEN",
        "name": "Sample name",
        "edition": "string",
        "location": "string",
        "start_date": "2026-09-02T10:30:00.000Z",
        "end_date": "2026-09-02T10:30:00.000Z",
        "status": "string"
      }
    ],
    "pagination": {
      "page": 1,
      "limit": 1,
      "total": 1,
      "has_more": true
    }
  }
}
Modelo do esquema

O objeto EventGetResponse

Definição do objeto EventGetResponse.

CampoTipoObrigatórioDescrição
bodyobjectObrigatório
Exemplo JSON
{
  "body": {
    "description": "string",
    "result": {}
  }
}
Modelo do esquema

O objeto CustomField

Definição do objeto CustomField.

CampoTipoObrigatórioDescrição
field_namestringObrigatório
valuestring | nullObrigatório
Exemplo JSON
{
  "field_name": "Sample name",
  "value": "string"
}
Modelo do esquema

O objeto Participante

Definição do objeto Participant.

CampoTipoObrigatórioDescrição
namestringObrigatório
lastnamestring | nullOpcional
bibstring | nullObrigatório
chipstring | nullOpcional
genderstring | nullOpcional
dobstring<date-time> | nullOpcional
yobinteger | nullOpcional
countrystring | nullOpcional
citystring | nullOpcional
age_groupstring | nullOpcional
teamstring | nullOpcional
clubstring | nullOpcional
emailstring<email> | nullOpcional
telephonestring | nullOpcional
group_idstring | nullOpcional
race_tokenstring | nullOpcional
custom_fieldsarray<CustomField>Opcional
individual_start_timestring | nullOpcionalHH:mm:ss
Exemplo JSON
{
  "name": "Sample name",
  "lastname": "Sample name",
  "bib": "string",
  "chip": "string",
  "gender": "string",
  "dob": "2026-09-02T10:30:00.000Z",
  "yob": 1,
  "country": "string",
  "city": "string",
  "age_group": "string",
  "team": "string",
  "club": "string",
  "email": "timer@example.com",
  "telephone": "string",
  "group_id": "string",
  "race_token": "string",
  "custom_fields": [
    {
      "field_name": "Sample name",
      "value": "string"
    }
  ],
  "individual_start_time": "string"
}
Modelo do esquema

O objeto CreateParticipantRequest

Definição do objeto CreateParticipantRequest.

Este esquema não define propriedades nomeadas.

Exemplo JSON
{
  "name": "Sample name",
  "lastname": "Sample name",
  "bib": "string",
  "chip": "string",
  "gender": "string",
  "dob": "2026-09-02T10:30:00.000Z",
  "yob": 1,
  "country": "string",
  "city": "string",
  "age_group": "string",
  "team": "string",
  "club": "string",
  "email": "timer@example.com",
  "telephone": "string",
  "group_id": "string",
  "race_token": "string",
  "custom_fields": [
    {
      "field_name": "Sample name",
      "value": "string"
    }
  ],
  "individual_start_time": "string"
}
Modelo do esquema

O objeto ParticipantSummary

Definição do objeto ParticipantSummary.

CampoTipoObrigatórioDescrição
event_tokenstringObrigatório
participant_tokenstringObrigatório
namestringObrigatório
lastnamestring | nullOpcional
bibstring | nullOpcional
chipstring | nullOpcional
statusstring | nullOpcional
genderstring | nullOpcional
dobstring<date-time> | nullOpcional
yobinteger | nullOpcional
countrystring | nullOpcional
citystring | nullOpcional
age_groupstring | nullOpcional
teamstring | nullOpcional
clubstring | nullOpcional
emailstring<email> | nullOpcional
telephonestring | nullOpcional
group_idstring | nullOpcional
race_tokenstring | nullOpcional
custom_fieldsarray<CustomField>Opcional
individual_start_timestring | nullOpcional
Exemplo JSON
{
  "event_token": "EVENT_TOKEN",
  "participant_token": "PARTICIPANT_TOKEN",
  "name": "Sample name",
  "lastname": "Sample name",
  "bib": "string",
  "chip": "string",
  "status": "string",
  "gender": "string",
  "dob": "2026-09-02T10:30:00.000Z",
  "yob": 1,
  "country": "string",
  "city": "string",
  "age_group": "string",
  "team": "string",
  "club": "string",
  "email": "timer@example.com",
  "telephone": "string",
  "group_id": "string",
  "race_token": "string",
  "custom_fields": [
    {
      "field_name": "Sample name",
      "value": "string"
    }
  ],
  "individual_start_time": "string"
}
Modelo do esquema

O objeto ParticipantsListResponse

Definição do objeto ParticipantsListResponse.

CampoTipoObrigatórioDescrição
bodyobjectObrigatório
Exemplo JSON
{
  "body": {
    "description": "string",
    "result": [
      {
        "event_token": "EVENT_TOKEN",
        "participant_token": "PARTICIPANT_TOKEN",
        "name": "Sample name",
        "lastname": "Sample name",
        "bib": "string",
        "chip": "string",
        "status": "string",
        "gender": "string",
        "dob": "2026-09-02T10:30:00.000Z",
        "yob": 1,
        "country": "string",
        "city": "string",
        "age_group": "string",
        "team": "string",
        "club": "string",
        "email": "timer@example.com",
        "telephone": "string",
        "group_id": "string",
        "race_token": "string",
        "custom_fields": [
          {
            "field_name": "Sample name",
            "value": "string"
          }
        ],
        "individual_start_time": "string"
      }
    ],
    "pagination": {
      "page": 1,
      "limit": 1,
      "total": 1,
      "has_more": true
    }
  }
}
Modelo do esquema

O objeto ParticipantGetResponse

Definição do objeto ParticipantGetResponse.

CampoTipoObrigatórioDescrição
bodyobjectObrigatório
Exemplo JSON
{
  "body": {
    "description": "string",
    "result": {
      "event_token": "EVENT_TOKEN",
      "participant_token": "PARTICIPANT_TOKEN",
      "name": "Sample name",
      "lastname": "Sample name",
      "bib": "string",
      "chip": "string",
      "status": "string",
      "gender": "string",
      "dob": "2026-09-02T10:30:00.000Z",
      "yob": 1,
      "country": "string",
      "city": "string",
      "age_group": "string",
      "team": "string",
      "club": "string",
      "email": "timer@example.com",
      "telephone": "string",
      "group_id": "string",
      "race_token": "string",
      "custom_fields": [
        {
          "field_name": "Sample name",
          "value": "string"
        }
      ],
      "individual_start_time": "string"
    }
  }
}
Modelo do esquema

O objeto CreateParticipantResponse

Definição do objeto CreateParticipantResponse.

CampoTipoObrigatórioDescrição
bodyobjectObrigatório
Exemplo JSON
{
  "body": {
    "description": "string",
    "event_token": "EVENT_TOKEN",
    "participant_token": "PARTICIPANT_TOKEN",
    "result": {}
  }
}
Este artigo foi útil?Nossa equipe está aqui quando você precisar de ajuda.
Falar com o suporte