RfQ
Quick Reference
Method |
Endpoint |
Description |
|---|---|---|
GET |
/api/rfq/{rfqId} |
|
POST |
/api/rfq/{rfqId}/accept |
|
POST |
/api/rfq/{rfqId}/decline |
|
POST |
/api/rfq/{rfqId}/cancel |
|
POST |
/api/rfq/{rfqId}/acceptwinner |
|
POST |
/api/rfq/{rfqId}/comment |
|
GET |
/api/rfq/forjob/{jobId} |
GET /api/rfq/{rfqId}
Parameters:
Path Parameters:
rfqId (integer, path) (required): No description available
Example Request:
from ABConnect import ABConnectAPI
# Initialize the API client
api = ABConnectAPI()
# Make the API call
response = api.raw.get(
"/api/rfq/{rfqId}"
,
rfqId=789e0123-e89b-12d3-a456-426614174002
)
# Process the response
print(response)
ab api raw get /api/rfq/{rfqId} \
rfqId=789e0123-e89b-12d3-a456-426614174002
curl -X GET \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
'https://api.abconnect.co/api/rfq/789e0123-e89b-12d3-a456-426614174002'
Sample Response:
1{
2 "status": "success",
3 "data": {}
4}
POST /api/rfq/{rfqId}/accept
Parameters:
Path Parameters:
rfqId (integer, path) (required): No description available
Example Request:
from ABConnect import ABConnectAPI
# Initialize the API client
api = ABConnectAPI()
# Make the API call
response = api.raw.post(
"/api/rfq/{rfqId}/accept"
,
rfqId=789e0123-e89b-12d3-a456-426614174002
,
data=
{
"example": "data"
}
)
# Process the response
print(response)
ab api raw post /api/rfq/{rfqId}/accept \
rfqId=789e0123-e89b-12d3-a456-426614174002
curl -X POST \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"example": "data"
}' \
'https://api.abconnect.co/api/rfq/789e0123-e89b-12d3-a456-426614174002/accept'
Sample Response:
1{
2 "id": "789e0123-e89b-12d3-a456-426614174002",
3 "status": "created",
4 "message": "Resource created successfully"
5}
POST /api/rfq/{rfqId}/decline
Parameters:
Path Parameters:
rfqId (integer, path) (required): No description available
Example Request:
from ABConnect import ABConnectAPI
# Initialize the API client
api = ABConnectAPI()
# Make the API call
response = api.raw.post(
"/api/rfq/{rfqId}/decline"
,
rfqId=789e0123-e89b-12d3-a456-426614174002
)
# Process the response
print(response)
ab api raw post /api/rfq/{rfqId}/decline \
rfqId=789e0123-e89b-12d3-a456-426614174002
curl -X POST \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
-H 'Content-Type: application/json' \
'https://api.abconnect.co/api/rfq/789e0123-e89b-12d3-a456-426614174002/decline'
Sample Response:
1{
2 "id": "789e0123-e89b-12d3-a456-426614174002",
3 "status": "created",
4 "message": "Resource created successfully"
5}
POST /api/rfq/{rfqId}/cancel
Parameters:
Path Parameters:
rfqId (integer, path) (required): No description available
Example Request:
from ABConnect import ABConnectAPI
# Initialize the API client
api = ABConnectAPI()
# Make the API call
response = api.raw.post(
"/api/rfq/{rfqId}/cancel"
,
rfqId=789e0123-e89b-12d3-a456-426614174002
)
# Process the response
print(response)
ab api raw post /api/rfq/{rfqId}/cancel \
rfqId=789e0123-e89b-12d3-a456-426614174002
curl -X POST \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
-H 'Content-Type: application/json' \
'https://api.abconnect.co/api/rfq/789e0123-e89b-12d3-a456-426614174002/cancel'
Sample Response:
1{
2 "id": "789e0123-e89b-12d3-a456-426614174002",
3 "status": "created",
4 "message": "Resource created successfully"
5}
POST /api/rfq/{rfqId}/acceptwinner
Parameters:
Path Parameters:
rfqId (integer, path) (required): No description available
Query Parameters:
finalAmount (number, query): No description available
Example Request:
from ABConnect import ABConnectAPI
# Initialize the API client
api = ABConnectAPI()
# Make the API call
response = api.raw.post(
"/api/rfq/{rfqId}/acceptwinner"
,
rfqId=789e0123-e89b-12d3-a456-426614174002
)
# Process the response
print(response)
ab api raw post /api/rfq/{rfqId}/acceptwinner \
rfqId=789e0123-e89b-12d3-a456-426614174002
curl -X POST \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
-H 'Content-Type: application/json' \
'https://api.abconnect.co/api/rfq/789e0123-e89b-12d3-a456-426614174002/acceptwinner'
Sample Response:
1{
2 "id": "789e0123-e89b-12d3-a456-426614174002",
3 "status": "created",
4 "message": "Resource created successfully"
5}
POST /api/rfq/{rfqId}/comment
Parameters:
Path Parameters:
rfqId (integer, path) (required): No description available
Example Request:
from ABConnect import ABConnectAPI
# Initialize the API client
api = ABConnectAPI()
# Make the API call
response = api.raw.post(
"/api/rfq/{rfqId}/comment"
,
rfqId=789e0123-e89b-12d3-a456-426614174002
,
data=
{
"example": "data"
}
)
# Process the response
print(response)
ab api raw post /api/rfq/{rfqId}/comment \
rfqId=789e0123-e89b-12d3-a456-426614174002
curl -X POST \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"example": "data"
}' \
'https://api.abconnect.co/api/rfq/789e0123-e89b-12d3-a456-426614174002/comment'
Sample Response:
1{
2 "id": "789e0123-e89b-12d3-a456-426614174002",
3 "status": "created",
4 "message": "Resource created successfully"
5}
GET /api/rfq/forjob/{jobId}
Parameters:
Path Parameters:
jobId (integer, path) (required): No description available
Query Parameters:
companyId (string, query): No description available
Example Request:
from ABConnect import ABConnectAPI
# Initialize the API client
api = ABConnectAPI()
# Make the API call
response = api.raw.get(
"/api/rfq/forjob/{jobId}"
,
jobId="JOB-2024-001"
)
# Process the response
print(response)
ab api raw get /api/rfq/forjob/{jobId} \
jobId=JOB-2024-001
curl -X GET \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
'https://api.abconnect.co/api/rfq/forjob/JOB-2024-001'
Sample Response:
1{
2 "status": "success",
3 "data": {}
4}