[API]The request PUT/dev/api/center/3 contains mistakes in body #2152
Labels
API
bug
Something isn't working
documentation
Improvements or additions to documentation
Priority: High
Severity: low
Environment: Postman
Preconditions
Sign in to the system
POST request http://speak-ukrainian.eastus2.cloudapp.azure.com/dev/api/signin
Body
{
"email": "[email protected]",
"password": "Admin_QC24"
}
{{server}} = http://speak-ukrainian.eastus2.cloudapp.azure.com/
Steps to reproduce
{
"id": 3,
"name": "dsdsdsd",
"locations": [
{
"id": 0,
"name": "Test",
"address": "string",
"cityName": "Dnipro",
"districtName": "Соборний",
"stationName": "string",
"cityId": 3,
"districtId": 20,
"stationId": 1,
"centerId": 3,
"clubId": 3,
"coordinates": "12.1212",
"longitude": 12.2121,
"latitude": 12.1212,
"phone": "0514216224"
}
],
"description": "stringstringstringstringstringstringstri",
"urlWeb": "string",
"urlBackgroundPicture": "string",
"urlLogo": "string",
"clubsId": [
0
],
"userId": 0,
"contacts": "string",
Actual result
Mistakes in the request
Expected result
This endpoint to update the center. The controller returns CenterProfile
Labels to be added
"Bug", Priority ("pri: HIght"), Severity ("severity:Low"), Type ("UI, "Functional"), "API" (for back-end bugs).
The text was updated successfully, but these errors were encountered: