Uploaded image for project: 'Cost Management'
  1. Cost Management
  2. COST-5666

Open api schema improvement - ReportCost

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • API
    • 1
    • False
    • None
    • False

      Talking about ReportCost I would expected from meta/ReportPaginationMeta to contain a new property total following this structure

      {
        total: {
          cost: {
            total: {
              value: number,
              units: string,
            },
            markup: {
              value: number,
              units: string,
            },
            raw: ?,
            usage: ?,
          }
        }
      }
      

      in another hand, I would expect to see a definition for data like

      data: [{
        clusters: [{
          values: {
            clusters: []: string,
            cluster: string,
            cost: {
              total: {
                value: number,
                units: string,
              },
              markup: {
                value: number,
                units: string,
              },
              raw: ?,
              usage: ?,
            }
          }
        }]
      }]
      

              Unassigned Unassigned
              emingora Enrique Mingorance Cano
              Votes:
              0 Vote for this issue
              Watchers:
              15 Start watching this issue

                Created:
                Updated: