This API is intended for use by authorized developers and administrators who desire to interface with particular Bid Express functionalities. Use case possibilities range from simple scripting to complex integration within enterprise applications.
To use the API, client applications should make requests conforming to a RESTful HTTPS protocol. Response bodies are given in XML. A request URI determines the action and response. Specific details and request examples are given throughout this documentation, navigable on the left side of this page.
Because the Bid Express API is based on open standards, you can use any web development language to access the API.
This action allows API clients to find the Solicitation ID Number of the solicitation associated with a known Draft Solicitation ID Number. This number will be required for you to use certain actions in this API (for example, retrieving open bids). Please note that Solicitations ID Numbers are assigned once a draft solicitation is advertised. Therefore, Solicitation ID Numbers are not immediately available upon draft solicitation creation. Instead, we provide this endpoint for lookup of a Solicitation ID Number based upon a known Draft Solicitation ID Number.
URL |
https://www.bidexpress.com/api/solicitations/find |
|||||||||||||||
Method | GET | |||||||||||||||
Request Parameters |
|
|||||||||||||||
Success Response |
Code: 200 Content: The ID number of the associated solicitation and a success message. |
|||||||||||||||
Error Response |
Code: 401 UNAUTHORIZED Reason: The supplied credentials are invalid. Code: 404 NOT FOUND Reason: Could not find a solicitation associated with the provided Draft Solicitation ID. Code: 500 INTERNAL SERVER ERROR Reason: An unspecified error has occurred. |
|||||||||||||||
Sample Request |
A sample request using the cURL command-line tool:
curl -X GET \
|
URL |
https://www.bidexpress.com/api/solicitations/{solicitation_id} Replace {solicitation_id} with the id of your solicitation Example: https://www.bidexpress.com/api/solicitations/37 |
|||||||||||||||
Method | POST | |||||||||||||||
Request Parameters |
|
|||||||||||||||
Success Response |
Code: 200 Content: The specified solicitation and all its open bids in XML format. |
|||||||||||||||
Error Response |
Code: 401 UNAUTHORIZED Reason: The supplied credentials are invalid. Code: 404 NOT FOUND Reason: The specified solicitation could not be found. Code: 500 INTERNAL SERVER ERROR Reason: An unspecified error has occurred. |
|||||||||||||||
Sample Request |
A sample request using the cURL command-line tool:
curl -X POST \
|
|||||||||||||||
Sample Output | Open A Sample XML File For All Open Bids For a Solicitation |
URL |
https://www.bidexpress.com/api/bids/{bid_id} Replace {bid_id} with the id of the bid you wish to retrieve Example: https://www.bidexpress.com/api/bids/1048 |
||||||||||||
Method | POST | ||||||||||||
Request Parameters |
|
||||||||||||
Success Response |
Code: 200 Content: The specified bid in XML format. |
||||||||||||
Error Response |
Code: 401 UNAUTHORIZED Reason: The supplied credentials are invalid. Code: 404 NOT FOUND Reason: The specified bid could not be found. Code: 500 INTERNAL SERVER ERROR Reason: An unspecified error has occurred. |
||||||||||||
Sample Request |
A sample request using the cURL command-line tool:
curl -X POST \
|
||||||||||||
Sample Output | Open A Sample XML File For A Single Bid |
This action allows API clients to retrieve a list of all Bidders for all closed Solicitations from a given Agency.
URL |
https://www.bidexpress.com/api/bidders/ |
||||||||||||
Method | POST | ||||||||||||
Request Parameters |
|
||||||||||||
Success Response |
Code: 200 Content: The specified bidders list in XML format. |
||||||||||||
Error Response |
Code: 401 UNAUTHORIZED Reason: The supplied credentials are invalid. Code: 404 NOT FOUND Reason: The specified bidders could not be found. Code: 500 INTERNAL SERVER ERROR Reason: An unspecified error has occurred. |
||||||||||||
Sample Request |
A sample request using the cURL command-line tool:
curl -X POST \
|
||||||||||||
Sample Output | Open A Sample XML File For All Bidders |
This action allows API clients to retrieve a list of all Plan Holders for all closed Solicitations from a given Agency.
URL |
https://www.bidexpress.com/api/plan_holders |
||||||||||||
Method | POST | ||||||||||||
Request Parameters |
|
||||||||||||
Success Response |
Code: 200 Content: The specified plan holders list in XML format. |
||||||||||||
Error Response |
Code: 401 UNAUTHORIZED Reason: The supplied credentials are invalid. Code: 404 NOT FOUND Reason: The specified plan holders could not be found. Code: 500 INTERNAL SERVER ERROR Reason: An unspecified error has occurred. |
||||||||||||
Sample Request |
A sample request using the cURL command-line tool:
curl -X POST \
|
||||||||||||
Sample Output | Open A Sample XML File For All Plan Holders |
In order to retrieve attachments for a solicitation, you will have to parse the XML that is returned when retrieving the solicitation and all its open bids (See Retrieving All Open Bids for a Solicitation). If the solicitation has attachments, one or more <attachment_url> elements will be present in the XML that is returned. The value of each of the <attachment_url> elements is the URI path you will use to retrieve each individual attachment. You will need to make a separate API call for each attachment you wish to retrieve.
URL |
https://www.bidexpress.com/api/store/attachment/s3_attachment/{attachment_id}/{file_name} {attachment _id} is the id of the attachment {file_name} is the file name of the attachment Example: https://www.bidexpress.com/api/store/attachment/attachment/106/PlanSheet.doc |
||||||||||||
Method | POST | ||||||||||||
Request Parameters |
|
||||||||||||
Success Response |
Code: 200 Content: The contents of the attachment |
||||||||||||
Error Response |
Code: 401 UNAUTHORIZED Reason: The supplied credentials are invalid. Code: 404 NOT FOUND Reason: The specified attachment could not be found. Code: 500 INTERNAL SERVER ERROR Reason: An unspecified error has occurred. |
||||||||||||
Sample Request |
A sample request using the cURL command-line tool:
curl -X POST \
|
In order to retrieve required documents for a bid, you will have to parse the XML that is returned when retrieving that bid (See Retrieving All Open Bids for a Solicitation or Retrieving a Single Bid). If the bid has required documents, one or more <opened_document_url> elements will be present in the XML that is returned. The value of each of the <opened_document_url> elements is the URI path you will use to retrieve each individual required document. You will need to make a separate API call for each required document you wish to retrieve.
URL |
https://www.bidexpress.com/api/store/bid_required_document/s3_opened_document/{required_document_id}/{file_name} {required_document_id} is the id of the required document {file_name} is the file name of the required document Example: https://www.bidexpress.com/api/store/bid_required_document/s3_opened_document/96/Cert.doc |
||||||||||||
Method | POST | ||||||||||||
Request Parameters |
|
||||||||||||
Success Response |
Code: 200 Content: The contents of the attachment |
||||||||||||
Error Response |
Code: 401 UNAUTHORIZED Reason: The supplied credentials are invalid. Code: 404 NOT FOUND Reason: The specified required document could not be found. Code: 500 INTERNAL SERVER ERROR Reason: An unspecified error has occurred. |
||||||||||||
Sample Request |
A sample request using the cURL command-line tool:
curl -X POST \
|
URL |
https://www.bidexpress.com/api/solicitations/{solicitation_id}/plan_holders {solicitation_id} is the id of the solicitation Example: https://www.bidexpress.com/api/solicitations/96/plan_holders |
||||||||||||
Method | POST | ||||||||||||
Request Parameters |
|
||||||||||||
Success Response |
Code: 200 Content: The specified plan holders list in XML format. |
||||||||||||
Error Response |
Code: 401 UNAUTHORIZED Reason: The supplied credentials are invalid. Code: 404 NOT FOUND Reason: The specified solicitation could not be found. Code: 500 INTERNAL SERVER ERROR Reason: An unspecified error has occurred. |
||||||||||||
Sample Request |
A sample request using the cURL command-line tool:
curl -X POST \
|
This action allows API clients to retrieve a list of solicitations with a deadline past a specified date. A select subset of header information for each matching solicitation (deadline, description, etc.) is also returned.
URL |
https://www.bidexpress.com/api/solicitations/upcoming |
||||||||||||||||||
Method | POST | ||||||||||||||||||
Request Parameters |
|
||||||||||||||||||
Success Response |
Code: 200 Content: A list of upcoming solicitations (including select solicitation header information) in XML format. |
||||||||||||||||||
Error Response |
Code: 400 BAD REQUEST Reason: An invalid date was specified. Code: 401 UNAUTHORIZED Reason: The supplied credentials are invalid. Code: 500 INTERNAL SERVER ERROR Reason: An unspecified error has occurred. |
||||||||||||||||||
Sample Request |
A sample request using the cURL command-line tool:
curl -X POST \
|
||||||||||||||||||
Sample Output | Open A Sample XML File For Upcoming Solicitations |
This action allows API clients to retrieve a list of all of an Agency's closed Solicitations which have opened Bids (including Out-of-Date and Non-Responsive Bids) from a given user.
URL |
https://www.bidexpress.com/api/bidder/solicitations |
|||||||||||||||
Method | POST | |||||||||||||||
Request Parameters |
|
|||||||||||||||
Success Response |
Code: 200 Content: The specified solicitations list in XML format. |
|||||||||||||||
Error Response |
Code: 401 UNAUTHORIZED Reason: The supplied credentials are invalid. Code: 404 NOT FOUND Reason: The specified solicitations could not be found. Code: 500 INTERNAL SERVER ERROR Reason: An unspecified error has occurred. |
|||||||||||||||
Sample Request |
A sample request using the cURL command-line tool:
curl -X POST \
|
|||||||||||||||
Sample Output | Open A Sample XML File For All Solicitations For a Bidder |
This action allows API clients to retrieve a list of all of an Agency's closed Solicitations for which a given user is a Plan Holder.
URL |
https://www.bidexpress.com/api/plan_holder/solicitations |
|||||||||||||||
Method | POST | |||||||||||||||
Request Parameters |
|
|||||||||||||||
Success Response |
Code: 200 Content: The specified solicitations list in XML format. |
|||||||||||||||
Error Response |
Code: 401 UNAUTHORIZED Reason: The supplied credentials are invalid. Code: 404 NOT FOUND Reason: The specified solicitations could not be found. Code: 500 INTERNAL SERVER ERROR Reason: An unspecified error has occurred. |
|||||||||||||||
Sample Request |
A sample request using the cURL command-line tool:
curl -X POST \
|
|||||||||||||||
Sample Output | Open A Sample XML File For All Solicitations For a Plan Holder |
This action allows API clients to retrieve a solicitation and any or all of its components.
URL |
https://www.bidexpress.com/api/solicitations/{solicitation_id}/details Replace {solicitation_id} with the id of your solicitation Example: https://www.bidexpress.com/api/solicitations/37/details |
|||||||||||||||
Method | POST | |||||||||||||||
Request Parameters |
|
|||||||||||||||
Success Response |
Code: 200 Content: The specified solicitation, including the selected components, in XML format. |
|||||||||||||||
Error Response |
Code: 401 UNAUTHORIZED Reason: The supplied credentials are invalid. Code: 404 NOT FOUND Reason: The specified solicitation could not be found. Code: 500 INTERNAL SERVER ERROR Reason: An unspecified error has occurred. |
|||||||||||||||
Sample Request |
A sample request using the cURL command-line tool:
curl -X POST \
|
|||||||||||||||
Sample Output | Open A Sample XML File For Solicitation Details |
URL |
https://www.bidexpress.com/api/draft_solicitations |
|||||||||||||||
Method | POST | |||||||||||||||
Body Payload Parameters |
|
|||||||||||||||
Success Response |
Code: 200 Content: The id and url of the newly created draft solicitation in XML format. |
|||||||||||||||
Error Response |
Code: 401 UNAUTHORIZED Reason: The supplied credentials are invalid. Code: 500 INTERNAL SERVER ERROR Reason: An unspecified error has occurred. |
|||||||||||||||
Sample Request |
A sample request using the cURL command-line tool:
curl -d '{"username":"my_username@example.com", "password":"my_password", "draft_solicitation": { "template_name": "my_template_name", "number": "solicitation_number" }}'
-H "Content-Type: application/json"
|