Quote Material Step
The quote material step resource.
Basehttps://rest.carbon.ms/quoteMaterialStep
GET
/quoteMaterialStepList quote material steps
Retrieve a paginated list of quote material steps. Filter, order, and select columns with PostgREST query parameters.
Query parameters
selectstringComma-separated columns to return. Defaults to all.
orderstringColumn to sort by, e.g. `createdAt.desc`.
limitintegerMaximum rows to return.
offsetintegerRows to skip, for pagination.
GEThttps://rest.carbon.ms/quoteMaterialStep
curl --request GET \
--url 'https://rest.carbon.ms/quoteMaterialStep?select=*&limit=10' \
--header 'Authorization: Bearer <api-key>'Response
[
{
"quoteMaterialId": "xyz789",
"quoteOperationStepId": "xyz789"
}
]GET
/quoteMaterialStepRetrieve a quote material step
Fetch a single quote material step by filtering on `quoteMaterialId`.
Query parameters
quoteMaterialIdstringMatch on the quote material step's `quoteMaterialId`, e.g. `eq.{id}`.
GEThttps://rest.carbon.ms/quoteMaterialStep
curl --request GET \
--url 'https://rest.carbon.ms/quoteMaterialStep?quoteMaterialId=eq.%7Bid%7D' \
--header 'Authorization: Bearer <api-key>'Response
{
"quoteMaterialId": "xyz789",
"quoteOperationStepId": "xyz789"
}POST
/quoteMaterialStepCreate a quote material step
Create a new quote material step.
POSThttps://rest.carbon.ms/quoteMaterialStep
curl --request POST \
--url https://rest.carbon.ms/quoteMaterialStep \
--header 'Authorization: Bearer <api-key>' \
--header 'Content-Type: application/json' \
--header 'Prefer: return=representation' \
--data '{"quoteMaterialId":"xyz789"}'Response
{
"quoteMaterialId": "xyz789",
"quoteOperationStepId": "xyz789"
}PATCH
/quoteMaterialStepUpdate a quote material step
Update an existing quote material step, matched on `quoteMaterialId`.
PATCHhttps://rest.carbon.ms/quoteMaterialStep
curl --request PATCH \
--url 'https://rest.carbon.ms/quoteMaterialStep?quoteMaterialId=eq.%7Bid%7D' \
--header 'Authorization: Bearer <api-key>' \
--header 'Content-Type: application/json' \
--header 'Prefer: return=representation' \
--data '{"name":"Example"}'Response
{
"quoteMaterialId": "xyz789",
"quoteOperationStepId": "xyz789"
}DELETE
/quoteMaterialStepDelete a quote material step
Delete a quote material step, matched on `quoteMaterialId`. Returns 204 No Content.
Query parameters
quoteMaterialIdstringThe `quoteMaterialId` of the quote material step to delete, e.g. `eq.{id}`.
DELETEhttps://rest.carbon.ms/quoteMaterialStep
curl --request DELETE \
--url 'https://rest.carbon.ms/quoteMaterialStep?quoteMaterialId=eq.%7Bid%7D' \
--header 'Authorization: Bearer <api-key>'204 No Content