PUT ./edumarket/oferta
Tags: admin-only
It is used to modify the offer and the visualization permissions for user / study-year / highschool level.
PUT parameters
Name | Value Type | Validation | Details |
---|---|---|---|
emoID | int | Required | Offer ID |
emoOfertantID | int | Required | Tenderer ID |
emoNume | string | Required | Offer name |
emoDescriere | string | Optional | Short description of the offer |
emoContinut | string | Optional | Offer details |
emoCover | string | Optional | Cover offer; Base64 encoded image |
emoLink | string | Optional | External link |
emoObservatii | string | Optional | Internal observations |
permisiuni[] | array | Required | The types of users who can view the offer. |
ani_studiu[] | array | Required | Study years that can see the offer. |
licee[] | array | Required | The list with highschools where the offer will be available |
emoIsDeleted | int | Optional | Deleted offer; in_list[0,1] |
Validation
Error Field | Error Code | Error Message |
---|---|---|
ani_studiu | 105 | Invalid ID |
Output example
{"success": true}