[2023] Crassula Release Week 47
core v.23.11.3-23.11.5
client v.23.11.2-23.11.3

No updates this week
We do not have any new updates to share this week. However, please check our Upcoming Updates section for exciting information about what's on the horizon!
Upcoming Updates
New Features
Introducing new endpoint
Introducing the new /api/tags/ endpoint: This addition addresses the need to add, delete, and update tags for Persons and Companies. Below is an overview of the functionality offered by the new endpoint:
Retrieve all tags on an object:
GET /api/tags/object/<type>/<object ID>;Add a tag:
POST /api/tags/object/<type>/<object ID>/<tag name>;No body required;
Replace tags with a new set:
PUT /api/tags/object/<type>/<object ID>;Body example:
["tag1", "tag2"];
Delete a tag:
DELETE /api/tags/object/<type>/<object ID>/<tag name>.
This update aims to streamline the process of managing tags, enhancing the overall user experience.
Fixes
API
Addressing an issue with the POST /api/clients/{clientId}/transfer/swift endpoint: Currently, sending a request with an empty currency field results in a 500 error. The issue will be resolved by changing the error code to 422. We are also introducing maximum length limits for several fields as a measure to prevent the occurrence of 500 error that is currently triggered by excessively long field entries, thereby ensuring data integrity and consistency:
bankAddress: 100 characters;beneficiaryAddress: 100 characters;beneficiaryCity: 100 characters;beneficiaryPostalCode: 32 characters;beneficiaryState: 35 characters;correspondentAccount: 40 characters;correspondentName: 128 characters;correspondentSwift: 15 characters.
All these changes will be also reflected in the API documentation.
API documentation
Introducing enhancements to the
POST /api/clients/{clientId}/transfer/sepamethod description to improve clarity and accuracy:BeneficiaryTypefield: Now marked as a mandatory field.FromAccountIbanandFromAccountNamefields: Expanded to include Sending client's IBAN use only with finance type accounts.Amountfield: Removed the note For crypto transactions, less is allowed (16 decimal places) but not 0.Descriptions for
remitterfields: Updated descriptions forremitterAddress,remitterCity,remitterPostalCode,remitterState, andremitterCountryCode, changing Beneficiary's to Remitter's.BeneficiaryTypefield: Removed the non-participating parameterTransactionBeneficiaryType::NOT_PROVIDEDfrom the field description.TemplateNamefield: Updated the description to include a maximum length of 32 characters.
These changes are aimed at providing more precise and useful information, ensuring that the API is easier to understand and implement.
We are scheduled to implement several key corrections and additions to the API documentation for the
POST /api/clients/{clientId}/transfer/internalendpoint. Additionally, new validations for theamountandcurrencyfields will be introduced:Improved error handling: In future, if a request is sent with all fields except either
currencyoramount, it will return a 422 error instead of the current 500 error, aligning with standard error handling protocols.detailsfield update: Thedetailsfield in the documentation will be updated to accurately reflect a maximum length of 35 characters. Requests with details exceeding this length will receive a 422 error, correcting the previous discrepancy where the documentation stated a limit of 140 characters.templateNamefield description: We will be adding a description for the maximum length of the this field, filling a current gap in our docs.