POST api/v2/IndicatorValues/Indicators/{frequencia}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
frequencia

Frequencia

Required

Body Parameters

Collection of IndicatorValueAPI
NameDescriptionTypeAdditional information
IndicatorId

integer

Documentação não disponível

InterfaceCode

string

Documentação não disponível

IndicatorValues

Collection of IndicatorValue

Documentação não disponível

Request Formats

application/json, text/json

Sample:
[
  {
    "IndicatorId": 1,
    "InterfaceCode": "sample string 1",
    "IndicatorValues": [
      {
        "Occurrence": "2025-09-13T10:12:50.188523+00:00",
        "Real": {
          "Value": 1.0
        },
        "Target": {
          "Value": 1.0
        },
        "ValueType": 1,
        "Programmed": {
          "Value": 1.0
        },
        "Projected": {
          "Value": 1.0
        }
      },
      {
        "Occurrence": "2025-09-13T10:12:50.188523+00:00",
        "Real": {
          "Value": 1.0
        },
        "Target": {
          "Value": 1.0
        },
        "ValueType": 1,
        "Programmed": {
          "Value": 1.0
        },
        "Projected": {
          "Value": 1.0
        }
      }
    ]
  },
  {
    "IndicatorId": 1,
    "InterfaceCode": "sample string 1",
    "IndicatorValues": [
      {
        "Occurrence": "2025-09-13T10:12:50.188523+00:00",
        "Real": {
          "Value": 1.0
        },
        "Target": {
          "Value": 1.0
        },
        "ValueType": 1,
        "Programmed": {
          "Value": 1.0
        },
        "Projected": {
          "Value": 1.0
        }
      },
      {
        "Occurrence": "2025-09-13T10:12:50.188523+00:00",
        "Real": {
          "Value": 1.0
        },
        "Target": {
          "Value": 1.0
        },
        "ValueType": 1,
        "Programmed": {
          "Value": 1.0
        },
        "Projected": {
          "Value": 1.0
        }
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfIndicatorValueAPI xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PortalSIM.Domain.Performance.API">
  <IndicatorValueAPI>
    <IndicatorId>1</IndicatorId>
    <IndicatorValues>
      <IndicatorValue>
        <Occurrence>2025-09-13T10:12:50.188523+00:00</Occurrence>
        <Programmed>
          <Value>1</Value>
        </Programmed>
        <Projected>
          <Value>1</Value>
        </Projected>
        <Real>
          <Value>1</Value>
        </Real>
        <Target>
          <Value>1</Value>
        </Target>
        <ValueType>Apurado</ValueType>
      </IndicatorValue>
      <IndicatorValue>
        <Occurrence>2025-09-13T10:12:50.188523+00:00</Occurrence>
        <Programmed>
          <Value>1</Value>
        </Programmed>
        <Projected>
          <Value>1</Value>
        </Projected>
        <Real>
          <Value>1</Value>
        </Real>
        <Target>
          <Value>1</Value>
        </Target>
        <ValueType>Apurado</ValueType>
      </IndicatorValue>
    </IndicatorValues>
    <InterfaceCode>sample string 1</InterfaceCode>
  </IndicatorValueAPI>
  <IndicatorValueAPI>
    <IndicatorId>1</IndicatorId>
    <IndicatorValues>
      <IndicatorValue>
        <Occurrence>2025-09-13T10:12:50.188523+00:00</Occurrence>
        <Programmed>
          <Value>1</Value>
        </Programmed>
        <Projected>
          <Value>1</Value>
        </Projected>
        <Real>
          <Value>1</Value>
        </Real>
        <Target>
          <Value>1</Value>
        </Target>
        <ValueType>Apurado</ValueType>
      </IndicatorValue>
      <IndicatorValue>
        <Occurrence>2025-09-13T10:12:50.188523+00:00</Occurrence>
        <Programmed>
          <Value>1</Value>
        </Programmed>
        <Projected>
          <Value>1</Value>
        </Projected>
        <Real>
          <Value>1</Value>
        </Real>
        <Target>
          <Value>1</Value>
        </Target>
        <ValueType>Apurado</ValueType>
      </IndicatorValue>
    </IndicatorValues>
    <InterfaceCode>sample string 1</InterfaceCode>
  </IndicatorValueAPI>
</ArrayOfIndicatorValueAPI>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.