Update account

PUT /closeAPI/api/close/account
application/json

Body Required

Responses

PUT /closeAPI/api/close/account
curl \
 --request PUT 'http://close-service:8082/closeAPI/api/close/account' \
 --header "Content-Type: application/json" \
 --data '{"id":42,"name":"string","number":"string","accountType":"string","description":"string","parent":{"id":42,"name":"string","number":"string"},"taskCount":42,"disclosureType":"string","numberOfAccountsToDelete":42,"accountTypeId":42,"disclosureTypeId":42,"statusList":[{"id":42,"status":"string"}]}'
Request examples
{
  "id": 42,
  "name": "string",
  "number": "string",
  "accountType": "string",
  "description": "string",
  "parent": {
    "id": 42,
    "name": "string",
    "number": "string"
  },
  "taskCount": 42,
  "disclosureType": "string",
  "numberOfAccountsToDelete": 42,
  "accountTypeId": 42,
  "disclosureTypeId": 42,
  "statusList": [
    {
      "id": 42,
      "status": "string"
    }
  ]
}
Response examples (200)
{
  "id": 42,
  "name": "string",
  "number": "string",
  "accountType": "string",
  "description": "string",
  "parent": {
    "id": 42,
    "name": "string",
    "number": "string"
  },
  "taskCount": 42,
  "disclosureType": "string",
  "numberOfAccountsToDelete": 42,
  "accountTypeId": 42,
  "disclosureTypeId": 42,
  "statusList": [
    {
      "id": 42,
      "status": "string"
    }
  ]
}