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": "4478aca6-c844-4db9-be40-ce5316479a83",
"ExpenseClaimApplicationItemId": "08877e4c-dec7-4456-8799-a57c6ae2085a",
"ExpenseDate": "2026-10-16T15:07:50.6344319+08:00",
"ExpenseTypeId": "6e3ec134-a92b-4ca4-b86a-2e0df00d8bac",
"ExpenseTypePolicyId": "534a0a5d-e27f-4aac-bdd3-de41a07f6a47",
"ExpenseTypeName": "sample string 6",
"Description": "sample string 7",
"ClientId": "d59f0090-f96f-43df-aeab-bd19dc85689e",
"ClientName": "sample string 8",
"ProjectId": "33af1327-708d-4b6a-a805-10333c23427c",
"CurrencyPolicyId": "597cad95-667a-47af-b986-c149ce2693e4",
"CurrencyId": "f2e713bf-59f4-4244-b5e2-35405156f368",
"CurrencyCode": "sample string 9",
"Amount": 1.0,
"TaxInclusive": true,
"TaxAmount": 1.0,
"ExpenseCategoryCId": "a39b0782-a3d6-494a-a261-76b26ca7b535",
"ExpenseCategoryName": "sample string 12",
"ProjectName": "sample string 13",
"Attachment": {
"AttachmentId": "5f03d1a1-d74d-4072-9954-26846674758a",
"OwnerTable": "sample string 2",
"ExpenseClaimApplicationItemId": "1b05af89-9724-4e86-8446-308bf5e889f9",
"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": "5f03d1a1-d74d-4072-9954-26846674758a",
"OwnerTable": "sample string 2",
"ExpenseClaimApplicationItemId": "1b05af89-9724-4e86-8446-308bf5e889f9",
"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": "5f03d1a1-d74d-4072-9954-26846674758a",
"OwnerTable": "sample string 2",
"ExpenseClaimApplicationItemId": "1b05af89-9724-4e86-8446-308bf5e889f9",
"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>5f03d1a1-d74d-4072-9954-26846674758a</AttachmentId>
<AttachmentMethod>Database</AttachmentMethod>
<AttachmentType>Normal</AttachmentType>
<AttachmentUrl>sample string 9</AttachmentUrl>
<ContentLength>7</ContentLength>
<ContentType>sample string 6</ContentType>
<ExpenseClaimApplicationItemId>1b05af89-9724-4e86-8446-308bf5e889f9</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>5f03d1a1-d74d-4072-9954-26846674758a</AttachmentId>
<AttachmentMethod>Database</AttachmentMethod>
<AttachmentType>Normal</AttachmentType>
<AttachmentUrl>sample string 9</AttachmentUrl>
<ContentLength>7</ContentLength>
<ContentType>sample string 6</ContentType>
<ExpenseClaimApplicationItemId>1b05af89-9724-4e86-8446-308bf5e889f9</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>5f03d1a1-d74d-4072-9954-26846674758a</AttachmentId>
<AttachmentMethod>Database</AttachmentMethod>
<AttachmentType>Normal</AttachmentType>
<AttachmentUrl>sample string 9</AttachmentUrl>
<ContentLength>7</ContentLength>
<ContentType>sample string 6</ContentType>
<ExpenseClaimApplicationItemId>1b05af89-9724-4e86-8446-308bf5e889f9</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>d59f0090-f96f-43df-aeab-bd19dc85689e</ClientId>
<ClientName>sample string 8</ClientName>
<CurrencyCode>sample string 9</CurrencyCode>
<CurrencyId>f2e713bf-59f4-4244-b5e2-35405156f368</CurrencyId>
<CurrencyPolicyId>597cad95-667a-47af-b986-c149ce2693e4</CurrencyPolicyId>
<Description>sample string 7</Description>
<ExchangeRate>1</ExchangeRate>
<ExpenseCategoryCId>a39b0782-a3d6-494a-a261-76b26ca7b535</ExpenseCategoryCId>
<ExpenseCategoryName>sample string 12</ExpenseCategoryName>
<ExpenseClaimApplicationId>4478aca6-c844-4db9-be40-ce5316479a83</ExpenseClaimApplicationId>
<ExpenseClaimApplicationItemId>08877e4c-dec7-4456-8799-a57c6ae2085a</ExpenseClaimApplicationItemId>
<ExpenseDate>2026-10-16T15:07:50.6344319+08:00</ExpenseDate>
<ExpenseTypeId>6e3ec134-a92b-4ca4-b86a-2e0df00d8bac</ExpenseTypeId>
<ExpenseTypeName>sample string 6</ExpenseTypeName>
<ExpenseTypePolicyId>534a0a5d-e27f-4aac-bdd3-de41a07f6a47</ExpenseTypePolicyId>
<IsOverLimit>true</IsOverLimit>
<ProjectId>33af1327-708d-4b6a-a805-10333c23427c</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:
"fa1ea0ea-427f-4b90-b613-c219fb34f0ee"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">fa1ea0ea-427f-4b90-b613-c219fb34f0ee</guid>