POST api/generalExpenditureRequest/save
Request Information
URI Parameters
None.
Body Parameters
GeneralExpRequestDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Type | string |
None. |
|
| BranchId | integer |
None. |
|
| BranchName | string |
None. |
|
| ReequestDateTime | string |
None. |
|
| VendorId | integer |
None. |
|
| ApprovedById | integer |
None. |
|
| VendorName | string |
None. |
|
| ExpenditureHeadId | integer |
None. |
|
| ExpenditureHeadName | string |
None. |
|
| ExpenditureItemId | integer |
None. |
|
| ExpenditureItemName | string |
None. |
|
| NarrationId | integer |
None. |
|
| NarrationName | string |
None. |
|
| Amount | decimal number |
None. |
|
| Description | string |
None. |
|
| Status | boolean |
None. |
|
| StatusId | integer |
None. |
|
| IsTemplate | boolean |
None. |
|
| IsTemplateScreen | boolean |
None. |
|
| PaymentEntryId | integer |
None. |
|
| ExpenditureItemDTOs | Collection of ExpenditureItemDTO |
None. |
|
| ExpenditureHeadDTOs | Collection of ExpenditureHeadDTO |
None. |
|
| NarrationDTOs | Collection of NarrationDTO |
None. |
|
| BranchDTOs | Collection of OrganizationBranch |
None. |
|
| VendorRegistrationDTOs | Collection of VendorRegistrationDTO |
None. |
Request Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PostGeneralExpenditureResponseDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| IsSuccess | boolean |
None. |
|
| PaymentMethod | integer |
None. |
|
| RequestId | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsSuccess": true,
"PaymentMethod": 1,
"RequestId": 1
}
application/xml, text/xml
Sample:
<PostGeneralExpenditureResponseDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SUM.Prod.RS.Common.Components.DTO.Payment"> <IsSuccess>true</IsSuccess> <PaymentMethod>1</PaymentMethod> <RequestId>1</RequestId> </PostGeneralExpenditureResponseDTO>