POST api/Transaction/CreateJournalVoucherForRent
Request Information
URI Parameters
None.
Body Parameters
CreateJounal4Rent_InputObject| Name | Description | Type | Additional information |
|---|---|---|---|
| DBName | string |
None. |
|
| BranchInternalCode | string |
None. |
|
| UserInternalCode | string |
None. |
|
| RentForMonth_N_Year | integer |
None. |
|
| JVDate | integer |
None. |
|
| DataCollection | Collection of CreateJounal_DataCollection |
None. |
Request Formats
application/json, text/json
Sample:
{
"DBName": "sample string 1",
"BranchInternalCode": "sample string 2",
"UserInternalCode": "sample string 3",
"RentForMonth_N_Year": 4,
"JVDate": 5,
"DataCollection": [
{
"RentIntlCode": 1.1,
"Payee": "sample string 2",
"BranchCode": 3.1,
"RentAmount": 4.1,
"ServiceTax": 5.1,
"TDSAmount": 6.1,
"PayeeAmt": 7.1,
"PayeePrimaryAccount": 8.1,
"PayeeSecondaryAccount": 9.1,
"RentPrimaryAccount": 10.1,
"RentSecondaryAccount": 11.1,
"TDSPrimaryAccount": 12.1,
"TDSSecondaryAccount": 13.1,
"ServiceTaxPrimaryAC": 14.1,
"ServiceTaxSecondaryAC": 15.1
},
{
"RentIntlCode": 1.1,
"Payee": "sample string 2",
"BranchCode": 3.1,
"RentAmount": 4.1,
"ServiceTax": 5.1,
"TDSAmount": 6.1,
"PayeeAmt": 7.1,
"PayeePrimaryAccount": 8.1,
"PayeeSecondaryAccount": 9.1,
"RentPrimaryAccount": 10.1,
"RentSecondaryAccount": 11.1,
"TDSPrimaryAccount": 12.1,
"TDSSecondaryAccount": 13.1,
"ServiceTaxPrimaryAC": 14.1,
"ServiceTaxSecondaryAC": 15.1
}
]
}
application/xml, text/xml
Sample:
<CreateJounal4Rent_InputObject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APXWebLibDataProvider.Models.SaveToolsInputObjects">
<BranchInternalCode>sample string 2</BranchInternalCode>
<DBName>sample string 1</DBName>
<DataCollection>
<CreateJounal_DataCollection>
<BranchCode>3.1</BranchCode>
<Payee>sample string 2</Payee>
<PayeeAmt>7.1</PayeeAmt>
<PayeePrimaryAccount>8.1</PayeePrimaryAccount>
<PayeeSecondaryAccount>9.1</PayeeSecondaryAccount>
<RentAmount>4.1</RentAmount>
<RentIntlCode>1.1</RentIntlCode>
<RentPrimaryAccount>10.1</RentPrimaryAccount>
<RentSecondaryAccount>11.1</RentSecondaryAccount>
<ServiceTax>5.1</ServiceTax>
<ServiceTaxPrimaryAC>14.1</ServiceTaxPrimaryAC>
<ServiceTaxSecondaryAC>15.1</ServiceTaxSecondaryAC>
<TDSAmount>6.1</TDSAmount>
<TDSPrimaryAccount>12.1</TDSPrimaryAccount>
<TDSSecondaryAccount>13.1</TDSSecondaryAccount>
</CreateJounal_DataCollection>
<CreateJounal_DataCollection>
<BranchCode>3.1</BranchCode>
<Payee>sample string 2</Payee>
<PayeeAmt>7.1</PayeeAmt>
<PayeePrimaryAccount>8.1</PayeePrimaryAccount>
<PayeeSecondaryAccount>9.1</PayeeSecondaryAccount>
<RentAmount>4.1</RentAmount>
<RentIntlCode>1.1</RentIntlCode>
<RentPrimaryAccount>10.1</RentPrimaryAccount>
<RentSecondaryAccount>11.1</RentSecondaryAccount>
<ServiceTax>5.1</ServiceTax>
<ServiceTaxPrimaryAC>14.1</ServiceTaxPrimaryAC>
<ServiceTaxSecondaryAC>15.1</ServiceTaxSecondaryAC>
<TDSAmount>6.1</TDSAmount>
<TDSPrimaryAccount>12.1</TDSPrimaryAccount>
<TDSSecondaryAccount>13.1</TDSSecondaryAccount>
</CreateJounal_DataCollection>
</DataCollection>
<JVDate>5</JVDate>
<RentForMonth_N_Year>4</RentForMonth_N_Year>
<UserInternalCode>sample string 3</UserInternalCode>
</CreateJounal4Rent_InputObject>
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. |