Retrieve performance data for a specific vendor

GET /api/vendors/{id}/performance/

Retrieve performance data for a specific vendor

Path parameters

  • id string Required

    A unique integer value identifying this vendor.

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
    • id integer
    • name string Required

      Maximum length is 200.

    • contact_details string Required
    • address string Required
    • vendor_code string Required

      Maximum length is 200.

    • on_time_delivery_rate number | null

      Optional

    • quality_rating_avg number | null

      Optional

    • average_response_time number | null

      Optional

    • fulfillment_rate number | null

      Optional

GET /api/vendors/{id}/performance/
curl \
 --request GET 'https://vendorms.pythonanywhere.com/api/vendors/{id}/performance/' \
 --header "Authorization: Token $ACCESS_TOKEN"
Response examples (200)
{
  "id": 42,
  "name": "string",
  "contact_details": "string",
  "address": "string",
  "vendor_code": "string",
  "on_time_delivery_rate": 42.0,
  "quality_rating_avg": 42.0,
  "average_response_time": 42.0,
  "fulfillment_rate": 42.0
}