AMCS Group CustomerSiteHealthAndSafetyBlob API
The CustomerSiteHealthAndSafetyBlob API from AMCS Group — 1 operation(s) for customersitehealthandsafetyblob.
The CustomerSiteHealthAndSafetyBlob API from AMCS Group — 1 operation(s) for customersitehealthandsafetyblob.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/amcs-group-customersitehealthandsafetyblob-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: AMCS Platform REST Customer Site Health And Safety Blob API
description: '
# Overview
## Who Should Read this Document
This document contains a technical description of the AMCS Platform REST API.'
version: latest
servers:
- url: https://ete-p5-tst-svc-core.amcsplatform.com/erp/api/integrator/erp
tags:
- name: CustomerSiteHealthAndSafetyBlob
paths:
/blobs/customerSiteHealthAndSafetyBlobs:
post:
tags:
- CustomerSiteHealthAndSafetyBlob
summary: Create or update
description: '| ------------------------------------- | ----------------------------------------------------------------------------- | -------- |
| Guid| The GUID associated to the Customer Site Health and Safety blob| No |
| MediaContentBase64| The Image/PDF converted to base 64| Yes |
| DocumentName| The Document Name| Yes |
| DocumentReference| The Document Reference| Yes |
| DocumentDescription| The Document Description| No |
| RelatedCustomerSiteGuid| The Related Customer Site Guid| Yes |
| HealthAndSafetyDocumentTypeListItem | The GUID and description of the health and safety document type| Yes |
| ValidFrom| The valid from date| Yes |
| ValidUntil| The valid until date| No |
| IsHighRisk| Whether the document contains high risk items| No |
| IsSentToVehicle| Whether the document is sent to vehicle| No |
**Extra validations**
| Condition | Error message |
| --------- | ------------- |
| DocumentName is Null or not provided | The mandatory property DocumentName has a null value. The request could not be processed. Supply a value for the DocumentName property of the submitted resource. |
| DocumentName has less than 5 characters or more than 100 characters | CustomerSiteHealthAndSafetyForm has the property DocumentName with value of {DocumentName} that is not supported. DocumentName should be at least 1 character and at most 100 characters, excluding the extension |
| DocumentName does not have any of pdf/png/jpg/gif extension | CustomerSiteHealthAndSafetyForm has the property DocumentName with value of {DocumentName} that is not supported. DocumentName should have any of pdf/png/jpg/gif extension |
| DocumentReference is Null or not provided | The mandatory property DocumentReference has a null value. The request could not be processed. Supply a value for the DocumentReference property of the submitted resource. |
| RelatedCustomerSiteGuid is Null or not provided | The mandatory property RelatedCustomerSiteGuid has a null value. The request could not be processed. Supply a value for the RelatedCustomerSiteGuid property of the submitted resource. |
| Invalid RelatedCustomerSiteGuid | Failed to retrieve Customer Site with RelatedCustomerSiteGuid of {Guid} |
| HealthAndSafetyDocumentTypeListItem.Guid is Null or not provided | The mandatory property HealthAndSafetyDocumentTypeListItem.Guid has a null value. The request could not be processed. Supply a value for the HealthAndSafetyDocumentTypeListItem.Guid property of the submitted resource.
| Invalid HealthAndSafetyDocumentTypeListItem.Guid | Failed to retrieve HealthAndSafetyDocumentType with HealthAndSafetyDocumentTypeListItem.Guid of {Guid} |
| MediaContentBase64 is Null or not provided | The mandatory property MediaContentBase64 has a null value. The request could not be processed. Supply a value for the MediaContentBase64 property of the submitted resource. |
| MediaContentBase64 is not a valid base64 string | Failed to save/update CustomerSiteHealthAndSafetyForm because ImageContentHash has Invalid length for a Base-64 char array or string |
## Information
| Information |
| ----------- |
| Currently we are only validating for a valid base64 string, we are not validating the string against the file extension |'
operationId: CustomerSiteHealthAndSafetyBlob_Create
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ApiIntegratorHealthAndSafetyBlobHashesResource'
required: true
x-bodyName: null
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/ApiResourceId'
components:
schemas:
ApiIntegratorListItemResource:
type: object
properties:
Description:
type: string
Guid:
type: string
format: uuid
example: 00000000-0000-0000-0000-000000000000
ApiIntegratorHealthAndSafetyBlobHashesResource:
type: object
properties:
MediaContentBase64:
type: string
DocumentName:
type: string
DocumentReference:
type: string
DocumentDescription:
type: string
HealthAndSafetyDocumentTypeListItem:
$ref: '#/components/schemas/ApiIntegratorListItemResource'
RelatedCustomerSiteGuid:
type: string
format: uuid
example: 00000000-0000-0000-0000-000000000000
ValidFrom:
type: string
format: localDate
example: '2000-01-01'
ValidUntil:
type: string
format: localDate
example: '2000-01-01'
IsHighRisk:
type: boolean
IsSentToVehicle:
type: boolean
ApiResourceStatus:
type: object
properties:
id:
type: integer
format: int32
isSuccess:
type: boolean
ApiResourceErrors:
type: object
properties:
errors:
type: string
ApiResourceId:
type: object
properties:
resource:
type: string
format: uuid
errors:
$ref: '#/components/schemas/ApiResourceErrors'
status:
$ref: '#/components/schemas/ApiResourceStatus'