Barcodes API
Barcodes API
- application/json
Request Body
order_sample_details object[]
Responses
- 200
- application/json
- Schema
- Response
Schema
- any
{
"status": "<success/error>",
"message": "<str>"
}
POST /cerberus/dexter_third_party_service/v1/external/barcodes
Request
Request
curl / cURL
curl -L -X POST 'https://jupiterinternalapi.1mg.com/cerberus/dexter_third_party_service/v1/external/barcodes' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"order_sample_details": [
{
"lab_barcode": [
"a1234567",
"b1234567"
],
"order_sample_id": 1234
},
{
"lab_barcode": [
"a12367",
"7673"
],
"order_sample_id": 345
}
]
}'
python / requests
curl -L -X POST 'https://jupiterinternalapi.1mg.com/cerberus/dexter_third_party_service/v1/external/barcodes' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"order_sample_details": [
{
"lab_barcode": [
"a1234567",
"b1234567"
],
"order_sample_id": 1234
},
{
"lab_barcode": [
"a12367",
"7673"
],
"order_sample_id": 345
}
]
}'
go / native
curl -L -X POST 'https://jupiterinternalapi.1mg.com/cerberus/dexter_third_party_service/v1/external/barcodes' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"order_sample_details": [
{
"lab_barcode": [
"a1234567",
"b1234567"
],
"order_sample_id": 1234
},
{
"lab_barcode": [
"a12367",
"7673"
],
"order_sample_id": 345
}
]
}'
nodejs / axios
curl -L -X POST 'https://jupiterinternalapi.1mg.com/cerberus/dexter_third_party_service/v1/external/barcodes' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"order_sample_details": [
{
"lab_barcode": [
"a1234567",
"b1234567"
],
"order_sample_id": 1234
},
{
"lab_barcode": [
"a12367",
"7673"
],
"order_sample_id": 345
}
]
}'
ruby / Net::HTTP
curl -L -X POST 'https://jupiterinternalapi.1mg.com/cerberus/dexter_third_party_service/v1/external/barcodes' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"order_sample_details": [
{
"lab_barcode": [
"a1234567",
"b1234567"
],
"order_sample_id": 1234
},
{
"lab_barcode": [
"a12367",
"7673"
],
"order_sample_id": 345
}
]
}'
csharp / RestSharp
curl -L -X POST 'https://jupiterinternalapi.1mg.com/cerberus/dexter_third_party_service/v1/external/barcodes' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"order_sample_details": [
{
"lab_barcode": [
"a1234567",
"b1234567"
],
"order_sample_id": 1234
},
{
"lab_barcode": [
"a12367",
"7673"
],
"order_sample_id": 345
}
]
}'
php / cURL
curl -L -X POST 'https://jupiterinternalapi.1mg.com/cerberus/dexter_third_party_service/v1/external/barcodes' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"order_sample_details": [
{
"lab_barcode": [
"a1234567",
"b1234567"
],
"order_sample_id": 1234
},
{
"lab_barcode": [
"a12367",
"7673"
],
"order_sample_id": 345
}
]
}'
java / OkHttp
curl -L -X POST 'https://jupiterinternalapi.1mg.com/cerberus/dexter_third_party_service/v1/external/barcodes' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"order_sample_details": [
{
"lab_barcode": [
"a1234567",
"b1234567"
],
"order_sample_id": 1234
},
{
"lab_barcode": [
"a12367",
"7673"
],
"order_sample_id": 345
}
]
}'
powershell / RestMethod
curl -L -X POST 'https://jupiterinternalapi.1mg.com/cerberus/dexter_third_party_service/v1/external/barcodes' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"order_sample_details": [
{
"lab_barcode": [
"a1234567",
"b1234567"
],
"order_sample_id": 1234
},
{
"lab_barcode": [
"a12367",
"7673"
],
"order_sample_id": 345
}
]
}'