POST api/Tools/SaveLedgerOpeningBalance

Request Information

URI Parameters

None.

Body Parameters

SaveTools_LedgerOpeningBalance_InputObject
NameDescriptionTypeAdditional information
DBName

string

None.

BranchInternalCode

string

None.

UserInternalCode

string

None.

BranchCode

string

None.

GroupCode

string

None.

AccountCode

string

None.

LedgerNameLike

string

None.

TransactionType

string

None.

AccountCode_Customer_OpeningBalance

decimal number

None.

OpeningBalanceForCustomer

boolean

None.

DataCollection

Collection of LedgerOpeningBalanceData_DataCollection

None.

Request Formats

application/json, text/json

Sample:
{
  "DBName": "sample string 1",
  "BranchInternalCode": "sample string 2",
  "UserInternalCode": "sample string 3",
  "BranchCode": "sample string 4",
  "GroupCode": "sample string 5",
  "AccountCode": "sample string 6",
  "LedgerNameLike": "sample string 7",
  "TransactionType": "sample string 8",
  "AccountCode_Customer_OpeningBalance": 9.1,
  "OpeningBalanceForCustomer": true,
  "DataCollection": [
    {
      "ACCOUNT_GROUP": 1.1,
      "AGRP_CODE": 2.1,
      "PRIMARY_ACCOUNT": 3.1,
      "SECONDARY_ACCOUNT": 4.1,
      "DR_BALANCE": 5.1,
      "CR_BALANCE": 6.1,
      "BALANCE": 7.1,
      "RECON_BAL": 8.1
    },
    {
      "ACCOUNT_GROUP": 1.1,
      "AGRP_CODE": 2.1,
      "PRIMARY_ACCOUNT": 3.1,
      "SECONDARY_ACCOUNT": 4.1,
      "DR_BALANCE": 5.1,
      "CR_BALANCE": 6.1,
      "BALANCE": 7.1,
      "RECON_BAL": 8.1
    }
  ]
}

application/xml, text/xml

Sample:
<SaveTools_LedgerOpeningBalance_InputObject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APXWebLibDataProvider.Models.SaveToolsInputObjects">
  <AccountCode>sample string 6</AccountCode>
  <AccountCode_Customer_OpeningBalance>9.1</AccountCode_Customer_OpeningBalance>
  <BranchCode>sample string 4</BranchCode>
  <BranchInternalCode>sample string 2</BranchInternalCode>
  <DBName>sample string 1</DBName>
  <DataCollection>
    <LedgerOpeningBalanceData_DataCollection>
      <ACCOUNT_GROUP>1.1</ACCOUNT_GROUP>
      <AGRP_CODE>2.1</AGRP_CODE>
      <BALANCE>7.1</BALANCE>
      <CR_BALANCE>6.1</CR_BALANCE>
      <DR_BALANCE>5.1</DR_BALANCE>
      <PRIMARY_ACCOUNT>3.1</PRIMARY_ACCOUNT>
      <RECON_BAL>8.1</RECON_BAL>
      <SECONDARY_ACCOUNT>4.1</SECONDARY_ACCOUNT>
    </LedgerOpeningBalanceData_DataCollection>
    <LedgerOpeningBalanceData_DataCollection>
      <ACCOUNT_GROUP>1.1</ACCOUNT_GROUP>
      <AGRP_CODE>2.1</AGRP_CODE>
      <BALANCE>7.1</BALANCE>
      <CR_BALANCE>6.1</CR_BALANCE>
      <DR_BALANCE>5.1</DR_BALANCE>
      <PRIMARY_ACCOUNT>3.1</PRIMARY_ACCOUNT>
      <RECON_BAL>8.1</RECON_BAL>
      <SECONDARY_ACCOUNT>4.1</SECONDARY_ACCOUNT>
    </LedgerOpeningBalanceData_DataCollection>
  </DataCollection>
  <GroupCode>sample string 5</GroupCode>
  <LedgerNameLike>sample string 7</LedgerNameLike>
  <OpeningBalanceForCustomer>true</OpeningBalanceForCustomer>
  <TransactionType>sample string 8</TransactionType>
  <UserInternalCode>sample string 3</UserInternalCode>
</SaveTools_LedgerOpeningBalance_InputObject>

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.