API

Мобильді қосымшаны ілгерілету скриптін алу

GET/api/crm/v2/mobile_apps_promoter_scriptv2
operationId: mobileAppsPromoterScript.default

Авторизация

api-token + language + role

Сұраныс параметрлері

chain_idinteger

Мысал: 7160

Жауаптар

OK

object
statusstringміндетті

Мәндер:successerror

Мысал: success

dataobject
filtersobject
settingsobject
chain_idintegerміндетті

Мысал: 1

zonestringміндетті

Мысал: ru

languagestringміндетті

Мысал: ru

field_of_activitystringміндетті

Мәндер:food_and_drinkotherflowers

url_promoterstring

Мысал: https://fs.me/pr/init.js

main_frame_text_headerstring

Мысал: We have a mobile application

main_frame_text_bodystring

Мысал: Install it and get a bonus

main_frame_background_imagestring

Мысал: https://cdn.foodsoul.test/backgrounds/promoter_script/1312e71798302424c25c538639989665.jpg

main_frame_background_colorstring

Мысал: 7E57C2

main_frame_background_dotsboolean

Мысал: true

main_frame_colors_buttonsstring

Мысал: 0D47A1

main_frame_colors_textstring

Мысал: FFFFFF

main_frame_colors_iphonestring (MainFrameColorsIphone)

Мәндер:space_graysilvergold

Мысал: gold

button_positionstring (ButtonPosition)

Мәндер:top_righttop_leftbottom_rightbottom_left

Мысал: top_right

button_orientationstring (ButtonOrientation)

Мәндер:horizontallyvertically

Мысал: horizontally

button_text_first_linestring
button_text_second_linestring
button_offset_xinteger

Мысал: 24

button_offset_yinteger

Мысал: 24

button_colors_backgroundstring

Мысал: 651FFF

button_colors_textstring

Мысал: FFFFFF

small_sizeboolean

Мысал: true