Get Position By Id

GET /customers/{id}/position

Path parameters

  • id string(uuid) Required

Query parameters

  • date string(date-time) Required

Responses

GET /customers/{id}/position
curl \
 -X GET https://open-api.hml.soupi.com.br/customers/{id}/position?date=2023-05-04T09%3A42%3A00%2B00%3A00 \
 -H "Authorization: $API_KEY"
Response examples (200)
{
  "position": {
    "grossTotal": 42.0,
    "netTotal": 42.0,
    "grossTotalFunds": 42.0,
    "grossTotalFixedIncome": 42.0,
    "netTotalFunds": 42.0,
    "netTotalFixedIncome": 42.0,
    "funds": {
      "label": "string",
      "grossTotal": 42.0,
      "netTotal": "string",
      "percentage": "string",
      "positions": [
        {
          "id": 42.0,
          "type": "string",
          "name": "string",
          "value": "string",
          "initialDate": "string",
          "grossValue": 42.0,
          "netValue": 42.0,
          "positionDate": "string",
          "irvalue": 42.0,
          "iofvalue": 42.0,
          "sharesNumber": 42.0,
          "shareValue": 42.0,
          "shareDate": "string",
          "shareType": "string",
          "productId": 42.0,
          "certificatesIds": "string",
          "contractId": "string"
        }
      ]
    },
    "fixedIncome": {
      "label": "string",
      "grossTotal": 42.0,
      "netTotal": "string",
      "percentage": "string",
      "positions": [
        {
          "id": 42.0,
          "type": "string",
          "name": "string",
          "value": "string",
          "initialDate": "string",
          "grossValue": 42.0,
          "netValue": 42.0,
          "positionDate": "string",
          "irvalue": 42.0,
          "iofvalue": 42.0,
          "sharesNumber": 42.0,
          "shareValue": 42.0,
          "shareDate": "string",
          "shareType": "string",
          "productId": 42.0,
          "certificatesIds": "string",
          "contractId": "string"
        }
      ]
    },
    "td": {
      "label": "string",
      "grossTotal": 42.0,
      "netTotal": "string",
      "percentage": "string",
      "": [
        []
      ]
    }
  }
}
Response examples (200)
{
  "position": {
    "grossTotal": 42.0,
    "netTotal": 42.0,
    "grossTotalFunds": 42.0,
    "grossTotalFixedIncome": 42.0,
    "netTotalFunds": 42.0,
    "netTotalFixedIncome": 42.0,
    "funds": {
      "label": "string",
      "grossTotal": 42.0,
      "netTotal": "string",
      "percentage": "string",
      "positions": [
        {
          "id": 42.0,
          "type": "string",
          "name": "string",
          "value": "string",
          "initialDate": "string",
          "grossValue": 42.0,
          "netValue": 42.0,
          "positionDate": "string",
          "irvalue": 42.0,
          "iofvalue": 42.0,
          "sharesNumber": 42.0,
          "shareValue": 42.0,
          "shareDate": "string",
          "shareType": "string",
          "productId": 42.0,
          "certificatesIds": "string",
          "contractId": "string"
        }
      ]
    },
    "fixedIncome": {
      "label": "string",
      "grossTotal": 42.0,
      "netTotal": "string",
      "percentage": "string",
      "positions": [
        {
          "id": 42.0,
          "type": "string",
          "name": "string",
          "value": "string",
          "initialDate": "string",
          "grossValue": 42.0,
          "netValue": 42.0,
          "positionDate": "string",
          "irvalue": 42.0,
          "iofvalue": 42.0,
          "sharesNumber": 42.0,
          "shareValue": 42.0,
          "shareDate": "string",
          "shareType": "string",
          "productId": 42.0,
          "certificatesIds": "string",
          "contractId": "string"
        }
      ]
    },
    "td": {
      "label": "string",
      "grossTotal": 42.0,
      "netTotal": "string",
      "percentage": "string",
      "": [
        []
      ]
    }
  }
}
Response examples (400)
{
  "message": {},
  "data": {}
}
Response examples (400)
{
  "message": {},
  "data": {}
}
Response examples (401)
{
  "message": {},
  "data": {}
}
Response examples (401)
{
  "message": {},
  "data": {}
}