MillCertifications
Archive mill certifications
Archives one or more mill certifications by setting IsArchived = 1. Archived certs stay fully functional (matching, downloads) and are only hidden from the default list view.
path Parameters
companyIdThe unique identifier of the company
Headers
GoSmarter-Api-KeyThe GoSmarter-Api-Key header is used to authenticate with the API using your API key. Value is of the format YOUR_KEY_HERE.
Archive mill certifications › Responses
Mill certifications archived successfully
deletedCountNumber of items deleted
deletedIdsList of IDs that were deleted
Delete mill certifications
Soft deletes one or more mill certifications by setting Active = 0. Temporal tables preserve the previous row state automatically. Deleted certs are excluded from matching and downloads until restored.
path Parameters
companyIdThe unique identifier of the company
Headers
GoSmarter-Api-KeyThe GoSmarter-Api-Key header is used to authenticate with the API using your API key. Value is of the format YOUR_KEY_HERE.
Delete mill certifications › Responses
Mill certifications deleted successfully
deletedCountNumber of items deleted
deletedIdsList of IDs that were deleted
Get mill certification change history
Returns field-level audit history for a specific mill certification, its heats, and mechanical properties, derived from SQL Server temporal tables. All events are interleaved in a single chronological timeline. AI-written changes have no ChangedBy (shown as System).
path Parameters
companyIdThe unique identifier of the company
millCertificationIdThe unique identifier of the mill certification
Headers
GoSmarter-Api-KeyThe GoSmarter-Api-Key header is used to authenticate with the API using your API key. Value is of the format YOUR_KEY_HERE.
Get mill certification change history › Responses
Interleaved audit events for the cert, heats, and mechanical properties
changedAtchangedByIdchangedByNamechangeTypeentityTypeentityLabelList archived mill certifications
Retrieves a list of all archived mill certifications for a company (IsArchived = 1)
path Parameters
companyIdThe unique identifier of the company
Headers
GoSmarter-Api-KeyThe GoSmarter-Api-Key header is used to authenticate with the API using your API key. Value is of the format YOUR_KEY_HERE.
List archived mill certifications › Responses
Archived mill certifications list retrieved successfully
newFileNamedefenderResultIddateInserteddateModifiedheatCodesmillCertificationIdcompanyIdoriginalFileNamestorageFileNamestatusmillCertificationStatusLabelmillCertificationStatusNotesmillCertificationStatusTypeList mill certifications suggested for archiving
Certs older than 30 days with no remaining linked inventory quantity/weight.
path Parameters
companyIdThe unique identifier of the company
Headers
GoSmarter-Api-KeyThe GoSmarter-Api-Key header is used to authenticate with the API using your API key. Value is of the format YOUR_KEY_HERE.
List mill certifications suggested for archiving › Responses
Mill certification IDs eligible for archiving
List deleted mill certifications
Retrieves a list of all soft-deleted mill certifications for a company (Active = 0)
path Parameters
companyIdThe unique identifier of the company
Headers
GoSmarter-Api-KeyThe GoSmarter-Api-Key header is used to authenticate with the API using your API key. Value is of the format YOUR_KEY_HERE.
List deleted mill certifications › Responses
Deleted mill certifications list retrieved successfully
newFileNamedefenderResultIddateInserteddateModifiedheatCodesmillCertificationIdcompanyIdoriginalFileNamestorageFileNamestatusmillCertificationStatusLabelmillCertificationStatusNotesmillCertificationStatusTypeRestore deleted mill certifications
Restores one or more soft-deleted mill certifications by setting Active = 1.
path Parameters
companyIdThe unique identifier of the company
Headers
GoSmarter-Api-KeyThe GoSmarter-Api-Key header is used to authenticate with the API using your API key. Value is of the format YOUR_KEY_HERE.
Restore deleted mill certifications › Responses
Mill certifications restored successfully
deletedCountNumber of items deleted
deletedIdsList of IDs that were deleted
Unarchive mill certifications
Unarchives one or more mill certifications by setting IsArchived = 0.
path Parameters
companyIdThe unique identifier of the company
Headers
GoSmarter-Api-KeyThe GoSmarter-Api-Key header is used to authenticate with the API using your API key. Value is of the format YOUR_KEY_HERE.
Unarchive mill certifications › Responses
Mill certifications unarchived successfully
deletedCountNumber of items deleted
deletedIdsList of IDs that were deleted

