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": "b10602fe-e2f9-415e-999e-d76271e55875",
"Subject": "sample string 2",
"Remarks": "sample string 3",
"ExpenseClaimApplicationName": "sample string 4",
"ExpenseGroupId": "00c1b849-2958-48c3-9cb5-c0de0682aa0f",
"ExpenseGroup": "sample string 6",
"IsMyClaim": true,
"Status": 1,
"Items": [
{
"ExpenseClaimApplicationId": "680b358d-c661-430e-a89c-3b57619b99dc",
"ExpenseClaimApplicationItemId": "49fa8b1a-f6ce-45e8-a9e8-15bb8963b86f",
"ExpenseDate": "2026-08-17T09:08:54.5366749+08:00",
"ExpenseTypeId": "75b61221-3972-4545-90e9-23fe64afbb60",
"ExpenseTypePolicyId": "9b5d16fc-e977-4a29-8a9d-73209fae5967",
"ExpenseTypeName": "sample string 6",
"Description": "sample string 7",
"ClientId": "097765ce-6fd5-4dd3-a5f7-94dc4c52dcbd",
"ClientName": "sample string 8",
"ProjectId": "b1d711c8-808c-4cc6-95f4-8766c9a29ed0",
"CurrencyPolicyId": "6c3c8496-7110-43c0-ab70-1d0f609ef9ce",
"CurrencyId": "ee11e592-f97c-43da-9071-e00910a9b262",
"CurrencyCode": "sample string 9",
"Amount": 1.0,
"TaxInclusive": true,
"TaxAmount": 1.0,
"ExpenseCategoryCId": "9f5d771c-0780-49af-9b11-1025814d904b",
"ExpenseCategoryName": "sample string 12",
"ProjectName": "sample string 13",
"Attachment": {
"AttachmentId": "60ce64a9-a96f-4573-a858-884337918571",
"OwnerTable": "sample string 2",
"ExpenseClaimApplicationItemId": "44bb0b6d-8656-4115-9f2a-32073527f6eb",
"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": "60ce64a9-a96f-4573-a858-884337918571",
"OwnerTable": "sample string 2",
"ExpenseClaimApplicationItemId": "44bb0b6d-8656-4115-9f2a-32073527f6eb",
"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": "60ce64a9-a96f-4573-a858-884337918571",
"OwnerTable": "sample string 2",
"ExpenseClaimApplicationItemId": "44bb0b6d-8656-4115-9f2a-32073527f6eb",
"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": "680b358d-c661-430e-a89c-3b57619b99dc",
"ExpenseClaimApplicationItemId": "49fa8b1a-f6ce-45e8-a9e8-15bb8963b86f",
"ExpenseDate": "2026-08-17T09:08:54.5366749+08:00",
"ExpenseTypeId": "75b61221-3972-4545-90e9-23fe64afbb60",
"ExpenseTypePolicyId": "9b5d16fc-e977-4a29-8a9d-73209fae5967",
"ExpenseTypeName": "sample string 6",
"Description": "sample string 7",
"ClientId": "097765ce-6fd5-4dd3-a5f7-94dc4c52dcbd",
"ClientName": "sample string 8",
"ProjectId": "b1d711c8-808c-4cc6-95f4-8766c9a29ed0",
"CurrencyPolicyId": "6c3c8496-7110-43c0-ab70-1d0f609ef9ce",
"CurrencyId": "ee11e592-f97c-43da-9071-e00910a9b262",
"CurrencyCode": "sample string 9",
"Amount": 1.0,
"TaxInclusive": true,
"TaxAmount": 1.0,
"ExpenseCategoryCId": "9f5d771c-0780-49af-9b11-1025814d904b",
"ExpenseCategoryName": "sample string 12",
"ProjectName": "sample string 13",
"Attachment": {
"AttachmentId": "60ce64a9-a96f-4573-a858-884337918571",
"OwnerTable": "sample string 2",
"ExpenseClaimApplicationItemId": "44bb0b6d-8656-4115-9f2a-32073527f6eb",
"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": "60ce64a9-a96f-4573-a858-884337918571",
"OwnerTable": "sample string 2",
"ExpenseClaimApplicationItemId": "44bb0b6d-8656-4115-9f2a-32073527f6eb",
"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": "60ce64a9-a96f-4573-a858-884337918571",
"OwnerTable": "sample string 2",
"ExpenseClaimApplicationItemId": "44bb0b6d-8656-4115-9f2a-32073527f6eb",
"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": "e070c164-2226-4e10-bf28-7765fac26560",
"WorkflowActions": [
"sample string 1",
"sample string 2"
],
"TotalLocalClaimAmount": 8.0,
"ItemCount": 9,
"SubmissionDate": "2026-08-17T09:08:54.5366749+08:00",
"CurrencyId": "8a17b36b-2673-473a-91a8-2e3be14c8358",
"CurrencyCode": "sample string 11",
"CurrencyName": "sample string 12",
"StatusName": "New",
"ReworkVisible": true,
"VerifyVisible": true,
"ApproveVisible": true,
"RejectVisible": true,
"SubmitDeleteVisible": true,
"LatestActionDate": "2026-08-17T09:08:54.5366749+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>8a17b36b-2673-473a-91a8-2e3be14c8358</CurrencyId>
<CurrencyName>sample string 12</CurrencyName>
<ExpenseClaimApplicationId>b10602fe-e2f9-415e-999e-d76271e55875</ExpenseClaimApplicationId>
<ExpenseClaimApplicationName>sample string 4</ExpenseClaimApplicationName>
<ExpenseGroup>sample string 6</ExpenseGroup>
<ExpenseGroupId>00c1b849-2958-48c3-9cb5-c0de0682aa0f</ExpenseGroupId>
<IsMyClaim>true</IsMyClaim>
<ItemCount>9</ItemCount>
<Items>
<ClaimItem>
<AllowEdit>true</AllowEdit>
<Amount>1</Amount>
<Attachment>
<AllowEdit>true</AllowEdit>
<AttachmentId>60ce64a9-a96f-4573-a858-884337918571</AttachmentId>
<AttachmentMethod>Database</AttachmentMethod>
<AttachmentType>Normal</AttachmentType>
<AttachmentUrl>sample string 9</AttachmentUrl>
<ContentLength>7</ContentLength>
<ContentType>sample string 6</ContentType>
<ExpenseClaimApplicationItemId>44bb0b6d-8656-4115-9f2a-32073527f6eb</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>60ce64a9-a96f-4573-a858-884337918571</AttachmentId>
<AttachmentMethod>Database</AttachmentMethod>
<AttachmentType>Normal</AttachmentType>
<AttachmentUrl>sample string 9</AttachmentUrl>
<ContentLength>7</ContentLength>
<ContentType>sample string 6</ContentType>
<ExpenseClaimApplicationItemId>44bb0b6d-8656-4115-9f2a-32073527f6eb</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>60ce64a9-a96f-4573-a858-884337918571</AttachmentId>
<AttachmentMethod>Database</AttachmentMethod>
<AttachmentType>Normal</AttachmentType>
<AttachmentUrl>sample string 9</AttachmentUrl>
<ContentLength>7</ContentLength>
<ContentType>sample string 6</ContentType>
<ExpenseClaimApplicationItemId>44bb0b6d-8656-4115-9f2a-32073527f6eb</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>097765ce-6fd5-4dd3-a5f7-94dc4c52dcbd</ClientId>
<ClientName>sample string 8</ClientName>
<CurrencyCode>sample string 9</CurrencyCode>
<CurrencyId>ee11e592-f97c-43da-9071-e00910a9b262</CurrencyId>
<CurrencyPolicyId>6c3c8496-7110-43c0-ab70-1d0f609ef9ce</CurrencyPolicyId>
<Description>sample string 7</Description>
<ExchangeRate>1</ExchangeRate>
<ExpenseCategoryCId>9f5d771c-0780-49af-9b11-1025814d904b</ExpenseCategoryCId>
<ExpenseCategoryName>sample string 12</ExpenseCategoryName>
<ExpenseClaimApplicationId>680b358d-c661-430e-a89c-3b57619b99dc</ExpenseClaimApplicationId>
<ExpenseClaimApplicationItemId>49fa8b1a-f6ce-45e8-a9e8-15bb8963b86f</ExpenseClaimApplicationItemId>
<ExpenseDate>2026-08-17T09:08:54.5366749+08:00</ExpenseDate>
<ExpenseTypeId>75b61221-3972-4545-90e9-23fe64afbb60</ExpenseTypeId>
<ExpenseTypeName>sample string 6</ExpenseTypeName>
<ExpenseTypePolicyId>9b5d16fc-e977-4a29-8a9d-73209fae5967</ExpenseTypePolicyId>
<IsOverLimit>true</IsOverLimit>
<ProjectId>b1d711c8-808c-4cc6-95f4-8766c9a29ed0</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>60ce64a9-a96f-4573-a858-884337918571</AttachmentId>
<AttachmentMethod>Database</AttachmentMethod>
<AttachmentType>Normal</AttachmentType>
<AttachmentUrl>sample string 9</AttachmentUrl>
<ContentLength>7</ContentLength>
<ContentType>sample string 6</ContentType>
<ExpenseClaimApplicationItemId>44bb0b6d-8656-4115-9f2a-32073527f6eb</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>60ce64a9-a96f-4573-a858-884337918571</AttachmentId>
<AttachmentMethod>Database</AttachmentMethod>
<AttachmentType>Normal</AttachmentType>
<AttachmentUrl>sample string 9</AttachmentUrl>
<ContentLength>7</ContentLength>
<ContentType>sample string 6</ContentType>
<ExpenseClaimApplicationItemId>44bb0b6d-8656-4115-9f2a-32073527f6eb</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>60ce64a9-a96f-4573-a858-884337918571</AttachmentId>
<AttachmentMethod>Database</AttachmentMethod>
<AttachmentType>Normal</AttachmentType>
<AttachmentUrl>sample string 9</AttachmentUrl>
<ContentLength>7</ContentLength>
<ContentType>sample string 6</ContentType>
<ExpenseClaimApplicationItemId>44bb0b6d-8656-4115-9f2a-32073527f6eb</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>097765ce-6fd5-4dd3-a5f7-94dc4c52dcbd</ClientId>
<ClientName>sample string 8</ClientName>
<CurrencyCode>sample string 9</CurrencyCode>
<CurrencyId>ee11e592-f97c-43da-9071-e00910a9b262</CurrencyId>
<CurrencyPolicyId>6c3c8496-7110-43c0-ab70-1d0f609ef9ce</CurrencyPolicyId>
<Description>sample string 7</Description>
<ExchangeRate>1</ExchangeRate>
<ExpenseCategoryCId>9f5d771c-0780-49af-9b11-1025814d904b</ExpenseCategoryCId>
<ExpenseCategoryName>sample string 12</ExpenseCategoryName>
<ExpenseClaimApplicationId>680b358d-c661-430e-a89c-3b57619b99dc</ExpenseClaimApplicationId>
<ExpenseClaimApplicationItemId>49fa8b1a-f6ce-45e8-a9e8-15bb8963b86f</ExpenseClaimApplicationItemId>
<ExpenseDate>2026-08-17T09:08:54.5366749+08:00</ExpenseDate>
<ExpenseTypeId>75b61221-3972-4545-90e9-23fe64afbb60</ExpenseTypeId>
<ExpenseTypeName>sample string 6</ExpenseTypeName>
<ExpenseTypePolicyId>9b5d16fc-e977-4a29-8a9d-73209fae5967</ExpenseTypePolicyId>
<IsOverLimit>true</IsOverLimit>
<ProjectId>b1d711c8-808c-4cc6-95f4-8766c9a29ed0</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-08-17T09:08:54.5366749+08:00</LatestActionDate>
<RejectVisible>true</RejectVisible>
<Remarks>sample string 3</Remarks>
<ReworkVisible>true</ReworkVisible>
<Status>New</Status>
<Subject>sample string 2</Subject>
<SubmissionDate>2026-08-17T09:08:54.5366749+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>e070c164-2226-4e10-bf28-7765fac26560</WorkflowInstanceDetailId>
</Claim>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
globally unique identifierResponse Formats
application/json, text/json
Sample:
"57115ac6-968f-4cf0-8a14-92681af33fe3"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">57115ac6-968f-4cf0-8a14-92681af33fe3</guid>