Skip to content

Transfer Object Values MUST BE overridden with Parameter values #447

@westei

Description

@westei

If a property of the transfer object is also specified as a parameter in the request (typically path parameters) the value of the transfer object MUST BE ignored and overridden with the value of the Parameter

Example:

PUT /studies/1
  {
    "studyId": 3,
    "title": "Title of Study 3",
    [..]
  } 

In this case the parameter studyId: 3 MUST BE overridden with 1 as used in the path.

This affect all data types like Study, Participant, Observation, Intervention ...

Metadata

Metadata

Assignees

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