OlhenShu / ProjectStage_Team2_May

0 stars 0 forks source link

[Email] POST /sendReport #221

Open OlhenShu opened 2 months ago

OlhenShu commented 2 months ago

Method: POST /email/sendReport Message (*required): message Example value:

{
  "categoriesDtoWithPlacesDtoMap": {
    "additionalProp1": [
      {
        "category": {
          "name": "string",
          "parentCategoryId": 0
        },
        "name": "string"
      }
    ],
    "additionalProp2": [
      {
        "category": {
          "name": "string",
          "parentCategoryId": 0
        },
        "name": "string"
      }
    ],
    "additionalProp3": [
      {
        "category": {
          "name": "string",
          "parentCategoryId": 0
        },
        "name": "string"
      }
    ]
  },
  "emailNotification": "string",
  "subscribers": [
    {
      "email": "string",
      "id": 0,
      "name": "string"
    }
  ]
}

Responses Code: 200 OK, 400 Bad Request, 401 Unauthorized, 403 Forbidden, 404 Not Found, 409 Conflict, 429 Too Many Requests.