-
Notifications
You must be signed in to change notification settings - Fork 18
Description
While working with the API, several issues were identified with the deserialization of values for the fields procurementMethodType, reasonType, and status. The API documentation does not list some values that are returned in the API response, leading to deserialization errors:
warn: [0]
Deserialization error processing tender 42e106ac8d784a69a73529837dcb7232: Error converting value "priceQuotation" to type 'Prozorro.Sdk.Models.Enums.Tender.ProcurementMethodType'. Path 'data.procurementMethodType', line 1, position 5547.
https://public.api.openprocurement.org/api/2.5/tenders/42e106ac8d784a69a73529837dcb7232
https://prozorro-api-docs.readthedocs.io/en/latest/standard/tender.html
warn: [0]
Deserialization error processing tender b29086c0a55c440bb188bb47b3af9536: Error converting value "cancelled" to type 'Prozorro.Sdk.Models.Enums.Cancellation.CancellationReasonType'. Path 'data.cancellations[0].reasonType', line 1, position 14923.
https://prozorro-api-docs.readthedocs.io/en/latest/standard/cancellation.html
https://public.api.openprocurement.org/api/2.5/tenders/b29086c0a55c440bb188bb47b3af9536
warn: [0]
Deserialization error processing tender 602c809d13aa419688d354e02d0a12ea: Error converting value "unsuccessful" to type 'Prozorro.Sdk.Models.Enums.Bid.BidStatus'. Path 'data.bids[0].status', line 1, position 21949.
https://public.api.openprocurement.org/api/2.5/tenders/602c809d13aa419688d354e02d0a12ea
https://prozorro-api-docs.readthedocs.io/en/latest/standard/bid.html
Additional question:
https://prozorro-api-docs.readthedocs.io/en/latest/features/collective_quantity_tender.html#auction
Is it currently possible to get the initValue of an auction directly via the API, instead of having to view it on the website?(without authentication ??). If such a possibility exists, please provide the relevant endpoint where this works.