POST api/EconReports

Request Information
URI Parameters

None.

Body Parameters

EconReportRequest
NameDescriptionTypeAdditional information
Id

integer

None.

StartYear

integer

None.

EndYear

integer

None.

Request Formats
application/json, text/json
Sample:
{
  "Id": 1,
  "StartYear": 2,
  "EndYear": 3
}
text/html
Sample:
{"Id":1,"StartYear":2,"EndYear":3}
application/xml, text/xml
Sample:
<EconReportRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/">
  <EndYear>3</EndYear>
  <Id>1</Id>
  <StartYear>2</StartYear>
</EconReportRequest>
application/x-www-form-urlencoded
Sample:

Sample not available.

Response Information

Resource Description

EconomicDataApiResponse
NameDescriptionTypeAdditional information
Body

EconomicDataResult

None.

RequestId

string

None.

ResponseId

string

None.

RequestDate

date

None.

ResponseDate

date

None.

ResponseDateEst

date

None.

Warnings

Collection of Warning

None.

Errors

Collection of Warning

None.

ResponseCode

string

None.

RecordsRemaining

integer

None.

CompleteProgress

decimal number

None.

Category

string

None.

Response Formats

application/json, text/json
Sample:
{
  "Body": {
    "Item": {
      "Title": "sample string 1",
      "InternalId": 2,
      "Units": "sample string 3",
      "UnitsDataType": "sample string 4",
      "Frequency": "sample string 5",
      "ObservationDate": "2024-10-08T22:20:16.1985158+00:00",
      "Notes": "sample string 7",
      "ModifiedDate": "2024-10-08T22:20:16.1985158+00:00",
      "Value": 9.0,
      "FirstObservationDate": "2024-10-08T22:20:16.1985158+00:00",
      "LastObservationDate": "2024-10-08T22:20:16.1985158+00:00",
      "Chart": {
        "XValues": [
          "sample string 1",
          "sample string 2"
        ],
        "YValues": [
          "sample string 1",
          "sample string 2"
        ],
        "RawData": {}
      },
      "Priority": 1
    },
    "Items": [
      {
        "Title": "sample string 1",
        "InternalId": 2,
        "Units": "sample string 3",
        "UnitsDataType": "sample string 4",
        "Frequency": "sample string 5",
        "ObservationDate": "2024-10-08T22:20:16.1985158+00:00",
        "Notes": "sample string 7",
        "ModifiedDate": "2024-10-08T22:20:16.1985158+00:00",
        "Value": 9.0,
        "FirstObservationDate": "2024-10-08T22:20:16.1985158+00:00",
        "LastObservationDate": "2024-10-08T22:20:16.1985158+00:00",
        "Chart": {
          "XValues": [
            "sample string 1",
            "sample string 2"
          ],
          "YValues": [
            "sample string 1",
            "sample string 2"
          ],
          "RawData": {}
        },
        "Priority": 1
      },
      {
        "Title": "sample string 1",
        "InternalId": 2,
        "Units": "sample string 3",
        "UnitsDataType": "sample string 4",
        "Frequency": "sample string 5",
        "ObservationDate": "2024-10-08T22:20:16.1985158+00:00",
        "Notes": "sample string 7",
        "ModifiedDate": "2024-10-08T22:20:16.1985158+00:00",
        "Value": 9.0,
        "FirstObservationDate": "2024-10-08T22:20:16.1985158+00:00",
        "LastObservationDate": "2024-10-08T22:20:16.1985158+00:00",
        "Chart": {
          "XValues": [
            "sample string 1",
            "sample string 2"
          ],
          "YValues": [
            "sample string 1",
            "sample string 2"
          ],
          "RawData": {}
        },
        "Priority": 1
      }
    ]
  },
  "RequestId": "sample string 1",
  "ResponseId": "sample string 2",
  "RequestDate": "2024-10-08T22:20:16.1985158+00:00",
  "ResponseDate": "2024-10-08T22:20:16.1985158+00:00",
  "ResponseDateEst": "2024-10-08T22:20:16.1985158+00:00",
  "Warnings": [
    {
      "Code": "sample string 1",
      "Message": "sample string 2"
    },
    {
      "Code": "sample string 1",
      "Message": "sample string 2"
    }
  ],
  "Errors": [
    {
      "Code": "sample string 1",
      "Message": "sample string 2"
    },
    {
      "Code": "sample string 1",
      "Message": "sample string 2"
    }
  ],
  "ResponseCode": "sample string 6",
  "RecordsRemaining": 1,
  "CompleteProgress": 1.0,
  "Category": "sample string 7"
}
text/html
Sample:
{"Body":{"Item":{"Title":"sample string 1","InternalId":2,"Units":"sample string 3","UnitsDataType":"sample string 4","Frequency":"sample string 5","ObservationDate":"2024-10-08T22:20:16.1985158+00:00","Notes":"sample string 7","ModifiedDate":"2024-10-08T22:20:16.1985158+00:00","Value":9.0,"FirstObservationDate":"2024-10-08T22:20:16.1985158+00:00","LastObservationDate":"2024-10-08T22:20:16.1985158+00:00","Chart":{"XValues":["sample string 1","sample string 2"],"YValues":["sample string 1","sample string 2"],"RawData":{}},"Priority":1},"Items":[{"Title":"sample string 1","InternalId":2,"Units":"sample string 3","UnitsDataType":"sample string 4","Frequency":"sample string 5","ObservationDate":"2024-10-08T22:20:16.1985158+00:00","Notes":"sample string 7","ModifiedDate":"2024-10-08T22:20:16.1985158+00:00","Value":9.0,"FirstObservationDate":"2024-10-08T22:20:16.1985158+00:00","LastObservationDate":"2024-10-08T22:20:16.1985158+00:00","Chart":{"XValues":["sample string 1","sample string 2"],"YValues":["sample string 1","sample string 2"],"RawData":{}},"Priority":1},{"Title":"sample string 1","InternalId":2,"Units":"sample string 3","UnitsDataType":"sample string 4","Frequency":"sample string 5","ObservationDate":"2024-10-08T22:20:16.1985158+00:00","Notes":"sample string 7","ModifiedDate":"2024-10-08T22:20:16.1985158+00:00","Value":9.0,"FirstObservationDate":"2024-10-08T22:20:16.1985158+00:00","LastObservationDate":"2024-10-08T22:20:16.1985158+00:00","Chart":{"XValues":["sample string 1","sample string 2"],"YValues":["sample string 1","sample string 2"],"RawData":{}},"Priority":1}]},"RequestId":"sample string 1","ResponseId":"sample string 2","RequestDate":"2024-10-08T22:20:16.1985158+00:00","ResponseDate":"2024-10-08T22:20:16.1985158+00:00","ResponseDateEst":"2024-10-08T22:20:16.1985158+00:00","Warnings":[{"Code":"sample string 1","Message":"sample string 2"},{"Code":"sample string 1","Message":"sample string 2"}],"Errors":[{"Code":"sample string 1","Message":"sample string 2"},{"Code":"sample string 1","Message":"sample string 2"}],"ResponseCode":"sample string 6","RecordsRemaining":1,"CompleteProgress":1.0,"Category":"sample string 7"}
application/xml, text/xml
Sample:
<EconomicDataApiResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PublicApi.Model">
  <Category>sample string 7</Category>
  <CompleteProgress>1</CompleteProgress>
  <Errors>
    <Warning>
      <Code>sample string 1</Code>
      <Message>sample string 2</Message>
    </Warning>
    <Warning>
      <Code>sample string 1</Code>
      <Message>sample string 2</Message>
    </Warning>
  </Errors>
  <RecordsRemaining>1</RecordsRemaining>
  <RequestDate>2024-10-08T22:20:16.1985158+00:00</RequestDate>
  <RequestId>sample string 1</RequestId>
  <ResponseCode>sample string 6</ResponseCode>
  <ResponseDate>2024-10-08T22:20:16.1985158+00:00</ResponseDate>
  <ResponseDateEst>2024-10-08T22:20:16.1985158+00:00</ResponseDateEst>
  <ResponseId>sample string 2</ResponseId>
  <Warnings>
    <Warning>
      <Code>sample string 1</Code>
      <Message>sample string 2</Message>
    </Warning>
    <Warning>
      <Code>sample string 1</Code>
      <Message>sample string 2</Message>
    </Warning>
  </Warnings>
  <Body>
    <Item>
      <Chart>
        <RawData />
        <XValues xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
        </XValues>
        <YValues xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
        </YValues>
      </Chart>
      <FirstObservationDate>2024-10-08T22:20:16.1985158+00:00</FirstObservationDate>
      <Frequency>sample string 5</Frequency>
      <InternalId>2</InternalId>
      <LastObservationDate>2024-10-08T22:20:16.1985158+00:00</LastObservationDate>
      <ModifiedDate>2024-10-08T22:20:16.1985158+00:00</ModifiedDate>
      <Notes>sample string 7</Notes>
      <ObservationDate>2024-10-08T22:20:16.1985158+00:00</ObservationDate>
      <Priority>1</Priority>
      <Title>sample string 1</Title>
      <Units>sample string 3</Units>
      <UnitsDataType>sample string 4</UnitsDataType>
      <Value>9</Value>
    </Item>
    <Items>
      <EconomicDataItem>
        <Chart>
          <RawData />
          <XValues xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>sample string 1</d6p1:string>
            <d6p1:string>sample string 2</d6p1:string>
          </XValues>
          <YValues xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>sample string 1</d6p1:string>
            <d6p1:string>sample string 2</d6p1:string>
          </YValues>
        </Chart>
        <FirstObservationDate>2024-10-08T22:20:16.1985158+00:00</FirstObservationDate>
        <Frequency>sample string 5</Frequency>
        <InternalId>2</InternalId>
        <LastObservationDate>2024-10-08T22:20:16.1985158+00:00</LastObservationDate>
        <ModifiedDate>2024-10-08T22:20:16.1985158+00:00</ModifiedDate>
        <Notes>sample string 7</Notes>
        <ObservationDate>2024-10-08T22:20:16.1985158+00:00</ObservationDate>
        <Priority>1</Priority>
        <Title>sample string 1</Title>
        <Units>sample string 3</Units>
        <UnitsDataType>sample string 4</UnitsDataType>
        <Value>9</Value>
      </EconomicDataItem>
      <EconomicDataItem>
        <Chart>
          <RawData />
          <XValues xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>sample string 1</d6p1:string>
            <d6p1:string>sample string 2</d6p1:string>
          </XValues>
          <YValues xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>sample string 1</d6p1:string>
            <d6p1:string>sample string 2</d6p1:string>
          </YValues>
        </Chart>
        <FirstObservationDate>2024-10-08T22:20:16.1985158+00:00</FirstObservationDate>
        <Frequency>sample string 5</Frequency>
        <InternalId>2</InternalId>
        <LastObservationDate>2024-10-08T22:20:16.1985158+00:00</LastObservationDate>
        <ModifiedDate>2024-10-08T22:20:16.1985158+00:00</ModifiedDate>
        <Notes>sample string 7</Notes>
        <ObservationDate>2024-10-08T22:20:16.1985158+00:00</ObservationDate>
        <Priority>1</Priority>
        <Title>sample string 1</Title>
        <Units>sample string 3</Units>
        <UnitsDataType>sample string 4</UnitsDataType>
        <Value>9</Value>
      </EconomicDataItem>
    </Items>
  </Body>
</EconomicDataApiResponse>