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": "9d934596-eb68-44fd-849d-d608bc067063",
"Subject": "sample string 2",
"Remarks": "sample string 3",
"ExpenseClaimApplicationName": "sample string 4",
"ExpenseGroupId": "592b1f79-2ee3-4388-abae-d3f396601540",
"ExpenseGroup": "sample string 6",
"IsMyClaim": true,
"Status": 1,
"Items": [
{
"ExpenseClaimApplicationId": "02cc78fa-203a-47c2-90cd-7e09a5b49b36",
"ExpenseClaimApplicationItemId": "c9ffe0e1-1670-4bd9-bc59-7a80bc0e726a",
"ExpenseDate": "2026-02-18T19:36:45.8474507+08:00",
"ExpenseTypeId": "c1f97fb7-94ff-432b-a510-60d5762120e5",
"ExpenseTypePolicyId": "c03c8aca-3621-4fba-87d5-380f1ffdb3ef",
"ExpenseTypeName": "sample string 6",
"Description": "sample string 7",
"ClientId": "7005fdb8-309d-401e-be0f-fe02d437aefd",
"ClientName": "sample string 8",
"ProjectId": "d4cc1f37-22a0-4e3c-86ae-34fae7887834",
"CurrencyPolicyId": "bc8686c8-8b11-46dc-be38-ad0089d44472",
"CurrencyId": "502aeb5f-06e6-4764-b668-d238fba94979",
"CurrencyCode": "sample string 9",
"Amount": 1.0,
"TaxInclusive": true,
"TaxAmount": 1.0,
"ExpenseCategoryCId": "7ecf1137-ea29-4bc4-8921-a6e0ed679d75",
"ExpenseCategoryName": "sample string 12",
"ProjectName": "sample string 13",
"Attachment": {
"AttachmentId": "6e5d7087-bc8c-48b1-84a0-268d77659ad0",
"OwnerTable": "sample string 2",
"ExpenseClaimApplicationItemId": "619943aa-ee71-4bcc-abe1-128bb88a62dc",
"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": "6e5d7087-bc8c-48b1-84a0-268d77659ad0",
"OwnerTable": "sample string 2",
"ExpenseClaimApplicationItemId": "619943aa-ee71-4bcc-abe1-128bb88a62dc",
"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": "6e5d7087-bc8c-48b1-84a0-268d77659ad0",
"OwnerTable": "sample string 2",
"ExpenseClaimApplicationItemId": "619943aa-ee71-4bcc-abe1-128bb88a62dc",
"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": "02cc78fa-203a-47c2-90cd-7e09a5b49b36",
"ExpenseClaimApplicationItemId": "c9ffe0e1-1670-4bd9-bc59-7a80bc0e726a",
"ExpenseDate": "2026-02-18T19:36:45.8474507+08:00",
"ExpenseTypeId": "c1f97fb7-94ff-432b-a510-60d5762120e5",
"ExpenseTypePolicyId": "c03c8aca-3621-4fba-87d5-380f1ffdb3ef",
"ExpenseTypeName": "sample string 6",
"Description": "sample string 7",
"ClientId": "7005fdb8-309d-401e-be0f-fe02d437aefd",
"ClientName": "sample string 8",
"ProjectId": "d4cc1f37-22a0-4e3c-86ae-34fae7887834",
"CurrencyPolicyId": "bc8686c8-8b11-46dc-be38-ad0089d44472",
"CurrencyId": "502aeb5f-06e6-4764-b668-d238fba94979",
"CurrencyCode": "sample string 9",
"Amount": 1.0,
"TaxInclusive": true,
"TaxAmount": 1.0,
"ExpenseCategoryCId": "7ecf1137-ea29-4bc4-8921-a6e0ed679d75",
"ExpenseCategoryName": "sample string 12",
"ProjectName": "sample string 13",
"Attachment": {
"AttachmentId": "6e5d7087-bc8c-48b1-84a0-268d77659ad0",
"OwnerTable": "sample string 2",
"ExpenseClaimApplicationItemId": "619943aa-ee71-4bcc-abe1-128bb88a62dc",
"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": "6e5d7087-bc8c-48b1-84a0-268d77659ad0",
"OwnerTable": "sample string 2",
"ExpenseClaimApplicationItemId": "619943aa-ee71-4bcc-abe1-128bb88a62dc",
"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": "6e5d7087-bc8c-48b1-84a0-268d77659ad0",
"OwnerTable": "sample string 2",
"ExpenseClaimApplicationItemId": "619943aa-ee71-4bcc-abe1-128bb88a62dc",
"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": "449aef3c-4e5d-42fa-b71a-f63c0305b3ba",
"WorkflowActions": [
"sample string 1",
"sample string 2"
],
"TotalLocalClaimAmount": 8.0,
"ItemCount": 9,
"SubmissionDate": "2026-02-18T19:36:45.8474507+08:00",
"CurrencyId": "c4d3941b-3a97-458a-90fd-580cbdcf48aa",
"CurrencyCode": "sample string 11",
"CurrencyName": "sample string 12",
"StatusName": "New",
"ReworkVisible": true,
"VerifyVisible": true,
"ApproveVisible": true,
"RejectVisible": true,
"SubmitDeleteVisible": true,
"LatestActionDate": "2026-02-18T19:36:45.8474507+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>c4d3941b-3a97-458a-90fd-580cbdcf48aa</CurrencyId>
<CurrencyName>sample string 12</CurrencyName>
<ExpenseClaimApplicationId>9d934596-eb68-44fd-849d-d608bc067063</ExpenseClaimApplicationId>
<ExpenseClaimApplicationName>sample string 4</ExpenseClaimApplicationName>
<ExpenseGroup>sample string 6</ExpenseGroup>
<ExpenseGroupId>592b1f79-2ee3-4388-abae-d3f396601540</ExpenseGroupId>
<IsMyClaim>true</IsMyClaim>
<ItemCount>9</ItemCount>
<Items>
<ClaimItem>
<AllowEdit>true</AllowEdit>
<Amount>1</Amount>
<Attachment>
<AllowEdit>true</AllowEdit>
<AttachmentId>6e5d7087-bc8c-48b1-84a0-268d77659ad0</AttachmentId>
<AttachmentMethod>Database</AttachmentMethod>
<AttachmentType>Normal</AttachmentType>
<AttachmentUrl>sample string 9</AttachmentUrl>
<ContentLength>7</ContentLength>
<ContentType>sample string 6</ContentType>
<ExpenseClaimApplicationItemId>619943aa-ee71-4bcc-abe1-128bb88a62dc</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>6e5d7087-bc8c-48b1-84a0-268d77659ad0</AttachmentId>
<AttachmentMethod>Database</AttachmentMethod>
<AttachmentType>Normal</AttachmentType>
<AttachmentUrl>sample string 9</AttachmentUrl>
<ContentLength>7</ContentLength>
<ContentType>sample string 6</ContentType>
<ExpenseClaimApplicationItemId>619943aa-ee71-4bcc-abe1-128bb88a62dc</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>6e5d7087-bc8c-48b1-84a0-268d77659ad0</AttachmentId>
<AttachmentMethod>Database</AttachmentMethod>
<AttachmentType>Normal</AttachmentType>
<AttachmentUrl>sample string 9</AttachmentUrl>
<ContentLength>7</ContentLength>
<ContentType>sample string 6</ContentType>
<ExpenseClaimApplicationItemId>619943aa-ee71-4bcc-abe1-128bb88a62dc</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>7005fdb8-309d-401e-be0f-fe02d437aefd</ClientId>
<ClientName>sample string 8</ClientName>
<CurrencyCode>sample string 9</CurrencyCode>
<CurrencyId>502aeb5f-06e6-4764-b668-d238fba94979</CurrencyId>
<CurrencyPolicyId>bc8686c8-8b11-46dc-be38-ad0089d44472</CurrencyPolicyId>
<Description>sample string 7</Description>
<ExchangeRate>1</ExchangeRate>
<ExpenseCategoryCId>7ecf1137-ea29-4bc4-8921-a6e0ed679d75</ExpenseCategoryCId>
<ExpenseCategoryName>sample string 12</ExpenseCategoryName>
<ExpenseClaimApplicationId>02cc78fa-203a-47c2-90cd-7e09a5b49b36</ExpenseClaimApplicationId>
<ExpenseClaimApplicationItemId>c9ffe0e1-1670-4bd9-bc59-7a80bc0e726a</ExpenseClaimApplicationItemId>
<ExpenseDate>2026-02-18T19:36:45.8474507+08:00</ExpenseDate>
<ExpenseTypeId>c1f97fb7-94ff-432b-a510-60d5762120e5</ExpenseTypeId>
<ExpenseTypeName>sample string 6</ExpenseTypeName>
<ExpenseTypePolicyId>c03c8aca-3621-4fba-87d5-380f1ffdb3ef</ExpenseTypePolicyId>
<IsOverLimit>true</IsOverLimit>
<ProjectId>d4cc1f37-22a0-4e3c-86ae-34fae7887834</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>6e5d7087-bc8c-48b1-84a0-268d77659ad0</AttachmentId>
<AttachmentMethod>Database</AttachmentMethod>
<AttachmentType>Normal</AttachmentType>
<AttachmentUrl>sample string 9</AttachmentUrl>
<ContentLength>7</ContentLength>
<ContentType>sample string 6</ContentType>
<ExpenseClaimApplicationItemId>619943aa-ee71-4bcc-abe1-128bb88a62dc</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>6e5d7087-bc8c-48b1-84a0-268d77659ad0</AttachmentId>
<AttachmentMethod>Database</AttachmentMethod>
<AttachmentType>Normal</AttachmentType>
<AttachmentUrl>sample string 9</AttachmentUrl>
<ContentLength>7</ContentLength>
<ContentType>sample string 6</ContentType>
<ExpenseClaimApplicationItemId>619943aa-ee71-4bcc-abe1-128bb88a62dc</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>6e5d7087-bc8c-48b1-84a0-268d77659ad0</AttachmentId>
<AttachmentMethod>Database</AttachmentMethod>
<AttachmentType>Normal</AttachmentType>
<AttachmentUrl>sample string 9</AttachmentUrl>
<ContentLength>7</ContentLength>
<ContentType>sample string 6</ContentType>
<ExpenseClaimApplicationItemId>619943aa-ee71-4bcc-abe1-128bb88a62dc</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>7005fdb8-309d-401e-be0f-fe02d437aefd</ClientId>
<ClientName>sample string 8</ClientName>
<CurrencyCode>sample string 9</CurrencyCode>
<CurrencyId>502aeb5f-06e6-4764-b668-d238fba94979</CurrencyId>
<CurrencyPolicyId>bc8686c8-8b11-46dc-be38-ad0089d44472</CurrencyPolicyId>
<Description>sample string 7</Description>
<ExchangeRate>1</ExchangeRate>
<ExpenseCategoryCId>7ecf1137-ea29-4bc4-8921-a6e0ed679d75</ExpenseCategoryCId>
<ExpenseCategoryName>sample string 12</ExpenseCategoryName>
<ExpenseClaimApplicationId>02cc78fa-203a-47c2-90cd-7e09a5b49b36</ExpenseClaimApplicationId>
<ExpenseClaimApplicationItemId>c9ffe0e1-1670-4bd9-bc59-7a80bc0e726a</ExpenseClaimApplicationItemId>
<ExpenseDate>2026-02-18T19:36:45.8474507+08:00</ExpenseDate>
<ExpenseTypeId>c1f97fb7-94ff-432b-a510-60d5762120e5</ExpenseTypeId>
<ExpenseTypeName>sample string 6</ExpenseTypeName>
<ExpenseTypePolicyId>c03c8aca-3621-4fba-87d5-380f1ffdb3ef</ExpenseTypePolicyId>
<IsOverLimit>true</IsOverLimit>
<ProjectId>d4cc1f37-22a0-4e3c-86ae-34fae7887834</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-02-18T19:36:45.8474507+08:00</LatestActionDate>
<RejectVisible>true</RejectVisible>
<Remarks>sample string 3</Remarks>
<ReworkVisible>true</ReworkVisible>
<Status>New</Status>
<Subject>sample string 2</Subject>
<SubmissionDate>2026-02-18T19:36:45.8474507+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>449aef3c-4e5d-42fa-b71a-f63c0305b3ba</WorkflowInstanceDetailId>
</Claim>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
globally unique identifierResponse Formats
application/json, text/json
Sample:
"e1fa3821-b7c2-4655-bc10-03466400c321"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">e1fa3821-b7c2-4655-bc10-03466400c321</guid>