/listing

Creates a Listing for a TaskGroup that the caller's org coordinates. Snapshots participants by unioning ad-hoc picks with expanded bidding groups. When auto_open_priced_bid_threads is True, also auto-opens one BidThread per resolved participant with a lister-side seed Bid carrying default-rate-sheet-derived pricing (falling back to the listing's pro_forma_line_items when no rate sheet is configured for a participant) — listing insert and thread inserts are atomic. | authz: allowed_org_types=[provider], min_org_role=operator | (ListingClientCreate1) -> (PydanticObjectId)

post/listing/listings/create/v1

Request

  • Base URL
    http://localhost:8000
  • URL
    http://localhost:8000/listing/listings/create/v1
  • Auth
    HTTP bearer

Request body

schema_version1
listing_descriptionstring required
task_group_idstring required
task_group_summary_for_biddersstring required
share_pro_forma_line_itemsboolean
audience'providers' | 'drivers' required
participant_provider_org_idsstring[]
org_bidding_group_idsstring[]
participant_driver_idsstring[]
driver_bidding_group_idsstring[]
type'dispatch' | 'negotiation'
auto_award_first_acceptboolean
auto_open_priced_bid_threadsboolean
internal_notesstring nullable

Response

Successful Response

string required

Changes

    • breaking

      removed the enum value XXX of the request property //

    • breaking

      removed the enum value tax_1 of the request property //

    • breaking

      removed the enum value tax_2 of the request property //

    • breaking

      removed the enum value tax_3 of the request property //

    • info

      added the new tax enum value to the request property //