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

NameValue TypeValidationDetails
emoIDintRequiredOffer ID
emoOfertantIDintRequiredTenderer ID
emoNumestringRequiredOffer name
emoDescrierestringOptionalShort description of the offer
emoContinutstringOptionalOffer details
emoCoverstringOptionalCover offer; Base64 encoded image
emoLinkstringOptionalExternal link
emoObservatiistringOptionalInternal observations
permisiuni[]arrayRequiredThe types of users who can view the offer.
ani_studiu[]arrayRequiredStudy years that can see the offer.
licee[]arrayRequiredThe list with highschools where the offer will be available
emoIsDeletedintOptionalDeleted offer; in_list[0,1]

Validation

Error FieldError CodeError Message
ani_studiu105Invalid ID

Output example

{
"success": true
}