Find providers2

post

Randomly sample providers for locations, groups, or devices, which are active and in good health. This allows random iteration by using the exclude input to mark visited providers.

Body
countintegerOptional
exclude_client_idsstring[]Optional

udid

Responses
200Success
application/json
post
POST /network/find-providers2 HTTP/1.1
Host: api.bringyour.com
Content-Type: application/json
Accept: */*
Content-Length: 176

{
  "specs": [
    {
      "location_id": "text",
      "location_group_id": "text",
      "client_id": "text",
      "best_available": true
    }
  ],
  "count": 1,
  "exclude_client_ids": [
    "text"
  ],
  "exclude_destinations": [
    [
      "text"
    ]
  ]
}
200Success
{
  "providers": [
    {}
  ]
}

Was this helpful?