2651
правка
Изменения
м
→Collecting Feedback
=== Collecting Feedback ===
The system has a separate special form for collecting feedback:.
The link is the address https://home.courierexe.ru/8/opinions with parameters.
Parameters:
* '''code'''. The internal Internal entity code in the system. The required Required parameter.* '''rate'''. The ratingRating. For orders, the parameter must be equal to the code from the Complaints catalog. For other types, it must be an integer from 1 to 5.* '''type'''. The entity Entity type. The default value is 3.
* '''note'''. Shows whether there is a comment. The default value is 1.
* '''star'''. The star output attributeShows whether rating is shown as stars. The default value is 1.* '''hash'''. The link Link hash value. The hash is generated by the SignatureUrl function. The required Required parameter.If the '''rate''' parameter is present, the rating feedback is indicated filled in immediately and is not requested in the form.
Sample requests (without hash):
https://home.courierexe.ru/8/opinions?code=123456&rate=1¬e=0. Already rated, no comment is requested, a message about the rating is immediately displayed.
To reduce the URL length, you can use a short form of writing the method and parameters:https://home.courierexe.ru/8/o?c=123456&r=1&n=1&t=3
Usage in script: