POST api/Claim/NewClaim
Request Information
URI Parameters
None.
Body Parameters
Claim| Name | Description | Type | Additional information |
|---|---|---|---|
| ExpenseClaimApplicationId | globally unique identifier |
None. |
|
| Subject | string |
None. |
|
| Remarks | string |
None. |
|
| ExpenseClaimApplicationName | string |
None. |
|
| ExpenseGroupId | globally unique identifier |
None. |
|
| ExpenseGroup | string |
None. |
|
| IsMyClaim | boolean |
None. |
|
| Status | ClaimStatus1 |
None. |
|
| Items | Collection of ClaimItem |
None. |
|
| WorkflowInstanceDetailId | globally unique identifier |
None. |
|
| WorkflowActions | Collection of string |
None. |
|
| TotalLocalClaimAmount | decimal number |
None. |
|
| ItemCount | integer |
None. |
|
| SubmissionDate | date |
None. |
|
| CurrencyId | globally unique identifier |
None. |
|
| CurrencyCode | string |
None. |
|
| CurrencyName | string |
None. |
|
| StatusName | string |
None. |
|
| ReworkVisible | boolean |
None. |
|
| VerifyVisible | boolean |
None. |
|
| ApproveVisible | boolean |
None. |
|
| RejectVisible | boolean |
None. |
|
| SubmitDeleteVisible | boolean |
None. |
|
| LatestActionDate | date |
None. |
|
| ActionByUserName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ExpenseClaimApplicationId": "6b6393d1-4bfd-4b1f-a77b-a6d664ff85b0",
"Subject": "sample string 2",
"Remarks": "sample string 3",
"ExpenseClaimApplicationName": "sample string 4",
"ExpenseGroupId": "c5d28cd8-122c-41a7-ac63-74ec0695ab2f",
"ExpenseGroup": "sample string 6",
"IsMyClaim": true,
"Status": 1,
"Items": [
{
"ExpenseClaimApplicationId": "77b0d4dc-a81d-4483-8a48-239dd8279b31",
"ExpenseClaimApplicationItemId": "f8ffa8e2-539d-4c4a-aad2-1336ad07abca",
"ExpenseDate": "2026-10-16T15:07:50.0004726+08:00",
"ExpenseTypeId": "231bfe14-e0bb-4c65-8aad-305ef4e899f8",
"ExpenseTypePolicyId": "a5021936-503d-4824-9344-c7417df80220",
"ExpenseTypeName": "sample string 6",
"Description": "sample string 7",
"ClientId": "2611e03c-fc66-4468-98c4-cc9776e140e7",
"ClientName": "sample string 8",
"ProjectId": "6b5c5c5e-bd19-4709-8380-3314d9903aa7",
"CurrencyPolicyId": "f5fcf604-24e3-46d8-a8ab-2824205a745a",
"CurrencyId": "87991b9a-8706-4e90-9e57-e59d7a8ed848",
"CurrencyCode": "sample string 9",
"Amount": 1.0,
"TaxInclusive": true,
"TaxAmount": 1.0,
"ExpenseCategoryCId": "128dcaa4-3bbd-4de5-8edf-5b175b44060b",
"ExpenseCategoryName": "sample string 12",
"ProjectName": "sample string 13",
"Attachment": {
"AttachmentId": "99403831-1a32-4339-b14c-ea24dfabffba",
"OwnerTable": "sample string 2",
"ExpenseClaimApplicationItemId": "e4bcfb47-0e08-4eb4-b46e-a0acc6ccc284",
"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": "99403831-1a32-4339-b14c-ea24dfabffba",
"OwnerTable": "sample string 2",
"ExpenseClaimApplicationItemId": "e4bcfb47-0e08-4eb4-b46e-a0acc6ccc284",
"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": "99403831-1a32-4339-b14c-ea24dfabffba",
"OwnerTable": "sample string 2",
"ExpenseClaimApplicationItemId": "e4bcfb47-0e08-4eb4-b46e-a0acc6ccc284",
"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
},
{
"ExpenseClaimApplicationId": "77b0d4dc-a81d-4483-8a48-239dd8279b31",
"ExpenseClaimApplicationItemId": "f8ffa8e2-539d-4c4a-aad2-1336ad07abca",
"ExpenseDate": "2026-10-16T15:07:50.0004726+08:00",
"ExpenseTypeId": "231bfe14-e0bb-4c65-8aad-305ef4e899f8",
"ExpenseTypePolicyId": "a5021936-503d-4824-9344-c7417df80220",
"ExpenseTypeName": "sample string 6",
"Description": "sample string 7",
"ClientId": "2611e03c-fc66-4468-98c4-cc9776e140e7",
"ClientName": "sample string 8",
"ProjectId": "6b5c5c5e-bd19-4709-8380-3314d9903aa7",
"CurrencyPolicyId": "f5fcf604-24e3-46d8-a8ab-2824205a745a",
"CurrencyId": "87991b9a-8706-4e90-9e57-e59d7a8ed848",
"CurrencyCode": "sample string 9",
"Amount": 1.0,
"TaxInclusive": true,
"TaxAmount": 1.0,
"ExpenseCategoryCId": "128dcaa4-3bbd-4de5-8edf-5b175b44060b",
"ExpenseCategoryName": "sample string 12",
"ProjectName": "sample string 13",
"Attachment": {
"AttachmentId": "99403831-1a32-4339-b14c-ea24dfabffba",
"OwnerTable": "sample string 2",
"ExpenseClaimApplicationItemId": "e4bcfb47-0e08-4eb4-b46e-a0acc6ccc284",
"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": "99403831-1a32-4339-b14c-ea24dfabffba",
"OwnerTable": "sample string 2",
"ExpenseClaimApplicationItemId": "e4bcfb47-0e08-4eb4-b46e-a0acc6ccc284",
"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": "99403831-1a32-4339-b14c-ea24dfabffba",
"OwnerTable": "sample string 2",
"ExpenseClaimApplicationItemId": "e4bcfb47-0e08-4eb4-b46e-a0acc6ccc284",
"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
}
],
"WorkflowInstanceDetailId": "219e58f1-3ef0-457c-965f-99b9fb63151d",
"WorkflowActions": [
"sample string 1",
"sample string 2"
],
"TotalLocalClaimAmount": 8.0,
"ItemCount": 9,
"SubmissionDate": "2026-10-16T15:07:50.0004726+08:00",
"CurrencyId": "76736021-77db-4f0f-987f-91c3d97ce923",
"CurrencyCode": "sample string 11",
"CurrencyName": "sample string 12",
"StatusName": "New",
"ReworkVisible": true,
"VerifyVisible": true,
"ApproveVisible": true,
"RejectVisible": true,
"SubmitDeleteVisible": true,
"LatestActionDate": "2026-10-16T15:07:50.0004726+08:00",
"ActionByUserName": "sample string 18"
}
application/xml, text/xml
Sample:
<Claim xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MAT.App.eClaim.API.Models">
<ActionByUserName>sample string 18</ActionByUserName>
<ApproveVisible>true</ApproveVisible>
<CurrencyCode>sample string 11</CurrencyCode>
<CurrencyId>76736021-77db-4f0f-987f-91c3d97ce923</CurrencyId>
<CurrencyName>sample string 12</CurrencyName>
<ExpenseClaimApplicationId>6b6393d1-4bfd-4b1f-a77b-a6d664ff85b0</ExpenseClaimApplicationId>
<ExpenseClaimApplicationName>sample string 4</ExpenseClaimApplicationName>
<ExpenseGroup>sample string 6</ExpenseGroup>
<ExpenseGroupId>c5d28cd8-122c-41a7-ac63-74ec0695ab2f</ExpenseGroupId>
<IsMyClaim>true</IsMyClaim>
<ItemCount>9</ItemCount>
<Items>
<ClaimItem>
<AllowEdit>true</AllowEdit>
<Amount>1</Amount>
<Attachment>
<AllowEdit>true</AllowEdit>
<AttachmentId>99403831-1a32-4339-b14c-ea24dfabffba</AttachmentId>
<AttachmentMethod>Database</AttachmentMethod>
<AttachmentType>Normal</AttachmentType>
<AttachmentUrl>sample string 9</AttachmentUrl>
<ContentLength>7</ContentLength>
<ContentType>sample string 6</ContentType>
<ExpenseClaimApplicationItemId>e4bcfb47-0e08-4eb4-b46e-a0acc6ccc284</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>99403831-1a32-4339-b14c-ea24dfabffba</AttachmentId>
<AttachmentMethod>Database</AttachmentMethod>
<AttachmentType>Normal</AttachmentType>
<AttachmentUrl>sample string 9</AttachmentUrl>
<ContentLength>7</ContentLength>
<ContentType>sample string 6</ContentType>
<ExpenseClaimApplicationItemId>e4bcfb47-0e08-4eb4-b46e-a0acc6ccc284</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>99403831-1a32-4339-b14c-ea24dfabffba</AttachmentId>
<AttachmentMethod>Database</AttachmentMethod>
<AttachmentType>Normal</AttachmentType>
<AttachmentUrl>sample string 9</AttachmentUrl>
<ContentLength>7</ContentLength>
<ContentType>sample string 6</ContentType>
<ExpenseClaimApplicationItemId>e4bcfb47-0e08-4eb4-b46e-a0acc6ccc284</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>2611e03c-fc66-4468-98c4-cc9776e140e7</ClientId>
<ClientName>sample string 8</ClientName>
<CurrencyCode>sample string 9</CurrencyCode>
<CurrencyId>87991b9a-8706-4e90-9e57-e59d7a8ed848</CurrencyId>
<CurrencyPolicyId>f5fcf604-24e3-46d8-a8ab-2824205a745a</CurrencyPolicyId>
<Description>sample string 7</Description>
<ExchangeRate>1</ExchangeRate>
<ExpenseCategoryCId>128dcaa4-3bbd-4de5-8edf-5b175b44060b</ExpenseCategoryCId>
<ExpenseCategoryName>sample string 12</ExpenseCategoryName>
<ExpenseClaimApplicationId>77b0d4dc-a81d-4483-8a48-239dd8279b31</ExpenseClaimApplicationId>
<ExpenseClaimApplicationItemId>f8ffa8e2-539d-4c4a-aad2-1336ad07abca</ExpenseClaimApplicationItemId>
<ExpenseDate>2026-10-16T15:07:50.0004726+08:00</ExpenseDate>
<ExpenseTypeId>231bfe14-e0bb-4c65-8aad-305ef4e899f8</ExpenseTypeId>
<ExpenseTypeName>sample string 6</ExpenseTypeName>
<ExpenseTypePolicyId>a5021936-503d-4824-9344-c7417df80220</ExpenseTypePolicyId>
<IsOverLimit>true</IsOverLimit>
<ProjectId>6b5c5c5e-bd19-4709-8380-3314d9903aa7</ProjectId>
<ProjectName>sample string 13</ProjectName>
<ShowClient>true</ShowClient>
<TaxAmount>1</TaxAmount>
<TaxInclusive>true</TaxInclusive>
<TierValue>1</TierValue>
<ValidationMessage>sample string 14</ValidationMessage>
</ClaimItem>
<ClaimItem>
<AllowEdit>true</AllowEdit>
<Amount>1</Amount>
<Attachment>
<AllowEdit>true</AllowEdit>
<AttachmentId>99403831-1a32-4339-b14c-ea24dfabffba</AttachmentId>
<AttachmentMethod>Database</AttachmentMethod>
<AttachmentType>Normal</AttachmentType>
<AttachmentUrl>sample string 9</AttachmentUrl>
<ContentLength>7</ContentLength>
<ContentType>sample string 6</ContentType>
<ExpenseClaimApplicationItemId>e4bcfb47-0e08-4eb4-b46e-a0acc6ccc284</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>99403831-1a32-4339-b14c-ea24dfabffba</AttachmentId>
<AttachmentMethod>Database</AttachmentMethod>
<AttachmentType>Normal</AttachmentType>
<AttachmentUrl>sample string 9</AttachmentUrl>
<ContentLength>7</ContentLength>
<ContentType>sample string 6</ContentType>
<ExpenseClaimApplicationItemId>e4bcfb47-0e08-4eb4-b46e-a0acc6ccc284</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>99403831-1a32-4339-b14c-ea24dfabffba</AttachmentId>
<AttachmentMethod>Database</AttachmentMethod>
<AttachmentType>Normal</AttachmentType>
<AttachmentUrl>sample string 9</AttachmentUrl>
<ContentLength>7</ContentLength>
<ContentType>sample string 6</ContentType>
<ExpenseClaimApplicationItemId>e4bcfb47-0e08-4eb4-b46e-a0acc6ccc284</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>2611e03c-fc66-4468-98c4-cc9776e140e7</ClientId>
<ClientName>sample string 8</ClientName>
<CurrencyCode>sample string 9</CurrencyCode>
<CurrencyId>87991b9a-8706-4e90-9e57-e59d7a8ed848</CurrencyId>
<CurrencyPolicyId>f5fcf604-24e3-46d8-a8ab-2824205a745a</CurrencyPolicyId>
<Description>sample string 7</Description>
<ExchangeRate>1</ExchangeRate>
<ExpenseCategoryCId>128dcaa4-3bbd-4de5-8edf-5b175b44060b</ExpenseCategoryCId>
<ExpenseCategoryName>sample string 12</ExpenseCategoryName>
<ExpenseClaimApplicationId>77b0d4dc-a81d-4483-8a48-239dd8279b31</ExpenseClaimApplicationId>
<ExpenseClaimApplicationItemId>f8ffa8e2-539d-4c4a-aad2-1336ad07abca</ExpenseClaimApplicationItemId>
<ExpenseDate>2026-10-16T15:07:50.0004726+08:00</ExpenseDate>
<ExpenseTypeId>231bfe14-e0bb-4c65-8aad-305ef4e899f8</ExpenseTypeId>
<ExpenseTypeName>sample string 6</ExpenseTypeName>
<ExpenseTypePolicyId>a5021936-503d-4824-9344-c7417df80220</ExpenseTypePolicyId>
<IsOverLimit>true</IsOverLimit>
<ProjectId>6b5c5c5e-bd19-4709-8380-3314d9903aa7</ProjectId>
<ProjectName>sample string 13</ProjectName>
<ShowClient>true</ShowClient>
<TaxAmount>1</TaxAmount>
<TaxInclusive>true</TaxInclusive>
<TierValue>1</TierValue>
<ValidationMessage>sample string 14</ValidationMessage>
</ClaimItem>
</Items>
<LatestActionDate>2026-10-16T15:07:50.0004726+08:00</LatestActionDate>
<RejectVisible>true</RejectVisible>
<Remarks>sample string 3</Remarks>
<ReworkVisible>true</ReworkVisible>
<Status>New</Status>
<Subject>sample string 2</Subject>
<SubmissionDate>2026-10-16T15:07:50.0004726+08:00</SubmissionDate>
<SubmitDeleteVisible>true</SubmitDeleteVisible>
<TotalLocalClaimAmount>8</TotalLocalClaimAmount>
<VerifyVisible>true</VerifyVisible>
<WorkflowActions xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</WorkflowActions>
<WorkflowInstanceDetailId>219e58f1-3ef0-457c-965f-99b9fb63151d</WorkflowInstanceDetailId>
</Claim>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
globally unique identifierResponse Formats
application/json, text/json
Sample:
"8093bd93-6267-4cb3-b00b-63f3f454678b"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">8093bd93-6267-4cb3-b00b-63f3f454678b</guid>