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": "e4e27915-538e-44b4-be10-68231261cc85",
"Subject": "sample string 2",
"Remarks": "sample string 3",
"ExpenseClaimApplicationName": "sample string 4",
"ExpenseGroupId": "01a656b5-d935-472a-b3bf-a421ac590b2a",
"ExpenseGroup": "sample string 6",
"IsMyClaim": true,
"Status": 1,
"Items": [
{
"ExpenseClaimApplicationId": "3e35f9e7-1267-46e1-913e-cf5480f94e33",
"ExpenseClaimApplicationItemId": "c9e0ca76-b240-4b2c-896b-cc24a3b91080",
"ExpenseDate": "2026-06-18T11:31:48.2836592+08:00",
"ExpenseTypeId": "d01f0446-4d39-4a2e-868c-59576bb98546",
"ExpenseTypePolicyId": "ef98c9bd-e719-47b0-9b31-ed02968be372",
"ExpenseTypeName": "sample string 6",
"Description": "sample string 7",
"ClientId": "03366a96-f5f8-4773-a340-fde2c54970ca",
"ClientName": "sample string 8",
"ProjectId": "732c8d26-4511-4c54-8fc4-2206ef0d1689",
"CurrencyPolicyId": "57c31282-08fb-4af2-b5ce-31dbf854233e",
"CurrencyId": "0eac6a05-b6cf-4f5a-8ba4-ffe6a71854b2",
"CurrencyCode": "sample string 9",
"Amount": 1.0,
"TaxInclusive": true,
"TaxAmount": 1.0,
"ExpenseCategoryCId": "ddc11fc5-5d49-4a25-8569-4d8c3bea3032",
"ExpenseCategoryName": "sample string 12",
"ProjectName": "sample string 13",
"Attachment": {
"AttachmentId": "67f70d07-a6f9-481d-8ea3-c21ce4e8d340",
"OwnerTable": "sample string 2",
"ExpenseClaimApplicationItemId": "cf4a6208-0563-40a0-8414-2c1896030c62",
"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": "67f70d07-a6f9-481d-8ea3-c21ce4e8d340",
"OwnerTable": "sample string 2",
"ExpenseClaimApplicationItemId": "cf4a6208-0563-40a0-8414-2c1896030c62",
"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": "67f70d07-a6f9-481d-8ea3-c21ce4e8d340",
"OwnerTable": "sample string 2",
"ExpenseClaimApplicationItemId": "cf4a6208-0563-40a0-8414-2c1896030c62",
"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": "3e35f9e7-1267-46e1-913e-cf5480f94e33",
"ExpenseClaimApplicationItemId": "c9e0ca76-b240-4b2c-896b-cc24a3b91080",
"ExpenseDate": "2026-06-18T11:31:48.2836592+08:00",
"ExpenseTypeId": "d01f0446-4d39-4a2e-868c-59576bb98546",
"ExpenseTypePolicyId": "ef98c9bd-e719-47b0-9b31-ed02968be372",
"ExpenseTypeName": "sample string 6",
"Description": "sample string 7",
"ClientId": "03366a96-f5f8-4773-a340-fde2c54970ca",
"ClientName": "sample string 8",
"ProjectId": "732c8d26-4511-4c54-8fc4-2206ef0d1689",
"CurrencyPolicyId": "57c31282-08fb-4af2-b5ce-31dbf854233e",
"CurrencyId": "0eac6a05-b6cf-4f5a-8ba4-ffe6a71854b2",
"CurrencyCode": "sample string 9",
"Amount": 1.0,
"TaxInclusive": true,
"TaxAmount": 1.0,
"ExpenseCategoryCId": "ddc11fc5-5d49-4a25-8569-4d8c3bea3032",
"ExpenseCategoryName": "sample string 12",
"ProjectName": "sample string 13",
"Attachment": {
"AttachmentId": "67f70d07-a6f9-481d-8ea3-c21ce4e8d340",
"OwnerTable": "sample string 2",
"ExpenseClaimApplicationItemId": "cf4a6208-0563-40a0-8414-2c1896030c62",
"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": "67f70d07-a6f9-481d-8ea3-c21ce4e8d340",
"OwnerTable": "sample string 2",
"ExpenseClaimApplicationItemId": "cf4a6208-0563-40a0-8414-2c1896030c62",
"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": "67f70d07-a6f9-481d-8ea3-c21ce4e8d340",
"OwnerTable": "sample string 2",
"ExpenseClaimApplicationItemId": "cf4a6208-0563-40a0-8414-2c1896030c62",
"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": "78e236ce-4ade-48ad-b7e4-e5fb78042ac2",
"WorkflowActions": [
"sample string 1",
"sample string 2"
],
"TotalLocalClaimAmount": 8.0,
"ItemCount": 9,
"SubmissionDate": "2026-06-18T11:31:48.2836592+08:00",
"CurrencyId": "81d0ce6e-816d-4076-90ce-bf4fd1e7a610",
"CurrencyCode": "sample string 11",
"CurrencyName": "sample string 12",
"StatusName": "New",
"ReworkVisible": true,
"VerifyVisible": true,
"ApproveVisible": true,
"RejectVisible": true,
"SubmitDeleteVisible": true,
"LatestActionDate": "2026-06-18T11:31:48.2836592+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>81d0ce6e-816d-4076-90ce-bf4fd1e7a610</CurrencyId>
<CurrencyName>sample string 12</CurrencyName>
<ExpenseClaimApplicationId>e4e27915-538e-44b4-be10-68231261cc85</ExpenseClaimApplicationId>
<ExpenseClaimApplicationName>sample string 4</ExpenseClaimApplicationName>
<ExpenseGroup>sample string 6</ExpenseGroup>
<ExpenseGroupId>01a656b5-d935-472a-b3bf-a421ac590b2a</ExpenseGroupId>
<IsMyClaim>true</IsMyClaim>
<ItemCount>9</ItemCount>
<Items>
<ClaimItem>
<AllowEdit>true</AllowEdit>
<Amount>1</Amount>
<Attachment>
<AllowEdit>true</AllowEdit>
<AttachmentId>67f70d07-a6f9-481d-8ea3-c21ce4e8d340</AttachmentId>
<AttachmentMethod>Database</AttachmentMethod>
<AttachmentType>Normal</AttachmentType>
<AttachmentUrl>sample string 9</AttachmentUrl>
<ContentLength>7</ContentLength>
<ContentType>sample string 6</ContentType>
<ExpenseClaimApplicationItemId>cf4a6208-0563-40a0-8414-2c1896030c62</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>67f70d07-a6f9-481d-8ea3-c21ce4e8d340</AttachmentId>
<AttachmentMethod>Database</AttachmentMethod>
<AttachmentType>Normal</AttachmentType>
<AttachmentUrl>sample string 9</AttachmentUrl>
<ContentLength>7</ContentLength>
<ContentType>sample string 6</ContentType>
<ExpenseClaimApplicationItemId>cf4a6208-0563-40a0-8414-2c1896030c62</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>67f70d07-a6f9-481d-8ea3-c21ce4e8d340</AttachmentId>
<AttachmentMethod>Database</AttachmentMethod>
<AttachmentType>Normal</AttachmentType>
<AttachmentUrl>sample string 9</AttachmentUrl>
<ContentLength>7</ContentLength>
<ContentType>sample string 6</ContentType>
<ExpenseClaimApplicationItemId>cf4a6208-0563-40a0-8414-2c1896030c62</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>03366a96-f5f8-4773-a340-fde2c54970ca</ClientId>
<ClientName>sample string 8</ClientName>
<CurrencyCode>sample string 9</CurrencyCode>
<CurrencyId>0eac6a05-b6cf-4f5a-8ba4-ffe6a71854b2</CurrencyId>
<CurrencyPolicyId>57c31282-08fb-4af2-b5ce-31dbf854233e</CurrencyPolicyId>
<Description>sample string 7</Description>
<ExchangeRate>1</ExchangeRate>
<ExpenseCategoryCId>ddc11fc5-5d49-4a25-8569-4d8c3bea3032</ExpenseCategoryCId>
<ExpenseCategoryName>sample string 12</ExpenseCategoryName>
<ExpenseClaimApplicationId>3e35f9e7-1267-46e1-913e-cf5480f94e33</ExpenseClaimApplicationId>
<ExpenseClaimApplicationItemId>c9e0ca76-b240-4b2c-896b-cc24a3b91080</ExpenseClaimApplicationItemId>
<ExpenseDate>2026-06-18T11:31:48.2836592+08:00</ExpenseDate>
<ExpenseTypeId>d01f0446-4d39-4a2e-868c-59576bb98546</ExpenseTypeId>
<ExpenseTypeName>sample string 6</ExpenseTypeName>
<ExpenseTypePolicyId>ef98c9bd-e719-47b0-9b31-ed02968be372</ExpenseTypePolicyId>
<IsOverLimit>true</IsOverLimit>
<ProjectId>732c8d26-4511-4c54-8fc4-2206ef0d1689</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>67f70d07-a6f9-481d-8ea3-c21ce4e8d340</AttachmentId>
<AttachmentMethod>Database</AttachmentMethod>
<AttachmentType>Normal</AttachmentType>
<AttachmentUrl>sample string 9</AttachmentUrl>
<ContentLength>7</ContentLength>
<ContentType>sample string 6</ContentType>
<ExpenseClaimApplicationItemId>cf4a6208-0563-40a0-8414-2c1896030c62</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>67f70d07-a6f9-481d-8ea3-c21ce4e8d340</AttachmentId>
<AttachmentMethod>Database</AttachmentMethod>
<AttachmentType>Normal</AttachmentType>
<AttachmentUrl>sample string 9</AttachmentUrl>
<ContentLength>7</ContentLength>
<ContentType>sample string 6</ContentType>
<ExpenseClaimApplicationItemId>cf4a6208-0563-40a0-8414-2c1896030c62</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>67f70d07-a6f9-481d-8ea3-c21ce4e8d340</AttachmentId>
<AttachmentMethod>Database</AttachmentMethod>
<AttachmentType>Normal</AttachmentType>
<AttachmentUrl>sample string 9</AttachmentUrl>
<ContentLength>7</ContentLength>
<ContentType>sample string 6</ContentType>
<ExpenseClaimApplicationItemId>cf4a6208-0563-40a0-8414-2c1896030c62</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>03366a96-f5f8-4773-a340-fde2c54970ca</ClientId>
<ClientName>sample string 8</ClientName>
<CurrencyCode>sample string 9</CurrencyCode>
<CurrencyId>0eac6a05-b6cf-4f5a-8ba4-ffe6a71854b2</CurrencyId>
<CurrencyPolicyId>57c31282-08fb-4af2-b5ce-31dbf854233e</CurrencyPolicyId>
<Description>sample string 7</Description>
<ExchangeRate>1</ExchangeRate>
<ExpenseCategoryCId>ddc11fc5-5d49-4a25-8569-4d8c3bea3032</ExpenseCategoryCId>
<ExpenseCategoryName>sample string 12</ExpenseCategoryName>
<ExpenseClaimApplicationId>3e35f9e7-1267-46e1-913e-cf5480f94e33</ExpenseClaimApplicationId>
<ExpenseClaimApplicationItemId>c9e0ca76-b240-4b2c-896b-cc24a3b91080</ExpenseClaimApplicationItemId>
<ExpenseDate>2026-06-18T11:31:48.2836592+08:00</ExpenseDate>
<ExpenseTypeId>d01f0446-4d39-4a2e-868c-59576bb98546</ExpenseTypeId>
<ExpenseTypeName>sample string 6</ExpenseTypeName>
<ExpenseTypePolicyId>ef98c9bd-e719-47b0-9b31-ed02968be372</ExpenseTypePolicyId>
<IsOverLimit>true</IsOverLimit>
<ProjectId>732c8d26-4511-4c54-8fc4-2206ef0d1689</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-06-18T11:31:48.2836592+08:00</LatestActionDate>
<RejectVisible>true</RejectVisible>
<Remarks>sample string 3</Remarks>
<ReworkVisible>true</ReworkVisible>
<Status>New</Status>
<Subject>sample string 2</Subject>
<SubmissionDate>2026-06-18T11:31:48.2836592+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>78e236ce-4ade-48ad-b7e4-e5fb78042ac2</WorkflowInstanceDetailId>
</Claim>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
globally unique identifierResponse Formats
application/json, text/json
Sample:
"f2a1d452-cf45-49e4-8d9b-db4c7364bf52"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">f2a1d452-cf45-49e4-8d9b-db4c7364bf52</guid>