CreateExpenseWithAttachment
To let end users create an expense with attachment.
Input
Name | Type | Required | Description |
Attachment | String | False | The full path of the attachment to upload. |
FileName | String | False | Name of the file. If content is not empty. |
Amount | Decimal | False | The amount of the expense. |
CategoryId | Integer | True | The identifier of the related expense category. |
Date | Date | False | Date of the expense. (YYYY-MM-DD) |
StaffId | Integer | True | Identifier of related staff member, if applicable. |
Result Set Columns
Name | Type | Description |
Success | String | True if the image is uploaded successfully. |