AlphaAlpha Docs
API ReferenceMonthlyaggregatereport

Add a subsidiary to a monthly aggregate report

Adds or updates subsidiary data for a month

POST
/monthly-aggregate-report
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "http://localhost:18080/api/v1/monthly-aggregate-report" \  -H "Content-Type: application/json" \  -d '{    "balanceData": {      "cashAmounts": [        {          "amount": 0.1,          "currency": "string"        }      ],      "totalICTradePayable": 0.1,      "totalICTradeReceivable": 0.1,      "totalLoansPayable": 0.1,      "totalLoansReceivable": 0.1,      "totalRC": 0.1,      "totalRCsAndLoansPayable": 0.1,      "totalRCsAndLoansReceivable": 0.1,      "totalThirdPartyAP": 0.1,      "totalThirdPartyAR": 0.1    },    "month": "string",    "profitLossData": {      "cogs": 0.1,      "depreciationExpenses": 0.1,      "exchangeRateDifferences": 0.1,      "exchangeRateDifferencesUnrealized": 0.1,      "financialGain": 0.1,      "grossProfit": 0.1,      "housingExpenses": 0.1,      "interest": 0.1,      "netProfit": 0.1,      "operatingResult": 0.1,      "otherIncome": 0.1,      "otherOperatingExpenses": 0.1,      "personnelExpenses": 0.1,      "revenue": 0.1,      "revenueIC": 0.1,      "totalExpenses": 0.1,      "totalIncome": 0.1,      "totalRevenue": 0.1    },    "subsidiary": "string"  }'
{
  "aggregate": {
    "balanceData": {
      "cashAmounts": [
        {
          "amount": 0.1,
          "currency": "string"
        }
      ],
      "totalICTradePayable": 0.1,
      "totalICTradeReceivable": 0.1,
      "totalLoansPayable": 0.1,
      "totalLoansReceivable": 0.1,
      "totalRC": 0.1,
      "totalRCsAndLoansPayable": 0.1,
      "totalRCsAndLoansReceivable": 0.1,
      "totalThirdPartyAP": 0.1,
      "totalThirdPartyAR": 0.1
    },
    "profitLossData": {
      "cogs": 0.1,
      "depreciationExpenses": 0.1,
      "exchangeRateDifferences": 0.1,
      "exchangeRateDifferencesUnrealized": 0.1,
      "financialGain": 0.1,
      "grossProfit": 0.1,
      "housingExpenses": 0.1,
      "interest": 0.1,
      "netProfit": 0.1,
      "operatingResult": 0.1,
      "otherIncome": 0.1,
      "otherOperatingExpenses": 0.1,
      "personnelExpenses": 0.1,
      "revenue": 0.1,
      "revenueIC": 0.1,
      "totalExpenses": 0.1,
      "totalIncome": 0.1,
      "totalRevenue": 0.1
    },
    "subsidiary": "string"
  },
  "created": "2019-08-24T14:15:22Z",
  "createdBy": "string",
  "id": "string",
  "subsidiaryReport": [
    {
      "balanceData": {
        "cashAmounts": [
          {
            "amount": 0.1,
            "currency": "string"
          }
        ],
        "totalICTradePayable": 0.1,
        "totalICTradeReceivable": 0.1,
        "totalLoansPayable": 0.1,
        "totalLoansReceivable": 0.1,
        "totalRC": 0.1,
        "totalRCsAndLoansPayable": 0.1,
        "totalRCsAndLoansReceivable": 0.1,
        "totalThirdPartyAP": 0.1,
        "totalThirdPartyAR": 0.1
      },
      "profitLossData": {
        "cogs": 0.1,
        "depreciationExpenses": 0.1,
        "exchangeRateDifferences": 0.1,
        "exchangeRateDifferencesUnrealized": 0.1,
        "financialGain": 0.1,
        "grossProfit": 0.1,
        "housingExpenses": 0.1,
        "interest": 0.1,
        "netProfit": 0.1,
        "operatingResult": 0.1,
        "otherIncome": 0.1,
        "otherOperatingExpenses": 0.1,
        "personnelExpenses": 0.1,
        "revenue": 0.1,
        "revenueIC": 0.1,
        "totalExpenses": 0.1,
        "totalIncome": 0.1,
        "totalRevenue": 0.1
      },
      "subsidiary": "string"
    }
  ],
  "tenantId": "string",
  "updated": "2019-08-24T14:15:22Z",
  "updatedBy": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}