POST api/StatValue

We search stat values to update by period_begin and period begin. ID is NOT key to find actual value.

Request Information

URI Parameters

None.

Body Parameters

Collection of ApiStatValue
NameDescriptionTypeAdditional information
stat_id

integer

None.

period_begin

date

None.

period_end

date

None.

description

string

None.

amount

string

None.

is_quota

boolean

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "stat_id": 1,
    "period_begin": "2024-11-16T04:59:18.8254036+00:00",
    "period_end": "2024-11-16T04:59:18.8254036+00:00",
    "description": "sample string 4",
    "amount": "sample string 5",
    "is_quota": true
  },
  {
    "stat_id": 1,
    "period_begin": "2024-11-16T04:59:18.8254036+00:00",
    "period_end": "2024-11-16T04:59:18.8254036+00:00",
    "description": "sample string 4",
    "amount": "sample string 5",
    "is_quota": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfApiStatValue xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ApiStatValue>
    <stat_id>1</stat_id>
    <period_begin>2024-11-16T04:59:18.8254036+00:00</period_begin>
    <period_end>2024-11-16T04:59:18.8254036+00:00</period_end>
    <description>sample string 4</description>
    <amount>sample string 5</amount>
    <is_quota>true</is_quota>
  </ApiStatValue>
  <ApiStatValue>
    <stat_id>1</stat_id>
    <period_begin>2024-11-16T04:59:18.8254036+00:00</period_begin>
    <period_end>2024-11-16T04:59:18.8254036+00:00</period_end>
    <description>sample string 4</description>
    <amount>sample string 5</amount>
    <is_quota>true</is_quota>
  </ApiStatValue>
</ArrayOfApiStatValue>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.