POST api/Accounts/branch_commession_list
Request Information
URI Parameters
None.
Body Parameters
TourModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | integer |
None. |
|
| FileNo | string |
None. |
|
| Barcode | integer |
None. |
|
| TypeCode | integer |
None. |
|
| Name | string |
None. |
|
| NoOfDays | integer |
None. |
|
| MaximumSeat | integer |
None. |
|
| MinimumAdvanceAmt | decimal number |
None. |
|
| isPackage | integer |
None. |
|
| VehicleCode | integer |
None. |
|
| StartDate | string |
None. |
|
| EndDate | string |
None. |
|
| Details | string |
None. |
|
| TermsAndCondetion | string |
None. |
|
| CancelPolicy | string |
None. |
|
| BoardingPoint | string |
None. |
|
| BoardingTime | string |
None. |
|
| Amount | decimal number |
None. |
|
| DOT | string |
None. |
|
| PostedBy | integer |
None. |
|
| IsActive | integer |
None. |
|
| GuideName | string |
None. |
|
| GuideContactNo | string |
None. |
|
| Layout | string |
None. |
|
| ContactNo | string |
None. |
|
| BookingEndDate | string |
None. |
|
| BranchCode | integer |
None. |
|
| TourType | string |
None. |
|
| AvailableSeat | integer |
None. |
|
| VehicleNo | string |
None. |
|
| VehicleDetails | string |
None. |
|
| DriverName | string |
None. |
|
| DriverPhoneNo | string |
None. |
|
| TourTypeName | string |
None. |
|
| EnableVirtualQueue | integer |
None. |
|
| PNR | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Code": 1,
"FileNo": "sample string 2",
"Barcode": 3,
"TypeCode": 4,
"Name": "sample string 5",
"NoOfDays": 6,
"MaximumSeat": 7,
"MinimumAdvanceAmt": 8.1,
"isPackage": 9,
"VehicleCode": 10,
"StartDate": "sample string 11",
"EndDate": "sample string 12",
"Details": "sample string 13",
"TermsAndCondetion": "sample string 14",
"CancelPolicy": "sample string 15",
"BoardingPoint": "sample string 16",
"BoardingTime": "sample string 17",
"Amount": 18.1,
"DOT": "sample string 19",
"PostedBy": 20,
"IsActive": 21,
"GuideName": "sample string 22",
"GuideContactNo": "sample string 23",
"Layout": "sample string 24",
"ContactNo": "sample string 25",
"BookingEndDate": "sample string 26",
"BranchCode": 27,
"TourType": "sample string 28",
"AvailableSeat": 29,
"VehicleNo": "sample string 30",
"VehicleDetails": "sample string 31",
"DriverName": "sample string 32",
"DriverPhoneNo": "sample string 33",
"TourTypeName": "sample string 34",
"EnableVirtualQueue": 35,
"PNR": 36
}
application/xml, text/xml
Sample:
<TourModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TravelAPI.Models"> <Amount>18.1</Amount> <AvailableSeat>29</AvailableSeat> <Barcode>3</Barcode> <BoardingPoint>sample string 16</BoardingPoint> <BoardingTime>sample string 17</BoardingTime> <BookingEndDate>sample string 26</BookingEndDate> <BranchCode>27</BranchCode> <CancelPolicy>sample string 15</CancelPolicy> <Code>1</Code> <ContactNo>sample string 25</ContactNo> <DOT>sample string 19</DOT> <Details>sample string 13</Details> <DriverName>sample string 32</DriverName> <DriverPhoneNo>sample string 33</DriverPhoneNo> <EnableVirtualQueue>35</EnableVirtualQueue> <EndDate>sample string 12</EndDate> <FileNo>sample string 2</FileNo> <GuideContactNo>sample string 23</GuideContactNo> <GuideName>sample string 22</GuideName> <IsActive>21</IsActive> <Layout>sample string 24</Layout> <MaximumSeat>7</MaximumSeat> <MinimumAdvanceAmt>8.1</MinimumAdvanceAmt> <Name>sample string 5</Name> <NoOfDays>6</NoOfDays> <PNR>36</PNR> <PostedBy>20</PostedBy> <StartDate>sample string 11</StartDate> <TermsAndCondetion>sample string 14</TermsAndCondetion> <TourType>sample string 28</TourType> <TourTypeName>sample string 34</TourTypeName> <TypeCode>4</TypeCode> <VehicleCode>10</VehicleCode> <VehicleDetails>sample string 31</VehicleDetails> <VehicleNo>sample string 30</VehicleNo> <isPackage>9</isPackage> </TourModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultModelOfListOfBranchCommessionModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ResponseCode | integer |
None. |
|
| Message | string |
None. |
|
| Data | Collection of BranchCommessionModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"ResponseCode": 1,
"Message": "sample string 2",
"Data": [
{
"Code": 1,
"BranchCode": 2,
"TourCode": 3,
"BranchName": "sample string 4",
"TourName": "sample string 5",
"NOB": 6,
"TotalAmount": 7.1,
"CommessionPer": 8.1,
"CommessionAmount": 9.1,
"CommessionAmountIssued": 10.1,
"PendingCommession": 11.1,
"TicketMasterCode": 12,
"PNR": 13,
"InvoiceNo": 14,
"NetAmount": 15.1,
"DOT": "sample string 16",
"PostedBy": 17
},
{
"Code": 1,
"BranchCode": 2,
"TourCode": 3,
"BranchName": "sample string 4",
"TourName": "sample string 5",
"NOB": 6,
"TotalAmount": 7.1,
"CommessionPer": 8.1,
"CommessionAmount": 9.1,
"CommessionAmountIssued": 10.1,
"PendingCommession": 11.1,
"TicketMasterCode": 12,
"PNR": 13,
"InvoiceNo": 14,
"NetAmount": 15.1,
"DOT": "sample string 16",
"PostedBy": 17
}
]
}
application/xml, text/xml
Sample:
<ResultModelOfArrayOfBranchCommessionModelqg6OZjsc xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TravelAPI.Models">
<Data>
<BranchCommessionModel>
<BranchCode>2</BranchCode>
<BranchName>sample string 4</BranchName>
<Code>1</Code>
<CommessionAmount>9.1</CommessionAmount>
<CommessionAmountIssued>10.1</CommessionAmountIssued>
<CommessionPer>8.1</CommessionPer>
<DOT>sample string 16</DOT>
<InvoiceNo>14</InvoiceNo>
<NOB>6</NOB>
<NetAmount>15.1</NetAmount>
<PNR>13</PNR>
<PendingCommession>11.1</PendingCommession>
<PostedBy>17</PostedBy>
<TicketMasterCode>12</TicketMasterCode>
<TotalAmount>7.1</TotalAmount>
<TourCode>3</TourCode>
<TourName>sample string 5</TourName>
</BranchCommessionModel>
<BranchCommessionModel>
<BranchCode>2</BranchCode>
<BranchName>sample string 4</BranchName>
<Code>1</Code>
<CommessionAmount>9.1</CommessionAmount>
<CommessionAmountIssued>10.1</CommessionAmountIssued>
<CommessionPer>8.1</CommessionPer>
<DOT>sample string 16</DOT>
<InvoiceNo>14</InvoiceNo>
<NOB>6</NOB>
<NetAmount>15.1</NetAmount>
<PNR>13</PNR>
<PendingCommession>11.1</PendingCommession>
<PostedBy>17</PostedBy>
<TicketMasterCode>12</TicketMasterCode>
<TotalAmount>7.1</TotalAmount>
<TourCode>3</TourCode>
<TourName>sample string 5</TourName>
</BranchCommessionModel>
</Data>
<Message>sample string 2</Message>
<ResponseCode>1</ResponseCode>
</ResultModelOfArrayOfBranchCommessionModelqg6OZjsc>