GET api/profile/get/orders/{personId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
personId

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of StoreOrder
NameDescriptionTypeAdditional information
OrderId

integer

None.

OrderDate

date

None.

NumberOfPlans

integer

None.

Total

integer

None.

PaymentStatus

string

None.

Status

string

None.

IdTransaction

integer

None.

IdCharge

integer

None.

IdPerson

integer

None.

Plans

Collection of StorePlans

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "OrderId": 1,
    "OrderDate": "2024-11-16T19:02:09.6486462-03:00",
    "NumberOfPlans": 3,
    "Total": 4,
    "PaymentStatus": "sample string 5",
    "Status": "sample string 6",
    "IdTransaction": 7,
    "IdCharge": 8,
    "IdPerson": 9,
    "Plans": [
      {
        "Id": 1,
        "IdPerson": 2,
        "PlanName": "sample string 3",
        "Validity": 1,
        "Data": "sample string 4",
        "ESim": true,
        "Port": true,
        "Activated": true,
        "PortNumber": "sample string 8",
        "IdPlan": "sample string 9",
        "Provider": "sample string 10",
        "PlanDescription": "sample string 11",
        "PlanAmount": "sample string 12",
        "ChipAmount": "sample string 13",
        "ShippingAmount": "sample string 14",
        "OrderId": 15,
        "OrderDate": "2024-11-16T19:02:09.6496475-03:00",
        "ExpiredDate": "2024-11-16T19:02:09.6496475-03:00",
        "LPACode": "sample string 18",
        "IOSSMTP": "sample string 19",
        "IOSCode": "sample string 20",
        "QRCode": "sample string 21",
        "ICCID": "sample string 22",
        "purchaseId": "sample string 23",
        "PaymentMethod": "sample string 24",
        "ResetHistory": [
          {
            "dteAddedOn": "2024-11-16T19:02:09.6496475-03:00",
            "amountDeductedInD": 2.1,
            "contelPrice": 3.1,
            "txtOldICCID": "sample string 4",
            "txtNewICCID": "sample string 5"
          },
          {
            "dteAddedOn": "2024-11-16T19:02:09.6496475-03:00",
            "amountDeductedInD": 2.1,
            "contelPrice": 3.1,
            "txtOldICCID": "sample string 4",
            "txtNewICCID": "sample string 5"
          }
        ]
      },
      {
        "Id": 1,
        "IdPerson": 2,
        "PlanName": "sample string 3",
        "Validity": 1,
        "Data": "sample string 4",
        "ESim": true,
        "Port": true,
        "Activated": true,
        "PortNumber": "sample string 8",
        "IdPlan": "sample string 9",
        "Provider": "sample string 10",
        "PlanDescription": "sample string 11",
        "PlanAmount": "sample string 12",
        "ChipAmount": "sample string 13",
        "ShippingAmount": "sample string 14",
        "OrderId": 15,
        "OrderDate": "2024-11-16T19:02:09.6496475-03:00",
        "ExpiredDate": "2024-11-16T19:02:09.6496475-03:00",
        "LPACode": "sample string 18",
        "IOSSMTP": "sample string 19",
        "IOSCode": "sample string 20",
        "QRCode": "sample string 21",
        "ICCID": "sample string 22",
        "purchaseId": "sample string 23",
        "PaymentMethod": "sample string 24",
        "ResetHistory": [
          {
            "dteAddedOn": "2024-11-16T19:02:09.6496475-03:00",
            "amountDeductedInD": 2.1,
            "contelPrice": 3.1,
            "txtOldICCID": "sample string 4",
            "txtNewICCID": "sample string 5"
          },
          {
            "dteAddedOn": "2024-11-16T19:02:09.6496475-03:00",
            "amountDeductedInD": 2.1,
            "contelPrice": 3.1,
            "txtOldICCID": "sample string 4",
            "txtNewICCID": "sample string 5"
          }
        ]
      }
    ]
  },
  {
    "OrderId": 1,
    "OrderDate": "2024-11-16T19:02:09.6486462-03:00",
    "NumberOfPlans": 3,
    "Total": 4,
    "PaymentStatus": "sample string 5",
    "Status": "sample string 6",
    "IdTransaction": 7,
    "IdCharge": 8,
    "IdPerson": 9,
    "Plans": [
      {
        "Id": 1,
        "IdPerson": 2,
        "PlanName": "sample string 3",
        "Validity": 1,
        "Data": "sample string 4",
        "ESim": true,
        "Port": true,
        "Activated": true,
        "PortNumber": "sample string 8",
        "IdPlan": "sample string 9",
        "Provider": "sample string 10",
        "PlanDescription": "sample string 11",
        "PlanAmount": "sample string 12",
        "ChipAmount": "sample string 13",
        "ShippingAmount": "sample string 14",
        "OrderId": 15,
        "OrderDate": "2024-11-16T19:02:09.6496475-03:00",
        "ExpiredDate": "2024-11-16T19:02:09.6496475-03:00",
        "LPACode": "sample string 18",
        "IOSSMTP": "sample string 19",
        "IOSCode": "sample string 20",
        "QRCode": "sample string 21",
        "ICCID": "sample string 22",
        "purchaseId": "sample string 23",
        "PaymentMethod": "sample string 24",
        "ResetHistory": [
          {
            "dteAddedOn": "2024-11-16T19:02:09.6496475-03:00",
            "amountDeductedInD": 2.1,
            "contelPrice": 3.1,
            "txtOldICCID": "sample string 4",
            "txtNewICCID": "sample string 5"
          },
          {
            "dteAddedOn": "2024-11-16T19:02:09.6496475-03:00",
            "amountDeductedInD": 2.1,
            "contelPrice": 3.1,
            "txtOldICCID": "sample string 4",
            "txtNewICCID": "sample string 5"
          }
        ]
      },
      {
        "Id": 1,
        "IdPerson": 2,
        "PlanName": "sample string 3",
        "Validity": 1,
        "Data": "sample string 4",
        "ESim": true,
        "Port": true,
        "Activated": true,
        "PortNumber": "sample string 8",
        "IdPlan": "sample string 9",
        "Provider": "sample string 10",
        "PlanDescription": "sample string 11",
        "PlanAmount": "sample string 12",
        "ChipAmount": "sample string 13",
        "ShippingAmount": "sample string 14",
        "OrderId": 15,
        "OrderDate": "2024-11-16T19:02:09.6496475-03:00",
        "ExpiredDate": "2024-11-16T19:02:09.6496475-03:00",
        "LPACode": "sample string 18",
        "IOSSMTP": "sample string 19",
        "IOSCode": "sample string 20",
        "QRCode": "sample string 21",
        "ICCID": "sample string 22",
        "purchaseId": "sample string 23",
        "PaymentMethod": "sample string 24",
        "ResetHistory": [
          {
            "dteAddedOn": "2024-11-16T19:02:09.6496475-03:00",
            "amountDeductedInD": 2.1,
            "contelPrice": 3.1,
            "txtOldICCID": "sample string 4",
            "txtNewICCID": "sample string 5"
          },
          {
            "dteAddedOn": "2024-11-16T19:02:09.6496475-03:00",
            "amountDeductedInD": 2.1,
            "contelPrice": 3.1,
            "txtOldICCID": "sample string 4",
            "txtNewICCID": "sample string 5"
          }
        ]
      }
    ]
  }
]

