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": "9eb9d029-19c7-4c8f-bea8-87b97aeff012",
"Subject": "sample string 2",
"Remarks": "sample string 3",
"ExpenseClaimApplicationName": "sample string 4",
"ExpenseGroupId": "37285325-1269-4280-bc62-451542710219",
"ExpenseGroup": "sample string 6",
"IsMyClaim": true,
"Status": 1,
"Items": [
{
"ExpenseClaimApplicationId": "bb638b07-b594-486d-828a-b27d72cc32bc",
"ExpenseClaimApplicationItemId": "bd272788-9aec-4330-8004-d0fdb22c29d3",
"ExpenseDate": "2025-12-21T13:25:16.6050187+08:00",
"ExpenseTypeId": "a6fb6584-902a-465b-81d8-f4b7ae745836",
"ExpenseTypePolicyId": "33c97db5-dc8d-46f0-9f1e-6c8415312e1b",
"ExpenseTypeName": "sample string 6",
"Description": "sample string 7",
"ClientId": "30842f88-5821-4b47-a82c-4e7ff22b283f",
"ClientName": "sample string 8",
"ProjectId": "138fce1e-4380-49a3-aeb3-47f82e033aeb",
"CurrencyPolicyId": "182ef0c3-4467-4364-8640-5cad6e68cb13",
"CurrencyId": "9dee81ad-b582-4d1e-8aba-3fe7af83c653",
"CurrencyCode": "sample string 9",
"Amount": 1.0,
"TaxInclusive": true,
"TaxAmount": 1.0,
"ExpenseCategoryCId": "a69320a4-cb15-494a-8fa7-6394f1168db7",
"ExpenseCategoryName": "sample string 12",
"ProjectName": "sample string 13",
"Attachment": {
"AttachmentId": "b6241951-e552-47f7-ac6b-d2cff92dbf55",
"OwnerTable": "sample string 2",
"ExpenseClaimApplicationItemId": "b8e3895b-a1ba-4193-a8dc-d78e7b512cc5",
"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": "b6241951-e552-47f7-ac6b-d2cff92dbf55",
"OwnerTable": "sample string 2",
"ExpenseClaimApplicationItemId": "b8e3895b-a1ba-4193-a8dc-d78e7b512cc5",
"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": "b6241951-e552-47f7-ac6b-d2cff92dbf55",
"OwnerTable": "sample string 2",
"ExpenseClaimApplicationItemId": "b8e3895b-a1ba-4193-a8dc-d78e7b512cc5",
"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": "bb638b07-b594-486d-828a-b27d72cc32bc",
"ExpenseClaimApplicationItemId": "bd272788-9aec-4330-8004-d0fdb22c29d3",
"ExpenseDate": "2025-12-21T13:25:16.6050187+08:00",
"ExpenseTypeId": "a6fb6584-902a-465b-81d8-f4b7ae745836",
"ExpenseTypePolicyId": "33c97db5-dc8d-46f0-9f1e-6c8415312e1b",
"ExpenseTypeName": "sample string 6",
"Description": "sample string 7",
"ClientId": "30842f88-5821-4b47-a82c-4e7ff22b283f",
"ClientName": "sample string 8",
"ProjectId": "138fce1e-4380-49a3-aeb3-47f82e033aeb",
"CurrencyPolicyId": "182ef0c3-4467-4364-8640-5cad6e68cb13",
"CurrencyId": "9dee81ad-b582-4d1e-8aba-3fe7af83c653",
"CurrencyCode": "sample string 9",
"Amount": 1.0,
"TaxInclusive": true,
"TaxAmount": 1.0,
"ExpenseCategoryCId": "a69320a4-cb15-494a-8fa7-6394f1168db7",
"ExpenseCategoryName": "sample string 12",
"ProjectName": "sample string 13",
"Attachment": {
"AttachmentId": "b6241951-e552-47f7-ac6b-d2cff92dbf55",
"OwnerTable": "sample string 2",
"ExpenseClaimApplicationItemId": "b8e3895b-a1ba-4193-a8dc-d78e7b512cc5",
"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": "b6241951-e552-47f7-ac6b-d2cff92dbf55",
"OwnerTable": "sample string 2",
"ExpenseClaimApplicationItemId": "b8e3895b-a1ba-4193-a8dc-d78e7b512cc5",
"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": "b6241951-e552-47f7-ac6b-d2cff92dbf55",
"OwnerTable": "sample string 2",
"ExpenseClaimApplicationItemId": "b8e3895b-a1ba-4193-a8dc-d78e7b512cc5",
"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": "bf62b78d-e614-4946-ab36-9da1e495f271",
"WorkflowActions": [
"sample string 1",
"sample string 2"
],
"TotalLocalClaimAmount": 8.0,
"ItemCount": 9,
"SubmissionDate": "2025-12-21T13:25:16.6050187+08:00",
"CurrencyId": "3c6421e9-d0f7-4f0d-8a47-cedd776aded3",
"CurrencyCode": "sample string 11",
"CurrencyName": "sample string 12",
"StatusName": "New",
"ReworkVisible": true,
"VerifyVisible": true,
"ApproveVisible": true,
"RejectVisible": true,
"SubmitDeleteVisible": true,
"LatestActionDate": "2025-12-21T13:25:16.6050187+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>3c6421e9-d0f7-4f0d-8a47-cedd776aded3</CurrencyId>
<CurrencyName>sample string 12</CurrencyName>
<ExpenseClaimApplicationId>9eb9d029-19c7-4c8f-bea8-87b97aeff012</ExpenseClaimApplicationId>
<ExpenseClaimApplicationName>sample string 4</ExpenseClaimApplicationName>
<ExpenseGroup>sample string 6</ExpenseGroup>
<ExpenseGroupId>37285325-1269-4280-bc62-451542710219</ExpenseGroupId>
<IsMyClaim>true</IsMyClaim>
<ItemCount>9</ItemCount>
<Items>
<ClaimItem>
<AllowEdit>true</AllowEdit>
<Amount>1</Amount>
<Attachment>
<AllowEdit>true</AllowEdit>
<AttachmentId>b6241951-e552-47f7-ac6b-d2cff92dbf55</AttachmentId>
<AttachmentMethod>Database</AttachmentMethod>
<AttachmentType>Normal</AttachmentType>
<AttachmentUrl>sample string 9</AttachmentUrl>
<ContentLength>7</ContentLength>
<ContentType>sample string 6</ContentType>
<ExpenseClaimApplicationItemId>b8e3895b-a1ba-4193-a8dc-d78e7b512cc5</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>b6241951-e552-47f7-ac6b-d2cff92dbf55</AttachmentId>
<AttachmentMethod>Database</AttachmentMethod>
<AttachmentType>Normal</AttachmentType>
<AttachmentUrl>sample string 9</AttachmentUrl>
<ContentLength>7</ContentLength>
<ContentType>sample string 6</ContentType>
<ExpenseClaimApplicationItemId>b8e3895b-a1ba-4193-a8dc-d78e7b512cc5</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>b6241951-e552-47f7-ac6b-d2cff92dbf55</AttachmentId>
<AttachmentMethod>Database</AttachmentMethod>
<AttachmentType>Normal</AttachmentType>
<AttachmentUrl>sample string 9</AttachmentUrl>
<ContentLength>7</ContentLength>
<ContentType>sample string 6</ContentType>
<ExpenseClaimApplicationItemId>b8e3895b-a1ba-4193-a8dc-d78e7b512cc5</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>30842f88-5821-4b47-a82c-4e7ff22b283f</ClientId>
<ClientName>sample string 8</ClientName>
<CurrencyCode>sample string 9</CurrencyCode>
<CurrencyId>9dee81ad-b582-4d1e-8aba-3fe7af83c653</CurrencyId>
<CurrencyPolicyId>182ef0c3-4467-4364-8640-5cad6e68cb13</CurrencyPolicyId>
<Description>sample string 7</Description>
<ExchangeRate>1</ExchangeRate>
<ExpenseCategoryCId>a69320a4-cb15-494a-8fa7-6394f1168db7</ExpenseCategoryCId>
<ExpenseCategoryName>sample string 12</ExpenseCategoryName>
<ExpenseClaimApplicationId>bb638b07-b594-486d-828a-b27d72cc32bc</ExpenseClaimApplicationId>
<ExpenseClaimApplicationItemId>bd272788-9aec-4330-8004-d0fdb22c29d3</ExpenseClaimApplicationItemId>
<ExpenseDate>2025-12-21T13:25:16.6050187+08:00</ExpenseDate>
<ExpenseTypeId>a6fb6584-902a-465b-81d8-f4b7ae745836</ExpenseTypeId>
<ExpenseTypeName>sample string 6</ExpenseTypeName>
<ExpenseTypePolicyId>33c97db5-dc8d-46f0-9f1e-6c8415312e1b</ExpenseTypePolicyId>
<IsOverLimit>true</IsOverLimit>
<ProjectId>138fce1e-4380-49a3-aeb3-47f82e033aeb</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>b6241951-e552-47f7-ac6b-d2cff92dbf55</AttachmentId>
<AttachmentMethod>Database</AttachmentMethod>
<AttachmentType>Normal</AttachmentType>
<AttachmentUrl>sample string 9</AttachmentUrl>
<ContentLength>7</ContentLength>
<ContentType>sample string 6</ContentType>
<ExpenseClaimApplicationItemId>b8e3895b-a1ba-4193-a8dc-d78e7b512cc5</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>b6241951-e552-47f7-ac6b-d2cff92dbf55</AttachmentId>
<AttachmentMethod>Database</AttachmentMethod>
<AttachmentType>Normal</AttachmentType>
<AttachmentUrl>sample string 9</AttachmentUrl>
<ContentLength>7</ContentLength>
<ContentType>sample string 6</ContentType>
<ExpenseClaimApplicationItemId>b8e3895b-a1ba-4193-a8dc-d78e7b512cc5</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>b6241951-e552-47f7-ac6b-d2cff92dbf55</AttachmentId>
<AttachmentMethod>Database</AttachmentMethod>
<AttachmentType>Normal</AttachmentType>
<AttachmentUrl>sample string 9</AttachmentUrl>
<ContentLength>7</ContentLength>
<ContentType>sample string 6</ContentType>
<ExpenseClaimApplicationItemId>b8e3895b-a1ba-4193-a8dc-d78e7b512cc5</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>30842f88-5821-4b47-a82c-4e7ff22b283f</ClientId>
<ClientName>sample string 8</ClientName>
<CurrencyCode>sample string 9</CurrencyCode>
<CurrencyId>9dee81ad-b582-4d1e-8aba-3fe7af83c653</CurrencyId>
<CurrencyPolicyId>182ef0c3-4467-4364-8640-5cad6e68cb13</CurrencyPolicyId>
<Description>sample string 7</Description>
<ExchangeRate>1</ExchangeRate>
<ExpenseCategoryCId>a69320a4-cb15-494a-8fa7-6394f1168db7</ExpenseCategoryCId>
<ExpenseCategoryName>sample string 12</ExpenseCategoryName>
<ExpenseClaimApplicationId>bb638b07-b594-486d-828a-b27d72cc32bc</ExpenseClaimApplicationId>
<ExpenseClaimApplicationItemId>bd272788-9aec-4330-8004-d0fdb22c29d3</ExpenseClaimApplicationItemId>
<ExpenseDate>2025-12-21T13:25:16.6050187+08:00</ExpenseDate>
<ExpenseTypeId>a6fb6584-902a-465b-81d8-f4b7ae745836</ExpenseTypeId>
<ExpenseTypeName>sample string 6</ExpenseTypeName>
<ExpenseTypePolicyId>33c97db5-dc8d-46f0-9f1e-6c8415312e1b</ExpenseTypePolicyId>
<IsOverLimit>true</IsOverLimit>
<ProjectId>138fce1e-4380-49a3-aeb3-47f82e033aeb</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>2025-12-21T13:25:16.6050187+08:00</LatestActionDate>
<RejectVisible>true</RejectVisible>
<Remarks>sample string 3</Remarks>
<ReworkVisible>true</ReworkVisible>
<Status>New</Status>
<Subject>sample string 2</Subject>
<SubmissionDate>2025-12-21T13:25:16.6050187+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>bf62b78d-e614-4946-ab36-9da1e495f271</WorkflowInstanceDetailId>
</Claim>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
globally unique identifierResponse Formats
application/json, text/json
Sample:
"eedbe5fa-e837-4fc0-9785-5dc3f9af33a0"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">eedbe5fa-e837-4fc0-9785-5dc3f9af33a0</guid>