Import File

Description

This service imports a file for the authenticated user.


Request

Restrictions

This service requires an authenticated user and can only be called after a successful login as it Requires an authenticated user.

Endpoint

POST https://<server-url>/api/v4/import/file

Parameters

You can pass the following authentication credentials as query parameters or HTTP headers.

Parameter
Location
Description

touchpoint

Query / Header

The identifier for the touchpoint. Use Thalamus-Touchpoint for the header.

token

Query / Header

The authentication token for the API session. Use Thalamus-Token for the header.

name

Query / Header

Name that identifiers the import

type

Query / Header

File Import type.

Content-Type

multipart/form-data

file

(form-data)

SUPPORTED TYPES:

  • Physical location = 25006

  • Company = 25004

  • Partner Sales = 25011

  • Partner Stock = 25012

Full URL Example

--form 'file=@"/C:/TEMP/test/PartnerSaleImporter.xlsx"'


Response

✅ Successful Response: 200 Ok

  • HTTP Status Code: 200 Ok

Example Response

JSON

❌ Unsuccessful Response: 400 Bad Request

  • HTTP Status Code: 400 Bad Request

  • Body: A JSON object containing details about the error.

Example Response

JSON

Last updated

Was this helpful?