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": "78aca561-8d5c-481c-a8d9-0a54675500be",
"Subject": "sample string 2",
"Remarks": "sample string 3",
"ExpenseClaimApplicationName": "sample string 4",
"ExpenseGroupId": "a999e65f-64ae-4cbe-823c-bb899cfbfc0f",
"ExpenseGroup": "sample string 6",
"IsMyClaim": true,
"Status": 1,
"Items": [
{
"ExpenseClaimApplicationId": "7e38198d-a937-4f7f-9a25-e909ce8cb700",
"ExpenseClaimApplicationItemId": "dfd8b4d2-fcdf-48d2-8c99-15298eb2d007",
"ExpenseDate": "2025-10-25T14:29:37.4057652+08:00",
"ExpenseTypeId": "f998d9e5-c43c-4094-9684-39e23ff8c0b5",
"ExpenseTypePolicyId": "e4327f3f-6f59-48a7-8b8e-5d8452ca3d53",
"ExpenseTypeName": "sample string 6",
"Description": "sample string 7",
"ClientId": "d4e90ae9-56df-4178-9699-a8149ac0974c",
"ClientName": "sample string 8",
"ProjectId": "3e19bf3b-0098-4248-addc-ee151d68fe2a",
"CurrencyPolicyId": "ec77e546-7f0d-4049-b0cf-1fb5d97c6c0b",
"CurrencyId": "fe312973-faed-439f-a4ea-4955bbb9d44e",
"CurrencyCode": "sample string 9",
"Amount": 1.0,
"TaxInclusive": true,
"TaxAmount": 1.0,
"ExpenseCategoryCId": "0fe12130-93cf-44f3-86ba-1fce7694ef63",
"ExpenseCategoryName": "sample string 12",
"ProjectName": "sample string 13",
"Attachment": {
"AttachmentId": "49f25b0c-ff41-4597-8f86-0fcaf98d2a33",
"OwnerTable": "sample string 2",
"ExpenseClaimApplicationItemId": "7905d410-c0e7-4db4-b1ab-fd6feaa1e36c",
"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": "49f25b0c-ff41-4597-8f86-0fcaf98d2a33",
"OwnerTable": "sample string 2",
"ExpenseClaimApplicationItemId": "7905d410-c0e7-4db4-b1ab-fd6feaa1e36c",
"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": "49f25b0c-ff41-4597-8f86-0fcaf98d2a33",
"OwnerTable": "sample string 2",
"ExpenseClaimApplicationItemId": "7905d410-c0e7-4db4-b1ab-fd6feaa1e36c",
"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": "7e38198d-a937-4f7f-9a25-e909ce8cb700",
"ExpenseClaimApplicationItemId": "dfd8b4d2-fcdf-48d2-8c99-15298eb2d007",
"ExpenseDate": "2025-10-25T14:29:37.4057652+08:00",
"ExpenseTypeId": "f998d9e5-c43c-4094-9684-39e23ff8c0b5",
"ExpenseTypePolicyId": "e4327f3f-6f59-48a7-8b8e-5d8452ca3d53",
"ExpenseTypeName": "sample string 6",
"Description": "sample string 7",
"ClientId": "d4e90ae9-56df-4178-9699-a8149ac0974c",
"ClientName": "sample string 8",
"ProjectId": "3e19bf3b-0098-4248-addc-ee151d68fe2a",
"CurrencyPolicyId": "ec77e546-7f0d-4049-b0cf-1fb5d97c6c0b",
"CurrencyId": "fe312973-faed-439f-a4ea-4955bbb9d44e",
"CurrencyCode": "sample string 9",
"Amount": 1.0,
"TaxInclusive": true,
"TaxAmount": 1.0,
"ExpenseCategoryCId": "0fe12130-93cf-44f3-86ba-1fce7694ef63",
"ExpenseCategoryName": "sample string 12",
"ProjectName": "sample string 13",
"Attachment": {
"AttachmentId": "49f25b0c-ff41-4597-8f86-0fcaf98d2a33",
"OwnerTable": "sample string 2",
"ExpenseClaimApplicationItemId": "7905d410-c0e7-4db4-b1ab-fd6feaa1e36c",
"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": "49f25b0c-ff41-4597-8f86-0fcaf98d2a33",
"OwnerTable": "sample string 2",
"ExpenseClaimApplicationItemId": "7905d410-c0e7-4db4-b1ab-fd6feaa1e36c",
"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": "49f25b0c-ff41-4597-8f86-0fcaf98d2a33",
"OwnerTable": "sample string 2",
"ExpenseClaimApplicationItemId": "7905d410-c0e7-4db4-b1ab-fd6feaa1e36c",
"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": "0efac7ed-f5c8-4755-8257-cbfbe1fddd90",
"WorkflowActions": [
"sample string 1",
"sample string 2"
],
"TotalLocalClaimAmount": 8.0,
"ItemCount": 9,
"SubmissionDate": "2025-10-25T14:29:37.4057652+08:00",
"CurrencyId": "65e273e9-82f2-4c1f-a365-798f9ee029ef",
"CurrencyCode": "sample string 11",
"CurrencyName": "sample string 12",
"StatusName": "New",
"ReworkVisible": true,
"VerifyVisible": true,
"ApproveVisible": true,
"RejectVisible": true,
"SubmitDeleteVisible": true,
"LatestActionDate": "2025-10-25T14:29:37.4057652+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>65e273e9-82f2-4c1f-a365-798f9ee029ef</CurrencyId>
<CurrencyName>sample string 12</CurrencyName>
<ExpenseClaimApplicationId>78aca561-8d5c-481c-a8d9-0a54675500be</ExpenseClaimApplicationId>
<ExpenseClaimApplicationName>sample string 4</ExpenseClaimApplicationName>
<ExpenseGroup>sample string 6</ExpenseGroup>
<ExpenseGroupId>a999e65f-64ae-4cbe-823c-bb899cfbfc0f</ExpenseGroupId>
<IsMyClaim>true</IsMyClaim>
<ItemCount>9</ItemCount>
<Items>
<ClaimItem>
<AllowEdit>true</AllowEdit>
<Amount>1</Amount>
<Attachment>
<AllowEdit>true</AllowEdit>
<AttachmentId>49f25b0c-ff41-4597-8f86-0fcaf98d2a33</AttachmentId>
<AttachmentMethod>Database</AttachmentMethod>
<AttachmentType>Normal</AttachmentType>
<AttachmentUrl>sample string 9</AttachmentUrl>
<ContentLength>7</ContentLength>
<ContentType>sample string 6</ContentType>
<ExpenseClaimApplicationItemId>7905d410-c0e7-4db4-b1ab-fd6feaa1e36c</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>49f25b0c-ff41-4597-8f86-0fcaf98d2a33</AttachmentId>
<AttachmentMethod>Database</AttachmentMethod>
<AttachmentType>Normal</AttachmentType>
<AttachmentUrl>sample string 9</AttachmentUrl>
<ContentLength>7</ContentLength>
<ContentType>sample string 6</ContentType>
<ExpenseClaimApplicationItemId>7905d410-c0e7-4db4-b1ab-fd6feaa1e36c</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>49f25b0c-ff41-4597-8f86-0fcaf98d2a33</AttachmentId>
<AttachmentMethod>Database</AttachmentMethod>
<AttachmentType>Normal</AttachmentType>
<AttachmentUrl>sample string 9</AttachmentUrl>
<ContentLength>7</ContentLength>
<ContentType>sample string 6</ContentType>
<ExpenseClaimApplicationItemId>7905d410-c0e7-4db4-b1ab-fd6feaa1e36c</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>d4e90ae9-56df-4178-9699-a8149ac0974c</ClientId>
<ClientName>sample string 8</ClientName>
<CurrencyCode>sample string 9</CurrencyCode>
<CurrencyId>fe312973-faed-439f-a4ea-4955bbb9d44e</CurrencyId>
<CurrencyPolicyId>ec77e546-7f0d-4049-b0cf-1fb5d97c6c0b</CurrencyPolicyId>
<Description>sample string 7</Description>
<ExchangeRate>1</ExchangeRate>
<ExpenseCategoryCId>0fe12130-93cf-44f3-86ba-1fce7694ef63</ExpenseCategoryCId>
<ExpenseCategoryName>sample string 12</ExpenseCategoryName>
<ExpenseClaimApplicationId>7e38198d-a937-4f7f-9a25-e909ce8cb700</ExpenseClaimApplicationId>
<ExpenseClaimApplicationItemId>dfd8b4d2-fcdf-48d2-8c99-15298eb2d007</ExpenseClaimApplicationItemId>
<ExpenseDate>2025-10-25T14:29:37.4057652+08:00</ExpenseDate>
<ExpenseTypeId>f998d9e5-c43c-4094-9684-39e23ff8c0b5</ExpenseTypeId>
<ExpenseTypeName>sample string 6</ExpenseTypeName>
<ExpenseTypePolicyId>e4327f3f-6f59-48a7-8b8e-5d8452ca3d53</ExpenseTypePolicyId>
<IsOverLimit>true</IsOverLimit>
<ProjectId>3e19bf3b-0098-4248-addc-ee151d68fe2a</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>49f25b0c-ff41-4597-8f86-0fcaf98d2a33</AttachmentId>
<AttachmentMethod>Database</AttachmentMethod>
<AttachmentType>Normal</AttachmentType>
<AttachmentUrl>sample string 9</AttachmentUrl>
<ContentLength>7</ContentLength>
<ContentType>sample string 6</ContentType>
<ExpenseClaimApplicationItemId>7905d410-c0e7-4db4-b1ab-fd6feaa1e36c</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>49f25b0c-ff41-4597-8f86-0fcaf98d2a33</AttachmentId>
<AttachmentMethod>Database</AttachmentMethod>
<AttachmentType>Normal</AttachmentType>
<AttachmentUrl>sample string 9</AttachmentUrl>
<ContentLength>7</ContentLength>
<ContentType>sample string 6</ContentType>
<ExpenseClaimApplicationItemId>7905d410-c0e7-4db4-b1ab-fd6feaa1e36c</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>49f25b0c-ff41-4597-8f86-0fcaf98d2a33</AttachmentId>
<AttachmentMethod>Database</AttachmentMethod>
<AttachmentType>Normal</AttachmentType>
<AttachmentUrl>sample string 9</AttachmentUrl>
<ContentLength>7</ContentLength>
<ContentType>sample string 6</ContentType>
<ExpenseClaimApplicationItemId>7905d410-c0e7-4db4-b1ab-fd6feaa1e36c</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>d4e90ae9-56df-4178-9699-a8149ac0974c</ClientId>
<ClientName>sample string 8</ClientName>
<CurrencyCode>sample string 9</CurrencyCode>
<CurrencyId>fe312973-faed-439f-a4ea-4955bbb9d44e</CurrencyId>
<CurrencyPolicyId>ec77e546-7f0d-4049-b0cf-1fb5d97c6c0b</CurrencyPolicyId>
<Description>sample string 7</Description>
<ExchangeRate>1</ExchangeRate>
<ExpenseCategoryCId>0fe12130-93cf-44f3-86ba-1fce7694ef63</ExpenseCategoryCId>
<ExpenseCategoryName>sample string 12</ExpenseCategoryName>
<ExpenseClaimApplicationId>7e38198d-a937-4f7f-9a25-e909ce8cb700</ExpenseClaimApplicationId>
<ExpenseClaimApplicationItemId>dfd8b4d2-fcdf-48d2-8c99-15298eb2d007</ExpenseClaimApplicationItemId>
<ExpenseDate>2025-10-25T14:29:37.4057652+08:00</ExpenseDate>
<ExpenseTypeId>f998d9e5-c43c-4094-9684-39e23ff8c0b5</ExpenseTypeId>
<ExpenseTypeName>sample string 6</ExpenseTypeName>
<ExpenseTypePolicyId>e4327f3f-6f59-48a7-8b8e-5d8452ca3d53</ExpenseTypePolicyId>
<IsOverLimit>true</IsOverLimit>
<ProjectId>3e19bf3b-0098-4248-addc-ee151d68fe2a</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-10-25T14:29:37.4057652+08:00</LatestActionDate>
<RejectVisible>true</RejectVisible>
<Remarks>sample string 3</Remarks>
<ReworkVisible>true</ReworkVisible>
<Status>New</Status>
<Subject>sample string 2</Subject>
<SubmissionDate>2025-10-25T14:29:37.4057652+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>0efac7ed-f5c8-4755-8257-cbfbe1fddd90</WorkflowInstanceDetailId>
</Claim>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
globally unique identifierResponse Formats
application/json, text/json
Sample:
"6e6c5e84-6d39-4b22-93d1-a3665e7aeede"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">6e6c5e84-6d39-4b22-93d1-a3665e7aeede</guid>