Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejson
GET https://api.avallone.io/api/v1/counterparty/companies
Authorization: Bearer <token>
Content-Type: application/json

{
  "metadata": {
    "currentPage": 0,
    "totalPages": 7,
    "limit": 15,
    "nextPageURI": "/api/v1/counterparty/companies?page=1&limit=15"
  },
  "results": [
    {
      "name": "DowAcme JonesInc",
      "registrationNumber": "DJ654",
      "addresses": [
        {
          "streetAddress": "Street 23",
          "zipCode": "2399",
          "city": "New York",
          "countryCode": "US"
        }
      ],
      "referenceId": ref-1234,
      "contactPerson": {
        "firstName": "DowJohn",
        "lastName": "JonesDoe",
        "email": "dj@avallonejohn@acme.devinc"
      },
      "incorporationCountryCode": null,
      "amlStatus": null
    },
    {
      "name": "PepsiWaync Corp",
      "registrationNumber": null,
      "addresses": [
        {
          "streetAddress": "PepsiElm aveStreet",
          "zipCode": "2345",
          "city": "PepsiElm",
          "countryCode": "US"
        }
      ],
      "referenceId": null,
      "contactPerson": {
        "firstName": "PepsiJohn",
        "lastName": "ColaDoe",
        "email": "pepsi@pepsijohn@acme.devinc"
      },
      "incorporationCountryCode": null,
      "amlStatus": null
    },
  ]
}

...