This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
en:sidebar:remoteapi:apiref:item:update_profile_field [16/05/2016 08:02] 127.0.0.1 external edit |
en:sidebar:remoteapi:apiref:item:update_profile_field [15/09/2020 06:01] chdi [Profile fields] |
||
---|---|---|---|
Line 3: | Line 3: | ||
To update profile fields, use the command **item/update_profile_field**: | To update profile fields, use the command **item/update_profile_field**: | ||
<code javascript> | <code javascript> | ||
- | svc=item/update_custom_field¶ms={"itemId":<long>, | + | svc=item/update_profile_field¶ms={"itemId":<long>, |
"n":<text>, | "n":<text>, | ||
"v":<text>} | "v":<text>} | ||
Line 17: | Line 17: | ||
You can use following profile fields: | You can use following profile fields: | ||
- | ^ ID ^ Name ^ Description ^ | + | ^ Name ^ Description ^ |
- | | 1 | vehicle_type | Vehicle type | | + | | vehicle_type | Vehicle type | |
- | | 2| vin | VIN | | + | | vin | VIN | |
- | | 3 | registration_plate | Registration plate | | + | | registration_plate | Registration plate | |
- | | 4 | brand | Brand | | + | | brand | Brand | |
- | | 5 | model | Model | | + | | model | Model | |
- | | 6 | year | Year | | + | | year | Year | |
- | | 7 | color | Color | | + | | color | Color | |
- | | 8 | cargo_type | Cargo type | | + | | engine_model | Engine model | |
- | | 9 | carrying_capacity | Carrying capacity, t | | + | | engine_power | Engine power, kW | |
- | | 10 | width | Width, mm | | + | | engine_displacement | Engine displacement, ccm | |
- | | 11 | height | Height, mm | | + | | primary_fuel_type | Primary fuel type | |
- | | 12 | depth | Depth, mm | | + | | cargo_type | Cargo type | |
- | | 13 | effective_capacity | Effective capacity | | + | | carrying_capacity | Carrying capacity, t | |
- | | 14 | gross_vehicle_weight | Gross vehicle weight | | + | | width | Width, mm | |
- | | 15 | axles | Axles | | + | | height | Height, mm | |
+ | | depth | Depth, mm | | ||
+ | | effective_capacity | Effective capacity | | ||
+ | | gross_vehicle_weight | Gross vehicle weight | | ||
+ | | axles | Axles | | ||
===== Response ===== | ===== Response ===== |
|