Endpoint is used to import existing place accounts from your system to Repsly – one by one.

Request definition

Keys that determine which records to update or insert are marked with a blue diamond :small-blue-diamond:, while the required keys are marked with a red triangle :small-red-triangle:

Name

Type

Description

Code​ :small-red-triangle: :small-blue-diamond:

String

Unique account code.

Name :small-red-triangle:

String

Account name

Active

Boolean

Active account

LogoUrl

String

Public url to the image file that represents the account logo

Response definition

Name

Type

Description

Code

Integer

Error identifier (0 = no errors)

Message

String (255)

Response affirmative or error message


For a successful HTTP request (code 200), you will always receive a status response with Code equal to 0 (no error) and Message = “Account import job started asynchronously under ID: {ImportJobID}”, where {ImportJobID} is the key you can use to check the current status of the import.

To check the status of the import job you can use ​Import job status endpoint.

In case of a HTTP bad request (code 400), you will also receive a status response with Code not equal to 0 and a descriptive message. For incorrect format or other unhandled errors you will receive an HTMLRequest error page.

Language