GET api/Accounts/ticket_account_list/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

ResultModelOfListOfAccountModel
NameDescriptionTypeAdditional 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>