POST api/Accounts/InsertOpeningBalance?vUserID={vUserID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| vUserID | integer |
Required |
Body Parameters
Collection of AccountOpeningsModel| Name | Description | Type | Additional information |
|---|---|---|---|
| SerialID | integer |
None. |
|
| AccountNo | string |
None. |
|
| OpeningDebit | decimal number |
None. |
|
| OpeningCredit | decimal number |
None. |
|
| SBUID | integer |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"SerialID": 1,
"AccountNo": "sample string 2",
"OpeningDebit": 3.0,
"OpeningCredit": 4.0,
"SBUID": 5
},
{
"SerialID": 1,
"AccountNo": "sample string 2",
"OpeningDebit": 3.0,
"OpeningCredit": 4.0,
"SBUID": 5
}
]
application/xml, text/xml
Sample:
<ArrayOfAccountOpeningsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RiceMillsERP_API.Models">
<AccountOpeningsModel>
<AccountNo>sample string 2</AccountNo>
<OpeningCredit>4</OpeningCredit>
<OpeningDebit>3</OpeningDebit>
<SBUID>5</SBUID>
<SerialID>1</SerialID>
</AccountOpeningsModel>
<AccountOpeningsModel>
<AccountNo>sample string 2</AccountNo>
<OpeningCredit>4</OpeningCredit>
<OpeningDebit>3</OpeningDebit>
<SBUID>5</SBUID>
<SerialID>1</SerialID>
</AccountOpeningsModel>
</ArrayOfAccountOpeningsModel>
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. |