Skip to main content
Version: 1.0.0 (beta)

PUT

Full Resource Update

PUT: tse.smart-api.teamsystem.cloud/api/{product}/{version}/company/{defaultCompany}/{module}/{resource}/{id}

Parameters

  • id: identifier code to read.
  • body: the {resource}DTO object to update.

Response Codes

  • 204: the object has been successfully updated.
  • 400: the object was not updated; the response content contains the validation messages produced- 400: the object was not updated; the response content contains the validation messages produced.
  • 404: the object was not found.
  • 409: the object was not updated due to unmet business logic; the response content contains the validation messages produced.

Example Body

{
"title": "pippo",
"accounts": [
{
"id": 1,
"description": "account1"
},
{
"id": 2,
"patchInternalOp": "delete"
},
{
"patchInternalOp": "add",
"description": "account3"
}
]
}

Response Codes

  • 204: the object has been successfully updated.
  • 400: the object was not updated; the response content contains the validation messages produced.
  • 404: the object was not found.
  • 409: the object was not updated due to unmet business logic; the response content contains the validation messages produced.