text/html

Sample:
[{"OrderId":1,"OrderDate":"2024-11-16T19:02:09.6486462-03:00","NumberOfPlans":3,"Total":4,"PaymentStatus":"sample string 5","Status":"sample string 6","IdTransaction":7,"IdCharge":8,"IdPerson":9,"Plans":[{"Id":1,"IdPerson":2,"PlanName":"sample string 3","Validity":1,"Data":"sample string 4","ESim":true,"Port":true,"Activated":true,"PortNumber":"sample string 8","IdPlan":"sample string 9","Provider":"sample string 10","PlanDescription":"sample string 11","PlanAmount":"sample string 12","ChipAmount":"sample string 13","ShippingAmount":"sample string 14","OrderId":15,"OrderDate":"2024-11-16T19:02:09.6496475-03:00","ExpiredDate":"2024-11-16T19:02:09.6496475-03:00","LPACode":"sample string 18","IOSSMTP":"sample string 19","IOSCode":"sample string 20","QRCode":"sample string 21","ICCID":"sample string 22","purchaseId":"sample string 23","PaymentMethod":"sample string 24","ResetHistory":[{"dteAddedOn":"2024-11-16T19:02:09.6496475-03:00","amountDeductedInD":2.1,"contelPrice":3.1,"txtOldICCID":"sample string 4","txtNewICCID":"sample string 5"},{"dteAddedOn":"2024-11-16T19:02:09.6496475-03:00","amountDeductedInD":2.1,"contelPrice":3.1,"txtOldICCID":"sample string 4","txtNewICCID":"sample string 5"}]},{"Id":1,"IdPerson":2,"PlanName":"sample string 3","Validity":1,"Data":"sample string 4","ESim":true,"Port":true,"Activated":true,"PortNumber":"sample string 8","IdPlan":"sample string 9","Provider":"sample string 10","PlanDescription":"sample string 11","PlanAmount":"sample string 12","ChipAmount":"sample string 13","ShippingAmount":"sample string 14","OrderId":15,"OrderDate":"2024-11-16T19:02:09.6496475-03:00","ExpiredDate":"2024-11-16T19:02:09.6496475-03:00","LPACode":"sample string 18","IOSSMTP":"sample string 19","IOSCode":"sample string 20","QRCode":"sample string 21","ICCID":"sample string 22","purchaseId":"sample string 23","PaymentMethod":"sample string 24","ResetHistory":[{"dteAddedOn":"2024-11-16T19:02:09.6496475-03:00","amountDeductedInD":2.1,"contelPrice":3.1,"txtOldICCID":"sample string 4","txtNewICCID":"sample string 5"},{"dteAddedOn":"2024-11-16T19:02:09.6496475-03:00","amountDeductedInD":2.1,"contelPrice":3.1,"txtOldICCID":"sample string 4","txtNewICCID":"sample string 5"}]}]},{"OrderId":1,"OrderDate":"2024-11-16T19:02:09.6486462-03:00","NumberOfPlans":3,"Total":4,"PaymentStatus":"sample string 5","Status":"sample string 6","IdTransaction":7,"IdCharge":8,"IdPerson":9,"Plans":[{"Id":1,"IdPerson":2,"PlanName":"sample string 3","Validity":1,"Data":"sample string 4","ESim":true,"Port":true,"Activated":true,"PortNumber":"sample string 8","IdPlan":"sample string 9","Provider":"sample string 10","PlanDescription":"sample string 11","PlanAmount":"sample string 12","ChipAmount":"sample string 13","ShippingAmount":"sample string 14","OrderId":15,"OrderDate":"2024-11-16T19:02:09.6496475-03:00","ExpiredDate":"2024-11-16T19:02:09.6496475-03:00","LPACode":"sample string 18","IOSSMTP":"sample string 19","IOSCode":"sample string 20","QRCode":"sample string 21","ICCID":"sample string 22","purchaseId":"sample string 23","PaymentMethod":"sample string 24","ResetHistory":[{"dteAddedOn":"2024-11-16T19:02:09.6496475-03:00","amountDeductedInD":2.1,"contelPrice":3.1,"txtOldICCID":"sample string 4","txtNewICCID":"sample string 5"},{"dteAddedOn":"2024-11-16T19:02:09.6496475-03:00","amountDeductedInD":2.1,"contelPrice":3.1,"txtOldICCID":"sample string 4","txtNewICCID":"sample string 5"}]},{"Id":1,"IdPerson":2,"PlanName":"sample string 3","Validity":1,"Data":"sample string 4","ESim":true,"Port":true,"Activated":true,"PortNumber":"sample string 8","IdPlan":"sample string 9","Provider":"sample string 10","PlanDescription":"sample string 11","PlanAmount":"sample string 12","ChipAmount":"sample string 13","ShippingAmount":"sample string 14","OrderId":15,"OrderDate":"2024-11-16T19:02:09.6496475-03:00","ExpiredDate":"2024-11-16T19:02:09.6496475-03:00","LPACode":"sample string 18","IOSSMTP":"sample string 19","IOSCode":"sample string 20","QRCode":"sample string 21","ICCID":"sample string 22","purchaseId":"sample string 23","PaymentMethod":"sample string 24","ResetHistory":[{"dteAddedOn":"2024-11-16T19:02:09.6496475-03:00","amountDeductedInD":2.1,"contelPrice":3.1,"txtOldICCID":"sample string 4","txtNewICCID":"sample string 5"},{"dteAddedOn":"2024-11-16T19:02:09.6496475-03:00","amountDeductedInD":2.1,"contelPrice":3.1,"txtOldICCID":"sample string 4","txtNewICCID":"sample string 5"}]}]}]

