Get a list of offices of a specific organization

GET /api-v1/organization/offices/{organizationId}

Headers

  • TARGET-ORGANIZATION-ID integer(int32)

    ID of organization, for which the operation must be performed

  • WEAL-TOKEN string Required

    API token (can be retrieved from account settings)

Path parameters

  • organizationId integer Required

    organizationId

Responses

  • 200 */*

    OK

    Hide response attributes Show response attributes object
    • cedNumber string
    • city string
    • countryCode2 string
    • countryId integer
    • dtbNumber string
    • fiduciaryId integer
    • houseNumber string
    • id integer
    • line1 string
    • line2 string
    • name string
    • position integer(int32)
    • postCode string
    • region object
      Hide region attributes Show region attributes object
      • code string
      • id integer
      • name string
      • taxMode string

        Values are ANNUALLY or MONTHLY.

    • service string
    • toTheAttentionOf string
  • 400

    400 Bad Request

  • 401

    401 Unauthorized

  • 403

    403 Access Denied

  • 404

    404 Not Found

  • 500

    500 Internal Server Error

GET /api-v1/organization/offices/{organizationId}
curl \
 --request GET 'https://wyzio.app/api-v1/organization/offices/{organizationId}' \
 --header "TARGET-ORGANIZATION-ID: 42" \
 --header "WEAL-TOKEN: string"
Response examples (200)
[
  {
    "cedNumber": "string",
    "city": "string",
    "countryCode2": "string",
    "countryId": 42,
    "dtbNumber": "string",
    "fiduciaryId": 42,
    "houseNumber": "string",
    "id": 42,
    "line1": "string",
    "line2": "string",
    "name": "string",
    "position": 42,
    "postCode": "string",
    "region": {
      "code": "string",
      "id": 42,
      "name": "string",
      "taxMode": "ANNUALLY"
    },
    "service": "string",
    "toTheAttentionOf": "string"
  }
]