openapi: 3.0.3
info:
title: Repsly Web Clients Import API
description: 'The Repsly Web API (v3) is a REST interface for exchanging data with the Repsly retail execution and field sales platform. It is designed for ERP/CRM integration: import (POST) moves clients and products into Repsly, and export (GET) pulls clients, client notes, visits, retail audits, purchase orders, document types, products, pricelists, forms, photos, daily working time, visit schedules, and representatives back out. All requests use HTTP Basic authentication (API credentials from the Repsly settings page, NOT the login username/password) over SSL, and accept or return JSON or XML. Export endpoints return a maximum of 50 records per call; clients iterate using a timestamp or last-ID cursor and stop when the response MetaCollectionResult.TotalCount is 0.
Endpoint paths and verbs for the export/import surface are grounded in Repsly''s published v3 developer documentation. Request/response schemas below are modeled generically (the docs describe fields per entity but do not publish a machine-readable OpenAPI); treat property-level detail as modeled and confirm exact field names against the live reference at https://api.repsly.com/v3/help.'
version: '3.0'
contact:
name: Repsly
url: https://www.repsly.com
servers:
- url: https://api.repsly.com/v3
description: Repsly Web API v3 (production)
security:
- basicAuth: []
tags:
- name: Import
description: Bulk import surface and import job status.
paths:
/export/importStatus/{importJobID}:
get:
operationId: getImportStatus
tags:
- Import
summary: Get import job status
description: Returns the status of a previously submitted import job, identified by the importJobID returned from an import (POST) call.
parameters:
- name: importJobID
in: path
required: true
description: The import job ID returned by an import call.
schema:
type: string
responses:
'200':
description: The status of the import job.
content:
application/json:
schema:
$ref: '#/components/schemas/ImportResult'
'401':
$ref: '#/components/responses/Unauthorized'
components:
schemas:
ImportResult:
type: object
description: Result of an import (POST) call, including the job identifier.
properties:
importJobID:
type: string
status:
type: string
Error:
type: object
properties:
code:
type: string
message:
type: string
responses:
Unauthorized:
description: Missing or invalid Basic authentication credentials.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
securitySchemes:
basicAuth:
type: http
scheme: basic
description: HTTP Basic authentication over SSL. Use the API username and password from the Repsly settings page (API Settings) - these differ from your Repsly login credentials.