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": "ca1e6e67-dda3-4183-bd31-4867b8ec618f",
"ExpenseClaimApplicationItemId": "29ec7eb7-619d-44d2-839e-4d3279d6a2a1",
"ExpenseDate": "2025-10-25T14:29:36.7347364+08:00",
"ExpenseTypeId": "62e49be0-8334-4082-aca0-1b44ec05811f",
"ExpenseTypePolicyId": "88e66131-aa80-4763-948e-ee9fdf286cfb",
"ExpenseTypeName": "sample string 6",
"Description": "sample string 7",
"ClientId": "f0abc002-f2dd-4141-a2f1-4f04d2762f9f",
"ClientName": "sample string 8",
"ProjectId": "770af826-7819-40cb-8c40-6968a902d525",
"CurrencyPolicyId": "d6e4a1ad-c49d-456a-acd5-be90afabe9d7",
"CurrencyId": "2ad5867e-15c4-46c3-a181-ade2af156315",
"CurrencyCode": "sample string 9",
"Amount": 1.0,
"TaxInclusive": true,
"TaxAmount": 1.0,
"ExpenseCategoryCId": "6a2886d0-bd7a-4cf8-b0fa-91a20ecbc194",
"ExpenseCategoryName": "sample string 12",
"ProjectName": "sample string 13",
"Attachment": {
"AttachmentId": "f6588bc5-bc2e-49d1-9ef5-7c3fc904a30f",
"OwnerTable": "sample string 2",
"ExpenseClaimApplicationItemId": "ff3c9e88-5a43-4505-8105-21516eb7b5a8",
"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": "f6588bc5-bc2e-49d1-9ef5-7c3fc904a30f",
"OwnerTable": "sample string 2",
"ExpenseClaimApplicationItemId": "ff3c9e88-5a43-4505-8105-21516eb7b5a8",
"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": "f6588bc5-bc2e-49d1-9ef5-7c3fc904a30f",
"OwnerTable": "sample string 2",
"ExpenseClaimApplicationItemId": "ff3c9e88-5a43-4505-8105-21516eb7b5a8",
"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>f6588bc5-bc2e-49d1-9ef5-7c3fc904a30f</AttachmentId>
<AttachmentMethod>Database</AttachmentMethod>
<AttachmentType>Normal</AttachmentType>
<AttachmentUrl>sample string 9</AttachmentUrl>
<ContentLength>7</ContentLength>
<ContentType>sample string 6</ContentType>
<ExpenseClaimApplicationItemId>ff3c9e88-5a43-4505-8105-21516eb7b5a8</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>f6588bc5-bc2e-49d1-9ef5-7c3fc904a30f</AttachmentId>
<AttachmentMethod>Database</AttachmentMethod>
<AttachmentType>Normal</AttachmentType>
<AttachmentUrl>sample string 9</AttachmentUrl>
<ContentLength>7</ContentLength>
<ContentType>sample string 6</ContentType>
<ExpenseClaimApplicationItemId>ff3c9e88-5a43-4505-8105-21516eb7b5a8</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>f6588bc5-bc2e-49d1-9ef5-7c3fc904a30f</AttachmentId>
<AttachmentMethod>Database</AttachmentMethod>
<AttachmentType>Normal</AttachmentType>
<AttachmentUrl>sample string 9</AttachmentUrl>
<ContentLength>7</ContentLength>
<ContentType>sample string 6</ContentType>
<ExpenseClaimApplicationItemId>ff3c9e88-5a43-4505-8105-21516eb7b5a8</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>f0abc002-f2dd-4141-a2f1-4f04d2762f9f</ClientId>
<ClientName>sample string 8</ClientName>
<CurrencyCode>sample string 9</CurrencyCode>
<CurrencyId>2ad5867e-15c4-46c3-a181-ade2af156315</CurrencyId>
<CurrencyPolicyId>d6e4a1ad-c49d-456a-acd5-be90afabe9d7</CurrencyPolicyId>
<Description>sample string 7</Description>
<ExchangeRate>1</ExchangeRate>
<ExpenseCategoryCId>6a2886d0-bd7a-4cf8-b0fa-91a20ecbc194</ExpenseCategoryCId>
<ExpenseCategoryName>sample string 12</ExpenseCategoryName>
<ExpenseClaimApplicationId>ca1e6e67-dda3-4183-bd31-4867b8ec618f</ExpenseClaimApplicationId>
<ExpenseClaimApplicationItemId>29ec7eb7-619d-44d2-839e-4d3279d6a2a1</ExpenseClaimApplicationItemId>
<ExpenseDate>2025-10-25T14:29:36.7347364+08:00</ExpenseDate>
<ExpenseTypeId>62e49be0-8334-4082-aca0-1b44ec05811f</ExpenseTypeId>
<ExpenseTypeName>sample string 6</ExpenseTypeName>
<ExpenseTypePolicyId>88e66131-aa80-4763-948e-ee9fdf286cfb</ExpenseTypePolicyId>
<IsOverLimit>true</IsOverLimit>
<ProjectId>770af826-7819-40cb-8c40-6968a902d525</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:
"15c4c016-fbf9-4ef2-8222-e3e2ce5053fe"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">15c4c016-fbf9-4ef2-8222-e3e2ce5053fe</guid>