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": "6a6d4a50-2261-4682-a718-fc2eb1052fa1",
"ExpenseClaimApplicationItemId": "fa6e6cac-1a02-45bd-9308-fa0f16ac7e13",
"ExpenseDate": "2026-02-18T19:38:08.7327506+08:00",
"ExpenseTypeId": "6a47d000-f1d3-4ab7-867c-ccdac5eab1b8",
"ExpenseTypePolicyId": "f2518832-2b02-42ae-95fd-ef3885b7dbae",
"ExpenseTypeName": "sample string 6",
"Description": "sample string 7",
"ClientId": "3727fbfa-2980-45c9-a34f-8571bddc7ca0",
"ClientName": "sample string 8",
"ProjectId": "2ed1c0ea-fa92-4b16-9e4a-3520f3f24825",
"CurrencyPolicyId": "c9375a5d-1e08-4581-ae1f-e70658431e19",
"CurrencyId": "f9171a1d-f90e-4556-a463-9c0890e90988",
"CurrencyCode": "sample string 9",
"Amount": 1.0,
"TaxInclusive": true,
"TaxAmount": 1.0,
"ExpenseCategoryCId": "27612b4a-7cd1-4ea8-833b-d6d08ccc715c",
"ExpenseCategoryName": "sample string 12",
"ProjectName": "sample string 13",
"Attachment": {
"AttachmentId": "deccd395-d438-47d0-ab6e-e1d6d2bc9cfb",
"OwnerTable": "sample string 2",
"ExpenseClaimApplicationItemId": "5d208bc9-d4a3-423d-a90c-79fdac540850",
"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": "deccd395-d438-47d0-ab6e-e1d6d2bc9cfb",
"OwnerTable": "sample string 2",
"ExpenseClaimApplicationItemId": "5d208bc9-d4a3-423d-a90c-79fdac540850",
"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": "deccd395-d438-47d0-ab6e-e1d6d2bc9cfb",
"OwnerTable": "sample string 2",
"ExpenseClaimApplicationItemId": "5d208bc9-d4a3-423d-a90c-79fdac540850",
"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>deccd395-d438-47d0-ab6e-e1d6d2bc9cfb</AttachmentId>
<AttachmentMethod>Database</AttachmentMethod>
<AttachmentType>Normal</AttachmentType>
<AttachmentUrl>sample string 9</AttachmentUrl>
<ContentLength>7</ContentLength>
<ContentType>sample string 6</ContentType>
<ExpenseClaimApplicationItemId>5d208bc9-d4a3-423d-a90c-79fdac540850</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>deccd395-d438-47d0-ab6e-e1d6d2bc9cfb</AttachmentId>
<AttachmentMethod>Database</AttachmentMethod>
<AttachmentType>Normal</AttachmentType>
<AttachmentUrl>sample string 9</AttachmentUrl>
<ContentLength>7</ContentLength>
<ContentType>sample string 6</ContentType>
<ExpenseClaimApplicationItemId>5d208bc9-d4a3-423d-a90c-79fdac540850</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>deccd395-d438-47d0-ab6e-e1d6d2bc9cfb</AttachmentId>
<AttachmentMethod>Database</AttachmentMethod>
<AttachmentType>Normal</AttachmentType>
<AttachmentUrl>sample string 9</AttachmentUrl>
<ContentLength>7</ContentLength>
<ContentType>sample string 6</ContentType>
<ExpenseClaimApplicationItemId>5d208bc9-d4a3-423d-a90c-79fdac540850</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>3727fbfa-2980-45c9-a34f-8571bddc7ca0</ClientId>
<ClientName>sample string 8</ClientName>
<CurrencyCode>sample string 9</CurrencyCode>
<CurrencyId>f9171a1d-f90e-4556-a463-9c0890e90988</CurrencyId>
<CurrencyPolicyId>c9375a5d-1e08-4581-ae1f-e70658431e19</CurrencyPolicyId>
<Description>sample string 7</Description>
<ExchangeRate>1</ExchangeRate>
<ExpenseCategoryCId>27612b4a-7cd1-4ea8-833b-d6d08ccc715c</ExpenseCategoryCId>
<ExpenseCategoryName>sample string 12</ExpenseCategoryName>
<ExpenseClaimApplicationId>6a6d4a50-2261-4682-a718-fc2eb1052fa1</ExpenseClaimApplicationId>
<ExpenseClaimApplicationItemId>fa6e6cac-1a02-45bd-9308-fa0f16ac7e13</ExpenseClaimApplicationItemId>
<ExpenseDate>2026-02-18T19:38:08.7327506+08:00</ExpenseDate>
<ExpenseTypeId>6a47d000-f1d3-4ab7-867c-ccdac5eab1b8</ExpenseTypeId>
<ExpenseTypeName>sample string 6</ExpenseTypeName>
<ExpenseTypePolicyId>f2518832-2b02-42ae-95fd-ef3885b7dbae</ExpenseTypePolicyId>
<IsOverLimit>true</IsOverLimit>
<ProjectId>2ed1c0ea-fa92-4b16-9e4a-3520f3f24825</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:
"198b50fb-3928-411c-8cd8-4a221ca64606"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">198b50fb-3928-411c-8cd8-4a221ca64606</guid>