Method Material Step
The method material step resource.
Basehttps://rest.carbon.ms/methodMaterialStep
GET
/methodMaterialStepList method material steps
Retrieve a paginated list of method 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/methodMaterialStep
curl --request GET \
--url 'https://rest.carbon.ms/methodMaterialStep?select=*&limit=10' \
--header 'Authorization: Bearer <api-key>'Response
[
{
"methodMaterialId": "xyz789",
"methodOperationStepId": "xyz789"
}
]GET
/methodMaterialStepRetrieve a method material step
Fetch a single method material step by filtering on `methodMaterialId`.
Query parameters
methodMaterialIdstringMatch on the method material step's `methodMaterialId`, e.g. `eq.{id}`.
GEThttps://rest.carbon.ms/methodMaterialStep
curl --request GET \
--url 'https://rest.carbon.ms/methodMaterialStep?methodMaterialId=eq.%7Bid%7D' \
--header 'Authorization: Bearer <api-key>'Response
{
"methodMaterialId": "xyz789",
"methodOperationStepId": "xyz789"
}POST
/methodMaterialStepCreate a method material step
Create a new method material step.
POSThttps://rest.carbon.ms/methodMaterialStep
curl --request POST \
--url https://rest.carbon.ms/methodMaterialStep \
--header 'Authorization: Bearer <api-key>' \
--header 'Content-Type: application/json' \
--header 'Prefer: return=representation' \
--data '{"methodMaterialId":"xyz789"}'Response
{
"methodMaterialId": "xyz789",
"methodOperationStepId": "xyz789"
}PATCH
/methodMaterialStepUpdate a method material step
Update an existing method material step, matched on `methodMaterialId`.
PATCHhttps://rest.carbon.ms/methodMaterialStep
curl --request PATCH \
--url 'https://rest.carbon.ms/methodMaterialStep?methodMaterialId=eq.%7Bid%7D' \
--header 'Authorization: Bearer <api-key>' \
--header 'Content-Type: application/json' \
--header 'Prefer: return=representation' \
--data '{"name":"Example"}'Response
{
"methodMaterialId": "xyz789",
"methodOperationStepId": "xyz789"
}DELETE
/methodMaterialStepDelete a method material step
Delete a method material step, matched on `methodMaterialId`. Returns 204 No Content.
Query parameters
methodMaterialIdstringThe `methodMaterialId` of the method material step to delete, e.g. `eq.{id}`.
DELETEhttps://rest.carbon.ms/methodMaterialStep
curl --request DELETE \
--url 'https://rest.carbon.ms/methodMaterialStep?methodMaterialId=eq.%7Bid%7D' \
--header 'Authorization: Bearer <api-key>'204 No Content