POST api/Accounts/branch_balance_list
Request Information
URI Parameters
None.
Body Parameters
BranchModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | integer |
None. |
|
| Name | string |
None. |
|
| TypeCode | integer |
None. |
|
| DOT | string |
None. |
|
| Remark | string |
None. |
|
| CreditLimit | decimal number |
None. |
|
| CommessionPer | decimal number |
None. |
|
| PostedBy | integer |
None. |
|
| isActive | integer |
None. |
|
| BranchType | string |
None. |
|
| Address | string |
None. |
|
| PhoneNo | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Code": 1,
"Name": "sample string 2",
"TypeCode": 3,
"DOT": "sample string 4",
"Remark": "sample string 5",
"CreditLimit": 6.1,
"CommessionPer": 7.1,
"PostedBy": 8,
"isActive": 9,
"BranchType": "sample string 10",
"Address": "sample string 11",
"PhoneNo": "sample string 12"
}
application/xml, text/xml
Sample:
<BranchModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TravelAPI.Models"> <Address>sample string 11</Address> <BranchType>sample string 10</BranchType> <Code>1</Code> <CommessionPer>7.1</CommessionPer> <CreditLimit>6.1</CreditLimit> <DOT>sample string 4</DOT> <Name>sample string 2</Name> <PhoneNo>sample string 12</PhoneNo> <PostedBy>8</PostedBy> <Remark>sample string 5</Remark> <TypeCode>3</TypeCode> <isActive>9</isActive> </BranchModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultModelOfListOfBranchAccountModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ResponseCode | integer |
None. |
|
| Message | string |
None. |
|
| Data | Collection of BranchAccountModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"ResponseCode": 1,
"Message": "sample string 2",
"Data": [
{
"Code": 1,
"BranchCode": 2,
"BranchName": "sample string 3",
"CreditLimit": 4.1,
"CreditBalance": 5.1,
"BranchCarryAmount": 6.1,
"CollectedAmount": 7.1,
"BalanceAmount": 8.1,
"CancelationCharge": 9.1,
"Amount": 10.1,
"DOT": "sample string 11",
"PostedBy": 12,
"Remark": "sample string 13",
"LedgerCode": 14,
"isBlock": 15
},
{
"Code": 1,
"BranchCode": 2,
"BranchName": "sample string 3",
"CreditLimit": 4.1,
"CreditBalance": 5.1,
"BranchCarryAmount": 6.1,
"CollectedAmount": 7.1,
"BalanceAmount": 8.1,
"CancelationCharge": 9.1,
"Amount": 10.1,
"DOT": "sample string 11",
"PostedBy": 12,
"Remark": "sample string 13",
"LedgerCode": 14,
"isBlock": 15
}
]
}
application/xml, text/xml
Sample:
<ResultModelOfArrayOfBranchAccountModelqg6OZjsc xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TravelAPI.Models">
<Data>
<BranchAccountModel>
<Amount>10.1</Amount>
<BalanceAmount>8.1</BalanceAmount>
<BranchCarryAmount>6.1</BranchCarryAmount>
<BranchCode>2</BranchCode>
<BranchName>sample string 3</BranchName>
<CancelationCharge>9.1</CancelationCharge>
<Code>1</Code>
<CollectedAmount>7.1</CollectedAmount>
<CreditBalance>5.1</CreditBalance>
<CreditLimit>4.1</CreditLimit>
<DOT>sample string 11</DOT>
<LedgerCode>14</LedgerCode>
<PostedBy>12</PostedBy>
<Remark>sample string 13</Remark>
<isBlock>15</isBlock>
</BranchAccountModel>
<BranchAccountModel>
<Amount>10.1</Amount>
<BalanceAmount>8.1</BalanceAmount>
<BranchCarryAmount>6.1</BranchCarryAmount>
<BranchCode>2</BranchCode>
<BranchName>sample string 3</BranchName>
<CancelationCharge>9.1</CancelationCharge>
<Code>1</Code>
<CollectedAmount>7.1</CollectedAmount>
<CreditBalance>5.1</CreditBalance>
<CreditLimit>4.1</CreditLimit>
<DOT>sample string 11</DOT>
<LedgerCode>14</LedgerCode>
<PostedBy>12</PostedBy>
<Remark>sample string 13</Remark>
<isBlock>15</isBlock>
</BranchAccountModel>
</Data>
<Message>sample string 2</Message>
<ResponseCode>1</ResponseCode>
</ResultModelOfArrayOfBranchAccountModelqg6OZjsc>