Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[API]The request PUT/dev/api/center/3 contains mistakes in body #2152

Open
zahar777 opened this issue Jan 23, 2024 · 0 comments
Open

[API]The request PUT/dev/api/center/3 contains mistakes in body #2152

zahar777 opened this issue Jan 23, 2024 · 0 comments
Labels
API bug Something isn't working documentation Improvements or additions to documentation Priority: High Severity: low

Comments

@zahar777
Copy link

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

  1. Set up PUT request {{server}}/dev/api/center/3
  2. Input to the Body

{
"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).

@zahar777 zahar777 added bug Something isn't working documentation Improvements or additions to documentation Priority: High API Severity: low labels Jan 23, 2024
@softservedata softservedata moved this to ToDo in QCBoard Jul 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API bug Something isn't working documentation Improvements or additions to documentation Priority: High Severity: low
Projects
Status: ToDo
Development

No branches or pull requests

1 participant