POST api/document/{docType}/barcode/scan/upload

Request Information

URI Parameters

NameDescriptionTypeAdditional information
docType

string

Required

Body Parameters

Collection of BarcodeScanModel
NameDescriptionTypeAdditional information
id

integer

None.

barcode_value

string

None.

document_type

string

None.

status

string

None.

node

string

None.

node_id

integer

None.

base_path_id

integer

None.

file_name

string

None.

file_path

string

None.

file_data

Collection of byte

None.

created_date

date

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "barcode_value": "sample string 1",
    "document_type": "sample string 2",
    "status": "sample string 3",
    "node": "sample string 4",
    "node_id": 5,
    "base_path_id": 6,
    "file_name": "sample string 7",
    "file_path": "sample string 8",
    "file_data": "QEA=",
    "created_date": "2026-05-01T21:10:48.0021324+00:00"
  },
  {
    "id": 1,
    "barcode_value": "sample string 1",
    "document_type": "sample string 2",
    "status": "sample string 3",
    "node": "sample string 4",
    "node_id": 5,
    "base_path_id": 6,
    "file_name": "sample string 7",
    "file_path": "sample string 8",
    "file_data": "QEA=",
    "created_date": "2026-05-01T21:10:48.0021324+00:00"
  }
]

text/html

Sample:
[{"id":1,"barcode_value":"sample string 1","document_type":"sample string 2","status":"sample string 3","node":"sample string 4","node_id":5,"base_path_id":6,"file_name":"sample string 7","file_path":"sample string 8","file_data":"QEA=","created_date":"2026-05-01T21:10:48.0021324+00:00"},{"id":1,"barcode_value":"sample string 1","document_type":"sample string 2","status":"sample string 3","node":"sample string 4","node_id":5,"base_path_id":6,"file_name":"sample string 7","file_path":"sample string 8","file_data":"QEA=","created_date":"2026-05-01T21:10:48.0021324+00:00"}]

application/xml, text/xml

Sample:
<ArrayOfBarcodeScanModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LSAtlas_WebAPI.Models">
  <BarcodeScanModel>
    <base_path_id>6</base_path_id>
    <created_date>2026-05-01T21:10:48.0021324+00:00</created_date>
    <file_data>QEA=</file_data>
    <file_name>sample string 7</file_name>
    <file_path>sample string 8</file_path>
    <barcode_value>sample string 1</barcode_value>
    <document_type>sample string 2</document_type>
    <id>1</id>
    <node>sample string 4</node>
    <node_id>5</node_id>
    <status>sample string 3</status>
  </BarcodeScanModel>
  <BarcodeScanModel>
    <base_path_id>6</base_path_id>
    <created_date>2026-05-01T21:10:48.0021324+00:00</created_date>
    <file_data>QEA=</file_data>
    <file_name>sample string 7</file_name>
    <file_path>sample string 8</file_path>
    <barcode_value>sample string 1</barcode_value>
    <document_type>sample string 2</document_type>
    <id>1</id>
    <node>sample string 4</node>
    <node_id>5</node_id>
    <status>sample string 3</status>
  </BarcodeScanModel>
</ArrayOfBarcodeScanModel>

multipart/form-data

Sample:
<ArrayOfBarcodeScanModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LSAtlas_WebAPI.Models"><BarcodeScanModel><base_path_id>6</base_path_id><created_date>2026-05-01T21:10:48.0021324+00:00</created_date><file_data>QEA=</file_data><file_name>sample string 7</file_name><file_path>sample string 8</file_path><barcode_value>sample string 1</barcode_value><document_type>sample string 2</document_type><id>1</id><node>sample string 4</node><node_id>5</node_id><status>sample string 3</status></BarcodeScanModel><BarcodeScanModel><base_path_id>6</base_path_id><created_date>2026-05-01T21:10:48.0021324+00:00</created_date><file_data>QEA=</file_data><file_name>sample string 7</file_name><file_path>sample string 8</file_path><barcode_value>sample string 1</barcode_value><document_type>sample string 2</document_type><id>1</id><node>sample string 4</node><node_id>5</node_id><status>sample string 3</status></BarcodeScanModel></ArrayOfBarcodeScanModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json, text/html

Sample:
true

application/xml, text/xml, multipart/form-data

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>