POST api/Tools/SaveOpeningBalanceDocument

Request Information

URI Parameters

None.

Body Parameters

OpeningBalanceDocumentInputs
NameDescriptionTypeAdditional information
DBName

string

None.

BranchInternalCode

string

None.

UserInternalCode

string

None.

BranchOfficeCode

string

None.

Mode

string

None.

Acbk_Mode

string

None.

ProdCatg

string

None.

CardNo

string

None.

SlipNo

string

None.

Salesperson

string

None.

Edit_Old_EMailStatus

string

None.

Edit_Old_SMSStatus

string

None.

DocumentNoPrefix

string

None.

VoucType

string

None.

RefNo

string

None.

JournalEntryCode

decimal number

None.

SelectedAGRPCode

decimal number

None.

DocTypeCode

decimal number

None.

OldJentCode

decimal number

None.

OldVoucherInternalCode

decimal number

None.

PrimaryAccount

decimal number

None.

SecondaryAccount

decimal number

None.

EnteredBalance

decimal number

None.

GroupCode

decimal number

None.

BillAmount

decimal number

None.

Edit_Old_Print_Count

integer

None.

BalanceAsOn

integer

None.

DocDate

integer

None.

DocNumber

integer

None.

Old_BankReconcilation_Date

integer

None.

Bank_Reconcilation

boolean

None.

DebitSide

boolean

None.

CreditSide

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "DBName": "sample string 1",
  "BranchInternalCode": "sample string 2",
  "UserInternalCode": "sample string 3",
  "BranchOfficeCode": "sample string 4",
  "Mode": "sample string 5",
  "Acbk_Mode": "sample string 6",
  "ProdCatg": "sample string 7",
  "CardNo": "sample string 8",
  "SlipNo": "sample string 9",
  "Salesperson": "sample string 10",
  "Edit_Old_EMailStatus": "sample string 11",
  "Edit_Old_SMSStatus": "sample string 12",
  "DocumentNoPrefix": "sample string 13",
  "VoucType": "sample string 14",
  "RefNo": "sample string 15",
  "JournalEntryCode": 16.1,
  "SelectedAGRPCode": 17.1,
  "DocTypeCode": 18.1,
  "OldJentCode": 19.1,
  "OldVoucherInternalCode": 20.1,
  "PrimaryAccount": 21.1,
  "SecondaryAccount": 22.1,
  "EnteredBalance": 23.1,
  "GroupCode": 24.1,
  "BillAmount": 25.1,
  "Edit_Old_Print_Count": 26,
  "BalanceAsOn": 27,
  "DocDate": 28,
  "DocNumber": 29,
  "Old_BankReconcilation_Date": 30,
  "Bank_Reconcilation": true,
  "DebitSide": true,
  "CreditSide": true
}

application/xml, text/xml

Sample:
<OpeningBalanceDocumentInputs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APXWebLibDataProvider.Models.Tools">
  <Acbk_Mode>sample string 6</Acbk_Mode>
  <BalanceAsOn>27</BalanceAsOn>
  <Bank_Reconcilation>true</Bank_Reconcilation>
  <BillAmount>25.1</BillAmount>
  <BranchInternalCode>sample string 2</BranchInternalCode>
  <BranchOfficeCode>sample string 4</BranchOfficeCode>
  <CardNo>sample string 8</CardNo>
  <CreditSide>true</CreditSide>
  <DBName>sample string 1</DBName>
  <DebitSide>true</DebitSide>
  <DocDate>28</DocDate>
  <DocNumber>29</DocNumber>
  <DocTypeCode>18.1</DocTypeCode>
  <DocumentNoPrefix>sample string 13</DocumentNoPrefix>
  <Edit_Old_EMailStatus>sample string 11</Edit_Old_EMailStatus>
  <Edit_Old_Print_Count>26</Edit_Old_Print_Count>
  <Edit_Old_SMSStatus>sample string 12</Edit_Old_SMSStatus>
  <EnteredBalance>23.1</EnteredBalance>
  <GroupCode>24.1</GroupCode>
  <JournalEntryCode>16.1</JournalEntryCode>
  <Mode>sample string 5</Mode>
  <OldJentCode>19.1</OldJentCode>
  <OldVoucherInternalCode>20.1</OldVoucherInternalCode>
  <Old_BankReconcilation_Date>30</Old_BankReconcilation_Date>
  <PrimaryAccount>21.1</PrimaryAccount>
  <ProdCatg>sample string 7</ProdCatg>
  <RefNo>sample string 15</RefNo>
  <Salesperson>sample string 10</Salesperson>
  <SecondaryAccount>22.1</SecondaryAccount>
  <SelectedAGRPCode>17.1</SelectedAGRPCode>
  <SlipNo>sample string 9</SlipNo>
  <UserInternalCode>sample string 3</UserInternalCode>
  <VoucType>sample string 14</VoucType>
</OpeningBalanceDocumentInputs>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.