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": "ce35d7e0-c916-45e0-b4e8-1fee6f0f0769",
"ExpenseClaimApplicationItemId": "b14cf4b2-8a93-44c4-9a96-43965f4393c2",
"ExpenseDate": "2026-06-18T11:34:14.800985+08:00",
"ExpenseTypeId": "b73da602-449b-4ebf-bcf7-3e5d6709482e",
"ExpenseTypePolicyId": "a3466f5a-0806-49a1-9f76-24d27f650167",
"ExpenseTypeName": "sample string 6",
"Description": "sample string 7",
"ClientId": "e8c68ea7-c33f-46a1-a110-1d1138e6aa34",
"ClientName": "sample string 8",
"ProjectId": "d0793833-5308-4bdd-bb87-81e0be120fd1",
"CurrencyPolicyId": "6abe5f6f-b7f4-4cee-9ddf-b7f767f3cd8f",
"CurrencyId": "aa740540-a2c5-4a90-b8b3-7c92d08345b5",
"CurrencyCode": "sample string 9",
"Amount": 1.0,
"TaxInclusive": true,
"TaxAmount": 1.0,
"ExpenseCategoryCId": "c064d0ac-036e-4e42-b196-2d78f5ac2a9b",
"ExpenseCategoryName": "sample string 12",
"ProjectName": "sample string 13",
"Attachment": {
"AttachmentId": "6888bed1-9100-4ebe-a8b6-b474960c5608",
"OwnerTable": "sample string 2",
"ExpenseClaimApplicationItemId": "d1176715-7ac1-43d4-b591-efb92808b01d",
"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": "6888bed1-9100-4ebe-a8b6-b474960c5608",
"OwnerTable": "sample string 2",
"ExpenseClaimApplicationItemId": "d1176715-7ac1-43d4-b591-efb92808b01d",
"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": "6888bed1-9100-4ebe-a8b6-b474960c5608",
"OwnerTable": "sample string 2",
"ExpenseClaimApplicationItemId": "d1176715-7ac1-43d4-b591-efb92808b01d",
"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>6888bed1-9100-4ebe-a8b6-b474960c5608</AttachmentId>
<AttachmentMethod>Database</AttachmentMethod>
<AttachmentType>Normal</AttachmentType>
<AttachmentUrl>sample string 9</AttachmentUrl>
<ContentLength>7</ContentLength>
<ContentType>sample string 6</ContentType>
<ExpenseClaimApplicationItemId>d1176715-7ac1-43d4-b591-efb92808b01d</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>6888bed1-9100-4ebe-a8b6-b474960c5608</AttachmentId>
<AttachmentMethod>Database</AttachmentMethod>
<AttachmentType>Normal</AttachmentType>
<AttachmentUrl>sample string 9</AttachmentUrl>
<ContentLength>7</ContentLength>
<ContentType>sample string 6</ContentType>
<ExpenseClaimApplicationItemId>d1176715-7ac1-43d4-b591-efb92808b01d</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>6888bed1-9100-4ebe-a8b6-b474960c5608</AttachmentId>
<AttachmentMethod>Database</AttachmentMethod>
<AttachmentType>Normal</AttachmentType>
<AttachmentUrl>sample string 9</AttachmentUrl>
<ContentLength>7</ContentLength>
<ContentType>sample string 6</ContentType>
<ExpenseClaimApplicationItemId>d1176715-7ac1-43d4-b591-efb92808b01d</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>e8c68ea7-c33f-46a1-a110-1d1138e6aa34</ClientId>
<ClientName>sample string 8</ClientName>
<CurrencyCode>sample string 9</CurrencyCode>
<CurrencyId>aa740540-a2c5-4a90-b8b3-7c92d08345b5</CurrencyId>
<CurrencyPolicyId>6abe5f6f-b7f4-4cee-9ddf-b7f767f3cd8f</CurrencyPolicyId>
<Description>sample string 7</Description>
<ExchangeRate>1</ExchangeRate>
<ExpenseCategoryCId>c064d0ac-036e-4e42-b196-2d78f5ac2a9b</ExpenseCategoryCId>
<ExpenseCategoryName>sample string 12</ExpenseCategoryName>
<ExpenseClaimApplicationId>ce35d7e0-c916-45e0-b4e8-1fee6f0f0769</ExpenseClaimApplicationId>
<ExpenseClaimApplicationItemId>b14cf4b2-8a93-44c4-9a96-43965f4393c2</ExpenseClaimApplicationItemId>
<ExpenseDate>2026-06-18T11:34:14.800985+08:00</ExpenseDate>
<ExpenseTypeId>b73da602-449b-4ebf-bcf7-3e5d6709482e</ExpenseTypeId>
<ExpenseTypeName>sample string 6</ExpenseTypeName>
<ExpenseTypePolicyId>a3466f5a-0806-49a1-9f76-24d27f650167</ExpenseTypePolicyId>
<IsOverLimit>true</IsOverLimit>
<ProjectId>d0793833-5308-4bdd-bb87-81e0be120fd1</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:
"8cad3e87-ab45-49a9-b888-af1d1b228479"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">8cad3e87-ab45-49a9-b888-af1d1b228479</guid>