POST api/Expenditure/Approve
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": "a5565a77-4157-4124-b95c-1d857b49c6a2",
"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-05-05T13:25:14.4713496+02:00",
"UserProfileId": "7d74c145-6434-42dc-a9b2-19612faf8a32",
"ProjectId": "04fbea91-a202-4235-8bb2-6878ce16cae9",
"TaskId": "9814a602-7623-4501-bff6-f06b1841aa43",
"CampaignId": "5fcb734d-7cd6-4eca-9dca-d4ff7b879145",
"Created": "2026-05-05T13:25:14.4713496+02:00",
"Modified": "2026-05-05T13:25:14.4713496+02:00",
"Deleted": "2026-05-05T13:25:14.4713496+02:00",
"Documents": 13,
"ExpenditureStatusId": "d15ff731-3140-49be-bf66-2053543adaf7",
"StatusName": "sample string 15",
"StatusColor": "sample string 16",
"ExpenditureTypeId": "6f360bd4-861e-4b63-adcb-929851541812",
"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>5fcb734d-7cd6-4eca-9dca-d4ff7b879145</CampaignId> <CampaignName>sample string 6</CampaignName> <CapturedBy>sample string 4</CapturedBy> <Comment>sample string 3</Comment> <Created>2026-05-05T13:25:14.4713496+02:00</Created> <Deleted>2026-05-05T13:25:14.4713496+02:00</Deleted> <Documents>13</Documents> <ExapenditureDate>2026-05-05T13:25:14.4713496+02:00</ExapenditureDate> <ExpenditureStatusId>d15ff731-3140-49be-bf66-2053543adaf7</ExpenditureStatusId> <ExpenditureType>sample string 18</ExpenditureType> <ExpenditureTypeId>6f360bd4-861e-4b63-adcb-929851541812</ExpenditureTypeId> <Id>a5565a77-4157-4124-b95c-1d857b49c6a2</Id> <Modified>2026-05-05T13:25:14.4713496+02:00</Modified> <ProjectId>04fbea91-a202-4235-8bb2-6878ce16cae9</ProjectId> <ProjectName>sample string 5</ProjectName> <StatusColor>sample string 16</StatusColor> <StatusName>sample string 15</StatusName> <TaskId>9814a602-7623-4501-bff6-f06b1841aa43</TaskId> <TaskName>sample string 7</TaskName> <UserProfileId>7d74c145-6434-42dc-a9b2-19612faf8a32</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. |