safefood360_list_documents
List documents
List controlled documents of the Safefood 360 site (title, description, version, folder, responsible person, review/approval workflow, created/modified). Supports OData $filter, $orderby, $top, $skip and $count. GET /documents/sites/{siteId}/v1/documents/.
輸入參數topskipcountfilterorderby
safefood360_get_document
Get document
One controlled document by its identifier: title, description, version, folder, responsible person and workflow. GET /documents/sites/{siteId}/v1/documents/{identifier}.
輸入參數identifier必填
safefood360_list_document_reviews
List document reviews
List document reviews (the periodic review records of controlled documents). Supports OData $filter, $orderby, $top, $skip and $count; use it to find reviews that are due or overdue. GET /documents/sites/{siteId}/v1/documentreviews/.
輸入參數topskipcountfilterorderby
safefood360_get_document_review
Get document review
One document review by its review number. GET /documents/sites/{siteId}/v1/documentreviews/{no}.
輸入參數review_no必填
safefood360_list_complaints
List complaints
List customer complaints (number, name, risk, date, company, source, contact person, product/material, description, created/modified). Supports OData $filter, $orderby, $top, $skip and $count. GET /complaints/sites/{siteId}/v1/complaints.
輸入參數topskipcountfilterorderby
safefood360_get_complaint
Get complaint
One complaint by its id (GUID). GET /complaints/sites/{siteId}/v1/complaints/{id}.
輸入參數complaint_id必填
safefood360_list_suppliers
List suppliers
List suppliers (name, code, addresses, contacts, approval status, risk, establishment numbers). Paged with start_index and limit; the reply carries recordCount and next_start_index. GET /v1/suppliers/?siteId=.
輸入參數sortlimitorderis_archivedstart_index
safefood360_get_supplier
Get supplier
One supplier by its external id. GET /v1/suppliers/{externalId}?siteId=.
輸入參數external_id必填
safefood360_list_materials
List materials
List materials/ingredients (name, our code, supplier code, description, category, countries of origin, risk, archived flag). Paged with start_index and limit; the reply carries recordCount and next_start_index. GET /v1/materials/?siteId=.
輸入參數sortlimitorderis_archivedstart_index
safefood360_get_material
Get material
One material by its external id. GET /v1/materials/{externalId}?siteId=.
輸入參數external_id必填
safefood360_get_customer
Get customer
One customer by its identifier (name, addresses, phone, notes). The vendor offers no customer list. GET /customers/sites/{siteId}/v1/customers/{identifier}.
輸入參數identifier必填
safefood360_get_employee
Get employee
One employee record by its identifier (training/HR master data of the site). Contains personal data: use it only for the question asked. The vendor offers no employee list. GET /employees/sites/{siteId}/v1/employees/{identifier}.
輸入參數identifier必填
safefood360_get_final_product
Get final product
One final (finished) product by its identifier: name, folder, categories, barcode, specifications and the materials it is made of. The vendor offers no final-product list. GET /finalproducts/sites/{siteId}/v1/finalproducts/{identifier}.
輸入參數identifier必填
safefood360_get_batching_record
Get batching record
One batching (traceability) record by its id (GUID). GET /batching/sites/{siteId}/v1/batching/records/{recordId}.
輸入參數record_id必填
safefood360_update_document
Update document
WRITE: change the title, description and/or folder of a controlled document in Safefood 360 (JSON patch; fields you leave out stay as they are). It does not publish a new version or change the review workflow. Returns the updated document. PATCH /documents/sites/{siteId}/v1/documents/{identifier}.
輸入參數titlefolderidentifier必填description
safefood360_update_customer
Update customer
WRITE: change the name, phone, mobile and/or notes of a customer in Safefood 360 (JSON patch of those fields; others stay as they are). notes REPLACES the existing notes. PATCH /customers/sites/{siteId}/v1/customers/{identifier}.
輸入參數namenotesphonemobileidentifier必填
safefood360_create_complaint
Create complaint
WRITE: record a NEW complaint in Safefood 360 (it may trigger the site's complaint workflow and notifications). Not idempotent: calling it twice creates two complaints. Safefood 360 validates the fields (ids such as source, company and recorded_by are GUIDs from your site's lists) and rejects a request that lacks required ones. POST /complaints/sites/{siteId}/v1/complaints/.
輸入參數daterisksourcequantitytrace_noreferencecompany_idproduct_iddescription必填recorded_bycontact_personsample_details另有 1 個