POST api/Expenditure/Reject
Request Information
URI Parameters
None.
Body Parameters
ExpenditureModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Amount | decimal number |
None. |
|
| Comment | string |
None. |
|
| CapturedBy | string |
None. |
|
| ProjectName | string |
None. |
|
| CampaignName | string |
None. |
|
| TaskName | string |
None. |
|
| ExapenditureDate | date |
None. |
|
| UserProfileId | globally unique identifier |
None. |
|
| ProjectId | globally unique identifier |
None. |
|
| TaskId | globally unique identifier |
None. |
|
| CampaignId | globally unique identifier |
None. |
|
| Created | date |
None. |
|
| Modified | date |
None. |
|
| Deleted | date |
None. |
|
| Documents | integer |
None. |
|
| ExpenditureStatusId | globally unique identifier |
None. |
|
| StatusName | string |
None. |
|
| StatusColor | string |
None. |
|
| ExpenditureTypeId | globally unique identifier |
None. |
|
| ExpenditureType | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "b45e3593-e6a4-4dff-955a-badd0ef656dc",
"Amount": 2.0,
"Comment": "sample string 3",
"CapturedBy": "sample string 4",
"ProjectName": "sample string 5",
"CampaignName": "sample string 6",
"TaskName": "sample string 7",
"ExapenditureDate": "2026-08-25T10:44:33.3725351+02:00",
"UserProfileId": "aa8272f5-73fe-40a0-8dea-6bd2a2408447",
"ProjectId": "19cb4da5-366b-464d-9e37-0081b68da038",
"TaskId": "14c7192c-91af-4e42-bd5e-73a94cc38404",
"CampaignId": "8878b3e8-45ec-4953-8bbe-0af8fa2f9a87",
"Created": "2026-08-25T10:44:33.3725351+02:00",
"Modified": "2026-08-25T10:44:33.3725351+02:00",
"Deleted": "2026-08-25T10:44:33.3725351+02:00",
"Documents": 13,
"ExpenditureStatusId": "057c9abe-9182-4d24-9f90-74dc5e943479",
"StatusName": "sample string 15",
"StatusColor": "sample string 16",
"ExpenditureTypeId": "5a16e32a-377a-447a-ab2e-3bce183d45b9",
"ExpenditureType": "sample string 18"
}
application/xml, text/xml
Sample:
<ExpenditureModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Nozala.Model"> <Amount>2</Amount> <CampaignId>8878b3e8-45ec-4953-8bbe-0af8fa2f9a87</CampaignId> <CampaignName>sample string 6</CampaignName> <CapturedBy>sample string 4</CapturedBy> <Comment>sample string 3</Comment> <Created>2026-08-25T10:44:33.3725351+02:00</Created> <Deleted>2026-08-25T10:44:33.3725351+02:00</Deleted> <Documents>13</Documents> <ExapenditureDate>2026-08-25T10:44:33.3725351+02:00</ExapenditureDate> <ExpenditureStatusId>057c9abe-9182-4d24-9f90-74dc5e943479</ExpenditureStatusId> <ExpenditureType>sample string 18</ExpenditureType> <ExpenditureTypeId>5a16e32a-377a-447a-ab2e-3bce183d45b9</ExpenditureTypeId> <Id>b45e3593-e6a4-4dff-955a-badd0ef656dc</Id> <Modified>2026-08-25T10:44:33.3725351+02:00</Modified> <ProjectId>19cb4da5-366b-464d-9e37-0081b68da038</ProjectId> <ProjectName>sample string 5</ProjectName> <StatusColor>sample string 16</StatusColor> <StatusName>sample string 15</StatusName> <TaskId>14c7192c-91af-4e42-bd5e-73a94cc38404</TaskId> <TaskName>sample string 7</TaskName> <UserProfileId>aa8272f5-73fe-40a0-8dea-6bd2a2408447</UserProfileId> </ExpenditureModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |