StreetCode
StreetCode copied to clipboard
[API] [Admin/StreetCode/Partners] It is not possible to add a partner to a StreetCode using only the partner's ID
trafficstars
Environment: All Reproducible: Always Build found: a7d807f
Preconditions
- Open Postman.
- Choose the POST/PUT method.
- Enter valid endpoints.
Steps to reproduce
- Enter the valid and required data in the body ("index", "title", "streetcodeType", "eventStartOrPersonBirthDate", "teaser" and "imagesIds&imagesDetails").
- Add an existing partner to the body using partner's id in the array ( e.g. "partners": [31, 32, 41], ).
Actual result
The response returns a '400 Bad Request' status, along with the message 'One or more validation errors occurred.'. The StreetCode has not been created.
Expected result The response returns a '201 Created' status. The StreetCode has been created.
User story and test case links User story #499 [Test case] #1315