List Asset
GET https://{{baseURL}}/api/v2/supplier/?company=1
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
company | number | ||
ordering | string | select one from the lists to sort the result | |
name | string | ||
serial_number | string | ||
manufacturer | string | ||
req | string | select warranty if you want to show warranty info only, support for support info only | |
serial_number | string | lists the serial numbers in the body |
RESPONSES
status: OK
"{\n \"id\": integer,\n \"name\": \"string\",\n \"contract\": {\n \"id\": integer,\n \"number\": \"string\"\n },\n \"category\": {\n \"id\": integer,\n \"name\": \"string\",\n \"subcategory\": \"string\"\n },\n \"manufacturer\": \"string\",\n \"serial_number\": \"string\",\n \"address\": \"string\",\n \"city\": \"string\",\n \"country\": \"string\",\n \"zip_code\": \"string\",\n \"region\": \"string\",\n \"location_description\": \"string\",\n \"asset_owner\": {\n \"id\": integer,\n \"name\": \"string\",\n \"email\": \"string\",\n \"phone_number\": \"string\"\n },\n \"business_unit\": {\n \"id\": integer,\n \"name\": \"string\"\n },\n \"warranty_status\": \"none\" | \"out_of_warranty\" | \"within_warranty\",\n \"warranty_type\": \"none\" | \"oem\" | \"oem_extended\" | \"third_party\",\n \"warranty_provider\": {\n \"id\": integer,\n \"name\": \"string\"\n },\n \"end_of_life_date\": \"string\",\n \"warranty_start_date\": \"string\",\n \"warranty_end_date\": \"string\",\n \"warranty_contact_phone\": \"string\",\n \"warranty_contact_email\": \"string\",\n \"warranty_notes\": \"string\",\n \"support_status\": \"none\" | \"out_of_support\" | \"within_support\",\n \"support_type\": \"none\" | \"oem\" | \"oem_extended\" | \"third_party\",\n \"support_provider\": {\n \"id\": integer,\n \"name\": \"string\"\n },\n \"attached_supplier\": {\n \"id\": integer,\n \"name\": \"String\"\n },\n \"end_of_support_date\": \"string\",\n \"support_start_date\": \"string\",\n \"support_end_date\": \"string\",\n \"support_contact_phone\": \"string\",\n \"support_contact_email\": \"string\",\n \"support_notes\": \"string\",\n \"usage_status\": \"non_production\" | \"none\" | \"other\" | \"production\",\n \"asset_tag\": \"string\",\n \"asset_notes\": \"string\",\n \"original_cost\": decimal,\n \"service_start_date\": \"string\",\n \"depreciation_schedule\": \"other\" | \"3_year_33_percent\" | \"5_year_20_percent\" | \"10_year_10_percent\",\n \"estimated_salvage_value\": decimal,\n \"financial_notes\": \"string\",\n \"template\": {\n \"id\": integer,\n \"fields\": {\n key: value,...\n }\n }\n}"