Parse GS1Code |
- This service allows you to get
EPCs included in GS1 Barcode/QR-code ( Refer to GS1
General Specification )
- Method: get
- REST URL:
http://{base-url}:{base-port}/epcis/Service/CodeParser/{code}
Supported EPC: SGTIN, SSCC,
SGLN, GRAI, GIAI, GSRN, GSRNP, GDTI, CPI, SGCN, LGTIN, GTIN
Supported AI: (11), (13), (30), (310n),
(390n) Additional Parameter: gcpLength
= {integer} Result Format:
application/json Example Query:
http://localhost:8080/epcis/Service/CodeParser/(01)80614141123458(21)6789(10)4222(414)0614141123452(254)333?gcpLength=7
Result of the example: { "sgtin":
"urn:epc:id:sgtin:0614141.812345.6789", "gtin":
"urn:epc:idpat:sgtin:0614141.812345.*", "sgln":
"urn:epc:id:sgln:0614141.12345.333", "lgtin":
"urn:epc:class:lgtin:0614141.812345.4222" }
|