Endpoint Data


Download 11.57 Kb.
Sana17.02.2023
Hajmi11.57 Kb.
#1205301
Bog'liq
zty doc for auth page car add





Endpoint

Data

Method POST




api/v1/core/cars/

Vin- char,
Производитель — filtr uchun url api/v1/core/manufacturer/ , malumot shu ko“rinishda keladi [{id:1, name:`Tesla`}],
Модел — filtr uchun url api/v1/core/car-models/?search=`Tesla`&manufacturer=1 tepadagi manufacturer id filtrda jo“natiladi tanlangan manufacturerga mos modellar qaytadi [{id:1, name:`X5`}],
Тип зарядки — url api/v1/core/charging-type/ [{id:1, name:`1kv`}]
Тип гос.номер — choice [{id:1, name:Юридически лицо}, {id:2, name:Физически лицо}]
Гос.номер - char

Data post

{
vin: test,


model:1,
charging_type:1,
type_state_number:2,
state_number:90A009AA
}




Download 11.57 Kb.

Do'stlaringiz bilan baham:




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling