POST api/profile/intl/user

Request Information

URI Parameters

None.

Body Parameters

GetIntlDataReq
NameDescriptionTypeAdditional information
Id

integer

None.

StartDate

string

None.

EndDate

string

None.

Operation

string

None.

Choice

string

None.

ApiKey

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "StartDate": "sample string 2",
  "EndDate": "sample string 3",
  "Operation": "sample string 4",
  "Choice": "sample string 5",
  "ApiKey": "sample string 6"
}

text/html

Sample:
{"Id":1,"StartDate":"sample string 2","EndDate":"sample string 3","Operation":"sample string 4","Choice":"sample string 5","ApiKey":"sample string 6"}

application/xml, text/xml

Sample:
<GetIntlDataReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities.FoneClube">
  <ApiKey>sample string 6</ApiKey>
  <Choice>sample string 5</Choice>
  <EndDate>sample string 3</EndDate>
  <Id>1</Id>
  <Operation>sample string 4</Operation>
  <StartDate>sample string 2</StartDate>
</GetIntlDataReq>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'GetIntlDataReq'.

Response Information

Resource Description

IntlUserDashboard
NameDescriptionTypeAdditional information
IdPerson

integer

None.

PersonInfo

IntlPerson

None.

CurrentBalance

string

None.

TotalDeposits

string

None.

TotalPurchases

string

None.

TotalPurchaseAmount

string

None.

TodaySale

string

None.

CurrentMonthSale

string

None.

OverallSale

string

None.

FilteredSale

string

None.

Purchases

Collection of Object

None.

Deposits

Collection of Deposits

None.

DebitoSaldo

decimal number

None.

DaysProfit

Collection of DaysProfit

None.

PlanDetail

Collection of PlanDetail

None.

TotalProfit

decimal number

None.

Currency

string

None.

UserId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "IdPerson": 1,
  "PersonInfo": {
    "Name": "sample string 1",
    "Email": "sample string 2",
    "PrepaidDiscountPer": 3.1,
    "NegtiveAllowance": 4.1
  },
  "CurrentBalance": "sample string 2",
  "TotalDeposits": "sample string 3",
  "TotalPurchases": "sample string 4",
  "TotalPurchaseAmount": "sample string 5",
  "TodaySale": "sample string 6",
  "CurrentMonthSale": "sample string 7",
  "OverallSale": "sample string 8",
  "FilteredSale": "sample string 9",
  "Purchases": [
    {},
    {}
  ],
  "Deposits": [
    {
      "ClientName": "sample string 1",
      "USDAmount": 2.0,
      "HandlingCharge": "sample string 3",
      "FinalAmount": 4.0,
      "Date": "2024-11-16T18:30:36.4615163-03:00",
      "Source": "sample string 6",
      "Comment": "sample string 7",
      "IsRefund": "sample string 8",
      "AddedBy": "sample string 9",
      "FinalUserBalance": 1.0
    },
    {
      "ClientName": "sample string 1",
      "USDAmount": 2.0,
      "HandlingCharge": "sample string 3",
      "FinalAmount": 4.0,
      "Date": "2024-11-16T18:30:36.4615163-03:00",
      "Source": "sample string 6",
      "Comment": "sample string 7",
      "IsRefund": "sample string 8",
      "AddedBy": "sample string 9",
      "FinalUserBalance": 1.0
    }
  ],
  "DebitoSaldo": 1.0,
  "DaysProfit": [
    {
      "UserOrDate": "sample string 1",
      "Profit": 2.0,
      "SalesCount": 3.0,
      "RefundCount": 4.0,
      "AmountDeducted": 5.0,
      "ContelPrice": 6.0
    },
    {
      "UserOrDate": "sample string 1",
      "Profit": 2.0,
      "SalesCount": 3.0,
      "RefundCount": 4.0,
      "AmountDeducted": 5.0,
      "ContelPrice": 6.0
    }
  ],
  "PlanDetail": [
    {
      "name": "sample string 1",
      "sold": 2,
      "soldPer": 3.1,
      "amount": 4.1,
      "amountPer": 5.1,
      "cost": 6.1,
      "costPer": 7.1,
      "otherCost": 8.1,
      "otherCostPer": 9.1,
      "profit": 10.1,
      "profitPer": 11.1
    },
    {
      "name": "sample string 1",
      "sold": 2,
      "soldPer": 3.1,
      "amount": 4.1,
      "amountPer": 5.1,
      "cost": 6.1,
      "costPer": 7.1,
      "otherCost": 8.1,
      "otherCostPer": 9.1,
      "profit": 10.1,
      "profitPer": 11.1
    }
  ],
  "TotalProfit": 10.0,
  "Currency": "sample string 11",
  "UserId": 12
}

text/html

