POST api/reporting/chart

Request Information

URI Parameters

None.

Body Parameters

Collection of Dezrez.Core.DataContracts.External.Api.Reporting.ReportChartRequestDataContract
NameDescriptionTypeAdditional information
Name

string

None.

Facets

Collection of Dezrez.Core.DataContracts.External.Api.Reporting.ChartReportFacet

None.

NegotiatorIds

Collection of integer

None.

From

date

None.

To

date

None.

BranchId

integer

None.

IncludeDrafts

boolean

None.

RoleTypes

Collection of string

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

Sample:
[
  {
    "Name": "sample string 1",
    "Facets": [
      0,
      0
    ],
    "NegotiatorIds": [
      1,
      2
    ],
    "From": "2024-10-05T09:52:43.4834164Z",
    "To": "2024-10-05T09:52:43.4834164Z",
    "BranchId": 1,
    "IncludeDrafts": true,
    "RoleTypes": [
      "sample string 1",
      "sample string 2"
    ]
  },
  {
    "Name": "sample string 1",
    "Facets": [
      0,
      0
    ],
    "NegotiatorIds": [
      1,
      2
    ],
    "From": "2024-10-05T09:52:43.4834164Z",
    "To": "2024-10-05T09:52:43.4834164Z",
    "BranchId": 1,
    "IncludeDrafts": true,
    "RoleTypes": [
      "sample string 1",
      "sample string 2"
    ]
  }
]

Response Information

Resource Description

Collection of Dezrez.Core.DataContracts.External.Api.Reporting.ReportChartResultDataContract
NameDescriptionTypeAdditional information
Facet

Dezrez.Core.DataContracts.External.Api.Reporting.ChartReportFacet

None.

Name

string

None.

NegotiatorId

integer

None.

Results

Collection of Dezrez.Core.DataContracts.External.Api.Reporting.ChartResultDataContract

None.

BranchId

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "BranchId": 1,
    "Facet": "OriginTotals",
    "Name": "sample string 1",
    "NegotiatorId": 1,
    "Results": [
      {
        "Name": "sample string 1",
        "Value": 2.1
      },
      {
        "Name": "sample string 1",
        "Value": 2.1
      }
    ]
  },
  {
    "BranchId": 1,
    "Facet": "OriginTotals",
    "Name": "sample string 1",
    "NegotiatorId": 1,
    "Results": [
      {
        "Name": "sample string 1",
        "Value": 2.1
      },
      {
        "Name": "sample string 1",
        "Value": 2.1
      }
    ]
  }
]