POST BUS/api/app/Bus/SeatCancellation?TraceId={TraceId}&BusId={BusId}&Ticketno={Ticketno}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
TraceId | string |
Required |
|
BusId | string |
Required |
|
Ticketno | string |
Required |
Body Parameters
None.
Response Information
Resource Description
BusCancellationResponseName | Description | Type | Additional information |
---|---|---|---|
Version | string |
None. |
|
StatusCode | integer |
None. |
|
Content | BusCrInfoContent |
None. |
Response Formats
application/json, text/json
Sample:
{ "Version": "sample string 1", "StatusCode": 2, "Content": { "ResponseCode": 1, "Addinfo": { "ResponseStatus": 1, "Error": { "ErrorCode": 1, "ErrorMessage": "sample string 2" }, "TraceId": "sample string 2", "BusCrInfo": [ { "CancellationChargeBreakUp": { "CancellationFees": 1.0, "CancellationServiceCharge": 2.0 }, "ChangeRequestId": 1, "CreditNoteNo": "sample string 2", "ChangeRequestStatus": 0, "CreditNoteCreatedOn": "2024-12-28T14:44:07.062178+05:30", "TotalPrice": 4.0, "RefundedAmount": 5.0, "CancellationCharge": 6.0, "TotalServiceCharge": 7.0, "TotalGstAmount": 8.0, "Gst": {} }, { "CancellationChargeBreakUp": { "CancellationFees": 1.0, "CancellationServiceCharge": 2.0 }, "ChangeRequestId": 1, "CreditNoteNo": "sample string 2", "ChangeRequestStatus": 0, "CreditNoteCreatedOn": "2024-12-28T14:44:07.062178+05:30", "TotalPrice": 4.0, "RefundedAmount": 5.0, "CancellationCharge": 6.0, "TotalServiceCharge": 7.0, "TotalGstAmount": 8.0, "Gst": {} } ] } } }
application/xml, text/xml
Sample:
<BusCancellationResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WhiteLabelApp.Models"> <Content> <Addinfo> <BusCrInfo> <BusCrInfo> <CancellationCharge>6</CancellationCharge> <CancellationChargeBreakUp> <CancellationFees>1</CancellationFees> <CancellationServiceCharge>2</CancellationServiceCharge> </CancellationChargeBreakUp> <ChangeRequestId>1</ChangeRequestId> <ChangeRequestStatus>NOTSET</ChangeRequestStatus> <CreditNoteCreatedOn>2024-12-28T14:44:07.062178+05:30</CreditNoteCreatedOn> <CreditNoteNo>sample string 2</CreditNoteNo> <Gst /> <RefundedAmount>5</RefundedAmount> <TotalGstAmount>8</TotalGstAmount> <TotalPrice>4</TotalPrice> <TotalServiceCharge>7</TotalServiceCharge> </BusCrInfo> <BusCrInfo> <CancellationCharge>6</CancellationCharge> <CancellationChargeBreakUp> <CancellationFees>1</CancellationFees> <CancellationServiceCharge>2</CancellationServiceCharge> </CancellationChargeBreakUp> <ChangeRequestId>1</ChangeRequestId> <ChangeRequestStatus>NOTSET</ChangeRequestStatus> <CreditNoteCreatedOn>2024-12-28T14:44:07.062178+05:30</CreditNoteCreatedOn> <CreditNoteNo>sample string 2</CreditNoteNo> <Gst /> <RefundedAmount>5</RefundedAmount> <TotalGstAmount>8</TotalGstAmount> <TotalPrice>4</TotalPrice> <TotalServiceCharge>7</TotalServiceCharge> </BusCrInfo> </BusCrInfo> <Error> <ErrorCode>1</ErrorCode> <ErrorMessage>sample string 2</ErrorMessage> </Error> <ResponseStatus>1</ResponseStatus> <TraceId>sample string 2</TraceId> </Addinfo> <ResponseCode>1</ResponseCode> </Content> <StatusCode>2</StatusCode> <Version>sample string 1</Version> </BusCancellationResponse>