Sample:
{"IdPerson":1,"PersonInfo":{"Name":"sample string 1","Email":"sample string 2","PrepaidDiscountPer":3.1,"NegtiveAllowance":4.1},"CurrentBalance":"sample string 2","TotalDeposits":"sample string 3","TotalPurchases":"sample string 4","TotalPurchaseAmount":"sample string 5","TodaySale":"sample string 6","CurrentMonthSale":"sample string 7","OverallSale":"sample string 8","FilteredSale":"sample string 9","Purchases":[{},{}],"Deposits":[{"ClientName":"sample string 1","USDAmount":2.0,"HandlingCharge":"sample string 3","FinalAmount":4.0,"Date":"2024-11-16T18:30:36.4615163-03:00","Source":"sample string 6","Comment":"sample string 7","IsRefund":"sample string 8","AddedBy":"sample string 9","FinalUserBalance":1.0},{"ClientName":"sample string 1","USDAmount":2.0,"HandlingCharge":"sample string 3","FinalAmount":4.0,"Date":"2024-11-16T18:30:36.4615163-03:00","Source":"sample string 6","Comment":"sample string 7","IsRefund":"sample string 8","AddedBy":"sample string 9","FinalUserBalance":1.0}],"DebitoSaldo":1.0,"DaysProfit":[{"UserOrDate":"sample string 1","Profit":2.0,"SalesCount":3.0,"RefundCount":4.0,"AmountDeducted":5.0,"ContelPrice":6.0},{"UserOrDate":"sample string 1","Profit":2.0,"SalesCount":3.0,"RefundCount":4.0,"AmountDeducted":5.0,"ContelPrice":6.0}],"PlanDetail":[{"name":"sample string 1","sold":2,"soldPer":3.1,"amount":4.1,"amountPer":5.1,"cost":6.1,"costPer":7.1,"otherCost":8.1,"otherCostPer":9.1,"profit":10.1,"profitPer":11.1},{"name":"sample string 1","sold":2,"soldPer":3.1,"amount":4.1,"amountPer":5.1,"cost":6.1,"costPer":7.1,"otherCost":8.1,"otherCostPer":9.1,"profit":10.1,"profitPer":11.1}],"TotalProfit":10.0,"Currency":"sample string 11","UserId":12}

application/xml, text/xml

Sample:
<IntlUserDashboard xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities.FoneClube">
  <Currency>sample string 11</Currency>
  <CurrentBalance>sample string 2</CurrentBalance>
  <CurrentMonthSale>sample string 7</CurrentMonthSale>
  <DaysProfit>
    <DaysProfit>
      <AmountDeducted>5</AmountDeducted>
      <ContelPrice>6</ContelPrice>
      <Profit>2</Profit>
      <RefundCount>4</RefundCount>
      <SalesCount>3</SalesCount>
      <UserOrDate>sample string 1</UserOrDate>
    </DaysProfit>
    <DaysProfit>
      <AmountDeducted>5</AmountDeducted>
      <ContelPrice>6</ContelPrice>
      <Profit>2</Profit>
      <RefundCount>4</RefundCount>
      <SalesCount>3</SalesCount>
      <UserOrDate>sample string 1</UserOrDate>
    </DaysProfit>
  </DaysProfit>
  <DebitoSaldo>1</DebitoSaldo>
  <Deposits>
    <Deposits>
      <AddedBy>sample string 9</AddedBy>
      <ClientName>sample string 1</ClientName>
      <Comment>sample string 7</Comment>
      <Date>2024-11-16T18:30:36.4615163-03:00</Date>
      <FinalAmount>4</FinalAmount>
      <FinalUserBalance>1</FinalUserBalance>
      <HandlingCharge>sample string 3</HandlingCharge>
      <IsRefund>sample string 8</IsRefund>
      <Source>sample string 6</Source>
      <USDAmount>2</USDAmount>
    </Deposits>
    <Deposits>
      <AddedBy>sample string 9</AddedBy>
      <ClientName>sample string 1</ClientName>
      <Comment>sample string 7</Comment>
      <Date>2024-11-16T18:30:36.4615163-03:00</Date>
      <FinalAmount>4</FinalAmount>
      <FinalUserBalance>1</FinalUserBalance>
      <HandlingCharge>sample string 3</HandlingCharge>
      <IsRefund>sample string 8</IsRefund>
      <Source>sample string 6</Source>
      <USDAmount>2</USDAmount>
    </Deposits>
  </Deposits>
  <FilteredSale>sample string 9</FilteredSale>
  <IdPerson>1</IdPerson>
  <OverallSale>sample string 8</OverallSale>
  <PersonInfo>
    <Email>sample string 2</Email>
    <Name>sample string 1</Name>
    <NegtiveAllowance>4.1</NegtiveAllowance>
    <PrepaidDiscountPer>3.1</PrepaidDiscountPer>
  </PersonInfo>
  <PlanDetail>
    <PlanDetail>
      <amount>4.1</amount>
      <amountPer>5.1</amountPer>
      <cost>6.1</cost>
      <costPer>7.1</costPer>
      <name>sample string 1</name>
      <otherCost>8.1</otherCost>
      <otherCostPer>9.1</otherCostPer>
      <profit>10.1</profit>
      <profitPer>11.1</profitPer>
      <sold>2</sold>
      <soldPer>3.1</soldPer>
    </PlanDetail>
    <PlanDetail>
      <amount>4.1</amount>
      <amountPer>5.1</amountPer>
      <cost>6.1</cost>
      <costPer>7.1</costPer>
      <name>sample string 1</name>
      <otherCost>8.1</otherCost>
      <otherCostPer>9.1</otherCostPer>
      <profit>10.1</profit>
      <profitPer>11.1</profitPer>
      <sold>2</sold>
      <soldPer>3.1</soldPer>
    </PlanDetail>
  </PlanDetail>
  <Purchases xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:anyType />
    <d2p1:anyType />
  </Purchases>
  <TodaySale>sample string 6</TodaySale>
  <TotalDeposits>sample string 3</TotalDeposits>
  <TotalProfit>10</TotalProfit>
  <TotalPurchaseAmount>sample string 5</TotalPurchaseAmount>
  <TotalPurchases>sample string 4</TotalPurchases>
  <UserId>12</UserId>
</IntlUserDashboard>