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": "2c306dea-f67f-4008-a9dd-ac9737527f72",
"ExpenseClaimApplicationItemId": "3d65b07a-81f9-4963-824f-157eeea0fc18",
"ExpenseDate": "2025-12-21T13:24:19.8444544+08:00",
"ExpenseTypeId": "8b345021-161a-41b5-9608-af5796454957",
"ExpenseTypePolicyId": "478b93db-7fce-4508-8115-6152cd604e69",
"ExpenseTypeName": "sample string 6",
"Description": "sample string 7",
"ClientId": "ca4e4a6f-ef96-4c6c-a176-a650de37fcca",
"ClientName": "sample string 8",
"ProjectId": "5ec05b83-3f7a-4a42-b864-2e4f525cb500",
"CurrencyPolicyId": "f0699555-2098-40de-8a1f-1c72c04261f1",
"CurrencyId": "2a796d4e-ee2e-4776-9cc3-9ca71d43fed8",
"CurrencyCode": "sample string 9",
"Amount": 1.0,
"TaxInclusive": true,
"TaxAmount": 1.0,
"ExpenseCategoryCId": "8eb6f20b-c0c9-4921-95f6-7379558879ad",
"ExpenseCategoryName": "sample string 12",
"ProjectName": "sample string 13",
"Attachment": {
"AttachmentId": "1cf25a84-61ef-4dd6-91b9-cbea9ebcc997",
"OwnerTable": "sample string 2",
"ExpenseClaimApplicationItemId": "2b615b5d-e9c0-45db-9938-9cb4b0cc2aa2",
"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": "1cf25a84-61ef-4dd6-91b9-cbea9ebcc997",
"OwnerTable": "sample string 2",
"ExpenseClaimApplicationItemId": "2b615b5d-e9c0-45db-9938-9cb4b0cc2aa2",
"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": "1cf25a84-61ef-4dd6-91b9-cbea9ebcc997",
"OwnerTable": "sample string 2",
"ExpenseClaimApplicationItemId": "2b615b5d-e9c0-45db-9938-9cb4b0cc2aa2",
"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>1cf25a84-61ef-4dd6-91b9-cbea9ebcc997</AttachmentId>
<AttachmentMethod>Database</AttachmentMethod>
<AttachmentType>Normal</AttachmentType>
<AttachmentUrl>sample string 9</AttachmentUrl>
<ContentLength>7</ContentLength>
<ContentType>sample string 6</ContentType>
<ExpenseClaimApplicationItemId>2b615b5d-e9c0-45db-9938-9cb4b0cc2aa2</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>1cf25a84-61ef-4dd6-91b9-cbea9ebcc997</AttachmentId>
<AttachmentMethod>Database</AttachmentMethod>
<AttachmentType>Normal</AttachmentType>
<AttachmentUrl>sample string 9</AttachmentUrl>
<ContentLength>7</ContentLength>
<ContentType>sample string 6</ContentType>
<ExpenseClaimApplicationItemId>2b615b5d-e9c0-45db-9938-9cb4b0cc2aa2</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>1cf25a84-61ef-4dd6-91b9-cbea9ebcc997</AttachmentId>
<AttachmentMethod>Database</AttachmentMethod>
<AttachmentType>Normal</AttachmentType>
<AttachmentUrl>sample string 9</AttachmentUrl>
<ContentLength>7</ContentLength>
<ContentType>sample string 6</ContentType>
<ExpenseClaimApplicationItemId>2b615b5d-e9c0-45db-9938-9cb4b0cc2aa2</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>ca4e4a6f-ef96-4c6c-a176-a650de37fcca</ClientId>
<ClientName>sample string 8</ClientName>
<CurrencyCode>sample string 9</CurrencyCode>
<CurrencyId>2a796d4e-ee2e-4776-9cc3-9ca71d43fed8</CurrencyId>
<CurrencyPolicyId>f0699555-2098-40de-8a1f-1c72c04261f1</CurrencyPolicyId>
<Description>sample string 7</Description>
<ExchangeRate>1</ExchangeRate>
<ExpenseCategoryCId>8eb6f20b-c0c9-4921-95f6-7379558879ad</ExpenseCategoryCId>
<ExpenseCategoryName>sample string 12</ExpenseCategoryName>
<ExpenseClaimApplicationId>2c306dea-f67f-4008-a9dd-ac9737527f72</ExpenseClaimApplicationId>
<ExpenseClaimApplicationItemId>3d65b07a-81f9-4963-824f-157eeea0fc18</ExpenseClaimApplicationItemId>
<ExpenseDate>2025-12-21T13:24:19.8444544+08:00</ExpenseDate>
<ExpenseTypeId>8b345021-161a-41b5-9608-af5796454957</ExpenseTypeId>
<ExpenseTypeName>sample string 6</ExpenseTypeName>
<ExpenseTypePolicyId>478b93db-7fce-4508-8115-6152cd604e69</ExpenseTypePolicyId>
<IsOverLimit>true</IsOverLimit>
<ProjectId>5ec05b83-3f7a-4a42-b864-2e4f525cb500</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:
"f5f339c9-b9a5-41dd-bf5e-c61dfdc384fe"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">f5f339c9-b9a5-41dd-bf5e-c61dfdc384fe</guid>