e-Próspera
Reference

List consented legal entities

View as Markdown
GET
/api/v1/me/legal-entities

Authorization

oauth2 eprospera:entity.read
AuthorizationBearer <token>

In: header

Scope: eprospera:entity.read

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/me/legal-entities"
{  "data": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "optionId": "string",      "type": "string",      "name": "string",      "extension": "string",      "nameStartsWithExtension": true,      "formationDate": "2019-08-24T14:15:22Z",      "registrationDate": "2019-08-24T14:15:22Z",      "dissolutionDate": "2019-08-24T14:15:22Z",      "residentPermitNumber": "string",      "principalOfficeAddress": {        "line1": "string",        "line2": "string",        "city": "string",        "state": "string",        "postalCode": "string",        "country": "string"      },      "createdAt": "2019-08-24T14:15:22Z"    }  ]}
{  "error": "string",  "error_description": "string",  "details": [    null  ]}
{  "error": "string",  "error_description": "string",  "details": [    null  ]}
{  "error": "string",  "error_description": "string",  "details": [    null  ]}
{  "error": "string",  "error_description": "string",  "details": [    null  ]}
{  "error": "string",  "error_description": "string",  "details": [    null  ]}
{  "error": "string",  "error_description": "string",  "details": [    null  ]}
{  "error": "string",  "error_description": "string",  "details": [    null  ]}