curl --request POST \
--url https://api-v2.production.higg.org/pic-api/v1/material-library/material-list \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--header 'x-developer-request-token: <api-key>' \
--data '
{
"filter": {
"logic": "<string>",
"filters": [
{
"field": "<string>",
"operator": "<string>",
"value": {}
}
]
},
"skip": 123,
"take": 123,
"sort": [
{
"field": "<string>",
"dir": "<string>",
"isNotNested": true
}
],
"searchStr": "<string>"
}
'{
"total": 123,
"hits": [
{
"_id": "<string>",
"type": "<string>",
"name": "<string>",
"t2GlobalWarmingImpact": 123,
"t3GlobalWarmingImpact": 123,
"t4GlobalWarmingImpact": 123,
"createdOn": 123,
"user": {
"_id": "<string>",
"email": "<string>",
"firstname": "<string>",
"lastname": "<string>"
},
"account": {
"_id": "<string>",
"name": "<string>",
"country": "<string>",
"sacId": 123,
"oar_id": "<string>",
"demoaccount": true,
"vbType": "None",
"socialCreditId": "<string>",
"taxId": "<string>",
"bluesignId": "<string>",
"zdhcId": "<string>",
"ipeViolation": {
"totalViolations": 123
},
"ffcId": 123,
"approvalStatus": "Approved"
},
"totalMaterialGlobalWarmingImpact": 123,
"_rev": "<string>",
"code": "<string>",
"category": "<string>",
"supplierCountry": "<string>",
"nameId": "<string>",
"supplier": "<string>",
"country": "<string>",
"tier2": {
"isDefault": true,
"assessment": {
"_id": "<string>",
"rfi_pid": "fem2017",
"surveyVersion": "<string>",
"country": "<string>",
"processName": "<string>"
},
"facility": {
"_id": "<string>",
"name": "<string>",
"country": "<string>",
"sacId": 123,
"oar_id": "<string>",
"demoaccount": true,
"vbType": "None",
"socialCreditId": "<string>",
"taxId": "<string>",
"bluesignId": "<string>",
"zdhcId": "<string>",
"ipeViolation": {
"totalViolations": 123
},
"ffcId": 123,
"approvalStatus": "Approved"
},
"country": "<string>",
"facilityRawText": "<string>"
},
"tier3": {
"isDefault": true,
"assessment": {
"_id": "<string>",
"rfi_pid": "fem2017",
"surveyVersion": "<string>",
"country": "<string>",
"processName": "<string>"
},
"facility": {
"_id": "<string>",
"name": "<string>",
"country": "<string>",
"sacId": 123,
"oar_id": "<string>",
"demoaccount": true,
"vbType": "None",
"socialCreditId": "<string>",
"taxId": "<string>",
"bluesignId": "<string>",
"zdhcId": "<string>",
"ipeViolation": {
"totalViolations": 123
},
"ffcId": 123,
"approvalStatus": "Approved"
},
"country": "<string>",
"facilityRawText": "<string>"
},
"baseMaterials": [
{
"_id": "<string>",
"composition": 123,
"name": "<string>",
"baseMaterialProcesses": [
{
"_id": "<string>",
"name": "<string>",
"stageName": "<string>",
"lifeCycle": "<string>",
"isEligible": true,
"totalMaterialGlobalWarmingImpact": 123,
"totalLossRate": 123,
"residualElectricityTotal": 123,
"lossRate": 123,
"assessment": {
"_id": "<string>",
"rfi_pid": "fem2017",
"surveyVersion": "<string>",
"country": "<string>",
"processName": "<string>"
},
"facility": {
"_id": "<string>",
"name": "<string>",
"country": "<string>",
"sacId": 123,
"oar_id": "<string>",
"demoaccount": true,
"vbType": "None",
"socialCreditId": "<string>",
"taxId": "<string>",
"bluesignId": "<string>",
"zdhcId": "<string>",
"ipeViolation": {
"totalViolations": 123
},
"ffcId": 123,
"approvalStatus": "Approved"
},
"country": "<string>",
"facilityType": [
"<string>"
],
"sipfacilitymaterialprocesstextiles": [
"<string>"
],
"materialproduction_normalized_kgco2e": 123,
"rawmaterialprocessing_normalized_kgco2e": 123,
"globalWarmingImpact": 123,
"ineligibleReason": "Fem not shared",
"femStatus": "NS",
"facilityRawText": "<string>"
}
],
"totalMaterialGlobalWarmingImpactT2": 123,
"totalMaterialGlobalWarmingImpactT3": 123,
"totalMaterialGlobalWarmingImpactT4": 123,
"totalMaterialGlobalWarmingImpact": 123,
"sustainability": {
"isEligible": true,
"type": "Recycled",
"processId": "<string>"
},
"baseMaterialProcessesList": [
{
"_id": "<string>",
"name": "<string>",
"stageName": "<string>",
"lifeCycle": "<string>",
"isEligible": true,
"totalMaterialGlobalWarmingImpact": 123,
"totalLossRate": 123,
"residualElectricityTotal": 123,
"lossRate": 123,
"assessment": {
"_id": "<string>",
"rfi_pid": "fem2017",
"surveyVersion": "<string>",
"country": "<string>",
"processName": "<string>"
},
"facility": {
"_id": "<string>",
"name": "<string>",
"country": "<string>",
"sacId": 123,
"oar_id": "<string>",
"demoaccount": true,
"vbType": "None",
"socialCreditId": "<string>",
"taxId": "<string>",
"bluesignId": "<string>",
"zdhcId": "<string>",
"ipeViolation": {
"totalViolations": 123
},
"ffcId": 123,
"approvalStatus": "Approved"
},
"country": "<string>",
"facilityType": [
"<string>"
],
"sipfacilitymaterialprocesstextiles": [
"<string>"
],
"materialproduction_normalized_kgco2e": 123,
"rawmaterialprocessing_normalized_kgco2e": 123,
"globalWarmingImpact": 123,
"ineligibleReason": "Fem not shared",
"femStatus": "NS",
"facilityRawText": "<string>"
}
],
"uniqueCyclesAssessments": [
{
"assessmentId": "<string>",
"processId": "<string>",
"lifeCycle": "<string>",
"isEligible": true,
"sipfacilitymaterialprocesstextiles": "<string>",
"ineligibleReason": "Fem not shared"
}
]
}
],
"modifiedOn": 123,
"deleted": true,
"deletedBy": {
"_id": "<string>",
"email": "<string>",
"firstname": "<string>",
"lastname": "<string>"
},
"modifiedBy": {
"_id": "<string>",
"email": "<string>",
"firstname": "<string>",
"lastname": "<string>"
},
"createdBy": {
"_id": "<string>",
"email": "<string>",
"firstname": "<string>",
"lastname": "<string>"
},
"msiVersion": "<string>"
}
],
"max_score": 123,
"aggregations": {}
}curl --request POST \
--url https://api-v2.production.higg.org/pic-api/v1/material-library/material-list \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--header 'x-developer-request-token: <api-key>' \
--data '
{
"filter": {
"logic": "<string>",
"filters": [
{
"field": "<string>",
"operator": "<string>",
"value": {}
}
]
},
"skip": 123,
"take": 123,
"sort": [
{
"field": "<string>",
"dir": "<string>",
"isNotNested": true
}
],
"searchStr": "<string>"
}
'{
"total": 123,
"hits": [
{
"_id": "<string>",
"type": "<string>",
"name": "<string>",
"t2GlobalWarmingImpact": 123,
"t3GlobalWarmingImpact": 123,
"t4GlobalWarmingImpact": 123,
"createdOn": 123,
"user": {
"_id": "<string>",
"email": "<string>",
"firstname": "<string>",
"lastname": "<string>"
},
"account": {
"_id": "<string>",
"name": "<string>",
"country": "<string>",
"sacId": 123,
"oar_id": "<string>",
"demoaccount": true,
"vbType": "None",
"socialCreditId": "<string>",
"taxId": "<string>",
"bluesignId": "<string>",
"zdhcId": "<string>",
"ipeViolation": {
"totalViolations": 123
},
"ffcId": 123,
"approvalStatus": "Approved"
},
"totalMaterialGlobalWarmingImpact": 123,
"_rev": "<string>",
"code": "<string>",
"category": "<string>",
"supplierCountry": "<string>",
"nameId": "<string>",
"supplier": "<string>",
"country": "<string>",
"tier2": {
"isDefault": true,
"assessment": {
"_id": "<string>",
"rfi_pid": "fem2017",
"surveyVersion": "<string>",
"country": "<string>",
"processName": "<string>"
},
"facility": {
"_id": "<string>",
"name": "<string>",
"country": "<string>",
"sacId": 123,
"oar_id": "<string>",
"demoaccount": true,
"vbType": "None",
"socialCreditId": "<string>",
"taxId": "<string>",
"bluesignId": "<string>",
"zdhcId": "<string>",
"ipeViolation": {
"totalViolations": 123
},
"ffcId": 123,
"approvalStatus": "Approved"
},
"country": "<string>",
"facilityRawText": "<string>"
},
"tier3": {
"isDefault": true,
"assessment": {
"_id": "<string>",
"rfi_pid": "fem2017",
"surveyVersion": "<string>",
"country": "<string>",
"processName": "<string>"
},
"facility": {
"_id": "<string>",
"name": "<string>",
"country": "<string>",
"sacId": 123,
"oar_id": "<string>",
"demoaccount": true,
"vbType": "None",
"socialCreditId": "<string>",
"taxId": "<string>",
"bluesignId": "<string>",
"zdhcId": "<string>",
"ipeViolation": {
"totalViolations": 123
},
"ffcId": 123,
"approvalStatus": "Approved"
},
"country": "<string>",
"facilityRawText": "<string>"
},
"baseMaterials": [
{
"_id": "<string>",
"composition": 123,
"name": "<string>",
"baseMaterialProcesses": [
{
"_id": "<string>",
"name": "<string>",
"stageName": "<string>",
"lifeCycle": "<string>",
"isEligible": true,
"totalMaterialGlobalWarmingImpact": 123,
"totalLossRate": 123,
"residualElectricityTotal": 123,
"lossRate": 123,
"assessment": {
"_id": "<string>",
"rfi_pid": "fem2017",
"surveyVersion": "<string>",
"country": "<string>",
"processName": "<string>"
},
"facility": {
"_id": "<string>",
"name": "<string>",
"country": "<string>",
"sacId": 123,
"oar_id": "<string>",
"demoaccount": true,
"vbType": "None",
"socialCreditId": "<string>",
"taxId": "<string>",
"bluesignId": "<string>",
"zdhcId": "<string>",
"ipeViolation": {
"totalViolations": 123
},
"ffcId": 123,
"approvalStatus": "Approved"
},
"country": "<string>",
"facilityType": [
"<string>"
],
"sipfacilitymaterialprocesstextiles": [
"<string>"
],
"materialproduction_normalized_kgco2e": 123,
"rawmaterialprocessing_normalized_kgco2e": 123,
"globalWarmingImpact": 123,
"ineligibleReason": "Fem not shared",
"femStatus": "NS",
"facilityRawText": "<string>"
}
],
"totalMaterialGlobalWarmingImpactT2": 123,
"totalMaterialGlobalWarmingImpactT3": 123,
"totalMaterialGlobalWarmingImpactT4": 123,
"totalMaterialGlobalWarmingImpact": 123,
"sustainability": {
"isEligible": true,
"type": "Recycled",
"processId": "<string>"
},
"baseMaterialProcessesList": [
{
"_id": "<string>",
"name": "<string>",
"stageName": "<string>",
"lifeCycle": "<string>",
"isEligible": true,
"totalMaterialGlobalWarmingImpact": 123,
"totalLossRate": 123,
"residualElectricityTotal": 123,
"lossRate": 123,
"assessment": {
"_id": "<string>",
"rfi_pid": "fem2017",
"surveyVersion": "<string>",
"country": "<string>",
"processName": "<string>"
},
"facility": {
"_id": "<string>",
"name": "<string>",
"country": "<string>",
"sacId": 123,
"oar_id": "<string>",
"demoaccount": true,
"vbType": "None",
"socialCreditId": "<string>",
"taxId": "<string>",
"bluesignId": "<string>",
"zdhcId": "<string>",
"ipeViolation": {
"totalViolations": 123
},
"ffcId": 123,
"approvalStatus": "Approved"
},
"country": "<string>",
"facilityType": [
"<string>"
],
"sipfacilitymaterialprocesstextiles": [
"<string>"
],
"materialproduction_normalized_kgco2e": 123,
"rawmaterialprocessing_normalized_kgco2e": 123,
"globalWarmingImpact": 123,
"ineligibleReason": "Fem not shared",
"femStatus": "NS",
"facilityRawText": "<string>"
}
],
"uniqueCyclesAssessments": [
{
"assessmentId": "<string>",
"processId": "<string>",
"lifeCycle": "<string>",
"isEligible": true,
"sipfacilitymaterialprocesstextiles": "<string>",
"ineligibleReason": "Fem not shared"
}
]
}
],
"modifiedOn": 123,
"deleted": true,
"deletedBy": {
"_id": "<string>",
"email": "<string>",
"firstname": "<string>",
"lastname": "<string>"
},
"modifiedBy": {
"_id": "<string>",
"email": "<string>",
"firstname": "<string>",
"lastname": "<string>"
},
"createdBy": {
"_id": "<string>",
"email": "<string>",
"firstname": "<string>",
"lastname": "<string>"
},
"msiVersion": "<string>"
}
],
"max_score": 123,
"aggregations": {}
}