Update captions

POST /closeAPI/api/close/task/{id}/caption

Path parameters

  • id integer Required
application/json

Body Required

  • toDelete array[object]
    Hide toDelete attributes Show toDelete attributes object
    • id integer
    • caption string

      Minimum length is 1, maximum length is 1800.

    • dataTypeId integer
    • excelAddress string
    • order integer
    • readonly boolean
  • toSave array[object]
    Hide toSave attributes Show toSave attributes object
    • id integer
    • caption string

      Minimum length is 1, maximum length is 1800.

    • dataTypeId integer
    • excelAddress string
    • order integer
    • readonly boolean

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • id integer
    • caption string

      Minimum length is 1, maximum length is 1800.

    • dataTypeId integer
    • excelAddress string
    • order integer
    • readonly boolean
POST /closeAPI/api/close/task/{id}/caption
curl \
 --request POST 'https://customer.trintech.com/closeAPI/api/close/task/{id}/caption' \
 --header "Content-Type: application/json" \
 --data '{"toDelete":[{"id":42,"caption":"string","dataTypeId":42,"excelAddress":"string","order":42,"readonly":true}],"toSave":[{"id":42,"caption":"string","dataTypeId":42,"excelAddress":"string","order":42,"readonly":true}]}'
Request examples
{
  "toDelete": [
    {
      "id": 42,
      "caption": "string",
      "dataTypeId": 42,
      "excelAddress": "string",
      "order": 42,
      "readonly": true
    }
  ],
  "toSave": [
    {
      "id": 42,
      "caption": "string",
      "dataTypeId": 42,
      "excelAddress": "string",
      "order": 42,
      "readonly": true
    }
  ]
}
Response examples (200)
[
  {
    "id": 42,
    "caption": "string",
    "dataTypeId": 42,
    "excelAddress": "string",
    "order": 42,
    "readonly": true
  }
]