POST api/Claim/NewClaimItem
Request Information
URI Parameters
None.
Body Parameters
ClaimItem| Name | Description | Type | Additional information |
|---|---|---|---|
| ExpenseClaimApplicationId | globally unique identifier |
None. |
|
| ExpenseClaimApplicationItemId | globally unique identifier |
None. |
|
| ExpenseDate | date |
None. |
|
| ExpenseTypeId | globally unique identifier |
None. |
|
| ExpenseTypePolicyId | globally unique identifier |
None. |
|
| ExpenseTypeName | string |
None. |
|
| Description | string |
None. |
|
| ClientId | globally unique identifier |
None. |
|
| ClientName | string |
None. |
|
| ProjectId | globally unique identifier |
None. |
|
| CurrencyPolicyId | globally unique identifier |
None. |
|
| CurrencyId | globally unique identifier |
None. |
|
| CurrencyCode | string |
None. |
|
| Amount | decimal number |
None. |
|
| TaxInclusive | boolean |
None. |
|
| TaxAmount | decimal number |
None. |
|
| ExpenseCategoryCId | globally unique identifier |
None. |
|
| ExpenseCategoryName | string |
None. |
|
| ProjectName | string |
None. |
|
| Attachment | Attachment |
None. |
|
| Attachments | Collection of Attachment |
None. |
|
| ValidationMessage | string |
None. |
|
| TierValue | decimal number |
None. |
|
| BackgroundColorWithValidationMessage | string |
None. |
|
| IsOverLimit | boolean |
None. |
|
| AllowEdit | boolean |
None. |
|
| ExchangeRate | decimal number |
None. |
|
| ShowClient | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"ExpenseClaimApplicationId": "358bed7c-9864-4cb5-bb5a-279ce73f03b8",
"ExpenseClaimApplicationItemId": "ac755893-3a91-41c2-ae97-68e3dcc23ed5",
"ExpenseDate": "2026-08-17T09:09:20.6513186+08:00",
"ExpenseTypeId": "5d1196c4-0b9c-4508-9955-bb19aebeba0c",
"ExpenseTypePolicyId": "e673850e-a0dc-4099-baac-bf05b2994d71",
"ExpenseTypeName": "sample string 6",
"Description": "sample string 7",
"ClientId": "a4a17d3a-0a83-4602-a62d-4eee65bc6ae0",
"ClientName": "sample string 8",
"ProjectId": "f967028f-a4b3-4df4-9bef-85697e398227",
"CurrencyPolicyId": "ff1fdcc4-9b37-4be4-b270-d4b86166dfea",
"CurrencyId": "4a2155db-65dd-40c4-9720-07b7f306ae31",
"CurrencyCode": "sample string 9",
"Amount": 1.0,
"TaxInclusive": true,
"TaxAmount": 1.0,
"ExpenseCategoryCId": "dc45e700-b879-4096-a593-d476b8e814a2",
"ExpenseCategoryName": "sample string 12",
"ProjectName": "sample string 13",
"Attachment": {
"AttachmentId": "5585223d-20b2-4a78-ba74-1df0d8ba850d",
"OwnerTable": "sample string 2",
"ExpenseClaimApplicationItemId": "8f4a94ee-a0d1-4f57-a7f8-c665d88196df",
"AttachmentMethod": 1,
"AttachmentType": 1,
"FileName": "sample string 4",
"FilePath": "sample string 5",
"ContentType": "sample string 6",
"ContentLength": 7,
"FileContent": "QEA=",
"UploadTempFilePath": "sample string 8",
"AttachmentUrl": "sample string 9",
"AllowEdit": true,
"ShowAttachmentImage": false
},
"Attachments": [
{
"AttachmentId": "5585223d-20b2-4a78-ba74-1df0d8ba850d",
"OwnerTable": "sample string 2",
"ExpenseClaimApplicationItemId": "8f4a94ee-a0d1-4f57-a7f8-c665d88196df",
"AttachmentMethod": 1,
"AttachmentType": 1,
"FileName": "sample string 4",
"FilePath": "sample string 5",
"ContentType": "sample string 6",
"ContentLength": 7,
"FileContent": "QEA=",
"UploadTempFilePath": "sample string 8",
"AttachmentUrl": "sample string 9",
"AllowEdit": true,
"ShowAttachmentImage": false
},
{
"AttachmentId": "5585223d-20b2-4a78-ba74-1df0d8ba850d",
"OwnerTable": "sample string 2",
"ExpenseClaimApplicationItemId": "8f4a94ee-a0d1-4f57-a7f8-c665d88196df",
"AttachmentMethod": 1,
"AttachmentType": 1,
"FileName": "sample string 4",
"FilePath": "sample string 5",
"ContentType": "sample string 6",
"ContentLength": 7,
"FileContent": "QEA=",
"UploadTempFilePath": "sample string 8",
"AttachmentUrl": "sample string 9",
"AllowEdit": true,
"ShowAttachmentImage": false
}
],
"ValidationMessage": "sample string 14",
"TierValue": 1.0,
"BackgroundColorWithValidationMessage": "sample string 15",
"IsOverLimit": true,
"AllowEdit": true,
"ExchangeRate": 1.0,
"ShowClient": true
}
application/xml, text/xml
Sample:
<ClaimItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MAT.App.eClaim.API.Models">
<AllowEdit>true</AllowEdit>
<Amount>1</Amount>
<Attachment>
<AllowEdit>true</AllowEdit>
<AttachmentId>5585223d-20b2-4a78-ba74-1df0d8ba850d</AttachmentId>
<AttachmentMethod>Database</AttachmentMethod>
<AttachmentType>Normal</AttachmentType>
<AttachmentUrl>sample string 9</AttachmentUrl>
<ContentLength>7</ContentLength>
<ContentType>sample string 6</ContentType>
<ExpenseClaimApplicationItemId>8f4a94ee-a0d1-4f57-a7f8-c665d88196df</ExpenseClaimApplicationItemId>
<FileContent>QEA=</FileContent>
<FileName>sample string 4</FileName>
<FilePath>sample string 5</FilePath>
<OwnerTable>sample string 2</OwnerTable>
<UploadTempFilePath>sample string 8</UploadTempFilePath>
</Attachment>
<Attachments>
<Attachment>
<AllowEdit>true</AllowEdit>
<AttachmentId>5585223d-20b2-4a78-ba74-1df0d8ba850d</AttachmentId>
<AttachmentMethod>Database</AttachmentMethod>
<AttachmentType>Normal</AttachmentType>
<AttachmentUrl>sample string 9</AttachmentUrl>
<ContentLength>7</ContentLength>
<ContentType>sample string 6</ContentType>
<ExpenseClaimApplicationItemId>8f4a94ee-a0d1-4f57-a7f8-c665d88196df</ExpenseClaimApplicationItemId>
<FileContent>QEA=</FileContent>
<FileName>sample string 4</FileName>
<FilePath>sample string 5</FilePath>
<OwnerTable>sample string 2</OwnerTable>
<UploadTempFilePath>sample string 8</UploadTempFilePath>
</Attachment>
<Attachment>
<AllowEdit>true</AllowEdit>
<AttachmentId>5585223d-20b2-4a78-ba74-1df0d8ba850d</AttachmentId>
<AttachmentMethod>Database</AttachmentMethod>
<AttachmentType>Normal</AttachmentType>
<AttachmentUrl>sample string 9</AttachmentUrl>
<ContentLength>7</ContentLength>
<ContentType>sample string 6</ContentType>
<ExpenseClaimApplicationItemId>8f4a94ee-a0d1-4f57-a7f8-c665d88196df</ExpenseClaimApplicationItemId>
<FileContent>QEA=</FileContent>
<FileName>sample string 4</FileName>
<FilePath>sample string 5</FilePath>
<OwnerTable>sample string 2</OwnerTable>
<UploadTempFilePath>sample string 8</UploadTempFilePath>
</Attachment>
</Attachments>
<BackgroundColorWithValidationMessage>sample string 15</BackgroundColorWithValidationMessage>
<ClientId>a4a17d3a-0a83-4602-a62d-4eee65bc6ae0</ClientId>
<ClientName>sample string 8</ClientName>
<CurrencyCode>sample string 9</CurrencyCode>
<CurrencyId>4a2155db-65dd-40c4-9720-07b7f306ae31</CurrencyId>
<CurrencyPolicyId>ff1fdcc4-9b37-4be4-b270-d4b86166dfea</CurrencyPolicyId>
<Description>sample string 7</Description>
<ExchangeRate>1</ExchangeRate>
<ExpenseCategoryCId>dc45e700-b879-4096-a593-d476b8e814a2</ExpenseCategoryCId>
<ExpenseCategoryName>sample string 12</ExpenseCategoryName>
<ExpenseClaimApplicationId>358bed7c-9864-4cb5-bb5a-279ce73f03b8</ExpenseClaimApplicationId>
<ExpenseClaimApplicationItemId>ac755893-3a91-41c2-ae97-68e3dcc23ed5</ExpenseClaimApplicationItemId>
<ExpenseDate>2026-08-17T09:09:20.6513186+08:00</ExpenseDate>
<ExpenseTypeId>5d1196c4-0b9c-4508-9955-bb19aebeba0c</ExpenseTypeId>
<ExpenseTypeName>sample string 6</ExpenseTypeName>
<ExpenseTypePolicyId>e673850e-a0dc-4099-baac-bf05b2994d71</ExpenseTypePolicyId>
<IsOverLimit>true</IsOverLimit>
<ProjectId>f967028f-a4b3-4df4-9bef-85697e398227</ProjectId>
<ProjectName>sample string 13</ProjectName>
<ShowClient>true</ShowClient>
<TaxAmount>1</TaxAmount>
<TaxInclusive>true</TaxInclusive>
<TierValue>1</TierValue>
<ValidationMessage>sample string 14</ValidationMessage>
</ClaimItem>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
globally unique identifierResponse Formats
application/json, text/json
Sample:
"e683062d-7493-4c85-bc4f-b0bc428aaa41"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">e683062d-7493-4c85-bc4f-b0bc428aaa41</guid>