POST api/MobileAppPhase1/GetOrderHistory_V2

Request Information

URI Parameters

None.

Body Parameters

OrderHistoryRequest
NameDescriptionTypeAdditional information
Pin

string

None.

PhoneNumber

string

None.

TransactionType

string

None.

GetAllRecords

boolean

None.

DeviceId

string

None.

DeviceType

string

None.

DeviceName

string

None.

DeviceModel

string

None.

AppVersion

string

None.

AppType

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Pin": "sample string 1",
  "PhoneNumber": "sample string 2",
  "TransactionType": "sample string 3",
  "GetAllRecords": true,
  "DeviceId": "sample string 5",
  "DeviceType": "sample string 6",
  "DeviceName": "sample string 7",
  "DeviceModel": "sample string 8",
  "AppVersion": "sample string 9",
  "AppType": "sample string 10"
}

application/xml, text/xml

Sample:
<OrderHistoryRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Raza.Web.Api.Models.MobileApp">
  <AppType>sample string 10</AppType>
  <AppVersion>sample string 9</AppVersion>
  <DeviceId>sample string 5</DeviceId>
  <DeviceModel>sample string 8</DeviceModel>
  <DeviceName>sample string 7</DeviceName>
  <DeviceType>sample string 6</DeviceType>
  <GetAllRecords>true</GetAllRecords>
  <PhoneNumber>sample string 2</PhoneNumber>
  <Pin>sample string 1</Pin>
  <TransactionType>sample string 3</TransactionType>
</OrderHistoryRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AppOrderHistoryResponse
NameDescriptionTypeAdditional information
ResponseCode

string

None.

ResponseMessage

string

None.

OrderHistory

Collection of AppOrderHistory

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseCode": "sample string 1",
  "ResponseMessage": "sample string 2",
  "OrderHistory": [
    {
      "OrderId": "sample string 1",
      "OrderDate": "2024-11-28T06:04:49.8074942-05:00",
      "PaymentMethod": "sample string 3",
      "CardId": 64,
      "CardName": "sample string 5",
      "cardImage": "sample string 6",
      "Pin": "sample string 7",
      "PurchaseAmount": 8.0,
      "ServiceFee": 9.0,
      "CurrencyCode": "sample string 10",
      "TransactionType": "sample string 11"
    },
    {
      "OrderId": "sample string 1",
      "OrderDate": "2024-11-28T06:04:49.8074942-05:00",
      "PaymentMethod": "sample string 3",
      "CardId": 64,
      "CardName": "sample string 5",
      "cardImage": "sample string 6",
      "Pin": "sample string 7",
      "PurchaseAmount": 8.0,
      "ServiceFee": 9.0,
      "CurrencyCode": "sample string 10",
      "TransactionType": "sample string 11"
    }
  ]
}

application/xml, text/xml

Sample:
<AppOrderHistoryResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Raza.Web.Api.Models.MobileApp">
  <OrderHistory>
    <AppOrderHistory>
      <CardId>64</CardId>
      <CardName>sample string 5</CardName>
      <CurrencyCode>sample string 10</CurrencyCode>
      <OrderDate>2024-11-28T06:04:49.8074942-05:00</OrderDate>
      <OrderId>sample string 1</OrderId>
      <PaymentMethod>sample string 3</PaymentMethod>
      <Pin>sample string 7</Pin>
      <PurchaseAmount>8</PurchaseAmount>
      <ServiceFee>9</ServiceFee>
      <TransactionType>sample string 11</TransactionType>
      <cardImage>sample string 6</cardImage>
    </AppOrderHistory>
    <AppOrderHistory>
      <CardId>64</CardId>
      <CardName>sample string 5</CardName>
      <CurrencyCode>sample string 10</CurrencyCode>
      <OrderDate>2024-11-28T06:04:49.8074942-05:00</OrderDate>
      <OrderId>sample string 1</OrderId>
      <PaymentMethod>sample string 3</PaymentMethod>
      <Pin>sample string 7</Pin>
      <PurchaseAmount>8</PurchaseAmount>
      <ServiceFee>9</ServiceFee>
      <TransactionType>sample string 11</TransactionType>
      <cardImage>sample string 6</cardImage>
    </AppOrderHistory>
  </OrderHistory>
  <ResponseCode>sample string 1</ResponseCode>
  <ResponseMessage>sample string 2</ResponseMessage>
</AppOrderHistoryResponse>