Update a passport of a battery
PATCH {{baseUrl}}/passports/:passport_id
Update a battery passport by sending fragments of the battery passport structure. When an empty string is submitted as an attribute the variable will be interpreted as not filled out (null). To define a number as not filled out a null must be transmitted for it. If an attribute is not mentioned in the request, the value of it will not be touched and stays the way it is in the database. This endpoint is not capable of deleting or restoring a passport. For that please refer the delete endpoint.
Request Body
{"id"=>"<string>", "passport"=>"<object>", "metadata"=>{"status"=>{"state"=>"<string>", "status"=>"<string>"}, "progress"=>{"count"=>"<int16>", "total"=>"<int16>", "general_information"=>"<string>", "compliance"=>"<string>", "materials"=>"<string>", "supply_chain_due_diligence"=>"<string>", "carbon_footprint"=>"<string>", "circularity"=>"<string>", "performance"=>"<string>"}, "name"=>"<string>"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"id":"est do tempor voluptate","metadata":{"status":{"state":"active","status":"draft"},"progress":{"count":16,"total":120,"general_information":"complete","compliance":"complete","materials":"incomplete","supply_chain_due_diligence":"untouched","carbon_footprint":"complete","circularity":"untouched","performance":"untouched"},"name":"dolor officia incididunt Lorem"},"passport":{"general_information":{"identification":{"passport_id":"nulla magna velit ","battery_id":"veniam in","responsible_operator_id":"do sed","manufacturer_id":{"name":"laborum sint occaecat","contact":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"address":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"manufacturing_date":"1998-07-11T20:11:21.498Z","manufacturing_place":{"locality":"nostrud","country_sn":"adipisicing ullamco in incididunt dolor","post_code":-9674328,"street":"aute minim dolore mollit","number":72218080,"premise":"ex qui","postal_delivery_point":"qui reprehen"}},"characteristics":{"category":["EV","EV"],"weight":48001433.579367965,"status":"in et"}},"compliance":{"conformity":{"declaration_of_conformity_eu":{"name":"laborum e","description":"tempor in ea ullamco","location":"irure"},"id_declaration_of_conformity_eu":"incididunt quis mollit","test_report_results":{"name":"in aute proident Lorem","description":"ad culpa","location":"c"}},"symbols":{"collection_symbol":{"name":"eu non cupidatat","description":"sunt culpa","location":"proident aute"},"cadmium_symbol":{"name":"anim Duis eu ullamco","description":"dolor Ut anim quis consectetur","location":"no"},"lead_symbol":{"name":"Ex","description":"consectetur","location":"commodo ut aliquip"}}},"materials":{"components":[{"critical_raw_materials":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"hazardous_substances":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]},{"critical_raw_materials":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"hazardous_substances":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]}],"materials":{"chemistry":"laboris non","cathode_anode_electrolyte":[{"type":"nisi et","name":"ipsum in in","id":"consectetur qui","composition":3802477.973105535},{"type":"cupidatat consectetur incididunt dolore","name":"est nulla ullamco","id":"dolor aliqua consequ","composition":-73666703.46819384}]}},"carbon_footprint":{"carbon_footprint":-35057622.86899059,"pre_processing_share_of_carbon_footprint":69359361,"production_share_of_carbon_footprint":18173253,"distribution_share_of_carbon_footprint":575091,"end_of_life_share_of_carbon_footprint":-76698956,"carbon_footprint_performance_class":"laborum minim labore proident","web_link_to_carbon_footprint_study":{"name":"in sed","description":"nostrud deserunt qui minim","location":"non Duis"}},"supply_chain_due_diligence":{"information_of_due_diligence_report":{"name":"dolor consequat","description":"id","location":"incididunt commodo"},"additional_voluntary":{"third_party_supply_chain_assurances":{"name":"labore consectetur exercitation ex","description":"amet ullamco consequat adipisicing","location":"et velit ut"},"eu_tax_disclosure_statement":{"name":"dolore cupidatat occaecat","description":"cillum Duis irure aute","location":"eu sint quis"},"sustainability_report":{"name":"exercitation non id","description":"dolor sit pariatur cillum","location":"officia cupidat"}}},"circularity":{"safety_requirements":{"extinguishing_agent":["A","A"],"safety_instructions":{"name":"aliquip in proident sint","description":"do cillum aute laboris est","location":"dolore deserunt aliquip"}},"recycled_content":{"pre_consumer_recycled_nickel_share":-15980381.281797841,"pre_consumer_recycled_cobalt_share":29246423.040712565,"pre_consumer_recycled_lithium_share":76495833.53278852,"pre_consumer_recycled_lead_share":-52482492.65318985,"post_consumer_recycled_nickel_share":71676203.06073391,"post_consumer_recycled_cobalt_share":67779331.56969666,"post_consumer_recycled_lithium_share":11001153.215709805,"post_consumer_recycled_lead_share":74330379.35669091},"renewable_content_share":46967872.60125479,"end_of_life_information":{"role_of_end_users_to_waste_prevention":{"name":"elit culpa","description":"commodo sunt","location":"nisi"},"role_of_end_users_to_separate_collection":{"name":"ea irure eiusmod","description":"id enim dolore aliquip","location":"veniam dolore"},"information_on_recycling_operations":{"name":"et nostrud eu consequat","description":"dolore in","location":"labore sit ut eu occaecat"}},"design_for_circularity":{"manual_removal_from_appliance":{"name":"dolor quis","description":"tempor consequat","location":"aliqua dolor proident"},"manual_disassembly_of_battery_pack":{"name":"sunt exercitation ullamco reprehenderit","description":"cillum","location":"eu voluptate"},"spare_parts_source":{"name":"voluptate pariatur ","contact":{"fax_number":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"website":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"phone_number":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"email":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"address":{"locality":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"country_sn":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"post_code":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"street":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"number":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"premise":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"postal_delivery_point":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}},"part_numbers_components":{"name":"fugiat","description":"dolore id","location":"veniam anim culpa sint laboris"}}},"performance":{"capacity":{"certified_usable_energy":8043647,"rated_capacity":-25809938,"nominal_voltage":43222585,"min_voltage":-46261208,"max_voltage":29880343,"remaining_usable_energy":48463887,"state_of_certified_energy":71041427,"remaining_capacity":-44695771,"capacity_fade":-43467345,"state_of_charge":-4458098},"power_capability":{"original_power_capability":41370319,"max_permitted_power":20444846,"ratio_between_power_and_energy":-41462245,"remaining_power_capability":14711543,"power_capacity_fade":25827306},"round_trip_energy":{"initial_round_trip_energy_efficiency":-75539615,"round_trip_energy_efficiency_at_half_life":-19281407,"initial_self_discharging_rate":56530501.11914912,"current_self_discharging_rate":27942526.36022611,"evolution_of_self_discharging_rate":28640457,"remaining_round_trip_energy_efficiency":-82296973,"round_trip_energy_efficiency_fade":69194754},"internal_resistance":{"initial_resistance":{"pack_id":"Excepteur nostrud proident reprehenderit","value":-93706636,"modules":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]},"current_resistance":{"pack_id":"laborum qui","value":19331348,"modules":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]},"resistance_increase":{"pack_id":"reprehenderit veniam","value":-18266595,"modules":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]}},"battery_lifetime":{"expected_lifetime_n_charge_discharge_cycles":-19459107,"cycle_life_reference_test":"eiusmod","c_rate_of_cycle_life_test":-42687126.4720873,"capacity_threshold_for_exhaustion":26781407,"soce_threshold_for_exhaustion":32685078,"warranty_period":-13622177.005547494,"n_charge_discharge_cycles":-68152365,"energy_throughput":-12243559.686738908,"capacity_throughput":-36498184.9537072,"date_of_service":"2006-10-01T03:48:47.647Z"},"temperature_conditions":{"lower_temperature_idle_state":-92279477,"upper_temperature_idle_state":-76360405,"time_above_temperature":-73072297.76315883,"time_below_temperature":35443500.49194512,"time_charging_above_temperature":12001167.931470037,"time_charging_below_temperature":44711367.70686442},"negative_events":{"information_on_accidents":{"name":"consectetur","description":"dolor laborum","location":"tempor"},"n_deep_discharge_events":-61180203,"n_overcharge_events":29128740}}}}