POST api/UserAccount?salesToday={salesToday}&salesMonth={salesMonth}&salesAllTime={salesAllTime}&companyId={companyId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
salesToday

decimal number

Required

salesMonth

decimal number

Required

salesAllTime

decimal number

Required

companyId

string

Required

Body Parameters

None.

Response Information

Resource Description

AppCardStatsDTO
NameDescriptionTypeAdditional information
id

integer

None.

iconClass

string

None.

position

integer

None.

title

string

None.

type

string

None.

nameA

string

None.

nameB

string

None.

nameC

string

None.

valueA

decimal number

None.

valueB

decimal number

None.

valueC

decimal number

None.

chartLabels

Collection of string

None.

chartSeries

Collection of string

None.

chartData

Collection of Collection of integer

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "iconClass": "sample string 2",
  "position": 3,
  "title": "sample string 4",
  "type": "sample string 5",
  "nameA": "sample string 6",
  "nameB": "sample string 7",
  "nameC": "sample string 8",
  "valueA": 9.0,
  "valueB": 10.0,
  "valueC": 11.0,
  "chartLabels": [
    "sample string 1",
    "sample string 2"
  ],
  "chartSeries": [
    "sample string 1",
    "sample string 2"
  ],
  "chartData": [
    [
      1,
      2
    ],
    [
      1,
      2
    ]
  ]
}

application/xml, text/xml

Sample:
<AppCardStatsDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Blumev3.Models">
  <chartData xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:ArrayOfint>
      <d2p1:int>1</d2p1:int>
      <d2p1:int>2</d2p1:int>
    </d2p1:ArrayOfint>
    <d2p1:ArrayOfint>
      <d2p1:int>1</d2p1:int>
      <d2p1:int>2</d2p1:int>
    </d2p1:ArrayOfint>
  </chartData>
  <chartLabels xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </chartLabels>
  <chartSeries xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </chartSeries>
  <iconClass>sample string 2</iconClass>
  <id>1</id>
  <nameA>sample string 6</nameA>
  <nameB>sample string 7</nameB>
  <nameC>sample string 8</nameC>
  <position>3</position>
  <title>sample string 4</title>
  <type>sample string 5</type>
  <valueA>9</valueA>
  <valueB>10</valueB>
  <valueC>11</valueC>
</AppCardStatsDTO>