GET
/
shareholders
/
{shareholderId}
/
relations
/
{relationId}
/
sources
Get shareholder relation sources
curl --request GET \
  --url https://api.syntage.com/shareholders/{shareholderId}/relations/{relationId}/sources \
  --header 'X-API-Key: <api-key>'
{
  "@context": "<string>",
  "@id": "/shareholders/91ab5678-1234-5678-9abc-def012345678/relations/82cd9012-3456-7890-abcd-ef1234567890/sources",
  "@type": "hydra:Collection",
  "hydra:member": [
    {
      "@id": "/shareholders/91ab5678-1234-5678-9abc-def012345678/relations/82cd9012-3456-7890-abcd-ef1234567890/sources/73de0123-4567-8901-bcde-f23456789012",
      "@type": "ShareholderRelationsSource",
      "id": "73de0123-4567-8901-bcde-f23456789012",
      "relation": {
        "@id": "/shareholders/91ab5678-1234-5678-9abc-def012345678/relations/82cd9012-3456-7890-abcd-ef1234567890",
        "@type": "ShareholderRelation",
        "id": "82cd9012-3456-7890-abcd-ef1234567890",
        "link": "/entities/91ab5678-1234-5678-9abc-def012345678",
        "shareholder": {
          "@id": "/shareholders/91ab5678-1234-5678-9abc-def012345678",
          "@type": "<string>",
          "id": "91ab5678-1234-5678-9abc-def012345678",
          "name": "JUAN MANUEL PEREZ GONZALEZ",
          "type": "physical",
          "rfc": "PEIC211118IS0",
          "relations": [
            {}
          ],
          "entity": "/entities/91ab5678-1234-5678-9abc-def012345678",
          "createdAt": "2020-01-01T12:15:00.000Z",
          "updatedAt": "2020-01-01T12:15:00.000Z"
        },
        "relationType": "shareholders",
        "sources": [
          {}
        ],
        "shares": 1500.5,
        "totalShares": 10000,
        "ownership": 0.15,
        "createdAt": "2020-01-01T12:15:00.000Z",
        "updatedAt": "2020-01-01T12:15:00.000Z"
      },
      "shareholder": {
        "@id": "/shareholders/91ab5678-1234-5678-9abc-def012345678",
        "@type": "<string>",
        "id": "91ab5678-1234-5678-9abc-def012345678",
        "name": "JUAN MANUEL PEREZ GONZALEZ",
        "type": "physical",
        "rfc": "PEIC211118IS0",
        "relations": [
          {}
        ],
        "entity": "/entities/91ab5678-1234-5678-9abc-def012345678",
        "createdAt": "2020-01-01T12:15:00.000Z",
        "updatedAt": "2020-01-01T12:15:00.000Z"
      },
      "sourceName": "manual",
      "sourceId": "64ef1234-5678-9012-cdef-345678901234",
      "shares": 1500.5,
      "createdAt": "2020-01-01T12:15:00.000Z",
      "updatedAt": "2020-01-01T12:15:00.000Z"
    }
  ],
  "hydra:view": {
    "@id": "<string>",
    "@type": "hydra:PartialCollectionView",
    "hydra:next": "/entity/2a15f539-3251-48e1-aaeb-a154dc9c6edb/resource?id[lt]=9b8e5365-0b36-45f5-9c76-fbe439632367",
    "hydra:last": "/entity/2a15f539-3251-48e1-aaeb-a154dc9c6edb/resource?id[gt]=9b8e5365-0b36-45f5-9c76-fbe439632367"
  },
  "hydra:search": {
    "@type": "<string>",
    "hydra:template": "<string>",
    "hydra:variableRepresentation": "<string>",
    "hydra:mapping": [
      {
        "@type": "<string>",
        "variable": "<string>",
        "property": "<string>",
        "required": true
      }
    ]
  }
}

Authorizations

X-API-Key
string
header
required

Your API key is available in the Production and Sandbox dashboards.

Path Parameters

shareholderId
string
required

The shareholder ID

relationId
string
required

The relation ID

Query Parameters

id[lt]
string

The collection cursor pointer to the next page

id[gt]
string

The collection cursor pointer to the previous page

itemsPerPage
integer
default:20

The number of items per page

Required range: 1 <= x <= 1000
sourceName
enum<string>

Filter sources by name

Available options:
manual,
rpc_socio
order[createdAt]
enum<string>

Order by resource creation date

Available options:
asc,
desc
Example:

"asc"

order[updatedAt]
enum<string>

Order by resource update date

Available options:
asc,
desc
Example:

"asc"

Response

200
application/ld+json

Shareholder Relation Sources

The response is of type object.