-
Notifications
You must be signed in to change notification settings - Fork 9
Description
Environment: Windows 10 (v.:1809); Postman(desktop)
Reproducible: always
Build found: commit 0dbafbf
Preconditions
- Go to https://pozashkillia-test.iea.gov.ua/#/
- Open DevTool.
- Open Postma. Authorize as the Service Provider in the 'Postman' tool.
- Select the 'POST' method for https://pozashkillia-test.iea.gov.ua/web/api/v2/competitions-drafts in the 'Postman' tool.
- Select 'form-data' content-type for Body.
- Request(for exsample):
title:Тест
shortTitle:gfп
scheduledStartTime:2025-02-21T00:00:00.000Z
scheduledEndTime:2025-11-30T00:00:00.000Z
competitiveEventAccountingTypeId:5
numberOfSeats:5
judges:[]
organizerOfTheEventId:08da842d-12fc-4865-85c5-ec6e6142abad
contacts:[{"title":"Заголовок адреси","address":{"street":"Шевченка","buildingNumber":"12А-Б","catottgId":30321,"latitude":51.93531799316406,"longitude":32.16123580932617},"phones":[{"type":"Тип(телефон)","number":"+380454545454"}],"emails":[{"type":"Тип( пошта)","address":"name@example.com"}],"isDefault":false,"socialNetworks":[{"type":"Facebook","url":"https://example.com/username"},{"type":"Instagram","url":"https://example.com/username"},{"type":"Website","url":"https://example.com/username"}]}]
coverageId:2
competitiveSelection:false
areThereBenefits:true
registrationStartTime:2025-02-19T00:00:00.000Z
registrationEndTime:2025-02-20T00:00:00.000Z
minimumAge:2
maximumAge:25
subDirectionIds:[54]
plannedFormatOfClasses:Offline
descriptionOfTheEnrollmentProcedure:Інформація про відбір( Є конкурсний відбір)
venueName:Місце проведення( не обов'язкове)
termsOfParticipation:Умови участі( не обов'язкове)
price:3000
benefits:Опис пільгових умов( не обов'язкове)
competitiveEventDescriptionItems:[{"sectionName":"hdre","description":"Опис опису-Jgbc ogbce"}]
imageIds:[]
EnrollmentProcedureDescription:Опис процедури
IsPaid:true
directionSubDirectionIds:17
// EnrollmentProcedureDescription:gvv
Steps to reproduce
- Enter the invalid ID for the value of the competitiveEventAccountingTypeId key.
- 5
- Press the 'Send' button.
- Review the response.
Actual result
201-Created
Expected result
400-Bad Request
Postconditions
Delete the competition draft.
User story
#1535
Metadata
Metadata
Assignees
Labels
Type
Projects
Status