Eco Codes and Taxes
Get all code from filière REP and taxes associated.
Create a new user
POST https://api.transiteo.io/v1/ecocode/find
Get all REP codes and taxes associated
Headers
Name
Description
Type
Content-Type
application/json
string
Authorization
id token from cognito
string
JSON REQUEST EXEMPLE
{
"title": "Smartphone",
"weight": 700,
"weight_unit": "g"
}
OU SI PLUSIEURS REQUÊTES
{
"ecoCodeFinderRequests": [
{
"title": "Télévision UHD Samsung",
"weight": 20,
"weight_unit": "kg"
},
{
"title": "Smartphone",
"weight": 280,
"weight_unit": "g"
},
{
"title": "Vélo de route",
"weight": 2805,
"weight_unit": "g"
}
]
}Request fields & values
"title"
You need to fill this field with a product's title or description. Examples : Samsung Galaxy 8 Type : string Required : yes
"products" / "weight"
You need to fill the "weight" field of the product with a number. Examples : 12 or 3.5 Type : number Required : yes.
"products" / "weight_unit"
You need fill the "weight_unit" field with one of this two labels : - "kg" : if you use the international metric system - "lbs" : if you use the imperial system Type : string Required : yes
Response
{
"EMBM_Citeo_id": "P120304#Citeo",
"EMBM_Citeo_tarif": 0.0204,
"EMBM_Leko_id": "P120304#Leko",
"EMBM_Leko_tarif": 0.0168,
"PAPIER_Citeo_id": "notice_MatérielGrandPublic#Citeo",
"PAPIER_Citeo_tarif": 0.005849999999999999
}
OU SI PLUSIEURS REQUÊTES
[
{
"EMBM_Citeo_id": "P120304#Citeo",
"EMBM_Citeo_tarif": 0.0204,
"EMBM_Leko_id": "P120304#Leko",
"EMBM_Leko_tarif": 0.0168,
"PAPIER_Citeo_id": "notice_MatérielGrandPublic#Citeo",
"PAPIER_Citeo_tarif": 0.005849999999999999
},
{
"EMBM_Citeo_id": "P120304#Citeo",
"EMBM_Citeo_tarif": 0.0204,
"EMBM_Leko_id": "P120304#Leko",
"EMBM_Leko_tarif": 0.0168,
"PAPIER_Citeo_id": "notice_MatérielGrandPublic#Citeo",
"PAPIER_Citeo_tarif": 0.005849999999999999
},
{
"EMBM_Citeo_id": "P120304#Citeo",
"EMBM_Citeo_tarif": 0.0204,
"EMBM_Leko_id": "P120304#Leko",
"EMBM_Leko_tarif": 0.0168,
"PAPIER_Citeo_id": "notice_MatérielGrandPublic#Citeo",
"PAPIER_Citeo_tarif": 0.005849999999999999
}
]Incorrect Json (json body request incorrect) : a description of the error will be returned1. Max requests exceed
{
"code": "MAX_REQUESTS_EXCEED",
"httpCode": 403,
"name": "ClientError",
"message": "You've reached the max requests authorized for your account. Please contact our service to upgrade your account",
"details": [
{
"parameter": {
"name": "UserRequests",
"value": "${leftCredits}"
},
"causes": [
"Max requests authorized for your account is ${capacity}. Left credits is ${leftCredits}"
]
}
]
}
2. TRIAL_LIMIT_EXCEED
{
"code": "TRIAL_LIMIT_EXCEED",
"httpCode": 403,
"name": "ClientError",
"message": "You have exceeded the trial limit. Please contact our service to upgrade your account",
"details": [
{
"parameter": {
"name": "UserTrialLimit",
"value": "${validity} days"
},
"causes": [
"User trial is limited to ${validity} days of usage"
]
}
]
}{
"code": "UNEXPECTED_ERROR",
"httpCode": 500,
"reason": "Please try again or contact our service",
}Last updated