POST Umroh/TransactionDetail

Request Information

URI Parameters

None.

Body Parameters

UmrohTransactionDetailRequest
NameDescriptionTypeAdditional information
BookingCode

string

None.

userID

user API

string

None.

accessToken

access code getting from login

string

None.

Request Formats

application/json, text/json

Sample:
{
  "BookingCode": "sample string 1",
  "userID": "sample string 2",
  "accessToken": "sample string 3"
}

application/xml, text/xml

Sample:
<UmrohTransactionDetailRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cebes.DI.H2H.Api.Models">
  <accessToken>sample string 3</accessToken>
  <userID>sample string 2</userID>
  <BookingCode>sample string 1</BookingCode>
</UmrohTransactionDetailRequest>

Response Information

Resource Description

UmrohTransactionDetailResponse
NameDescriptionTypeAdditional information
BookingCode

string

None.

UmrohName

string

None.

UmrohPackageName

string

None.

BookingDate

date

None.

Duration

integer

None.

DepartDate

date

None.

TicketStatus

string

None.

TotalPrice

decimal number

None.

DPAmount

decimal number

None.

RemainingBill

decimal number

None.

Commision

decimal number

None.

IssuedDate

date

None.

IssuedTimeLimit

date

None.

Pax

Collection of UmrohPax

None.

respTime

describe time in sending response

date

None.

userID

user ID to access API

string

None.

accessToken

access token that needed to access API

string

None.

status

SUCCESS or FAILED

string

None.

respMessage

detail message of response status

string

None.

Response Formats

application/json, text/json

Sample:
{
  "BookingCode": "sample string 1",
  "UmrohName": "sample string 2",
  "UmrohPackageName": "sample string 3",
  "BookingDate": "2021-11-27T13:10:43.1560146+07:00",
  "Duration": 5,
  "DepartDate": "2021-11-27T13:10:43.1560146+07:00",
  "TicketStatus": "sample string 7",
  "TotalPrice": 8.0,
  "DPAmount": 9.0,
  "RemainingBill": 10.0,
  "Commision": 11.0,
  "IssuedDate": "2021-11-27T13:10:43.1560146+07:00",
  "IssuedTimeLimit": "2021-11-27T13:10:43.1560146+07:00",
  "Pax": [
    {
      "Title": "sample string 1",
      "Name": "sample string 2"
    },
    {
      "Title": "sample string 1",
      "Name": "sample string 2"
    }
  ],
  "respTime": "2021-11-27T13:10:43.1560146+07:00",
  "userID": "sample string 13",
  "accessToken": "sample string 14",
  "status": "sample string 15",
  "respMessage": "sample string 16"
}

application/xml, text/xml

Sample:
<UmrohTransactionDetailResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cebes.DI.H2H.Api.Models">
  <accessToken>sample string 14</accessToken>
  <respMessage>sample string 16</respMessage>
  <respTime>2021-11-27T13:10:43.1560146+07:00</respTime>
  <status>sample string 15</status>
  <userID>sample string 13</userID>
  <BookingCode>sample string 1</BookingCode>
  <BookingDate>2021-11-27T13:10:43.1560146+07:00</BookingDate>
  <Commision>11</Commision>
  <DPAmount>9</DPAmount>
  <DepartDate>2021-11-27T13:10:43.1560146+07:00</DepartDate>
  <Duration>5</Duration>
  <IssuedDate>2021-11-27T13:10:43.1560146+07:00</IssuedDate>
  <IssuedTimeLimit>2021-11-27T13:10:43.1560146+07:00</IssuedTimeLimit>
  <Pax>
    <UmrohPax>
      <Name>sample string 2</Name>
      <Title>sample string 1</Title>
    </UmrohPax>
    <UmrohPax>
      <Name>sample string 2</Name>
      <Title>sample string 1</Title>
    </UmrohPax>
  </Pax>
  <RemainingBill>10</RemainingBill>
  <TicketStatus>sample string 7</TicketStatus>
  <TotalPrice>8</TotalPrice>
  <UmrohName>sample string 2</UmrohName>
  <UmrohPackageName>sample string 3</UmrohPackageName>
</UmrohTransactionDetailResponse>