Skip to content

Documentation: Missing Values in procurementMethodType, reasonType, and status Fields #52

@Invop

Description

@Invop

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions