-
Notifications
You must be signed in to change notification settings - Fork 54
9. Tag Data Translation Engine (TDT Engine)
Jaewook Byun edited this page Aug 22, 2023
·
1 revision
Copyright © 2020-2023 Jaewook Byun all rights reserved.
- Oliot EPCIS 2.0 embeds TDT Engine for supporting both EPC and GS1 Digital Link
- Additionally, we provide a simple web service for users to translate one format to the others.
- Description: translate an EPC Pure Identity URI to the other code schemes
- Request URL:
http://localhost:8080/epcis/tdt/urn:epc:id:sgtin:0614141.107346.2017
(example) - Request path variable:
- id: EPC Pure Identity URI (e.g.,
urn:epc:id:sgtin:0614141.107346.2017
)
- id: EPC Pure Identity URI (e.g.,
- Response Status: 200 OK (Example)
- Response Body (application/json)
{
"epc": "urn:epc:id:sgtin:0614141.107346.2017",
"dl": "https://id.gs1.org/01/10614141073464/21/2017",
"companyPrefix": "0614141",
"indicator": "1",
"itemRef": "07346",
"checkDigit": "4",
"serialNumber": "2017",
"isLicensedCompanyPrefix": true,
"type": "SGTIN"
}
- Description: translate any code scheme to the other code schemes
- Request URL: http://localhost:8080/epcis/tdt
- Request Body (application/json):
{
"id" : "https://id.gs1.org/01/10614141073464/21/2017"
}
- Response Status: 200 OK (Example)
- Response Body (application/json)
{
"epc": "urn:epc:id:sgtin:0614141.107346.2017",
"dl": "https://id.gs1.org/01/10614141073464/21/2017",
"companyPrefix": "0614141",
"indicator": "1",
"itemRef": "07346",
"checkDigit": "4",
"serialNumber": "2017",
"isLicensedCompanyPrefix": true,
"type": "SGTIN"
}