Skip to content

Timeseries Groups Patch/Post Swagger Example Request Body Has Incorrect json Identifiers #1576

@tsressin

Description

@tsressin

This is not a huge deal, but now that I am doing testing on cwbi-dev, this keeps tripping me up and then I remember I have to change it.

Describe the bug
Swagger example request body has incorrect json identifiers officeId, timeseriesId, aliasId and refTsId under assigned-time-series.

"assigned-time-series": [
{
"officeId": "string",
"timeseriesId": "string",
"aliasId": "string",
"refTsId": "string",
"attribute": 0
}
]

This causes 500 errors if not changed as below.

Expected behavior

These should be hyphenated (like the identifiers in the rest of the example).

"assigned-time-series": [
{
"office-id": "string",
"timeseries-id": "string",
"alias-id": "string",
"ref-ts-id": "string",
"attribute": 0
}
]

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://water.dev.cwbi.us/cwms-data/swagger-ui
  2. Scroll to Timeseries Groups
  3. Click Patch (or Post)
  4. Click Try it out
  5. See Request Body

CDA Version (please complete the following information):

  • Versions 2025.09.02, 2026.02.11-develop

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions