POST api/Accounts/ticket_balance_report
Request Information
URI Parameters
None.
Body Parameters
AccountModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | integer |
None. |
|
| MasterCode | integer |
None. |
|
| TourCode | integer |
None. |
|
| TourName | string |
None. |
|
| FileNo | string |
None. |
|
| Name | string |
None. |
|
| ContactNo | string |
None. |
|
| NoOfTickets | integer |
None. |
|
| TotalAmount | decimal number |
None. |
|
| ConcessionAmount | decimal number |
None. |
|
| DiscountAmount | decimal number |
None. |
|
| NetAmount | decimal number |
None. |
|
| AdvanceAmount | decimal number |
None. |
|
| BalanceAmount | decimal number |
None. |
|
| PartialPayment | decimal number |
None. |
|
| LedgerCode | integer |
None. |
|
| TransactionTypeCode | integer |
None. |
|
| DOT | string |
None. |
|
| PostedBy | integer |
None. |
|
| BranchCode | integer |
None. |
|
| DrAmount | decimal number |
None. |
|
| CrAmount | decimal number |
None. |
|
| LedgerName | string |
None. |
|
| TransactionType | string |
None. |
|
| Branch | string |
None. |
|
| EntryBy | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Code": 1,
"MasterCode": 2,
"TourCode": 3,
"TourName": "sample string 4",
"FileNo": "sample string 5",
"Name": "sample string 6",
"ContactNo": "sample string 7",
"NoOfTickets": 8,
"TotalAmount": 9.1,
"ConcessionAmount": 10.1,
"DiscountAmount": 11.1,
"NetAmount": 12.1,
"AdvanceAmount": 13.1,
"BalanceAmount": 14.1,
"PartialPayment": 15.1,
"LedgerCode": 16,
"TransactionTypeCode": 17,
"DOT": "sample string 18",
"PostedBy": 19,
"BranchCode": 20,
"DrAmount": 21.1,
"CrAmount": 22.1,
"LedgerName": "sample string 23",
"TransactionType": "sample string 24",
"Branch": "sample string 25",
"EntryBy": "sample string 26"
}
application/xml, text/xml
Sample:
<AccountModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TravelAPI.Models"> <AdvanceAmount>13.1</AdvanceAmount> <BalanceAmount>14.1</BalanceAmount> <Branch>sample string 25</Branch> <BranchCode>20</BranchCode> <Code>1</Code> <ConcessionAmount>10.1</ConcessionAmount> <ContactNo>sample string 7</ContactNo> <CrAmount>22.1</CrAmount> <DOT>sample string 18</DOT> <DiscountAmount>11.1</DiscountAmount> <DrAmount>21.1</DrAmount> <EntryBy>sample string 26</EntryBy> <FileNo>sample string 5</FileNo> <LedgerCode>16</LedgerCode> <LedgerName>sample string 23</LedgerName> <MasterCode>2</MasterCode> <Name>sample string 6</Name> <NetAmount>12.1</NetAmount> <NoOfTickets>8</NoOfTickets> <PartialPayment>15.1</PartialPayment> <PostedBy>19</PostedBy> <TotalAmount>9.1</TotalAmount> <TourCode>3</TourCode> <TourName>sample string 4</TourName> <TransactionType>sample string 24</TransactionType> <TransactionTypeCode>17</TransactionTypeCode> </AccountModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultModelOfListOfAccountModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ResponseCode | integer |
None. |
|
| Message | string |
None. |
|
| Data | Collection of AccountModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"ResponseCode": 1,
"Message": "sample string 2",
"Data": [
{
"Code": 1,
"MasterCode": 2,
"TourCode": 3,
"TourName": "sample string 4",
"FileNo": "sample string 5",
"Name": "sample string 6",
"ContactNo": "sample string 7",
"NoOfTickets": 8,
"TotalAmount": 9.1,
"ConcessionAmount": 10.1,
"DiscountAmount": 11.1,
"NetAmount": 12.1,
"AdvanceAmount": 13.1,
"BalanceAmount": 14.1,
"PartialPayment": 15.1,
"LedgerCode": 16,
"TransactionTypeCode": 17,
"DOT": "sample string 18",
"PostedBy": 19,
"BranchCode": 20,
"DrAmount": 21.1,
"CrAmount": 22.1,
"LedgerName": "sample string 23",
"TransactionType": "sample string 24",
"Branch": "sample string 25",
"EntryBy": "sample string 26"
},
{
"Code": 1,
"MasterCode": 2,
"TourCode": 3,
"TourName": "sample string 4",
"FileNo": "sample string 5",
"Name": "sample string 6",
"ContactNo": "sample string 7",
"NoOfTickets": 8,
"TotalAmount": 9.1,
"ConcessionAmount": 10.1,
"DiscountAmount": 11.1,
"NetAmount": 12.1,
"AdvanceAmount": 13.1,
"BalanceAmount": 14.1,
"PartialPayment": 15.1,
"LedgerCode": 16,
"TransactionTypeCode": 17,
"DOT": "sample string 18",
"PostedBy": 19,
"BranchCode": 20,
"DrAmount": 21.1,
"CrAmount": 22.1,
"LedgerName": "sample string 23",
"TransactionType": "sample string 24",
"Branch": "sample string 25",
"EntryBy": "sample string 26"
}
]
}
application/xml, text/xml
Sample:
<ResultModelOfArrayOfAccountModelqg6OZjsc xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TravelAPI.Models">
<Data>
<AccountModel>
<AdvanceAmount>13.1</AdvanceAmount>
<BalanceAmount>14.1</BalanceAmount>
<Branch>sample string 25</Branch>
<BranchCode>20</BranchCode>
<Code>1</Code>
<ConcessionAmount>10.1</ConcessionAmount>
<ContactNo>sample string 7</ContactNo>
<CrAmount>22.1</CrAmount>
<DOT>sample string 18</DOT>
<DiscountAmount>11.1</DiscountAmount>
<DrAmount>21.1</DrAmount>
<EntryBy>sample string 26</EntryBy>
<FileNo>sample string 5</FileNo>
<LedgerCode>16</LedgerCode>
<LedgerName>sample string 23</LedgerName>
<MasterCode>2</MasterCode>
<Name>sample string 6</Name>
<NetAmount>12.1</NetAmount>
<NoOfTickets>8</NoOfTickets>
<PartialPayment>15.1</PartialPayment>
<PostedBy>19</PostedBy>
<TotalAmount>9.1</TotalAmount>
<TourCode>3</TourCode>
<TourName>sample string 4</TourName>
<TransactionType>sample string 24</TransactionType>
<TransactionTypeCode>17</TransactionTypeCode>
</AccountModel>
<AccountModel>
<AdvanceAmount>13.1</AdvanceAmount>
<BalanceAmount>14.1</BalanceAmount>
<Branch>sample string 25</Branch>
<BranchCode>20</BranchCode>
<Code>1</Code>
<ConcessionAmount>10.1</ConcessionAmount>
<ContactNo>sample string 7</ContactNo>
<CrAmount>22.1</CrAmount>
<DOT>sample string 18</DOT>
<DiscountAmount>11.1</DiscountAmount>
<DrAmount>21.1</DrAmount>
<EntryBy>sample string 26</EntryBy>
<FileNo>sample string 5</FileNo>
<LedgerCode>16</LedgerCode>
<LedgerName>sample string 23</LedgerName>
<MasterCode>2</MasterCode>
<Name>sample string 6</Name>
<NetAmount>12.1</NetAmount>
<NoOfTickets>8</NoOfTickets>
<PartialPayment>15.1</PartialPayment>
<PostedBy>19</PostedBy>
<TotalAmount>9.1</TotalAmount>
<TourCode>3</TourCode>
<TourName>sample string 4</TourName>
<TransactionType>sample string 24</TransactionType>
<TransactionTypeCode>17</TransactionTypeCode>
</AccountModel>
</Data>
<Message>sample string 2</Message>
<ResponseCode>1</ResponseCode>
</ResultModelOfArrayOfAccountModelqg6OZjsc>