application/xml, text/xml

Sample:
<ArrayOfStoreOrder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities.FoneClube">
  <StoreOrder>
    <IdCharge>8</IdCharge>
    <IdPerson>9</IdPerson>
    <IdTransaction>7</IdTransaction>
    <NumberOfPlans>3</NumberOfPlans>
    <OrderDate>2024-11-16T19:02:09.6486462-03:00</OrderDate>
    <OrderId>1</OrderId>
    <PaymentStatus>sample string 5</PaymentStatus>
    <Plans>
      <StorePlans>
        <Activated>true</Activated>
        <ChipAmount>sample string 13</ChipAmount>
        <Data>sample string 4</Data>
        <ESim>true</ESim>
        <ExpiredDate>2024-11-16T19:02:09.6496475-03:00</ExpiredDate>
        <ICCID>sample string 22</ICCID>
        <IOSCode>sample string 20</IOSCode>
        <IOSSMTP>sample string 19</IOSSMTP>
        <Id>1</Id>
        <IdPerson>2</IdPerson>
        <IdPlan>sample string 9</IdPlan>
        <LPACode>sample string 18</LPACode>
        <OrderDate>2024-11-16T19:02:09.6496475-03:00</OrderDate>
        <OrderId>15</OrderId>
        <PaymentMethod>sample string 24</PaymentMethod>
        <PlanAmount>sample string 12</PlanAmount>
        <PlanDescription>sample string 11</PlanDescription>
        <PlanName>sample string 3</PlanName>
        <Port>true</Port>
        <PortNumber>sample string 8</PortNumber>
        <Provider>sample string 10</Provider>
        <QRCode>sample string 21</QRCode>
        <ResetHistory>
          <ResetHistory>
            <amountDeductedInD>2.1</amountDeductedInD>
            <contelPrice>3.1</contelPrice>
            <dteAddedOn>2024-11-16T19:02:09.6496475-03:00</dteAddedOn>
            <txtNewICCID>sample string 5</txtNewICCID>
            <txtOldICCID>sample string 4</txtOldICCID>
          </ResetHistory>
          <ResetHistory>
            <amountDeductedInD>2.1</amountDeductedInD>
            <contelPrice>3.1</contelPrice>
            <dteAddedOn>2024-11-16T19:02:09.6496475-03:00</dteAddedOn>
            <txtNewICCID>sample string 5</txtNewICCID>
            <txtOldICCID>sample string 4</txtOldICCID>
          </ResetHistory>
        </ResetHistory>
        <ShippingAmount>sample string 14</ShippingAmount>
        <Validity>1</Validity>
        <purchaseId>sample string 23</purchaseId>
      </StorePlans>
      <StorePlans>
        <Activated>true</Activated>
        <ChipAmount>sample string 13</ChipAmount>
        <Data>sample string 4</Data>
        <ESim>true</ESim>
        <ExpiredDate>2024-11-16T19:02:09.6496475-03:00</ExpiredDate>
        <ICCID>sample string 22</ICCID>
        <IOSCode>sample string 20</IOSCode>
        <IOSSMTP>sample string 19</IOSSMTP>
        <Id>1</Id>
        <IdPerson>2</IdPerson>
        <IdPlan>sample string 9</IdPlan>
        <LPACode>sample string 18</LPACode>
        <OrderDate>2024-11-16T19:02:09.6496475-03:00</OrderDate>
        <OrderId>15</OrderId>
        <PaymentMethod>sample string 24</PaymentMethod>
        <PlanAmount>sample string 12</PlanAmount>
        <PlanDescription>sample string 11</PlanDescription>
        <PlanName>sample string 3</PlanName>
        <Port>true</Port>
        <PortNumber>sample string 8</PortNumber>
        <Provider>sample string 10</Provider>
        <QRCode>sample string 21</QRCode>
        <ResetHistory>
          <ResetHistory>
            <amountDeductedInD>2.1</amountDeductedInD>
            <contelPrice>3.1</contelPrice>
            <dteAddedOn>2024-11-16T19:02:09.6496475-03:00</dteAddedOn>
            <txtNewICCID>sample string 5</txtNewICCID>
            <txtOldICCID>sample string 4</txtOldICCID>
          </ResetHistory>
          <ResetHistory>
            <amountDeductedInD>2.1</amountDeductedInD>
            <contelPrice>3.1</contelPrice>
            <dteAddedOn>2024-11-16T19:02:09.6496475-03:00</dteAddedOn>
            <txtNewICCID>sample string 5</txtNewICCID>
            <txtOldICCID>sample string 4</txtOldICCID>
          </ResetHistory>
        </ResetHistory>
        <ShippingAmount>sample string 14</ShippingAmount>
        <Validity>1</Validity>
        <purchaseId>sample string 23</purchaseId>
      </StorePlans>
    </Plans>
    <Status>sample string 6</Status>
    <Total>4</Total>
  </StoreOrder>
  <StoreOrder>
    <IdCharge>8</IdCharge>
    <IdPerson>9</IdPerson>
    <IdTransaction>7</IdTransaction>
    <NumberOfPlans>3</NumberOfPlans>
    <OrderDate>2024-11-16T19:02:09.6486462-03:00</OrderDate>
    <OrderId>1</OrderId>
    <PaymentStatus>sample string 5</PaymentStatus>
    <Plans>
      <StorePlans>
        <Activated>true</Activated>
        <ChipAmount>sample string 13</ChipAmount>
        <Data>sample string 4</Data>
        <ESim>true</ESim>
        <ExpiredDate>2024-11-16T19:02:09.6496475-03:00</ExpiredDate>
        <ICCID>sample string 22</ICCID>
        <IOSCode>sample string 20</IOSCode>
        <IOSSMTP>sample string 19</IOSSMTP>
        <Id>1</Id>
        <IdPerson>2</IdPerson>
        <IdPlan>sample string 9</IdPlan>
        <LPACode>sample string 18</LPACode>
        <OrderDate>2024-11-16T19:02:09.6496475-03:00</OrderDate>
        <OrderId>15</OrderId>
        <PaymentMethod>sample string 24</PaymentMethod>
        <PlanAmount>sample string 12</PlanAmount>
        <PlanDescription>sample string 11</PlanDescription>
        <PlanName>sample string 3</PlanName>
        <Port>true</Port>
        <PortNumber>sample string 8</PortNumber>
        <Provider>sample string 10</Provider>
        <QRCode>sample string 21</QRCode>
        <ResetHistory>
          <ResetHistory>
            <amountDeductedInD>2.1</amountDeductedInD>
            <contelPrice>3.1</contelPrice>
            <dteAddedOn>2024-11-16T19:02:09.6496475-03:00</dteAddedOn>
            <txtNewICCID>sample string 5</txtNewICCID>
            <txtOldICCID>sample string 4</txtOldICCID>
          </ResetHistory>
          <ResetHistory>
            <amountDeductedInD>2.1</amountDeductedInD>
            <contelPrice>3.1</contelPrice>
            <dteAddedOn>2024-11-16T19:02:09.6496475-03:00</dteAddedOn>
            <txtNewICCID>sample string 5</txtNewICCID>
            <txtOldICCID>sample string 4</txtOldICCID>
          </ResetHistory>
        </ResetHistory>
        <ShippingAmount>sample string 14</ShippingAmount>
        <Validity>1</Validity>
        <purchaseId>sample string 23</purchaseId>
      </StorePlans>
      <StorePlans>
        <Activated>true</Activated>
        <ChipAmount>sample string 13</ChipAmount>
        <Data>sample string 4</Data>
        <ESim>true</ESim>
        <ExpiredDate>2024-11-16T19:02:09.6496475-03:00</ExpiredDate>
        <ICCID>sample string 22</ICCID>
        <IOSCode>sample string 20</IOSCode>
        <IOSSMTP>sample string 19</IOSSMTP>
        <Id>1</Id>
        <IdPerson>2</IdPerson>
        <IdPlan>sample string 9</IdPlan>
        <LPACode>sample string 18</LPACode>
        <OrderDate>2024-11-16T19:02:09.6496475-03:00</OrderDate>
        <OrderId>15</OrderId>
        <PaymentMethod>sample string 24</PaymentMethod>
        <PlanAmount>sample string 12</PlanAmount>
        <PlanDescription>sample string 11</PlanDescription>
        <PlanName>sample string 3</PlanName>
        <Port>true</Port>
        <PortNumber>sample string 8</PortNumber>
        <Provider>sample string 10</Provider>
        <QRCode>sample string 21</QRCode>
        <ResetHistory>
          <ResetHistory>
            <amountDeductedInD>2.1</amountDeductedInD>
            <contelPrice>3.1</contelPrice>
            <dteAddedOn>2024-11-16T19:02:09.6496475-03:00</dteAddedOn>
            <txtNewICCID>sample string 5</txtNewICCID>
            <txtOldICCID>sample string 4</txtOldICCID>
          </ResetHistory>
          <ResetHistory>
            <amountDeductedInD>2.1</amountDeductedInD>
            <contelPrice>3.1</contelPrice>
            <dteAddedOn>2024-11-16T19:02:09.6496475-03:00</dteAddedOn>
            <txtNewICCID>sample string 5</txtNewICCID>
            <txtOldICCID>sample string 4</txtOldICCID>
          </ResetHistory>
        </ResetHistory>
        <ShippingAmount>sample string 14</ShippingAmount>
        <Validity>1</Validity>
        <purchaseId>sample string 23</purchaseId>
      </StorePlans>
    </Plans>
    <Status>sample string 6</Status>
    <Total>4</Total>
  </StoreOrder>
</ArrayOfStoreOrder>