Référence API
L'API AdamRMS permet à votre propre code de faire ce que vous pouvez faire dans une organisation. Chaque point de terminaison vérifie les mêmes permissions que l'interface AdamRMS, et cette référence est générée à partir des mêmes définitions, elle correspond donc toujours à ce qui s'exécute.
Préférez une description lisible par machine, pour Postman, Bruno ou un générateur de code ? Téléchargez la spécification OpenAPI.
Authentification
Créez une clé API à partir des paramètres de votre compte. Une clé appartient à une organisation et agit avec vos propres permissions là-bas. Envoyez-la en tant que jeton porteur avec chaque demande :
Authorization: Bearer adamrms_…
Demandes
Tous les points de terminaison se trouvent sous https://adam-rms.com/api/v1/org/{organisationUUID}/. Les points de terminaison qui lisent uniquement les données acceptent soit GET avec l'entrée sous forme de chaîne de requête, soit POST. Tous les autres utilisent POST avec un corps JSON.
Réponses
Une demande réussie retourne le statut 200 et le résultat sous data. Une demande échouée retourne un statut d'erreur et un objet error dont le code est stable, ce qui permet à votre code d'agir en conséquence.
{ "data": { … } }
{ "error": { "code": "INVALID_INPUT", "message": "…", "issues": [{ "path": "name", "message": "…" }] } }Nouvelles tentatives et limites
Une requête qui crée, modifie ou supprime quelque chose peut être renvoyée sans risque si vous ajoutez un en-tête Idempotency-Key : une valeur que vous inventez pour cette modification, comme un UUID. Si la connexion tombe et que vous réessayez avec la même clé et la même requête, AdamRMS renvoie la première réponse, avec Idempotent-Replayed: true, et ne refait pas la modification. Les clés appartiennent à la clé API qui les a envoyées et durent 24 heures.
Idempotency-Key: 5f1c7e6a-2b7d-4c1e-9a53-8d0f2b6c4e11
Chaque personne peut faire 60 requêtes toutes les 60 secondes, sur l'ensemble de l'API et du serveur MCP. Chaque réponse l'indique dans son en-tête RateLimit-Policy. Au-delà de la limite, les requêtes échouent avec RATE_LIMITED, et l'en-tête Retry-After indique combien de secondes attendre.
Tests à blanc
Ajoutez ?dryRun=true à un point d'accès marqué Dry run pour essayer une modification sans l'effectuer. AdamRMS vérifie vos permissions, le forfait de l'organisation et les données saisies exactement comme pour la vraie modification, calcule le résultat, puis l'annule. La réponse est celle que donnerait la vraie modification, avec dryRun: true à côté de data et un en-tête Dry-Run: true. Rien n'est enregistré, donc les identifiants de la réponse n'existent plus ensuite.
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/clients/create?dryRun=true"
Une simulation n'est pas consignée dans le journal d'audit, n'envoie aucun email et n'est pas montrée aux Apps, donc une App qui refuserait la vraie modification n'en a pas l'occasion. Les points d'accès qui envoient des fichiers ou joignent d'autres services ne peuvent pas être essayés ainsi, et répondent DRY_RUN_NOT_AVAILABLE.
Webhooks
Pour être informé des modifications au fur et à mesure, créez un webhook avec webhooks/create. Donnez-lui une adresse HTTPS et les événements à envoyer : des clés de fonction comme clients.create, ou une fonctionnalité entière comme clients.*. Chaque fonction qui modifie des données est un événement. AdamRMS envoie chacun en POST au format JSON, avec son type, son timestamp et ses data : l'input et l'output de la fonction comme documentés ci-dessous, l'organisationUuid et l'actor.
Les événements sont signés comme le décrit Standard Webhooks, avec les en-têtes webhook-id, webhook-timestamp et webhook-signature. Le secret n'est renvoyé qu'une fois, par webhooks/create. Répondez avec un statut 2xx en moins de 15 secondes. Toute autre réponse est retentée pendant environ trois jours, avec une attente plus longue si vous envoyez Retry-After. Un 410 désactive le webhook. Un webhook n'envoie que les événements concernant les enregistrements que le membre qui l'a créé peut voir, vérifié à nouveau pour chaque événement. Consultez-les avec webhooks/deliveries.
Erreurs communes
Asset import
Check rows of an asset import
/api/v1/org/{organisationUUID}/asset-import/checkChecks spreadsheet rows before they are imported, without changing anything: for each row, what importing it would do (create an asset, update one, skip it), the asset type, category, manufacturer and location it means, and anything to fix. Also lists the categories, manufacturers and asset types the import would create. Cells are sent as text, as the spreadsheet had them; amounts are in the currency's main unit.
Nécessite la permission ASSETS.IMPORT.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/asset-import/check" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"rows":[]}'Import assets
/api/v1/org/{organisationUUID}/asset-import/runImports spreadsheet rows as assets, as `asset-import.check` describes: it creates the missing categories, manufacturers and asset types first, then creates (or updates) an asset per row. Rows with issues are left out and returned as FAILED; the rest are imported. Each record is made through its own function, so the same rules, permissions and Apps apply as when it is made by hand. Importing a row whose asset ID exists again skips it, so a file can be sent again after a failure.
Nécessite la permission ASSETS.IMPORT.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/asset-import/run" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"rows":[]}'Asset categories
List asset categories
/api/v1/org/{organisationUUID}/asset-categories/listReturns the organisation's asset categories as a tree, paginated by top-level category, with optional name search. Sorted by their arranged position unless another sort is asked for.
Nécessite la permission ASSET_CATEGORIES.VIEW.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/asset-categories/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Create an asset category
/api/v1/org/{organisationUUID}/asset-categories/createCreates an asset category, either top-level or nested under a parent (at most 3 levels deep). It is added after its existing siblings.
Nécessite la permission ASSET_CATEGORIES.CREATE.
Entrée
Réponse
Retourne le AssetCategory sous data.
Erreurs
Ainsi que les erreurs communes :
PLAN_LIMIT_REACHED 402
ICON_NOT_FOUND 422
MAX_NESTING_EXCEEDED 422
PARENT_NOT_FOUND 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/asset-categories/create" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string"}'Update an asset category
/api/v1/org/{organisationUUID}/asset-categories/updateChanges a category's name, description, icon or parent. Fields that are omitted are left unchanged.
Nécessite la permission ASSET_CATEGORIES.UPDATE.
Entrée
Réponse
Retourne le AssetCategory sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
CIRCULAR_REFERENCE 422
ICON_NOT_FOUND 422
MAX_NESTING_EXCEEDED 422
PARENT_NOT_FOUND 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/asset-categories/update" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Reorder an asset category
/api/v1/org/{organisationUUID}/asset-categories/reorderMoves a category to a new position among its siblings and renumbers the siblings to match.
Nécessite la permission ASSET_CATEGORIES.UPDATE.
Entrée
Réponse
Retourne le AssetCategory sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/asset-categories/reorder" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string","sortOrder":0}'Delete an asset category
/api/v1/org/{organisationUUID}/asset-categories/deleteSoft-deletes a category. A category that still has live children is only deleted when `cascade` is set, which deletes the children too.
Nécessite la permission ASSET_CATEGORIES.DELETE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
HAS_CHILDREN 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/asset-categories/delete" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Attachments
List a record's files
/api/v1/org/{organisationUUID}/attachments/listReturns every folder, file and link attached to a record, such as a location.
Nécessite la permission ORGANISATION_FILES.VIEW.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
RECORD_NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/attachments/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"recordType":"string","recordUuid":"string"}'Create a folder for a record's files
/api/v1/org/{organisationUUID}/attachments/create-folderCreates a folder among a record's files, at the top level or inside another of its folders.
Nécessite la permission ORGANISATION_FILES.CREATE.
Entrée
Réponse
Retourne le AttachmentFolder sous data.
Erreurs
Ainsi que les erreurs communes :
RECORD_NOT_FOUND 404
FOLDER_NOT_FOUND 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/attachments/create-folder" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"recordType":"string","recordUuid":"string","name":"string"}'Rename or move a folder of a record's files
/api/v1/org/{organisationUUID}/attachments/update-folderRenames a folder, or moves it into another folder on the same record. Fields that are omitted are left unchanged.
Nécessite la permission ORGANISATION_FILES.UPDATE.
Entrée
Réponse
Retourne le AttachmentFolder sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
CIRCULAR_REFERENCE 422
FOLDER_NOT_FOUND 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/attachments/update-folder" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Delete a folder of a record's files
/api/v1/org/{organisationUUID}/attachments/delete-folderDeletes an empty folder. A folder that still holds files or folders is refused; move or delete them first.
Nécessite la permission ORGANISATION_FILES.DELETE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
NOT_EMPTY 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/attachments/delete-folder" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Start uploading a file to a record
/api/v1/org/{organisationUUID}/attachments/start-uploadChecks a file can be added to a record (its size, and the organisation's storage allowance) and returns a private URL to PUT its bytes to. Large files are sent in parts. The file appears on the record once `attachments.finish-upload` is called.
Nécessite la permission ORGANISATION_FILES.CREATE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
PLAN_LIMIT_REACHED 402
RECORD_NOT_FOUND 404
FILE_TOO_LARGE 422
FOLDER_NOT_FOUND 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/attachments/start-upload" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"recordType":"string","recordUuid":"string","fileName":"string","contentType":"string","sizeBytes":0}'Finish uploading a file to a record
/api/v1/org/{organisationUUID}/attachments/finish-uploadCompletes an upload begun with `attachments.start-upload` once its bytes have been sent, and adds the file to the record.
Nécessite la permission ORGANISATION_FILES.CREATE.
Entrée
Réponse
Retourne le AttachedFile sous data.
Erreurs
Ainsi que les erreurs communes :
PLAN_LIMIT_REACHED 402
RECORD_NOT_FOUND 404
UPLOAD_NOT_FOUND 404
FOLDER_NOT_FOUND 422
UPLOAD_INCOMPLETE 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/attachments/finish-upload" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uploadToken":"string"}'Add a link to a record's files
/api/v1/org/{organisationUUID}/attachments/add-linkAdds a named link to a web page (a shared drive folder, a venue's website, ...) among a record's files.
Nécessite la permission ORGANISATION_FILES.CREATE.
Entrée
Réponse
Retourne le AttachedFile sous data.
Erreurs
Ainsi que les erreurs communes :
PLAN_LIMIT_REACHED 402
RECORD_NOT_FOUND 404
FOLDER_NOT_FOUND 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/attachments/add-link" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"recordType":"string","recordUuid":"string","name":"string","url":"string"}'Rename or move a record's file
/api/v1/org/{organisationUUID}/attachments/update-fileRenames a file or link attached to a record, or moves it into another of the record's folders or onto another record of the same kind. Fields that are omitted are left unchanged. Files in some categories, such as issued documents, can't be renamed or moved to another record.
Nécessite la permission ORGANISATION_FILES.UPDATE.
Entrée
Réponse
Retourne le AttachedFile sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
NOT_ALLOWED_IN_CATEGORY 409
FOLDER_NOT_FOUND 422
RECORD_NOT_FOUND 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/attachments/update-file" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Delete a record's file
/api/v1/org/{organisationUUID}/attachments/delete-fileMoves a file or link attached to a record to the organisation's trash, where it can be restored until the trash is emptied. Files in some categories, such as issued documents, can't be deleted.
Nécessite la permission ORGANISATION_FILES.DELETE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
NOT_ALLOWED_IN_CATEGORY 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/attachments/delete-file" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Locations
List locations
/api/v1/org/{organisationUUID}/locations/listReturns the organisation's locations (venues, warehouses, shelves, ...) as a tree, paginated by top-level location, with optional search by name or address and filter by client. Archived locations are left out unless asked for.
Nécessite la permission LOCATIONS.VIEW.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/locations/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Get a location
/api/v1/org/{organisationUUID}/locations/getReturns one location, archived or not, with the chain of locations it is inside.
Nécessite la permission LOCATIONS.VIEW.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/locations/get" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Create a location
/api/v1/org/{organisationUUID}/locations/createCreates a location, either top-level or inside another location, optionally belonging to a client. Locations nest to any depth.
Nécessite la permission LOCATIONS.CREATE.
Entrée
Réponse
Retourne le Location sous data.
Erreurs
Ainsi que les erreurs communes :
CLIENT_NOT_FOUND 422
PARENT_NOT_FOUND 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/locations/create" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string"}'Update a location
/api/v1/org/{organisationUUID}/locations/updateChanges a location's name, address, notes, parent or client. Fields that are omitted are left unchanged.
Nécessite la permission LOCATIONS.UPDATE.
Entrée
Réponse
Retourne le Location sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
CIRCULAR_REFERENCE 422
CLIENT_NOT_FOUND 422
PARENT_NOT_FOUND 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/locations/update" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Archive or unarchive a location
/api/v1/org/{organisationUUID}/locations/set-archivedArchives a location that is no longer used, hiding it from lists without deleting it, or brings an archived location back into use. Locations inside it are not changed.
Nécessite la permission LOCATIONS.UPDATE.
Entrée
Réponse
Retourne le Location sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/locations/set-archived" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string","archived":false}'Delete a location
/api/v1/org/{organisationUUID}/locations/deleteSoft-deletes a location. A location that still has live locations inside it is only deleted when `cascade` is set, which deletes them too.
Nécessite la permission LOCATIONS.DELETE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
HAS_CHILDREN 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/locations/delete" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Clients
List clients
/api/v1/org/{organisationUUID}/clients/listReturns the organisation's clients, sorted and paged, with optional search by name (or by the name, email or phone of a contact there) and an optional filter to the clients under one client (or the top level). Archived clients are left out unless asked for.
Nécessite la permission CLIENTS.VIEW.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/clients/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Get a client
/api/v1/org/{organisationUUID}/clients/getReturns one client, including an archived one, with the clients it sits under.
Nécessite la permission CLIENTS.VIEW.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/clients/get" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Read a client's timeline
/api/v1/org/{organisationUUID}/clients/timelineReturns what has happened with a client, newest first: projects made for them, quotes issued, accepted or declined, invoices and credit notes issued, payments and refunds, documents emailed to them, and comments on the client. Quotes, invoices and payments cover the client's projects and their sub-projects. Entries the caller can't see, such as payments without access to payments, are left out.
Nécessite la permission CLIENTS.VIEW.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/clients/timeline" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Create a client
/api/v1/org/{organisationUUID}/clients/createCreates a client: a business or person the organisation hires to, either top-level or under another client (at most three levels deep). Only the name is required.
Nécessite la permission CLIENTS.CREATE.
Entrée
Réponse
Retourne le Client sous data.
Erreurs
Ainsi que les erreurs communes :
MAX_NESTING_EXCEEDED 422
PARENT_NOT_FOUND 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/clients/create" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string"}'Update a client
/api/v1/org/{organisationUUID}/clients/updateChanges a client's details or moves it under another client. Fields that are omitted are left unchanged; null clears a field.
Nécessite la permission CLIENTS.UPDATE.
Entrée
Réponse
Retourne le Client sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
CIRCULAR_REFERENCE 422
MAX_NESTING_EXCEEDED 422
PARENT_NOT_FOUND 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/clients/update" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Archive a client
/api/v1/org/{organisationUUID}/clients/archiveArchives a client, so it stays on record but can't be picked for new work. Archiving an archived client changes nothing.
Nécessite la permission CLIENTS.UPDATE.
Entrée
Réponse
Retourne le Client sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/clients/archive" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Unarchive a client
/api/v1/org/{organisationUUID}/clients/unarchiveMakes an archived client active again. Unarchiving an active client changes nothing.
Nécessite la permission CLIENTS.UPDATE.
Entrée
Réponse
Retourne le Client sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/clients/unarchive" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Delete a client
/api/v1/org/{organisationUUID}/clients/deleteSoft-deletes a client. A client that still has live sub-clients is only deleted when `cascade` is set, which deletes them too. To keep a client on record but out of the way, archive it instead.
Nécessite la permission CLIENTS.DELETE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
HAS_CHILDREN 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/clients/delete" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Set a client's pricing
/api/v1/org/{organisationUUID}/clients/set-pricingChooses the client pricing a client's new projects use, or none for catalogue prices.
Nécessite la permission CLIENTS.UPDATE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
CLIENT_NOT_FOUND 404
NOT_FOUND 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/clients/set-pricing" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"clientUUID":"string","clientPricingUUID":"string"}'Client contacts
List a client's contacts
/api/v1/org/{organisationUUID}/client-contacts/listReturns the people at a client, with their job titles, email addresses and phone numbers, sorted and paged.
Nécessite la permission CLIENTS.VIEW.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
CLIENT_NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/client-contacts/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"clientUUID":"string"}'Get a client contact
/api/v1/org/{organisationUUID}/client-contacts/getReturns one person at a client, including which client.
Nécessite la permission CLIENTS.VIEW.
Entrée
Réponse
Retourne le ClientContact sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/client-contacts/get" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Add a contact to a client
/api/v1/org/{organisationUUID}/client-contacts/createAdds a person at a client. Only the name is required.
Nécessite la permission CLIENTS.UPDATE.
Entrée
Réponse
Retourne le ClientContact sous data.
Erreurs
Ainsi que les erreurs communes :
CLIENT_NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/client-contacts/create" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"clientUUID":"string","name":"string"}'Update a client contact
/api/v1/org/{organisationUUID}/client-contacts/updateChanges a contact's details. Fields that are omitted are left unchanged; null clears a field.
Nécessite la permission CLIENTS.UPDATE.
Entrée
Réponse
Retourne le ClientContact sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/client-contacts/update" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Remove a client contact
/api/v1/org/{organisationUUID}/client-contacts/deleteSoft-deletes a contact from its client.
Nécessite la permission CLIENTS.UPDATE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/client-contacts/delete" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Manufacturers
List manufacturers
/api/v1/org/{organisationUUID}/manufacturers/listReturns the organisation's asset manufacturers as a tree of parent companies and the manufacturers they own, paginated by top-level manufacturer, with optional name search.
Nécessite la permission MANUFACTURERS.VIEW.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/manufacturers/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Create a manufacturer
/api/v1/org/{organisationUUID}/manufacturers/createCreates a manufacturer, either top-level or owned by a parent company. A name already used by another live manufacturer (ignoring case) is refused.
Nécessite la permission MANUFACTURERS.CREATE.
Entrée
Réponse
Retourne le Manufacturer sous data.
Erreurs
Ainsi que les erreurs communes :
NAME_TAKEN 409
PARENT_NOT_FOUND 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/manufacturers/create" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string"}'Update a manufacturer
/api/v1/org/{organisationUUID}/manufacturers/updateChanges a manufacturer's name, website, notes or parent company. Fields that are omitted are left unchanged.
Nécessite la permission MANUFACTURERS.UPDATE.
Entrée
Réponse
Retourne le Manufacturer sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
NAME_TAKEN 409
CIRCULAR_REFERENCE 422
PARENT_NOT_FOUND 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/manufacturers/update" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Delete a manufacturer
/api/v1/org/{organisationUUID}/manufacturers/deleteSoft-deletes a manufacturer. Manufacturers it owned are not deleted; they become top-level.
Nécessite la permission MANUFACTURERS.DELETE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/manufacturers/delete" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Asset types
List asset types
/api/v1/org/{organisationUUID}/asset-types/listReturns the organisation's asset types (its catalogue: what it hires out), paginated, with optional search and category or manufacturer filters.
Nécessite la permission ASSET_TYPES.VIEW.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/asset-types/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Change how an asset type is tracked
/api/v1/org/{organisationUUID}/asset-types/set-trackingChanges an asset type between individually tracked and bulk, converting its assets. To BULK: units that are alike (same storage location, case, overrides and custom field values) merge into one lot, which keeps all their asset IDs. To INDIVIDUAL: each lot of N becomes N units; the lot keeps its IDs and the new units take IDs from the organisation's sequence, and empty lots are deleted. Assets on open maintenance jobs or on projects that haven't finished or been lost stop it. Call with `preview` first to see what would happen and what stops it.
Nécessite la permission ASSET_TYPES.UPDATE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
TRACKING_CHANGE_BLOCKED 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/asset-types/set-tracking" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string","tracking":"string"}'Get an asset type
/api/v1/org/{organisationUUID}/asset-types/getReturns one asset type, including its custom field values, rate, price structure, mass and value.
Nécessite la permission ASSET_TYPES.VIEW.
Entrée
Réponse
Retourne le AssetType sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/asset-types/get" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Create an asset type
/api/v1/org/{organisationUUID}/asset-types/createCreates an asset type in a category (one with no subcategories), optionally with a thumbnail, manufacturer, rate, price structure, mass, replacement value and custom field values. Whether its stock is tracked as individual units or in bulk lots is chosen here.
Nécessite la permission ASSET_TYPES.CREATE.
Entrée
Réponse
Retourne le AssetType sous data.
Erreurs
Ainsi que les erreurs communes :
TRACKING_LOCKED 409
CATEGORY_HAS_SUBCATEGORIES 422
CATEGORY_NOT_FOUND 422
CONSUMABLE_MUST_BE_BULK 422
INVALID_CUSTOM_FIELDS 422
INVALID_THUMBNAIL 422
MANUFACTURER_NOT_FOUND 422
MASS_UNIT_REQUIRED 422
PRICE_STRUCTURE_NOT_FOUND 422
TAX_RATE_NOT_FOUND 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/asset-types/create" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string","categoryUUID":"string"}'Update an asset type
/api/v1/org/{organisationUUID}/asset-types/updateChanges an asset type. Fields that are omitted are left unchanged. Changing the rate or price structure never changes prices already agreed on bookings.
Nécessite la permission ASSET_TYPES.UPDATE.
Entrée
Réponse
Retourne le AssetType sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
TRACKING_LOCKED 409
CATEGORY_HAS_SUBCATEGORIES 422
CATEGORY_NOT_FOUND 422
CONSUMABLE_MUST_BE_BULK 422
INVALID_CUSTOM_FIELDS 422
INVALID_THUMBNAIL 422
MANUFACTURER_NOT_FOUND 422
MASS_UNIT_REQUIRED 422
PRICE_STRUCTURE_NOT_FOUND 422
TAX_RATE_NOT_FOUND 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/asset-types/update" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Delete an asset type
/api/v1/org/{organisationUUID}/asset-types/deleteSoft-deletes an asset type. A type that still has assets can't be deleted: delete its assets first.
Nécessite la permission ASSET_TYPES.DELETE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
HAS_ASSETS 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/asset-types/delete" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Add a thumbnail to an asset type
/api/v1/org/{organisationUUID}/asset-types/add-thumbnailAdds a thumbnail to an asset type, last or as its main thumbnail. A type can have up to 10 thumbnails. The main one is shown wherever the type is.
Nécessite la permission ASSET_TYPES.UPDATE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
TOO_MANY_THUMBNAILS 409
INVALID_THUMBNAIL 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/asset-types/add-thumbnail" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assetTypeUUID":"string","thumbnail":"string"}'Remove a thumbnail from an asset type
/api/v1/org/{organisationUUID}/asset-types/remove-thumbnailRemoves one of an asset type's thumbnails for good. Removing the main thumbnail makes the next one the main thumbnail.
Nécessite la permission ASSET_TYPES.UPDATE.
Entrée
Réponse
Retourne le AssetType sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/asset-types/remove-thumbnail" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Choose an asset type's main thumbnail
/api/v1/org/{organisationUUID}/asset-types/set-main-thumbnailMakes one of an asset type's thumbnails its main thumbnail, shown wherever the type is. The old main thumbnail takes its place among the others.
Nécessite la permission ASSET_TYPES.UPDATE.
Entrée
Réponse
Retourne le AssetType sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/asset-types/set-main-thumbnail" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Accessories
Get an asset type's accessories
/api/v1/org/{organisationUUID}/accessories/getReturns the accessories of an asset type (the other asset types that go out with it, how many, and whether each can be left out), and the asset types it is itself an accessory of.
Nécessite la permission ASSET_TYPES.VIEW.
Entrée
Réponse
Retourne le Accessories sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/accessories/get" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assetTypeUUID":"string"}'Set an asset type's accessories
/api/v1/org/{organisationUUID}/accessories/setReplaces the accessories of an asset type with the list given, such as the clamp and safety bond that go out with a lantern. An empty list removes them all.
Nécessite la permission ASSET_TYPES.UPDATE.
Entrée
Réponse
Retourne le Accessories sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
ACCESSORY_NOT_FOUND 422
CIRCULAR_REFERENCE 422
DUPLICATE_ACCESSORY 422
TOO_DEEP 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/accessories/set" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assetTypeUUID":"string","accessories":[]}'Packages
List packages
/api/v1/org/{organisationUUID}/packages/listReturns packages: bundles of asset types hired out together at one price. Filter by name, or to the packages one asset type is in. Call packages.get for what is in a package.
Nécessite la permission PACKAGES.VIEW.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/packages/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Get a package
/api/v1/org/{organisationUUID}/packages/getReturns one package with its rate and the asset types in it, how many of each, and whether each can be left out.
Nécessite la permission PACKAGES.VIEW.
Entrée
Réponse
Retourne le Package sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/packages/get" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Create a package
/api/v1/org/{organisationUUID}/packages/createCreates a package: a bundle of asset types hired out together at one rate, such as a small PA package of two speakers, two stands and a desk. It has no stock of its own.
Nécessite la permission PACKAGES.CREATE.
Entrée
Réponse
Retourne le Package sous data.
Erreurs
Ainsi que les erreurs communes :
ASSET_TYPE_NOT_FOUND 422
DUPLICATE_ASSET_TYPE 422
PRICE_STRUCTURE_NOT_FOUND 422
TAX_RATE_NOT_FOUND 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/packages/create" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string"}'Update a package
/api/v1/org/{organisationUUID}/packages/updateChanges a package's name, description, rate or price structure, or replaces the asset types in it. Fields that are omitted are left unchanged.
Nécessite la permission PACKAGES.UPDATE.
Entrée
Réponse
Retourne le Package sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
ASSET_TYPE_NOT_FOUND 422
DUPLICATE_ASSET_TYPE 422
PRICE_STRUCTURE_NOT_FOUND 422
TAX_RATE_NOT_FOUND 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/packages/update" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Delete a package
/api/v1/org/{organisationUUID}/packages/deleteSoft-deletes a package. The asset types in it, and their assets, are not changed.
Nécessite la permission PACKAGES.DELETE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/packages/delete" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Calendar
List the projects on the calendar
/api/v1/org/{organisationUUID}/calendar/projectsReturns the projects whose event dates (or out dates, if they have no event dates) fall in a period, earliest first: the organisation's calendar. Lost and deleted projects aren't on it. Sub-projects with dates of their own are only listed if the calendar settings say so. Filter to the projects with an asset type on them, an asset allocated to them, or at one location; a filter also lists the sub-projects it matches.
Nécessite la permission PROJECTS.VIEW.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/calendar/projects" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"from":"string","to":"string"}'List the caller's own calendar
/api/v1/org/{organisationUUID}/calendar/mineReturns the caller's own projects in a period, earliest first: those they manage or follow, with their sub-projects' dates where they have their own. Lost and deleted projects aren't on it.
Nécessite la permission CALENDAR.VIEW.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/calendar/mine" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"from":"string","to":"string"}'List a member's calendar
/api/v1/org/{organisationUUID}/calendar/memberReturns the projects a member manages or is on the crew of in a period, earliest first, as on their profile. Projects they only follow aren't included. Lost and deleted projects aren't on it.
Nécessite la permission PROJECTS.VIEW.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/calendar/member" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"from":"string","to":"string","memberUUID":"string"}'Calendar settings
Get calendar settings
/api/v1/org/{organisationUUID}/calendar-settings/getReturns how the organisation's calendar looks: whether statuses and sub-projects show, the view it opens in, and its week labels.
Nécessite la permission CALENDAR.VIEW.
Entrée
Aucun. Envoyez un objet vide.
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/calendar-settings/get" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Update calendar settings
/api/v1/org/{organisationUUID}/calendar-settings/updateChanges how the organisation's calendar looks. Week labels are replaced as a whole: send every label to keep.
Nécessite la permission ORGANISATIONS_SETTINGS.UPDATE.
Entrée
Réponse
Retourne le CalendarSettings sous data.
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/calendar-settings/update" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Calendar feeds
Get the caller's calendar feed
/api/v1/org/{organisationUUID}/calendar-feeds/getReturns the caller's private calendar feed, if they have made one: what it holds and when it was last fetched. Its address is only shown when it's made.
Nécessite la permission CALENDAR.VIEW.
Entrée
Aucun. Envoyez un objet vide.
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/calendar-feeds/get" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Create the caller's calendar feed
/api/v1/org/{organisationUUID}/calendar-feeds/createCreates a private address the caller's calendar app (Google, Apple or Outlook) can subscribe to, holding their own projects or every project on the organisation's calendar. It replaces any feed they had, whose address stops working. The address is only returned now.
Nécessite la permission CALENDAR.VIEW.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/calendar-feeds/create" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Revoke the caller's calendar feed
/api/v1/org/{organisationUUID}/calendar-feeds/revokeStops the caller's calendar feed working. Calendar apps subscribed to it stop getting updates.
Nécessite la permission CALENDAR.VIEW.
Entrée
Aucun. Envoyez un objet vide.
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/calendar-feeds/revoke" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Dashboard
Get the caller's dashboard
/api/v1/org/{organisationUUID}/dashboard/getReturns the widgets on the caller's dashboard and what they hold: their own projects over the next two weeks, projects going out and coming back today, projects short of stock over the next 30 days, their maintenance jobs, open maintenance jobs, inspections overdue or due in the next two weeks, the inventory's value and mass, its value over the last year, the number of members and file storage used. Each widget is only there for callers who can see what it shows, and is null if they've hidden it.
Nécessite la permission DASHBOARD.VIEW.
Entrée
Aucun. Envoyez un objet vide.
Réponse
Retourne le Dashboard sous data.
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/dashboard/get" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Choose the caller's dashboard widgets
/api/v1/org/{organisationUUID}/dashboard/set-widgetsSets which widgets the caller hides from their dashboard. Every other widget they can see is shown, including ones added to AdamRMS later. It only changes the caller's own dashboard.
Nécessite la permission DASHBOARD.VIEW.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/dashboard/set-widgets" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"hidden":[]}'Wiki pages
List wiki pages
/api/v1/org/{organisationUUID}/wiki-pages/listReturns the organisation's wiki pages that the caller can see, without their content. Filter by text, to the sub-pages of one page, to top-level pages, or to the pages in the side menu. A page limited to some roles is only seen by their members and by those who can edit pages; to anyone else it is not found. Call wiki-pages.get for a page's content.
Nécessite la permission WIKI_PAGES.VIEW.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/wiki-pages/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Get a wiki page
/api/v1/org/{organisationUUID}/wiki-pages/getReturns one wiki page with its content: the newest revision, or an earlier one by number. A page limited to some roles is only seen by their members and by those who can edit pages; to anyone else it is not found.
Nécessite la permission WIKI_PAGES.VIEW.
Entrée
Réponse
Retourne le WikiPageWithContent sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
REVISION_NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/wiki-pages/get" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Create a wiki page
/api/v1/org/{organisationUUID}/wiki-pages/createCreates a wiki page with its first content, as revision 1. A page's content is a list of cards, each with Markdown text.
Nécessite la permission WIKI_PAGES.CREATE.
Entrée
Réponse
Retourne le WikiPageWithContent sous data.
Erreurs
Ainsi que les erreurs communes :
PLAN_LIMIT_REACHED 402
PARENT_NOT_FOUND 422
ROLE_NOT_FOUND 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/wiki-pages/create" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string"}'Update a wiki page's details
/api/v1/org/{organisationUUID}/wiki-pages/updateChanges a wiki page's title, description, icon, parent page, place in the side menu, which roles can see it, or whether it is archived. Fields that are omitted are left unchanged. To change its content, call wiki-pages.save.
Nécessite la permission WIKI_PAGES.UPDATE.
Entrée
Réponse
Retourne le WikiPage sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
CIRCULAR_REFERENCE 422
PARENT_NOT_FOUND 422
ROLE_NOT_FOUND 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/wiki-pages/update" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Move a wiki page up or down
/api/v1/org/{organisationUUID}/wiki-pages/moveMoves a wiki page one place up or down among its sibling pages, which sets its place in the side menu and in lists. New pages go to the end. Archived pages only move among archived pages.
Nécessite la permission WIKI_PAGES.UPDATE.
Entrée
Réponse
Retourne le WikiPage sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/wiki-pages/move" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string","direction":"string"}'Save a wiki page's content
/api/v1/org/{organisationUUID}/wiki-pages/saveReplaces a wiki page's cards, as a new revision. Earlier revisions are kept, and can be brought back with wiki-pages.restore-revision. Pass `baseRevision` to refuse the save if someone else has saved since.
Nécessite la permission WIKI_PAGES.UPDATE.
Entrée
Réponse
Retourne le WikiPageWithContent sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
CONFLICT 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/wiki-pages/save" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string","cards":[]}'List a wiki page's revisions
/api/v1/org/{organisationUUID}/wiki-pages/list-revisionsReturns the saved versions of a wiki page, newest first by default, with who saved each and their note. Call wiki-pages.get with a revision number for its content.
Nécessite la permission WIKI_PAGES.VIEW.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/wiki-pages/list-revisions" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Restore an earlier revision of a wiki page
/api/v1/org/{organisationUUID}/wiki-pages/restore-revisionBrings back the content of an earlier revision, by saving it again as a new revision. Nothing is lost: the revisions in between are kept.
Nécessite la permission WIKI_PAGES.UPDATE.
Entrée
Réponse
Retourne le WikiPageWithContent sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
REVISION_NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/wiki-pages/restore-revision" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string","revision":1}'Delete a wiki page
/api/v1/org/{organisationUUID}/wiki-pages/deleteSoft-deletes a wiki page. A page with sub-pages is refused until they are moved or deleted. A role that showed the page in place of its dashboard goes back to the usual dashboard.
Nécessite la permission WIKI_PAGES.DELETE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
HAS_SUB_PAGES 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/wiki-pages/delete" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Record a view of a wiki page
/api/v1/org/{organisationUUID}/wiki-pages/record-viewRecords that the caller opened a wiki page, for its view counts. Call it once each time a person opens the page, not when software reads it. Views are kept for 12 months.
Nécessite la permission WIKI_PAGES.VIEW.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/wiki-pages/record-view" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Count a wiki page's views
/api/v1/org/{organisationUUID}/wiki-pages/view-statsReturns how often a wiki page was viewed over the last days, and by how many members: in total, per day and by where it was viewed. Views are kept for 12 months.
Nécessite la permission WIKI_PAGES.VIEW_STATS.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/wiki-pages/view-stats" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'List a wiki page's views
/api/v1/org/{organisationUUID}/wiki-pages/list-viewsReturns who viewed a wiki page and when, newest first by default. Views are kept for 12 months.
Nécessite la permission WIKI_PAGES.VIEW_STATS.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/wiki-pages/list-views" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'List each role's dashboard
/api/v1/org/{organisationUUID}/wiki-pages/list-dashboardsReturns every role in the organisation, with the wiki page its members see in place of the dashboard, if one is set.
Nécessite la permission WIKI_PAGES.VIEW.
Entrée
Aucun. Envoyez un objet vide.
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/wiki-pages/list-dashboards" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Choose a role's dashboard
/api/v1/org/{organisationUUID}/wiki-pages/set-dashboardShows a wiki page to a role's members in place of the dashboard, or with null goes back to the usual dashboard. The page must be visible to the role.
Nécessite la permission WIKI_PAGES.SET_DASHBOARDS.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
ROLE_NOT_FOUND 404
NOT_VISIBLE 422
PAGE_NOT_FOUND 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/wiki-pages/set-dashboard" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"roleUUID":"string","pageUUID":"string"}'Get the caller's dashboard page
/api/v1/org/{organisationUUID}/wiki-pages/get-dashboardReturns the wiki page the caller's role shows in place of the dashboard, with its content, or null if the role has the usual dashboard.
Nécessite la permission WIKI_PAGES.VIEW.
Entrée
Aucun. Envoyez un objet vide.
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/wiki-pages/get-dashboard" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Asset groups
List asset groups
/api/v1/org/{organisationUUID}/asset-groups/listReturns the asset groups the caller can see: the organisation's shared groups and the caller's own personal groups, with how many assets each holds. Filter by name, or to the groups one asset is in. To list a group's assets, call assets.list with its groupUUID.
Nécessite la permission ASSET_GROUPS.VIEW.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/asset-groups/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Get an asset group
/api/v1/org/{organisationUUID}/asset-groups/getReturns one asset group. Another member's personal group is reported as not found.
Nécessite la permission ASSET_GROUPS.VIEW.
Entrée
Réponse
Retourne le AssetGroup sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/asset-groups/get" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Create an asset group
/api/v1/org/{organisationUUID}/asset-groups/createCreates an empty asset group, shared with the organisation or personal to the caller. Add assets to it with asset-groups.add-assets.
Nécessite la permission ASSET_GROUPS.CREATE.
Entrée
Réponse
Retourne le AssetGroup sous data.
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/asset-groups/create" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string"}'Update an asset group
/api/v1/org/{organisationUUID}/asset-groups/updateChanges an asset group's name, description, or whether it is personal. Fields that are omitted are left unchanged.
Nécessite la permission ASSET_GROUPS.UPDATE.
Entrée
Réponse
Retourne le AssetGroup sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/asset-groups/update" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Delete an asset group
/api/v1/org/{organisationUUID}/asset-groups/deleteSoft-deletes an asset group. The assets in it are not changed.
Nécessite la permission ASSET_GROUPS.DELETE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/asset-groups/delete" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Add assets to an asset group
/api/v1/org/{organisationUUID}/asset-groups/add-assetsAdds assets to an asset group. Assets already in it are left as they are. Fails without adding any if one of the assets doesn't exist.
Nécessite la permission ASSET_GROUPS.UPDATE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
ASSET_NOT_FOUND 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/asset-groups/add-assets" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string","assetUUIDs":[]}'Remove assets from an asset group
/api/v1/org/{organisationUUID}/asset-groups/remove-assetsTakes assets out of an asset group. The assets themselves are not changed. Assets that aren't in the group are ignored.
Nécessite la permission ASSET_GROUPS.UPDATE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/asset-groups/remove-assets" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string","assetUUIDs":[]}'Watch an asset group
/api/v1/org/{organisationUUID}/asset-groups/watchStarts the caller watching an asset group, so they are emailed when assets are added to it or taken out. Each member chooses which of those emails they get in their notification settings. Watching a group already watched changes nothing.
Nécessite la permission ASSET_GROUPS.VIEW.
Entrée
Réponse
Retourne le AssetGroup sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/asset-groups/watch" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Stop watching an asset group
/api/v1/org/{organisationUUID}/asset-groups/unwatchStops the caller watching an asset group, so they get no more emails about it. Changes nothing if they weren't watching it.
Nécessite la permission ASSET_GROUPS.VIEW.
Entrée
Réponse
Retourne le AssetGroup sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/asset-groups/unwatch" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Notifications
Email members
/api/v1/org/{organisationUUID}/notifications/sendEmails members of the organisation a short plain-text message, such as a reminder that a delivery is due, optionally linking to one record. The email says who sent it: the App, or the member. Members choose whether they get these emails, and can turn off one App's emails, so don't send anything a member must see. Sending is best effort: a failed email isn't reported.
Nécessite la permission ORGANISATIONS_USERS.SEND.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
RECORD_NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/notifications/send" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"recipientUUIDs":[],"subject":"string","message":"string"}'Label templates
List label templates
/api/v1/org/{organisationUUID}/label-templates/listReturns the organisation's label templates: how its asset and location labels look, with their size, sheet layout and elements.
Nécessite la permission LABEL_TEMPLATES.VIEW.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/label-templates/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Get a label template
/api/v1/org/{organisationUUID}/label-templates/getReturns one label template with its elements.
Nécessite la permission LABEL_TEMPLATES.VIEW.
Entrée
Réponse
Retourne le LabelTemplate sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/label-templates/get" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Create a label template
/api/v1/org/{organisationUUID}/label-templates/createCreates a label template: the label's size in millimetres, how labels sit on a sheet (or null for a roll or tape, such as a Brother label printer's), and the elements drawn on each label, positioned in millimetres from its top left corner. Every element must fit on the label, and fields must suit what the label is for. Names are unique, ignoring case.
Nécessite la permission LABEL_TEMPLATES.CREATE.
Entrée
Réponse
Retourne le LabelTemplate sous data.
Erreurs
Ainsi que les erreurs communes :
NAME_TAKEN 409
INVALID_ELEMENT 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/label-templates/create" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string","width":5,"height":5}'Update a label template
/api/v1/org/{organisationUUID}/label-templates/updateChanges a label template's name, size, sheet layout or elements. `elements` replaces every element. What a template is for (assets or locations) can't be changed. Fields that are omitted are left unchanged.
Nécessite la permission LABEL_TEMPLATES.UPDATE.
Entrée
Réponse
Retourne le LabelTemplate sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
NAME_TAKEN 409
INVALID_ELEMENT 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/label-templates/update" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Delete a label template
/api/v1/org/{organisationUUID}/label-templates/deleteSoft-deletes a label template. Labels already printed still scan, because they encode the asset or location, not the template.
Nécessite la permission LABEL_TEMPLATES.DELETE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/label-templates/delete" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Assets
List assets
/api/v1/org/{organisationUUID}/assets/listReturns the organisation's assets (the physical stock: individual units and bulk lots), paginated. Search matches any asset ID, the type's name and custom field text such as names and serial numbers. Archived assets are left out unless asked for.
Nécessite la permission ASSETS.VIEW.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/assets/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Get an asset
/api/v1/org/{organisationUUID}/assets/getReturns one asset with its asset IDs, effective custom field values, the cases it is in, what is kept in it, and the total mass and value of it and its contents.
Nécessite la permission ASSETS.VIEW.
Entrée
Réponse
Retourne le AssetDetail sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/assets/get" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Create assets
/api/v1/org/{organisationUUID}/assets/createCreates one or more assets of a type, each with its own asset ID: the IDs given, IDs counting up from a starting ID, or the next IDs from the organisation's sequence. For a bulk type each asset is a lot holding `quantity` items. Nothing is created if any ID is taken.
Nécessite la permission ASSETS.CREATE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
PLAN_LIMIT_REACHED 402
ID_TAKEN 409
ASSET_TYPE_NOT_FOUND 422
INVALID_CUSTOM_FIELDS 422
LOCATION_NOT_FOUND 422
MASS_UNIT_REQUIRED 422
PARENT_NOT_FOUND 422
PRICE_STRUCTURE_NOT_FOUND 422
QUANTITY_NOT_ALLOWED 422
STARTING_ID_HAS_NO_NUMBER 422
TOO_DEEP 422
WRONG_NUMBER_OF_IDS 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/assets/create" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assetTypeUUID":"string"}'Update an asset
/api/v1/org/{organisationUUID}/assets/updateChanges an asset: its own mass, value, rate or price structure (null falls back to the type's), where it is stored, the case it is kept in, and its custom field values. Fields that are omitted are left unchanged.
Nécessite la permission ASSETS.UPDATE.
Entrée
Réponse
Retourne le Asset sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
INVALID_CUSTOM_FIELDS 422
LOCATION_NOT_FOUND 422
MASS_UNIT_REQUIRED 422
PARENT_IS_SELF_OR_INSIDE 422
PARENT_NOT_FOUND 422
PRICE_STRUCTURE_NOT_FOUND 422
TOO_DEEP 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/assets/update" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Archive an asset
/api/v1/org/{organisationUUID}/assets/archiveArchives an asset that has been sold, lost or retired. It is kept, with its history, but hidden from lists and can't be booked.
Nécessite la permission ASSETS.ARCHIVE.
Entrée
Réponse
Retourne le Asset sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
ALREADY_ARCHIVED 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/assets/archive" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Unarchive an asset
/api/v1/org/{organisationUUID}/assets/unarchivePuts an archived asset back into use.
Nécessite la permission ASSETS.ARCHIVE.
Entrée
Réponse
Retourne le Asset sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
NOT_ARCHIVED 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/assets/unarchive" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Delete an asset
/api/v1/org/{organisationUUID}/assets/deleteSoft-deletes an asset, for one created by mistake (archive one that is sold or lost instead). Its asset IDs become free to reuse, and anything kept in it is taken out.
Nécessite la permission ASSETS.DELETE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/assets/delete" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Restore an asset
/api/v1/org/{organisationUUID}/assets/restoreRestores a deleted asset with the asset IDs it had. Refused if another asset has taken one of them since.
Nécessite la permission ASSETS.RESTORE.
Entrée
Réponse
Retourne le Asset sous data.
Erreurs
Ainsi que les erreurs communes :
PLAN_LIMIT_REACHED 402
NOT_FOUND 404
ID_TAKEN 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/assets/restore" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Adjust a lot's stock
/api/v1/org/{organisationUUID}/assets/adjust-stockAdds items to or takes items from a bulk lot, recording why. The lot's history keeps every change.
Nécessite la permission ASSETS.ADJUST_STOCK.
Entrée
Réponse
Retourne le Asset sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
STOCK_CHANGED 409
BELOW_ZERO 422
NOT_A_LOT 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/assets/adjust-stock" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string","delta":-1000000,"reason":"string"}'Get a lot's stock history
/api/v1/org/{organisationUUID}/assets/stock-historyReturns the changes to a bulk lot's quantity, newest first by default: the opening balance, purchases, write-offs, counts and so on.
Nécessite la permission ASSETS.VIEW.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
NOT_A_LOT 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/assets/stock-history" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Asset ids
Add an asset ID
/api/v1/org/{organisationUUID}/asset-ids/addAdds an asset ID to an asset, e.g. a manufacturer's barcode or a new label. With `makePrimary` it becomes the ID shown everywhere, and the old one still scans.
Nécessite la permission ASSETS.MANAGE_IDS.
Entrée
Réponse
Retourne le Asset sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
ID_TAKEN 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/asset-ids/add" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assetUUID":"string","value":"string"}'Remove an asset ID
/api/v1/org/{organisationUUID}/asset-ids/removeRemoves an asset ID from its asset, freeing it for reuse. An asset's last ID can't be removed; removing the primary ID makes the oldest remaining one primary.
Nécessite la permission ASSETS.MANAGE_IDS.
Entrée
Réponse
Retourne le Asset sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
LAST_ID 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/asset-ids/remove" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Make an asset ID primary
/api/v1/org/{organisationUUID}/asset-ids/set-primaryMakes an asset ID its asset's primary ID: the one shown in lists, on labels and on documents.
Nécessite la permission ASSETS.MANAGE_IDS.
Entrée
Réponse
Retourne le Asset sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/asset-ids/set-primary" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Find an asset by asset ID
/api/v1/org/{organisationUUID}/asset-ids/lookupReturns the live asset with an asset ID (ignoring case), for scanners and links. Any of an asset's IDs finds it.
Nécessite la permission ASSETS.VIEW.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/asset-ids/lookup" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"value":"string"}'Reserve asset IDs for blank labels
/api/v1/org/{organisationUUID}/asset-ids/reserveTakes the next free asset IDs from the organisation's sequence without giving them to an asset, so they can be printed as blank labels and stuck on later. New assets never get them from the sequence. Give one to an asset by scanning it, with `asset-ids.add`, or as an asset ID in `assets.create`.
Nécessite la permission ASSETS.MANAGE_IDS.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/asset-ids/reserve" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"count":1}'Asset settings
Get asset settings
/api/v1/org/{organisationUUID}/asset-settings/getReturns how new asset IDs are numbered.
Nécessite la permission ORGANISATIONS_SETTINGS.VIEW.
Entrée
Aucun. Envoyez un objet vide.
Réponse
Retourne le AssetSettings sous data.
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/asset-settings/get" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Update asset settings
/api/v1/org/{organisationUUID}/asset-settings/updateChanges how new asset IDs are numbered. IDs already given are not changed.
Nécessite la permission ORGANISATIONS_SETTINGS.UPDATE.
Entrée
Réponse
Retourne le AssetSettings sous data.
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/asset-settings/update" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Localisation settings
Get localisation settings
/api/v1/org/{organisationUUID}/localisation-settings/getReturns the currency the organisation hires in (and whether it can still change), its timezone, the language documents for clients are written in, and the unit system masses are shown in.
Nécessite la permission ORGANISATIONS_SETTINGS.VIEW.
Entrée
Aucun. Envoyez un objet vide.
Réponse
Retourne le LocalisationSettingsWithLock sous data.
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/localisation-settings/get" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Update localisation settings
/api/v1/org/{organisationUUID}/localisation-settings/updateChanges the organisation's currency, timezone, document language or unit system. Amounts already entered are not converted, so the currency can't change once projects have prices, quotes, invoices or payments.
Nécessite la permission ORGANISATIONS_SETTINGS.UPDATE.
Entrée
Réponse
Retourne le LocalisationSettingsWithLock sous data.
Erreurs
Ainsi que les erreurs communes :
CURRENCY_LOCKED 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/localisation-settings/update" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Security settings
Get security settings
/api/v1/org/{organisationUUID}/security-settings/getReturns which roles must use two-factor authentication, and how long members can go without using the organisation before they are signed out.
Nécessite la permission ORGANISATIONS_SETTINGS.VIEW.
Entrée
Aucun. Envoyez un objet vide.
Réponse
Retourne le SecuritySettings sous data.
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/security-settings/get" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Update security settings
/api/v1/org/{organisationUUID}/security-settings/updateChanges which roles must use two-factor authentication, or when idle members are signed out. Members of a role that now needs two-factor authentication can't use the organisation until they set it up.
Nécessite la permission ORGANISATIONS_SETTINGS.UPDATE.
Entrée
Réponse
Retourne le SecuritySettings sous data.
Erreurs
Ainsi que les erreurs communes :
ROLE_NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/security-settings/update" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Backups
Get the backup schedule
/api/v1/org/{organisationUUID}/backups/get-scheduleReturns the hour the organisation's database is backed up each day, and when the next backup runs.
Nécessite la permission ORGANISATIONS_SETTINGS.VIEW.
Entrée
Aucun. Envoyez un objet vide.
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/backups/get-schedule" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Set the backup schedule
/api/v1/org/{organisationUUID}/backups/set-scheduleBacks up the organisation's database every day at the given hour (UTC). Pick a quiet hour: members can't use the organisation while a backup runs.
Nécessite la permission ORGANISATIONS_SETTINGS.UPDATE.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/backups/set-schedule" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"hourUTC":0}'Back up now
/api/v1/org/{organisationUUID}/backups/createBacks up the organisation's database straight away. Members can't use the organisation for the few seconds it takes. The backup is saved in the `DATABASE_BACKUPS` file category.
Nécessite la permission ORGANISATIONS_SETTINGS.UPDATE.
Entrée
Aucun. Envoyez un objet vide.
Réponse
Erreurs
Ainsi que les erreurs communes :
BACKUP_FAILED 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/backups/create" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Audit logs
Read the audit log
/api/v1/org/{organisationUUID}/audit-logs/listReturns what happened in the organisation over the last 90 days, newest first: who did what, and what changed. Can show only one member's actions, or only the history of one record, such as a project. Reading the log is itself recorded in it.
Nécessite la permission AUDIT_LOGS.VIEW.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/audit-logs/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Public site
Get public site settings
/api/v1/org/{organisationUUID}/public-site/getReturns what the organisation's public site shows: whether it is on, the hire catalogue and which categories it shows, whether it shows prices, whether visitors can send enquiries (and the status and manager enquiry projects get), and whether crew vacancies are listed.
Nécessite la permission ORGANISATIONS_SETTINGS.VIEW.
Entrée
Aucun. Envoyez un objet vide.
Réponse
Retourne le PublicSiteSettings sous data.
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/public-site/get" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Update public site settings
/api/v1/org/{organisationUUID}/public-site/updateChanges what the organisation's public site shows. Anyone can open the public site without signing in, so turning it on, or showing prices, makes that information public.
Nécessite la permission ORGANISATIONS_SETTINGS.UPDATE.
Entrée
Réponse
Retourne le PublicSiteSettings sous data.
Erreurs
Ainsi que les erreurs communes :
CATEGORY_NOT_FOUND 404
PERSON_NOT_FOUND 404
STATUS_NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/public-site/update" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Search
Search the organisation
/api/v1/org/{organisationUUID}/search/queryFinds asset types, assets (by their tags and serial numbers), projects (by name, number or description), clients, locations, wiki pages and members (by name, email address or job title) whose name or text contains every word searched for. Only returns the kinds of record the caller may see, and only the wiki pages open to their role.
Nécessite la permission SEARCH.VIEW.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/search/query" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query":"string"}'Organisation details
Get the organisation's details
/api/v1/org/{organisationUUID}/organisation-details/getReturns the organisation's name, who members contact for help, and the address, phone, email, website and tax and company registration printed on documents for clients.
Nécessite la permission ORGANISATIONS_SETTINGS.VIEW.
Entrée
Aucun. Envoyez un objet vide.
Réponse
Retourne le OrganisationDetails sous data.
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/organisation-details/get" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Update the organisation's details
/api/v1/org/{organisationUUID}/organisation-details/updateChanges the organisation's name, support contact details, address, phone, email, website or tax and company registration. Fields left out keep their value; null clears one.
Nécessite la permission ORGANISATIONS_SETTINGS.UPDATE.
Entrée
Réponse
Retourne le OrganisationDetails sous data.
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/organisation-details/update" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Set the organisation's email header
/api/v1/org/{organisationUUID}/organisation-details/set-email-headerSets the image shown at the top of emails sent about the organisation, such as comment notifications and invitations, replacing any it had.
Nécessite la permission ORGANISATIONS_SETTINGS.UPDATE.
Entrée
Réponse
Retourne le OrganisationDetails sous data.
Erreurs
Ainsi que les erreurs communes :
INVALID_IMAGE 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/organisation-details/set-email-header" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"image":"string"}'Remove the organisation's email header
/api/v1/org/{organisationUUID}/organisation-details/remove-email-headerRemoves the organisation's email header. Emails sent about it then show the AdamRMS logo.
Nécessite la permission ORGANISATIONS_SETTINGS.UPDATE.
Entrée
Aucun. Envoyez un objet vide.
Réponse
Retourne le OrganisationDetails sous data.
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/organisation-details/remove-email-header" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Set the organisation's logo
/api/v1/org/{organisationUUID}/organisation-details/set-logoSets the logo shown in the navigation, on documents for clients such as quotes and invoices, and on labels, replacing any it had. A PNG or WebP keeps a transparent background.
Nécessite la permission ORGANISATIONS_SETTINGS.UPDATE.
Entrée
Réponse
Retourne le OrganisationDetails sous data.
Erreurs
Ainsi que les erreurs communes :
INVALID_IMAGE 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/organisation-details/set-logo" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"image":"string"}'Remove the organisation's logo
/api/v1/org/{organisationUUID}/organisation-details/remove-logoRemoves the organisation's logo. The navigation then shows the organisation's name.
Nécessite la permission ORGANISATIONS_SETTINGS.UPDATE.
Entrée
Aucun. Envoyez un objet vide.
Réponse
Retourne le OrganisationDetails sous data.
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/organisation-details/remove-logo" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Ai usage
Get the organisation's AdamRMS AI allowance
/api/v1/org/{organisationUUID}/ai-usage/get-allowanceReturns what the organisation's AdamRMS AI use this month is worth in its currency, what its plan includes, and whether members can still prompt AdamRMS AI. Once the allowance is used, AdamRMS AI stops until the next month.
Nécessite la permission AI_USAGE.VIEW.
Entrée
Aucun. Envoyez un objet vide.
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/ai-usage/get-allowance" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Price structures
List price structures
/api/v1/org/{organisationUUID}/price-structures/listReturns the organisation's price structures: the rules that turn the length of a hire into a multiple of an item's rate (e.g. 'Daily', '3-day week', 'Fixed'). One of them is the default.
Nécessite la permission PRICE_STRUCTURES.VIEW.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/price-structures/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Create a price structure
/api/v1/org/{organisationUUID}/price-structures/createCreates a price structure from a table of cumulative factors. A name already used by another price structure (ignoring case) is refused.
Nécessite la permission PRICE_STRUCTURES.CREATE.
Entrée
Réponse
Retourne le PriceStructure sous data.
Erreurs
Ainsi que les erreurs communes :
NAME_TAKEN 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/price-structures/create" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string","unit":"string","factors":[],"beyond":"string"}'Update a price structure
/api/v1/org/{organisationUUID}/price-structures/updateChanges a price structure, or makes it the default. Fields that are omitted are left unchanged. Prices already agreed on bookings keep the structure as it was when they were made.
Nécessite la permission PRICE_STRUCTURES.UPDATE.
Entrée
Réponse
Retourne le PriceStructure sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
DEFAULT_REQUIRED 409
NAME_TAKEN 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/price-structures/update" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Delete a price structure
/api/v1/org/{organisationUUID}/price-structures/deleteDeletes a price structure. The default structure can't be deleted: make another structure the default first. Nor can one that asset types, assets or client pricing entries use.
Nécessite la permission PRICE_STRUCTURES.DELETE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
IN_USE 409
IS_DEFAULT 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/price-structures/delete" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Tax rates
List tax rates
/api/v1/org/{organisationUUID}/tax-rates/listReturns the organisation's tax rates, such as 'Standard 20%' and 'Zero rated'. Prices are net, and each line on a project is taxed at its rate. One rate is the default, for anything without its own.
Nécessite la permission ORGANISATIONS_SETTINGS.VIEW.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/tax-rates/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Create a tax rate
/api/v1/org/{organisationUUID}/tax-rates/createCreates a tax rate at the end of the list. The organisation's first rate becomes the default. A name already used by another rate (ignoring case) is refused.
Nécessite la permission ORGANISATIONS_SETTINGS.UPDATE.
Entrée
Réponse
Retourne le TaxRate sous data.
Erreurs
Ainsi que les erreurs communes :
NAME_TAKEN 409
TOO_MANY 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/tax-rates/create" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string"}'Update a tax rate
/api/v1/org/{organisationUUID}/tax-rates/updateChanges a tax rate, or makes it the default. Fields that are omitted are left unchanged. Lines already on projects keep the rate they were priced at until their prices are refreshed.
Nécessite la permission ORGANISATIONS_SETTINGS.UPDATE.
Entrée
Réponse
Retourne le TaxRate sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
NAME_TAKEN 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/tax-rates/update" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Move a tax rate
/api/v1/org/{organisationUUID}/tax-rates/reorderMoves a tax rate to a new position in the list, which is the order pickers show them in.
Nécessite la permission ORGANISATIONS_SETTINGS.UPDATE.
Entrée
Réponse
Retourne le TaxRate sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/tax-rates/reorder" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string","sortOrder":0}'Delete a tax rate
/api/v1/org/{organisationUUID}/tax-rates/deleteDeletes a tax rate. Asset types, packages and services that used it go back to the default rate, and projects that overrode their tax with it stop overriding. Lines already on projects keep the rate they were priced at. Deleting the default makes the first remaining rate the default.
Nécessite la permission ORGANISATIONS_SETTINGS.UPDATE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/tax-rates/delete" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Add a country's tax rates
/api/v1/org/{organisationUUID}/tax-rates/add-presetAdds a ready-made set of tax rates, such as the UK's VAT rates. Rates with the same name as one the organisation has are skipped, and the tax name is set if it hasn't been.
Nécessite la permission ORGANISATIONS_SETTINGS.UPDATE.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/tax-rates/add-preset" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"preset":"string"}'Tax settings
Get tax settings
/api/v1/org/{organisationUUID}/tax-settings/getReturns what tax is called on the organisation's documents, such as 'VAT' or 'GST'.
Nécessite la permission ORGANISATIONS_SETTINGS.VIEW.
Entrée
Aucun. Envoyez un objet vide.
Réponse
Retourne le TaxSettings sous data.
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/tax-settings/get" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Update tax settings
/api/v1/org/{organisationUUID}/tax-settings/updateChanges what tax is called on the organisation's documents, such as 'VAT' or 'GST'.
Nécessite la permission ORGANISATIONS_SETTINGS.UPDATE.
Entrée
Réponse
Retourne le TaxSettings sous data.
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/tax-settings/update" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"taxName":"string"}'Services
List services
/api/v1/org/{organisationUUID}/services/listReturns the organisation's services: things it charges for that aren't stock, such as delivery, a technician day or PAT testing. Each can be added to a project as a priced line.
Nécessite la permission PROJECTS.VIEW.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/services/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Create a service
/api/v1/org/{organisationUUID}/services/createCreates a service. A name already used by another service (ignoring case) is refused. It can list the certifications crew charged as it need.
Nécessite la permission ORGANISATIONS_SETTINGS.UPDATE.
Entrée
Réponse
Retourne le Service sous data.
Erreurs
Ainsi que les erreurs communes :
PRICE_STRUCTURE_NOT_FOUND 404
TAX_RATE_NOT_FOUND 404
NAME_TAKEN 409
CERTIFICATION_TYPE_NOT_FOUND 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/services/create" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string"}'Update a service
/api/v1/org/{organisationUUID}/services/updateChanges a service. Fields that are omitted are left unchanged. Lines already on projects keep their price until their prices are refreshed.
Nécessite la permission ORGANISATIONS_SETTINGS.UPDATE.
Entrée
Réponse
Retourne le Service sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
PRICE_STRUCTURE_NOT_FOUND 404
TAX_RATE_NOT_FOUND 404
NAME_TAKEN 409
CERTIFICATION_TYPE_NOT_FOUND 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/services/update" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Delete a service
/api/v1/org/{organisationUUID}/services/deleteDeletes a service, so it can't be added to projects. Lines already on projects stay, with their price.
Nécessite la permission ORGANISATIONS_SETTINGS.UPDATE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/services/delete" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Crew roles
List crew roles
/api/v1/org/{organisationUUID}/crew-roles/listReturns the organisation's crew roles: roles it recruits for again and again, such as a lighting designer, each with what it involves. A crew vacancy can name one, and shows its description.
Nécessite la permission PROJECTS.VIEW.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/crew-roles/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Create a crew role
/api/v1/org/{organisationUUID}/crew-roles/createCreates a crew role, with a description that vacancies for it show. A name already used by another crew role (ignoring case) is refused.
Nécessite la permission ORGANISATIONS_SETTINGS.UPDATE.
Entrée
Réponse
Retourne le CrewRole sous data.
Erreurs
Ainsi que les erreurs communes :
NAME_TAKEN 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/crew-roles/create" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string"}'Update a crew role
/api/v1/org/{organisationUUID}/crew-roles/updateChanges a crew role. Fields that are omitted are left unchanged. Every vacancy for it shows the new description straight away.
Nécessite la permission ORGANISATIONS_SETTINGS.UPDATE.
Entrée
Réponse
Retourne le CrewRole sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
NAME_TAKEN 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/crew-roles/update" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Delete a crew role
/api/v1/org/{organisationUUID}/crew-roles/deleteDeletes a crew role, so new vacancies can't use it. Vacancies that used it stay, with their own description, but no longer show the crew role's.
Nécessite la permission ORGANISATIONS_SETTINGS.UPDATE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/crew-roles/delete" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Project templates
List project templates
/api/v1/org/{organisationUUID}/project-templates/listReturns the organisation's project templates: projects saved to start others from, each with the lines, crew roles and notes it adds. Start a project from one with projects.create and its templateUUID.
Nécessite la permission PROJECT_TEMPLATES.VIEW.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/project-templates/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Get a project template
/api/v1/org/{organisationUUID}/project-templates/getReturns a project template with the lines, crew roles and notes it adds to a project started from it.
Nécessite la permission PROJECT_TEMPLATES.VIEW.
Entrée
Réponse
Retourne le ProjectTemplate sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/project-templates/get" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Save a project as a template
/api/v1/org/{organisationUUID}/project-templates/createSaves a project's own lines, crew roles and notes as a template, with the project's type. Accessories and package contents come with their line, so aren't saved separately. Sub-hire, assets allocated, who is on the crew (and what their places charge), and the project's dates, client and prices aren't saved. A name already used by another template (ignoring case) is refused.
Nécessite la permission PROJECT_TEMPLATES.CREATE.
Entrée
Réponse
Retourne le ProjectTemplate sous data.
Erreurs
Ainsi que les erreurs communes :
PROJECT_NOT_FOUND 404
NAME_TAKEN 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/project-templates/create" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"projectUUID":"string","name":"string"}'Rename a project template
/api/v1/org/{organisationUUID}/project-templates/updateChanges a template's name or description. To change what it holds, save a project as a new template.
Nécessite la permission PROJECT_TEMPLATES.UPDATE.
Entrée
Réponse
Retourne le ProjectTemplate sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
NAME_TAKEN 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/project-templates/update" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Delete a project template
/api/v1/org/{organisationUUID}/project-templates/deleteDeletes a project template. Projects already started from it don't change.
Nécessite la permission PROJECT_TEMPLATES.DELETE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/project-templates/delete" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Project lines
List what's on a project
/api/v1/org/{organisationUUID}/project-lines/listReturns everything on a project's quote: asset types, assets, packages, services, charges and sub-hire, with what's allocated to each line, how much of each asset type is free over the project's dates, and the project's totals. Lines can be grouped, such as by category, with counts for each group of what's short or still to allocate. Ask for some groups only, or search and filter, to page through a project with thousands of lines.
Nécessite la permission PROJECT_ASSETS.VIEW.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/project-lines/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"projectUUID":"string"}'Add to a project
/api/v1/org/{organisationUUID}/project-lines/addAdds a line to a project, priced from the catalogue through the project's client pricing. An asset type brings its mandatory and default accessories under it, free. A package brings its contents. An asset is allocated straight away, with what's in it if it's a case. More of an asset type than is free can be added: the line shows a shortage.
Nécessite la permission PROJECT_ASSETS.UPDATE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
DESCRIPTION_REQUIRED 400
ASSET_NOT_FOUND 404
ASSET_TYPE_NOT_FOUND 404
CLIENT_NOT_FOUND 404
NOT_FOUND 404
PACKAGE_NOT_FOUND 404
SERVICE_NOT_FOUND 404
ALREADY_ON_PROJECT 409
ASSET_BLOCKED 409
ASSET_UNAVAILABLE 409
ASSETS_OFF 409
NOT_STOCK 409
TOO_MANY_FOR_LOT 409
WRONG_TYPE 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/project-lines/add" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"projectUUID":"string","kind":"string"}'Add an asset group to a project
/api/v1/org/{organisationUUID}/project-lines/add-groupAdds every asset in an asset group to a project, each on its own line and allocated, as adding each asset would. One of a lot is added; change its line's quantity for more. An asset that's blocked, out on another confirmed project at the same time, or already on this project is left out and listed, and the rest are still added.
Nécessite la permission PROJECT_ASSETS.UPDATE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
GROUP_NOT_FOUND 404
NOT_FOUND 404
ASSETS_OFF 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/project-lines/add-group" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"projectUUID":"string","groupUUID":"string"}'Change a line on a project
/api/v1/org/{organisationUUID}/project-lines/updateChanges a line's quantity, description, comment, discount, custom price, units, tax rate, cost or dates. Fields that are omitted are left unchanged. Changing what it charges needs permission to see prices.
Nécessite la permission PROJECT_ASSETS.UPDATE.
Entrée
Réponse
Retourne le ProjectLine sous data.
Erreurs
Ainsi que les erreurs communes :
LINE_NOT_FOUND 404
TAX_RATE_NOT_FOUND 404
BELOW_ALLOCATED 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/project-lines/update" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Remove a line from a project
/api/v1/org/{organisationUUID}/project-lines/removeRemoves a line from a project, with the lines under it (accessories, package contents and case contents) and their allocations. The assets are free for other projects again. A line on an issued invoice can't be removed until that invoice is credited; draft invoices lose it.
Nécessite la permission PROJECT_ASSETS.UPDATE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
LINE_NOT_FOUND 404
LINE_INVOICED 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/project-lines/remove" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Move a line on a project
/api/v1/org/{organisationUUID}/project-lines/reorderMoves a line among the lines next to it, which is the order it shows on the quote.
Nécessite la permission PROJECT_ASSETS.UPDATE.
Entrée
Réponse
Retourne le ProjectLine sous data.
Erreurs
Ainsi que les erreurs communes :
LINE_NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/project-lines/reorder" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string","sortOrder":0}'Refresh a project's prices
/api/v1/org/{organisationUUID}/project-lines/refresh-pricesCopies the catalogue's current rates, price structures, client pricing and tax rates onto a project's lines, or one line. Discounts, custom prices and units set on a line are kept. Prices are otherwise fixed when a line is added, so changing the catalogue never changes a project already priced.
Nécessite la permission PROJECT_ASSETS.UPDATE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
LINE_NOT_FOUND 404
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/project-lines/refresh-prices" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"projectUUID":"string"}'List assets free for a line
/api/v1/org/{organisationUUID}/project-lines/free-assetsReturns the assets of a line's asset type that are free for the line's dates, with where each is kept and when it's next due an inspection, and those that aren't free and why: on another confirmed project (and when it's back), on another line of this project, or blocked by maintenance. Use it to choose what to allocate.
Nécessite la permission PROJECT_ASSETS.VIEW.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
LINE_NOT_FOUND 404
NOT_STOCK 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/project-lines/free-assets" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"lineUUID":"string"}'Project allocations
Allocate an asset to a line
/api/v1/org/{organisationUUID}/project-allocations/allocatePuts a specific asset on a line of its asset type. An individual unit can't be on two confirmed projects whose dates overlap, or on one project twice, and a blocked one can't be booked. A lot can't give more than it has free.
Nécessite la permission PROJECT_ASSETS.UPDATE.
Entrée
Réponse
Retourne le ProjectLine sous data.
Erreurs
Ainsi que les erreurs communes :
ASSET_NOT_FOUND 404
LINE_NOT_FOUND 404
ALREADY_ON_PROJECT 409
ASSET_BLOCKED 409
ASSET_UNAVAILABLE 409
NOT_STOCK 409
TOO_MANY_FOR_LOT 409
WRONG_TYPE 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/project-allocations/allocate" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"lineUUID":"string","assetUUID":"string"}'Allocate several assets to a line
/api/v1/org/{organisationUUID}/project-allocations/allocate-manyPuts several assets on a line of their asset type at once, such as the free ones project-lines.free-assets lists. Each is checked as allocating it alone would be: one that's blocked, on another confirmed project at the same time or already on this project is left out and listed, and the rest are still allocated.
Nécessite la permission PROJECT_ASSETS.UPDATE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
LINE_NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/project-allocations/allocate-many" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"lineUUID":"string","assets":[]}'Take an asset off a line
/api/v1/org/{organisationUUID}/project-allocations/releaseTakes an allocated asset off its line, with anything allocated because it's in it. The line stays, with fewer allocated.
Nécessite la permission PROJECT_ASSETS.UPDATE.
Entrée
Réponse
Retourne le ProjectLine sous data.
Erreurs
Ainsi que les erreurs communes :
ALLOCATION_NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/project-allocations/release" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"allocationUUID":"string"}'Mark an asset prepped, out or back
/api/v1/org/{organisationUUID}/project-allocations/set-progressMarks an allocated asset prepped, sent out or back by hand, as scanning in a project's session does, and records how many of it didn't come back. Taking a mark off takes the later ones off too. Anything packed in it gets the same marks.
Nécessite la permission PROJECT_ASSETS.UPDATE.
Entrée
Réponse
Retourne le ProjectLine sous data.
Erreurs
Ainsi que les erreurs communes :
ALLOCATION_NOT_FOUND 404
NOT_DISPATCHED 409
TOO_MANY_MISSING 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/project-allocations/set-progress" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"allocationUUID":"string"}'Swap an allocated asset
/api/v1/org/{organisationUUID}/project-allocations/swapPuts another asset of the same type in an allocation's place, such as when one fails in prep. Its prep, dispatch and return are cleared.
Nécessite la permission PROJECT_ASSETS.UPDATE.
Entrée
Réponse
Retourne le ProjectLine sous data.
Erreurs
Ainsi que les erreurs communes :
ALLOCATION_NOT_FOUND 404
ASSET_NOT_FOUND 404
ALREADY_ON_PROJECT 409
ASSET_BLOCKED 409
ASSET_UNAVAILABLE 409
NOT_STOCK 409
TOO_MANY_FOR_LOT 409
WRONG_TYPE 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/project-allocations/swap" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"allocationUUID":"string","assetUUID":"string"}'Sub hires
Add or change a sub-hire
/api/v1/org/{organisationUUID}/sub-hires/setRecords stock hired in from a supplier to fill a line, such as 20 more LED pars from another hire company. What's hired in counts as stock for that line only.
Nécessite la permission PROJECT_ASSETS.UPDATE.
Entrée
Réponse
Retourne le ProjectLine sous data.
Erreurs
Ainsi que les erreurs communes :
CLIENT_NOT_FOUND 404
LINE_NOT_FOUND 404
SUB_HIRE_NOT_FOUND 404
NOT_STOCK 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/sub-hires/set" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"lineUUID":"string","quantity":1}'Remove a sub-hire
/api/v1/org/{organisationUUID}/sub-hires/removeRemoves a sub-hire from its line. The line stays.
Nécessite la permission PROJECT_ASSETS.UPDATE.
Entrée
Réponse
Retourne le ProjectLine sous data.
Erreurs
Ainsi que les erreurs communes :
SUB_HIRE_NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/sub-hires/remove" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Availability
Check availability
/api/v1/org/{organisationUUID}/availability/checkReturns how much of each asset type is free over a period, or for a project: total stock, what's booked on confirmed projects, what's held on provisional ones and what maintenance blocks.
Nécessite la permission ASSETS.VIEW.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/availability/check" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assetTypeUUIDs":[]}'Client pricing
List client pricing
/api/v1/org/{organisationUUID}/client-pricing/listReturns the organisation's client pricing: named alternative prices, such as 'Trade' or 'Dry hire', that a client's projects can use instead of catalogue prices.
Nécessite la permission CLIENT_PRICING.VIEW.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/client-pricing/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Get client pricing
/api/v1/org/{organisationUUID}/client-pricing/getReturns one client pricing with its entries: the prices it sets for particular asset types and categories.
Nécessite la permission CLIENT_PRICING.VIEW.
Entrée
Réponse
Retourne le ClientPricingDetail sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/client-pricing/get" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Create client pricing
/api/v1/org/{organisationUUID}/client-pricing/createCreates client pricing, optionally with a percentage applied to everything it has no entry for. A name already used by another client pricing (ignoring case) is refused.
Nécessite la permission CLIENT_PRICING.CREATE.
Entrée
Réponse
Retourne le ClientPricing sous data.
Erreurs
Ainsi que les erreurs communes :
NAME_TAKEN 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/client-pricing/create" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string"}'Update client pricing
/api/v1/org/{organisationUUID}/client-pricing/updateChanges client pricing's name, description, percentage or dates. Fields that are omitted are left unchanged. Prices already agreed on projects don't change.
Nécessite la permission CLIENT_PRICING.UPDATE.
Entrée
Réponse
Retourne le ClientPricing sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
NAME_TAKEN 409
DATES_OUT_OF_ORDER 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/client-pricing/update" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Delete client pricing
/api/v1/org/{organisationUUID}/client-pricing/deleteDeletes client pricing. Clients that used it go back to catalogue prices; prices already agreed on projects don't change.
Nécessite la permission CLIENT_PRICING.DELETE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/client-pricing/delete" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Set client pricing's price for a type or category
/api/v1/org/{organisationUUID}/client-pricing/set-entrySets the price a list charges for one asset type (a fixed rate or a percentage) or for every type in a category (a percentage), and optionally a different price structure. Replaces the list's existing entry for that type or category.
Nécessite la permission CLIENT_PRICING.UPDATE.
Entrée
Réponse
Retourne le ClientPricingEntry sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
ASSET_TYPE_NOT_FOUND 422
CATEGORY_NOT_FOUND 422
PRICE_STRUCTURE_NOT_FOUND 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/client-pricing/set-entry" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"clientPricingUUID":"string"}'Remove client pricing entry
/api/v1/org/{organisationUUID}/client-pricing/remove-entryRemoves one entry from client pricing, so that type or category is priced by the next entry up the category tree, or the list's own percentage.
Nécessite la permission CLIENT_PRICING.UPDATE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/client-pricing/remove-entry" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Prices
Preview prices
/api/v1/org/{organisationUUID}/prices/previewWorks out what an asset type, or one asset, costs to hire for given lengths of hire, from the catalogue or through client pricing. Returns the rate, where it came from, the price structure and a price per length.
Nécessite la permission ASSET_TYPES.VIEW.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
ASSET_NOT_FOUND 404
ASSET_TYPE_NOT_FOUND 404
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/prices/preview" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Custom fields
List custom fields
/api/v1/org/{organisationUUID}/custom-fields/listReturns the custom fields defined for a record type (assets), in the order they appear on the form, with their type, settings and whether they are required.
Nécessite la permission CUSTOM_FIELDS.VIEW.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/custom-fields/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Create a custom field
/api/v1/org/{organisationUUID}/custom-fields/createAdds a custom field to a record type's form, after the existing fields. A field can be used by every asset type or only chosen ones. It can be optional, required on every record, or required only for records in chosen asset categories (and their subcategories). Settings that don't apply to the field's type are ignored. At most 100 fields per record type.
Nécessite la permission CUSTOM_FIELDS.CREATE.
Entrée
Réponse
Retourne le CustomField sous data.
Erreurs
Ainsi que les erreurs communes :
LIMIT_REACHED 409
ASSET_TYPE_NOT_FOUND 422
CATEGORY_NOT_FOUND 422
INVALID_SETTINGS 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/custom-fields/create" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string","type":"string"}'Update a custom field
/api/v1/org/{organisationUUID}/custom-fields/updateChanges a custom field's name, help text, requirement or settings. The type can't be changed. Fields that are omitted are left unchanged. Stored values are not re-checked until their record is next saved.
Nécessite la permission CUSTOM_FIELDS.UPDATE.
Entrée
Réponse
Retourne le CustomField sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
ASSET_TYPE_NOT_FOUND 422
CATEGORY_NOT_FOUND 422
INVALID_SETTINGS 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/custom-fields/update" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Reorder a custom field
/api/v1/org/{organisationUUID}/custom-fields/reorderMoves a custom field to a new position on the form and renumbers the others to match.
Nécessite la permission CUSTOM_FIELDS.UPDATE.
Entrée
Réponse
Retourne le CustomField sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/custom-fields/reorder" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string","sortOrder":0}'Delete a custom field
/api/v1/org/{organisationUUID}/custom-fields/deleteSoft-deletes a custom field. It disappears from forms and records, and stops being required.
Nécessite la permission CUSTOM_FIELDS.DELETE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/custom-fields/delete" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Comments
List comments on a record
/api/v1/org/{organisationUUID}/comments/listReturns the comments on one record, oldest first. Archived comments are left out unless asked for.
Nécessite la permission COMMENTS.VIEW.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/comments/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"recordType":"string","recordUuid":"string"}'List my comments
/api/v1/org/{organisationUUID}/comments/list-mineReturns comments assigned to the caller, written by them, or mentioning them, newest first, across every record they can see.
Nécessite la permission COMMENTS.VIEW.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/comments/list-mine" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"filter":"string"}'Get a comment
/api/v1/org/{organisationUUID}/comments/getReturns one comment, including archived ones.
Nécessite la permission COMMENTS.VIEW.
Entrée
Réponse
Retourne le Comment sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/comments/get" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'List people to mention
/api/v1/org/{organisationUUID}/comments/peopleReturns the organisation's members by name and UUID, for mentioning in or assigning a comment.
Nécessite la permission COMMENTS.VIEW.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/comments/people" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Comment on a record
/api/v1/org/{organisationUUID}/comments/createAdds a comment to a record, optionally assigning it to someone as a task and attaching files that have already been uploaded. Everyone mentioned, and the assignee, is emailed a link to it. Mentioning or assigning someone who cannot see the record is refused.
Nécessite la permission COMMENTS.VIEW.
Entrée
Réponse
Retourne le Comment sous data.
Erreurs
Ainsi que les erreurs communes :
ATTACHMENT_NOT_FOUND 422
PERSON_CANNOT_VIEW 422
PERSON_NOT_FOUND 422
RECORD_NOT_FOUND 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/comments/create" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"recordType":"string","recordUuid":"string","body":"string"}'Edit a comment
/api/v1/org/{organisationUUID}/comments/updateChanges a comment's text, attachments or assignee. Only the author can change the text and attachments. People newly mentioned, and a new assignee, are emailed a link to it.
Nécessite la permission COMMENTS.VIEW.
Entrée
Réponse
Retourne le Comment sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_AUTHOR 403
NOT_FOUND 404
ATTACHMENT_NOT_FOUND 422
PERSON_CANNOT_VIEW 422
PERSON_NOT_FOUND 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/comments/update" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Resolve or reopen a comment
/api/v1/org/{organisationUUID}/comments/resolveMarks a comment resolved, or reopens it. Its author and its assignee can always do this.
Nécessite la permission COMMENTS.VIEW.
Entrée
Réponse
Retourne le Comment sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/comments/resolve" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Archive or restore a comment
/api/v1/org/{organisationUUID}/comments/archiveArchives a comment, hiding it from lists unless archived comments are asked for, or restores it. Its author can always do this.
Nécessite la permission COMMENTS.VIEW.
Entrée
Réponse
Retourne le Comment sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/comments/archive" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Icons
List uploaded icons
/api/v1/org/{organisationUUID}/icons/listReturns the icons the organisation has uploaded. Any of them can be chosen for an asset category as `custom:<uuid>`, as can any Tabler icon as `tabler:<name>`.
Nécessite la permission ASSET_CATEGORIES.VIEW.
Entrée
Aucun. Envoyez un objet vide.
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/icons/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Upload an icon
/api/v1/org/{organisationUUID}/icons/createUploads an SVG, PNG or WebP image as an icon the organisation can choose for its asset categories. An organisation can have at most 200 icons.
Nécessite la permission ASSET_CATEGORIES.UPDATE.
Entrée
Réponse
Retourne le Icon sous data.
Erreurs
Ainsi que les erreurs communes :
LIMIT_REACHED 409
INVALID_IMAGE 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/icons/create" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string","contentType":"string","content":"string"}'Delete an uploaded icon
/api/v1/org/{organisationUUID}/icons/deleteDeletes an uploaded icon. Asset categories that were using it are left without an icon.
Nécessite la permission ASSET_CATEGORIES.UPDATE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/icons/delete" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Invitations
List pending invitations
/api/v1/org/{organisationUUID}/invitations/listReturns the invitations to join the organisation that have been sent and not yet accepted or revoked, including expired ones.
Nécessite la permission ORGANISATIONS_USERS.VIEW.
Entrée
Aucun. Envoyez un objet vide.
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/invitations/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Invite someone by email
/api/v1/org/{organisationUUID}/invitations/createEmails a link that lets the recipient join the organisation with the given role, creating an account first if they need one. The link works once, for 14 days. An organisation can send at most 50 invitations in any 24 hours.
Nécessite la permission ORGANISATIONS_USERS.CREATE.
Entrée
Réponse
Retourne le Invitation sous data.
Erreurs
Ainsi que les erreurs communes :
ROLE_NOT_FOUND 404
ALREADY_INVITED 409
ALREADY_MEMBER 409
EMAIL_FAILED 422
RATE_LIMITED 429
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/invitations/create" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"email":"string","roleUUID":"string"}'Resend an invitation
/api/v1/org/{organisationUUID}/invitations/resendSends the invitation email again with a new link, valid for another 14 days. Links in earlier emails stop working. An invitation can be sent at most 3 times.
Nécessite la permission ORGANISATIONS_USERS.CREATE.
Entrée
Réponse
Retourne le Invitation sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
SEND_LIMIT_REACHED 409
EMAIL_FAILED 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/invitations/resend" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Revoke an invitation
/api/v1/org/{organisationUUID}/invitations/revokeCancels a pending invitation, so its link no longer works. Does not affect anyone who has already joined.
Nécessite la permission ORGANISATIONS_USERS.CREATE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/invitations/revoke" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Members
List members
/api/v1/org/{organisationUUID}/members/listReturns the organisation's members, with their role and whether they hold a licence. Removed members are included on request.
Nécessite la permission ORGANISATIONS_USERS.VIEW.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/members/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Change a member's role
/api/v1/org/{organisationUUID}/members/change-roleGives a member a different role. The organisation must keep at least one administrator, and the billing contact must stay an administrator.
Nécessite la permission ORGANISATIONS_USERS.UPDATE.
Entrée
Réponse
Retourne le Member sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
ROLE_NOT_FOUND 404
BILLING_CONTACT 409
LAST_ADMINISTRATOR 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/members/change-role" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"userUuid":"string","roleUUID":"string"}'Remove a member
/api/v1/org/{organisationUUID}/members/removeRemoves a member from the organisation and frees their licence. Their history is kept, and they can be restored. Give `at` to remove them on a date instead, such as the end of their contract: they keep their access until then. You cannot remove yourself or the last administrator.
Nécessite la permission ORGANISATIONS_USERS.DELETE.
Entrée
Réponse
Retourne le Member sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
CANNOT_REMOVE_SELF 409
LAST_ADMINISTRATOR 409
NOT_IN_FUTURE 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/members/remove" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"userUuid":"string"}'Restore a removed member
/api/v1/org/{organisationUUID}/members/restoreAdds a removed member back to the organisation, with their previous role unless another is given. A licence is assigned if one is free.
Nécessite la permission ORGANISATIONS_USERS.RESTORE.
Entrée
Réponse
Retourne le Member sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
ROLE_NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/members/restore" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"userUuid":"string"}'Cancel a member's removal
/api/v1/org/{organisationUUID}/members/cancel-removalKeeps a member who was set to be removed on a date, so they stay in the organisation.
Nécessite la permission ORGANISATIONS_USERS.DELETE.
Entrée
Réponse
Retourne le Member sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/members/cancel-removal" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"userUuid":"string"}'Get a member
/api/v1/org/{organisationUUID}/members/getReturns one member, current or removed, with their role, job title, licence and when they joined.
Nécessite la permission ORGANISATIONS_USERS.VIEW.
Entrée
Réponse
Retourne le MemberProfile sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/members/get" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"userUuid":"string"}'Who am I
/api/v1/org/{organisationUUID}/members/meReturns the member making the call (their name, email address, role and licence), the organisation it is in, and every permission they hold there. Any member can call it, whatever their role.
Tout membre peut l'appeler, quel que soit son rôle.
Entrée
Aucun. Envoyez un objet vide.
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/members/me" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Edit a member
/api/v1/org/{organisationUUID}/members/updateChanges a member's job title in the organisation.
Nécessite la permission ORGANISATIONS_USERS.UPDATE.
Entrée
Réponse
Retourne le Member sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/members/update" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"userUuid":"string","jobTitle":"string"}'Licences
List licences
/api/v1/org/{organisationUUID}/licences/listReturns every licence the organisation has, whether it comes with the plan or is extra, and which member holds it. Members without a licence can't use the organisation.
Nécessite la permission ORGANISATIONS_LICENCES.VIEW.
Entrée
Aucun. Envoyez un objet vide.
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/licences/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Give a member a licence
/api/v1/org/{organisationUUID}/licences/assignGives a free licence to a member who doesn't have one, so they can use the organisation. Licences that come with the plan are used first. Once given, a licence can't be taken back for a day.
Nécessite la permission ORGANISATIONS_LICENCES.UPDATE.
Entrée
Réponse
Retourne le Licence sous data.
Erreurs
Ainsi que les erreurs communes :
MEMBER_NOT_FOUND 404
ALREADY_LICENSED 409
NO_LICENCES_LEFT 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/licences/assign" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"userUuid":"string"}'Take back a licence
/api/v1/org/{organisationUUID}/licences/unassignTakes a licence back from its member, so it is free to give to someone else. The member can't use the organisation until they have a licence again. A licence can't be taken back for a day after it was given.
Nécessite la permission ORGANISATIONS_LICENCES.UPDATE.
Entrée
Réponse
Retourne le Licence sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
RECENTLY_ASSIGNED 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/licences/unassign" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"licenceUuid":"string"}'Files
List files
/api/v1/org/{organisationUUID}/files/listReturns the organisation's files and links, newest first unless asked otherwise, optionally in one category or matching a name. Can list the trash instead.
Nécessite la permission ORGANISATION_FILES.VIEW.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/files/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Rename a file
/api/v1/org/{organisationUUID}/files/renameChanges the display name of a file or link. Files in some categories, such as invoices, can't be renamed.
Nécessite la permission ORGANISATION_FILES.UPDATE.
Entrée
Réponse
Retourne le OrganisationFile sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
NOT_ALLOWED_IN_CATEGORY 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/files/rename" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string","name":"string"}'Move a file to the trash
/api/v1/org/{organisationUUID}/files/deleteMoves a file or link to the trash. It can be restored for 30 days, then it is deleted for good. Files in some categories, such as invoices, can't be deleted.
Nécessite la permission ORGANISATION_FILES.DELETE.
Entrée
Réponse
Retourne le OrganisationFile sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
NOT_ALLOWED_IN_CATEGORY 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/files/delete" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Restore a file from the trash
/api/v1/org/{organisationUUID}/files/restoreTakes a file or link out of the trash. It counts towards the plan's file allowances again, so it must fit them.
Nécessite la permission ORGANISATION_FILES.DELETE.
Entrée
Réponse
Retourne le OrganisationFile sous data.
Erreurs
Ainsi que les erreurs communes :
PLAN_LIMIT_REACHED 402
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/files/restore" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Add a link
/api/v1/org/{organisationUUID}/files/add-linkAdds a link to a web address to one of the organisation's file categories, such as a venue's tech spec. Links count towards the plan's file allowance.
Nécessite la permission ORGANISATION_FILES.CREATE.
Entrée
Réponse
Retourne le OrganisationFile sous data.
Erreurs
Ainsi que les erreurs communes :
PLAN_LIMIT_REACHED 402
NOT_ALLOWED_IN_CATEGORY 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/files/add-link" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"category":"string","name":"string","url":"string"}'Start uploading a file
/api/v1/org/{organisationUUID}/files/start-uploadChecks a file can be added to a category (its type and size, and the organisation's storage allowance) and returns a private URL to PUT its bytes to. Large files are sent in parts. The file appears once `files.finish-upload` is called. To add a file to a record, such as a location, use `attachments.start-upload` instead.
Nécessite la permission ORGANISATION_FILES.CREATE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
PLAN_LIMIT_REACHED 402
NOT_ALLOWED_IN_CATEGORY 409
FILE_TOO_LARGE 422
FILE_TYPE_NOT_ACCEPTED 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/files/start-upload" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"category":"string","fileName":"string","contentType":"string","sizeBytes":0}'Finish uploading a file
/api/v1/org/{organisationUUID}/files/finish-uploadCompletes an upload begun with `files.start-upload` once its bytes have been sent, and adds the file to its category.
Nécessite la permission ORGANISATION_FILES.CREATE.
Entrée
Réponse
Retourne le OrganisationFile sous data.
Erreurs
Ainsi que les erreurs communes :
PLAN_LIMIT_REACHED 402
UPLOAD_NOT_FOUND 404
UPLOAD_INCOMPLETE 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/files/finish-upload" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uploadToken":"string"}'Roles
List roles
/api/v1/org/{organisationUUID}/roles/listReturns the organisation's roles - the built-in Administrator, Editor and Viewer, and its own custom roles - with the permissions each gives and how many members have it.
Nécessite la permission ORGANISATIONS_PERMISSIONS.VIEW.
Entrée
Aucun. Envoyez un objet vide.
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/roles/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Reorder custom roles
/api/v1/org/{organisationUUID}/roles/reorderSets the order custom roles are listed in, wherever roles are listed or chosen. Built-in roles always come first.
Nécessite la permission ORGANISATIONS_PERMISSIONS.UPDATE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/roles/reorder" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuids":[]}'Create a custom role
/api/v1/org/{organisationUUID}/roles/createCreates a role with the given permissions, which members can then be given.
Nécessite la permission ORGANISATIONS_PERMISSIONS.CREATE.
Entrée
Réponse
Retourne le Role sous data.
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/roles/create" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string"}'Update a custom role
/api/v1/org/{organisationUUID}/roles/updateRenames a custom role and replaces its permissions. Takes effect immediately for every member with the role. Built-in roles cannot be changed.
Nécessite la permission ORGANISATIONS_PERMISSIONS.UPDATE.
Entrée
Réponse
Retourne le Role sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
BUILT_IN_ROLE 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/roles/update" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string","name":"string"}'Delete a custom role
/api/v1/org/{organisationUUID}/roles/deleteDeletes a custom role. Members must be moved to another role first. Built-in roles cannot be deleted.
Nécessite la permission ORGANISATIONS_PERMISSIONS.DELETE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
ROLE_IN_USE 409
BUILT_IN_ROLE 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/roles/delete" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Webhooks
List webhooks
/api/v1/org/{organisationUUID}/webhooks/listReturns the organisation's webhooks: where each sends events, which events, whether it is on, and how its latest event went.
Nécessite la permission WEBHOOKS.VIEW.
Entrée
Aucun. Envoyez un objet vide.
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/webhooks/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Create a webhook
/api/v1/org/{organisationUUID}/webhooks/createMakes a webhook: AdamRMS POSTs a signed JSON event to the address each time one of the chosen functions changes something, such as `clients.create`. Events are signed as Standard Webhooks describes (`webhook-id`, `webhook-timestamp` and `webhook-signature` headers), with the secret returned here, which is shown only once. Failed deliveries are retried for about three days. The webhook acts for the member who makes it: it is only sent events about records they can see, and every event type must be one they can see now.
Nécessite la permission WEBHOOKS.CREATE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
EVENT_NOT_READABLE 403
LIMIT_REACHED 409
SECRETS_UNAVAILABLE 422
UNKNOWN_EVENT 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/webhooks/create" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"string","events":[]}'Edit a webhook
/api/v1/org/{organisationUUID}/webhooks/updateChanges a webhook's address, events or description, or turns it off or back on. Events waiting to be sent while it is off are not sent.
Nécessite la permission WEBHOOKS.UPDATE.
Entrée
Réponse
Retourne le Webhook sous data.
Erreurs
Ainsi que les erreurs communes :
EVENT_NOT_READABLE 403
NOT_FOUND 404
UNKNOWN_EVENT 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/webhooks/update" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Delete a webhook
/api/v1/org/{organisationUUID}/webhooks/deleteDeletes a webhook. Nothing more is sent to it, including events still waiting to be retried.
Nécessite la permission WEBHOOKS.DELETE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/webhooks/delete" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'List a webhook's deliveries
/api/v1/org/{organisationUUID}/webhooks/deliveriesThe events sent to a webhook in the last 30 days, newest first: each one's ID (`webhook-id`), type, whether it was delivered, how many attempts it took, the latest status code and error, and when it will next be tried.
Nécessite la permission WEBHOOKS.VIEW.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/webhooks/deliveries" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Join codes
List join codes
/api/v1/org/{organisationUUID}/join-codes/listReturns the organisation's join codes, active or not, with the role and job title each one gives and how many people have joined with it.
Nécessite la permission ORGANISATIONS_JOIN_METHODS.VIEW.
Entrée
Aucun. Envoyez un objet vide.
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/join-codes/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Create a join code
/api/v1/org/{organisationUUID}/join-codes/createCreates a code that anyone can use - typed in, or as a link or QR code - to join the organisation with the given role and job title, creating an account first if they need one. Codes are unique across AdamRMS.
Nécessite la permission ORGANISATIONS_JOIN_METHODS.CREATE.
Entrée
Réponse
Retourne le JoinCode sous data.
Erreurs
Ainsi que les erreurs communes :
ROLE_EXCEEDS_PERMISSIONS 403
ROLE_NOT_FOUND 404
CODE_TAKEN 409
ADMINISTRATOR_ROLE 422
RATE_LIMITED 429
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/join-codes/create" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"code":"string","roleUUID":"string"}'Edit a join code
/api/v1/org/{organisationUUID}/join-codes/updateTurns a join code on or off, or changes the role and job title it gives and its notes. An inactive code cannot be used to join. Changing the job title doesn't change it for people who already joined.
Nécessite la permission ORGANISATIONS_JOIN_METHODS.UPDATE.
Entrée
Réponse
Retourne le JoinCode sous data.
Erreurs
Ainsi que les erreurs communes :
ROLE_EXCEEDS_PERMISSIONS 403
NOT_FOUND 404
ROLE_NOT_FOUND 404
ADMINISTRATOR_ROLE 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/join-codes/update" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"code":"string"}'Delete a join code
/api/v1/org/{organisationUUID}/join-codes/deleteDeletes a join code. Anyone who already joined with it stays a member.
Nécessite la permission ORGANISATIONS_JOIN_METHODS.DELETE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/join-codes/delete" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"code":"string"}'Email domains
List auto-join email domains
/api/v1/org/{organisationUUID}/email-domains/listReturns the email domains whose users can join the organisation, and the role each one gives.
Nécessite la permission ORGANISATIONS_JOIN_METHODS.VIEW.
Entrée
Aucun. Envoyez un objet vide.
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/email-domains/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Add an auto-join email domain
/api/v1/org/{organisationUUID}/email-domains/createLets anyone with a verified email address at the domain join the organisation with the given role.
Nécessite la permission ORGANISATIONS_JOIN_METHODS.CREATE.
Entrée
Réponse
Retourne le EmailDomain sous data.
Erreurs
Ainsi que les erreurs communes :
ROLE_EXCEEDS_PERMISSIONS 403
ROLE_NOT_FOUND 404
DOMAIN_EXISTS 409
ADMINISTRATOR_ROLE 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/email-domains/create" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"domain":"string","roleUUID":"string"}'Turn an auto-join email domain on or off
/api/v1/org/{organisationUUID}/email-domains/updateActivates or deactivates an email domain. While inactive, nobody can join through it.
Nécessite la permission ORGANISATIONS_JOIN_METHODS.UPDATE.
Entrée
Réponse
Retourne le EmailDomain sous data.
Erreurs
Ainsi que les erreurs communes :
ROLE_EXCEEDS_PERMISSIONS 403
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/email-domains/update" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"domain":"string","active":false}'Remove an auto-join email domain
/api/v1/org/{organisationUUID}/email-domains/deleteRemoves an email domain. Anyone who already joined through it stays a member.
Nécessite la permission ORGANISATIONS_JOIN_METHODS.DELETE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/email-domains/delete" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"domain":"string"}'Single sign on
Get single sign-on settings
/api/v1/org/{organisationUUID}/single-sign-on/getReturns the organisation's SAML single sign-on: the identity provider it trusts, whether members must use it, its email domains, and the details to enter in the identity provider.
Nécessite la permission ORGANISATIONS_SETTINGS.VIEW.
Entrée
Aucun. Envoyez un objet vide.
Réponse
Retourne le SingleSignOn sous data.
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/single-sign-on/get" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Change single sign-on settings
/api/v1/org/{organisationUUID}/single-sign-on/updateSets the identity provider, the role new members get, and whether single sign-on is on and required.
Nécessite la permission ORGANISATIONS_SETTINGS.UPDATE.
Entrée
Réponse
Retourne le SingleSignOn sous data.
Erreurs
Ainsi que les erreurs communes :
ROLE_NOT_FOUND 404
ADMINISTRATOR_ROLE 422
INVALID_CERTIFICATE 422
NOT_READY 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/single-sign-on/update" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"enabled":false,"required":false,"idpEntityId":"string","idpSignOnUrl":"string","idpCertificates":[],"newMemberRoleUUID":"string"}'Add a single sign-on email domain
/api/v1/org/{organisationUUID}/single-sign-on/domains/addAdds an email domain, and returns the DNS TXT record that proves the organisation owns it.
Nécessite la permission ORGANISATIONS_SETTINGS.UPDATE.
Entrée
Réponse
Retourne le SingleSignOnDomain sous data.
Erreurs
Ainsi que les erreurs communes :
DOMAIN_EXISTS 409
DOMAIN_TAKEN 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/single-sign-on/domains/add" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"domain":"string"}'Verify a single sign-on email domain
/api/v1/org/{organisationUUID}/single-sign-on/domains/verifyLooks up the domain's DNS TXT record. Once it holds the right value, single sign-on can sign in addresses at the domain.
Nécessite la permission ORGANISATIONS_SETTINGS.UPDATE.
Entrée
Réponse
Retourne le SingleSignOnDomain sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
DOMAIN_TAKEN 409
RECORD_NOT_FOUND 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/single-sign-on/domains/verify" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"domain":"string"}'Remove a single sign-on email domain
/api/v1/org/{organisationUUID}/single-sign-on/domains/removeRemoves an email domain. Single sign-on stops signing in addresses there. Members stay members.
Nécessite la permission ORGANISATIONS_SETTINGS.UPDATE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/single-sign-on/domains/remove" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"domain":"string"}'Organisation url
List the organisation's URLs
/api/v1/org/{organisationUUID}/organisation-url/listReturns the organisation's current URL slug and every former one. Former URLs keep redirecting to the current one.
Nécessite la permission ORGANISATIONS_SUBSCRIPTION.VIEW.
Entrée
Aucun. Envoyez un objet vide.
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/organisation-url/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Change the organisation's URL
/api/v1/org/{organisationUUID}/organisation-url/changeChanges the slug in the organisation's URL. The old URL keeps working, redirecting to the new one, and can be switched back to later.
Nécessite la permission ORGANISATIONS_SUBSCRIPTION.UPDATE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
INVALID_SLUG 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/organisation-url/change" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"slug":"string"}'Apps
List Apps
/api/v1/org/{organisationUUID}/apps/listReturns the organisation's Apps, each with its newest version and its installation, if installed.
Nécessite la permission APPS.VIEW.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/apps/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Get an App
/api/v1/org/{organisationUUID}/apps/getReturns an App with every version's manifest and handlers (not their code) and its installation.
Nécessite la permission APPS.VIEW.
Entrée
Réponse
Retourne le AppDetail sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/apps/get" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Create an App
/api/v1/org/{organisationUUID}/apps/createCreates an empty App. Add code with apps.versions.create, then a member installs it.
Nécessite la permission APPS.CREATE.
Entrée
Réponse
Retourne le App sous data.
Erreurs
Ainsi que les erreurs communes :
KEY_TAKEN 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/apps/create" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"key":"string","name":"string"}'Update an App
/api/v1/org/{organisationUUID}/apps/updateChanges an App's name or description. Fields that are omitted are left unchanged.
Nécessite la permission APPS.UPDATE.
Entrée
Réponse
Retourne le App sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/apps/update" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Delete an App
/api/v1/org/{organisationUUID}/apps/deleteSoft-deletes an App and its versions. An installed App must be uninstalled first.
Nécessite la permission APPS.DELETE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
INSTALLED 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/apps/delete" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Create an App version
/api/v1/org/{organisationUUID}/apps/versions/createAdds an immutable version of an App: a manifest and one ES module. The code is checked: it must parse, export at least one handler, have no imports, and call only `adamrms.*` functions the manifest lists, each of whose permissions the manifest also asks for. Creating a version changes nothing that is running; a member installs or upgrades to it.
Nécessite la permission APPS.CREATE.
Entrée
Réponse
Retourne le AppVersion sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
FROM_MARKETPLACE 409
VERSION_TAKEN 409
INVALID_CODE 422
INVALID_MANIFEST 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/apps/versions/create" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"appUUID":"string","version":"string","manifest":"string","code":"string"}'Get an App version
/api/v1/org/{organisationUUID}/apps/versions/getReturns one version of an App, including its code.
Nécessite la permission APPS.VIEW.
Entrée
Réponse
Retourne le AppVersion sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/apps/versions/get" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Install an App
/api/v1/org/{organisationUUID}/apps/installInstalls a version of an App, approving the permissions, functions and hosts its manifest asks for. The installation gets its own bot member holding exactly those permissions, which never needs a licence. The organisation's plan limits how many Apps can be installed at once. Must be done by a person, not by AI code or another App.
Nécessite la permission APPS.INSTALL.
Entrée
Réponse
Retourne le AppInstallation sous data.
Erreurs
Ainsi que les erreurs communes :
PLAN_LIMIT_REACHED 402
HUMAN_REQUIRED 403
NOT_FOUND 404
VERSION_NOT_FOUND 404
ALREADY_INSTALLED 409
FUNCTION_NAME_TAKEN 409
TOO_MANY_BEFORE_HOOKS 409
INVALID_SETTINGS 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/apps/install" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"appUUID":"string","versionUUID":"string"}'Upgrade an App
/api/v1/org/{organisationUUID}/apps/upgradeMoves an installation to another version of its App, approving that version's manifest in place of the old one. Must be done by a person, not by AI code or another App.
Nécessite la permission APPS.INSTALL.
Entrée
Réponse
Retourne le AppInstallation sous data.
Erreurs
Ainsi que les erreurs communes :
HUMAN_REQUIRED 403
NOT_FOUND 404
VERSION_NOT_FOUND 404
FUNCTION_NAME_TAKEN 409
TOO_MANY_BEFORE_HOOKS 409
INVALID_SETTINGS 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/apps/upgrade" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"installationUUID":"string","versionUUID":"string"}'Uninstall an App
/api/v1/org/{organisationUUID}/apps/uninstallRemoves an installation: its bot member leaves the organisation, and its secrets and storage are deleted. Its run log is kept.
Nécessite la permission APPS.INSTALL.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/apps/uninstall" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"installationUUID":"string"}'Update an App's settings
/api/v1/org/{organisationUUID}/apps/update-settingsReplaces an installation's setting values. They must match the settings its version declares.
Nécessite la permission APPS.INSTALL.
Entrée
Réponse
Retourne le AppInstallation sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
INVALID_SETTINGS 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/apps/update-settings" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"installationUUID":"string","settings":{}}'Set an App's secret
/api/v1/org/{organisationUUID}/apps/set-secretSets or removes one of an installation's secrets. Values are encrypted, never returned, and never reach the App's code: the platform substitutes them into requests to the App's approved hosts. Must be done by a person, not by AI code or another App.
Nécessite la permission APPS.INSTALL.
Entrée
Réponse
Retourne le AppInstallation sous data.
Erreurs
Ainsi que les erreurs communes :
HUMAN_REQUIRED 403
NOT_FOUND 404
SECRETS_UNAVAILABLE 422
UNKNOWN_SECRET 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/apps/set-secret" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"installationUUID":"string","name":"string","value":"string"}'Run an App's handler
/api/v1/org/{organisationUUID}/apps/runRuns one of an installed App's handlers now, with the given input, and waits for it to finish (at most 30 seconds). The App acts as its bot member, so it can do only what its installation was approved for. Returns the run, with its result, console output and outbound requests.
Nécessite la permission APPS.RUN.
Entrée
Réponse
Retourne le AppRun sous data.
Erreurs
Ainsi que les erreurs communes :
HANDLER_NOT_FOUND 404
NOT_FOUND 404
INPUT_TOO_LARGE 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/apps/run" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"installationUUID":"string","handler":"string"}'Resume an App
/api/v1/org/{organisationUUID}/apps/resumeStarts delivering hooks to an installation again after it was paused for failing too many times in a row. Events while it was paused are not delivered.
Nécessite la permission APPS.INSTALL.
Entrée
Réponse
Retourne le AppInstallation sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
NOT_PAUSED 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/apps/resume" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"installationUUID":"string"}'Set when an App's before hooks run
/api/v1/org/{organisationUUID}/apps/set-hook-orderSets where an installation's before hooks run among other Apps' on the same function: lower first, then the earliest installed. Each sees the call as the one before it left it.
Nécessite la permission APPS.INSTALL.
Entrée
Réponse
Retourne le AppInstallation sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/apps/set-hook-order" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"installationUUID":"string","hookOrder":-1000}'List App runs
/api/v1/org/{organisationUUID}/apps/runs/listReturns App runs, newest first unless another order is asked for, optionally for one installation.
Nécessite la permission APPS.VIEW.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/apps/runs/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Get an App run
/api/v1/org/{organisationUUID}/apps/runs/getReturns one run with its input, result, console output and outbound requests.
Nécessite la permission APPS.VIEW.
Entrée
Réponse
Retourne le AppRun sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/apps/runs/get" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Submit an App to the marketplace
/api/v1/org/{organisationUUID}/apps/publishSubmits a version of one of the organisation's own Apps to the marketplace. AdamRMS reviews its code by hand before listing it; apps.get shows how the review went. Once listed, any organisation can add and install it, and sees the App's name, description, manifest and code. Each version can be submitted once. Must be done by a person, not by AI code or another App.
Nécessite la permission APPS.PUBLISH.
Entrée
Réponse
Retourne le AppSubmission sous data.
Erreurs
Ainsi que les erreurs communes :
HUMAN_REQUIRED 403
NOT_FOUND 404
VERSION_NOT_FOUND 404
ALREADY_SUBMITTED 409
FROM_MARKETPLACE 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/apps/publish" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"appUUID":"string","versionUUID":"string"}'List marketplace Apps
/api/v1/org/{organisationUUID}/apps/marketplace/listReturns the Apps other organisations publish that AdamRMS has reviewed and listed, each with its newest listed version and whether this organisation has added it.
Nécessite la permission APPS.VIEW.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/apps/marketplace/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Get a marketplace App
/api/v1/org/{organisationUUID}/apps/marketplace/getReturns a marketplace App with every listed version's manifest: the permissions, functions, hosts and triggers installing it asks an administrator to approve.
Nécessite la permission APPS.VIEW.
Entrée
Réponse
Retourne le AppListingDetail sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/apps/marketplace/get" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Add a marketplace App
/api/v1/org/{organisationUUID}/apps/marketplace/addCopies a marketplace App and its listed versions into the organisation, so it is installed, upgraded and run like the organisation's own Apps. Calling it again for an App already added brings in versions listed since, ready to upgrade to. Adding installs nothing. Must be done by a person, not by AI code or another App.
Nécessite la permission APPS.INSTALL.
Entrée
Réponse
Retourne le App sous data.
Erreurs
Ainsi que les erreurs communes :
HUMAN_REQUIRED 403
NOT_FOUND 404
KEY_TAKEN 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/apps/marketplace/add" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"listingUUID":"string"}'Show Apps' panels for an asset
/api/v1/org/{organisationUUID}/apps/ui/asset-panel/renderRuns the panel handler of every running App with a panel in this slot, in parallel, and returns the components each returned, for the page to show. A handler has a few seconds and can only call functions that read. Panels needing a permission the caller lacks are left out.
Nécessite la permission ASSETS.VIEW.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
HUMAN_REQUIRED 403
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/apps/ui/asset-panel/render" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assetUUID":"string"}'List Apps' panels for assets
/api/v1/org/{organisationUUID}/apps/ui/asset-panel/listReturns which running Apps have a panel on asset pages, and its heading, without running them. Panels needing a permission the caller lacks are left out.
Nécessite la permission ASSETS.VIEW.
Entrée
Aucun. Envoyez un objet vide.
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/apps/ui/asset-panel/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Use an App's panel on an asset
/api/v1/org/{organisationUUID}/apps/ui/asset-panel/actionRuns one of a panel's actions, as a button or form in it does, then the panel's handler again. The App acts as its bot member, so the caller needs only to be able to see the panel. A button or form can instead call one of the App's own functions, which is called as the caller and needs that function's permission.
Nécessite la permission ASSETS.VIEW.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
HUMAN_REQUIRED 403
ACTION_NOT_FOUND 404
NOT_FOUND 404
ACTION_FAILED 422
INPUT_TOO_LARGE 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/apps/ui/asset-panel/action" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assetUUID":"string","installationUUID":"string"}'Show Apps' panels for a client
/api/v1/org/{organisationUUID}/apps/ui/client-panel/renderRuns the panel handler of every running App with a panel in this slot, in parallel, and returns the components each returned, for the page to show. A handler has a few seconds and can only call functions that read. Panels needing a permission the caller lacks are left out.
Nécessite la permission CLIENTS.VIEW.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
HUMAN_REQUIRED 403
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/apps/ui/client-panel/render" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"clientUUID":"string"}'Use an App's panel on a client
/api/v1/org/{organisationUUID}/apps/ui/client-panel/actionRuns one of a panel's actions, as a button or form in it does, then the panel's handler again. The App acts as its bot member, so the caller needs only to be able to see the panel. A button or form can instead call one of the App's own functions, which is called as the caller and needs that function's permission.
Nécessite la permission CLIENTS.VIEW.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
HUMAN_REQUIRED 403
ACTION_NOT_FOUND 404
NOT_FOUND 404
ACTION_FAILED 422
INPUT_TOO_LARGE 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/apps/ui/client-panel/action" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"clientUUID":"string","installationUUID":"string"}'Show Apps' panels on a project's Finance tab
/api/v1/org/{organisationUUID}/apps/ui/project-finance-panel/renderRuns the panel handler of every running App with a panel in this slot, in parallel, and returns the components each returned, for the page to show. A handler has a few seconds and can only call functions that read. Panels needing a permission the caller lacks are left out.
Nécessite la permission INVOICES.VIEW.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
HUMAN_REQUIRED 403
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/apps/ui/project-finance-panel/render" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"projectUUID":"string"}'Use an App's panel on a project's Finance tab
/api/v1/org/{organisationUUID}/apps/ui/project-finance-panel/actionRuns one of a panel's actions, as a button or form in it does, then the panel's handler again. The App acts as its bot member, so the caller needs only to be able to see the panel. A button or form can instead call one of the App's own functions, which is called as the caller and needs that function's permission.
Nécessite la permission INVOICES.VIEW.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
HUMAN_REQUIRED 403
ACTION_NOT_FOUND 404
NOT_FOUND 404
ACTION_FAILED 422
INPUT_TOO_LARGE 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/apps/ui/project-finance-panel/action" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"projectUUID":"string","installationUUID":"string"}'Legacy import
Get import status
/api/v1/org/{organisationUUID}/legacy-import/statusReturns which business in the previous version of AdamRMS the organisation imports from, the run in progress and the last one, and how many records are waiting to import.
Nécessite la permission ORGANISATIONS_SETTINGS.UPDATE.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/legacy-import/status" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'List import runs
/api/v1/org/{organisationUUID}/legacy-import/runs/listLists the organisation's imports from the previous version of AdamRMS, newest first.
Nécessite la permission ORGANISATIONS_SETTINGS.UPDATE.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/legacy-import/runs/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Get an import run
/api/v1/org/{organisationUUID}/legacy-import/runs/getReturns one import run, with the records it couldn't import.
Nécessite la permission ORGANISATIONS_SETTINGS.UPDATE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/legacy-import/runs/get" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Run an import
/api/v1/org/{organisationUUID}/legacy-import/startStarts importing from the connected business in the previous version of AdamRMS. Records already imported are only changed if they changed there since. Records made here are never touched. Refused while another run is in progress, or if the person who connected the business can no longer migrate it.
Nécessite la permission ORGANISATIONS_SETTINGS.UPDATE.
Entrée
Aucun. Envoyez un objet vide.
Réponse
Retourne le LegacyImportRun sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_AVAILABLE 404
ALREADY_RUNNING 409
DIFFERENT_INSTANCE 409
LINK_INVALID 409
MOVED 409
NOT_CONNECTED 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/legacy-import/start" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Cancel an import
/api/v1/org/{organisationUUID}/legacy-import/cancelStops the run in progress before its next step. What it has imported so far stays, and the next run carries on from there.
Nécessite la permission ORGANISATIONS_SETTINGS.UPDATE.
Entrée
Aucun. Envoyez un objet vide.
Réponse
Retourne le LegacyImportRun sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_RUNNING 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/legacy-import/cancel" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Disconnect the previous version
/api/v1/org/{organisationUUID}/legacy-import/disconnectDisconnects the business in the previous version of AdamRMS. Imported records stay, and connecting the same business again carries on where the last run stopped. Refused while a run is in progress.
Nécessite la permission ORGANISATIONS_SETTINGS.UPDATE.
Entrée
Aucun. Envoyez un objet vide.
Réponse
Erreurs
Ainsi que les erreurs communes :
ALREADY_RUNNING 409
NOT_CONNECTED 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/legacy-import/disconnect" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Finish moving
/api/v1/org/{organisationUUID}/legacy-import/finishFinishes moving from the previous version of AdamRMS. The business there is suspended, and its members are sent here when they sign in. No more imports run, and every imported member is emailed once to say the organisation has moved. Run an import first: this is refused unless the last one completed, and while one is in progress.
Nécessite la permission ORGANISATIONS_SETTINGS.UPDATE.
Entrée
Aucun. Envoyez un objet vide.
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_AVAILABLE 404
ALREADY_RUNNING 409
LEGACY_REFUSED 409
LINK_INVALID 409
MOVED 409
NOT_CONNECTED 409
NOT_IMPORTED 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/legacy-import/finish" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Location barcodes
List a location's barcodes
/api/v1/org/{organisationUUID}/location-barcodes/listReturns the value printed for a location (its UUID) and any other barcodes it answers to, such as labels from the previous version of AdamRMS.
Nécessite la permission LOCATIONS.VIEW.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/location-barcodes/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"locationUUID":"string"}'Add a barcode to a location
/api/v1/org/{organisationUUID}/location-barcodes/addAdds a barcode a location answers to when scanned, such as an existing shelf label. A barcode can belong to only one location or asset.
Nécessite la permission LOCATIONS.UPDATE.
Entrée
Réponse
Retourne le LocationBarcode sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
VALUE_TAKEN 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/location-barcodes/add" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"locationUUID":"string","value":"string"}'Remove a barcode from a location
/api/v1/org/{organisationUUID}/location-barcodes/removeRemoves one of a location's extra barcodes. The location still answers to its own UUID.
Nécessite la permission LOCATIONS.UPDATE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/location-barcodes/remove" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Barcodes
Find what a barcode belongs to
/api/v1/org/{organisationUUID}/barcodes/resolveReturns the asset or location a scanned barcode belongs to (ignoring case), or that nothing has it.
Nécessite la permission ASSETS.VIEW.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/barcodes/resolve" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"value":"string"}'Scan sessions
Start scanning
/api/v1/org/{organisationUUID}/scan-sessions/startStarts a scan session into a location, a case, a stock check of a location, a project, or nothing. Moving assets as they are scanned needs permission to edit assets. Scanning for a project (to prep, send out or check back its assets) needs permission to change what's on projects. Where the organisation makes filming or photos compulsory, the session has them whatever is asked.
Nécessite la permission ASSETS.SCAN.
Entrée
Réponse
Retourne le ScanSession sous data.
Erreurs
Ainsi que les erreurs communes :
CASE_NOT_FOUND 422
LOCATION_NOT_FOUND 422
PROJECT_NOT_FOUND 422
TEMPLATE_NOT_FOUND 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/scan-sessions/start" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"targetKind":"string"}'Get a scan session
/api/v1/org/{organisationUUID}/scan-sessions/getReturns a scan session and what it scans into.
Nécessite la permission ASSETS.VIEW.
Entrée
Réponse
Retourne le ScanSession sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/scan-sessions/get" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Verify where you are scanning
/api/v1/org/{organisationUUID}/scan-sessions/verify-targetMarks your open session's target as verified when the barcode scanned belongs to it, so later scans in it count as at a verified location. Returns whether it matched.
Nécessite la permission ASSETS.SCAN.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
SESSION_ENDED 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/scan-sessions/verify-target" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string","value":"string"}'Stop scanning
/api/v1/org/{organisationUUID}/scan-sessions/endEnds your scan session, so nothing more can be scanned into it. Ending one that has already ended does nothing.
Nécessite la permission ASSETS.SCAN.
Entrée
Réponse
Retourne le ScanSession sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/scan-sessions/end" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'List scan sessions
/api/v1/org/{organisationUUID}/scan-sessions/listLists scan sessions, newest first, optionally only those into one location or of one kind (such as stock checks).
Nécessite la permission ASSETS.VIEW.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/scan-sessions/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Scans
Record a scan
/api/v1/org/{organisationUUID}/scans/recordRecords a scanned barcode in your open session. An asset's barcode records a sighting, and in a MOVE session moves it to the target. In a PROJECT session it also marks the asset prepped, sent out or back on the project, and says what it did in `project`. A unit already in the session, an unknown barcode or a location's barcode records nothing and says so in `outcome`.
Nécessite la permission ASSETS.SCAN.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
SESSION_NOT_FOUND 404
SESSION_ENDED 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/scans/record" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"sessionUUID":"string","value":"string","method":"string"}'Rate a scan's condition or quantity
/api/v1/org/{organisationUUID}/scans/updateSets how many of a lot a scan saw, and the asset's condition with a note. You can change your own scans; changing anyone's needs permission to edit assets.
Nécessite la permission ASSETS.SCAN.
Entrée
Réponse
Retourne le Scan sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/scans/update" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'List scans
/api/v1/org/{organisationUUID}/scans/listLists scans, newest first, with their condition photos and footage. Filter by asset, location, session or condition.
Nécessite la permission ASSETS.VIEW.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/scans/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Where an asset was last seen
/api/v1/org/{organisationUUID}/scans/latestReturns an asset's latest scan made with a camera or scanner. Typed barcodes don't count.
Nécessite la permission ASSETS.VIEW.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/scans/latest" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assetUUID":"string"}'Scan media
Start uploading a scan's photo or footage
/api/v1/org/{organisationUUID}/scan-media/start-uploadChecks a condition photo or footage can be added to one of your scans, and returns a private URL to PUT its bytes to. Footage is only for scans in a filmed session, one clip each. The file is added once `scan-media.finish-upload` is called.
Nécessite la permission ASSETS.SCAN.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
PLAN_LIMIT_REACHED 402
NOT_FOUND 404
ALREADY_FILMED 409
FILE_TOO_LARGE 422
NOT_FILMED 422
TOO_MANY_PHOTOS 422
WRONG_TYPE 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/scan-media/start-upload" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"scanUUID":"string","kind":"string","contentType":"string","sizeBytes":1}'Finish uploading a scan's photo or footage
/api/v1/org/{organisationUUID}/scan-media/finish-uploadCompletes an upload begun with `scan-media.start-upload` and adds the photo or footage to the scan. Footage is kept for as long as the organisation's settings say; photos are kept until removed.
Nécessite la permission ASSETS.SCAN.
Entrée
Réponse
Retourne le Scan sous data.
Erreurs
Ainsi que les erreurs communes :
PLAN_LIMIT_REACHED 402
NOT_FOUND 404
UPLOAD_NOT_FOUND 404
ALREADY_FILMED 409
NOT_FILMED 422
TOO_MANY_PHOTOS 422
UPLOAD_INCOMPLETE 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/scan-media/finish-upload" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uploadToken":"string"}'Scan photos
Remove a condition photo
/api/v1/org/{organisationUUID}/scan-photos/removeTakes a condition photo off its scan. The image goes to the trash, where it waits 30 days.
Nécessite la permission ASSETS.UPDATE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/scan-photos/remove" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Stock checks
Get a stock check's result
/api/v1/org/{organisationUUID}/stock-checks/resultCompares what a stock check session scanned with what is stored at its location: what was found, what is missing and what was there but shouldn't be. Assets inside a scanned case count as found.
Nécessite la permission ASSETS.VIEW.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/stock-checks/result" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Scan presets
List scanner presets
/api/v1/org/{organisationUUID}/scan-presets/listReturns the organisation's saved ways to start the scanner.
Nécessite la permission ASSETS.SCAN.
Entrée
Aucun. Envoyez un objet vide.
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/scan-presets/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Create a scanner preset
/api/v1/org/{organisationUUID}/scan-presets/createSaves a way to start the scanner, such as 'Returns into the warehouse, with photos', for everyone in the organisation.
Nécessite la permission ASSETS.SCAN.
Entrée
Réponse
Retourne le ScanPreset sous data.
Erreurs
Ainsi que les erreurs communes :
CASE_NOT_FOUND 422
LOCATION_NOT_FOUND 422
TEMPLATE_NOT_FOUND 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/scan-presets/create" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string","targetKind":"string","mode":"string","includeSubLocations":false,"filming":false,"photosRequired":false}'Update a scanner preset
/api/v1/org/{organisationUUID}/scan-presets/updateReplaces a scanner preset's name and settings.
Nécessite la permission ASSETS.SCAN.
Entrée
Réponse
Retourne le ScanPreset sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
CASE_NOT_FOUND 422
LOCATION_NOT_FOUND 422
TEMPLATE_NOT_FOUND 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/scan-presets/update" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string","name":"string","targetKind":"string","mode":"string","includeSubLocations":false,"filming":false,"photosRequired":false}'Delete a scanner preset
/api/v1/org/{organisationUUID}/scan-presets/deleteDeletes a scanner preset. Scans made with it are kept.
Nécessite la permission ASSETS.SCAN.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/scan-presets/delete" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Scan settings
Get scanner settings
/api/v1/org/{organisationUUID}/scan-settings/getReturns whether scans are filmed and photographed, and how long footage is kept.
Nécessite la permission ASSETS.VIEW.
Entrée
Aucun. Envoyez un objet vide.
Réponse
Retourne le ScanSettings sous data.
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/scan-settings/get" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Update scanner settings
/api/v1/org/{organisationUUID}/scan-settings/updateChanges whether scans are filmed and photographed (off, on by default, or compulsory) and how long footage is kept. A new retention period applies to footage recorded from then on.
Nécessite la permission ORGANISATIONS_SETTINGS.UPDATE.
Entrée
Réponse
Retourne le ScanSettings sous data.
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/scan-settings/update" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Maintenance statuses
List maintenance job statuses
/api/v1/org/{organisationUUID}/maintenance-statuses/listReturns the organisation's maintenance job statuses, such as 'Received' and 'Closed', in the order they're arranged.
Nécessite la permission MAINTENANCE_JOBS.VIEW.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/maintenance-statuses/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Create a maintenance job status
/api/v1/org/{organisationUUID}/maintenance-statuses/createAdds a status. An open status goes after the other open ones, a closed one at the end. Names are unique, ignoring case.
Nécessite la permission ORGANISATIONS_SETTINGS.UPDATE.
Entrée
Réponse
Retourne le MaintenanceStatus sous data.
Erreurs
Ainsi que les erreurs communes :
NAME_TAKEN 409
TOO_MANY 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/maintenance-statuses/create" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string"}'Update a maintenance job status
/api/v1/org/{organisationUUID}/maintenance-statuses/updateRenames a status, or makes it open or closed. Jobs already in it open or close with it. The last open status can't be closed.
Nécessite la permission ORGANISATIONS_SETTINGS.UPDATE.
Entrée
Réponse
Retourne le MaintenanceStatus sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
NAME_TAKEN 409
LAST_OPEN 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/maintenance-statuses/update" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Reorder a maintenance job status
/api/v1/org/{organisationUUID}/maintenance-statuses/reorderMoves a status to a new position and renumbers the rest.
Nécessite la permission ORGANISATIONS_SETTINGS.UPDATE.
Entrée
Réponse
Retourne le MaintenanceStatus sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/maintenance-statuses/reorder" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string","sortOrder":0}'Delete a maintenance job status
/api/v1/org/{organisationUUID}/maintenance-statuses/deleteDeletes a status. If any job uses it, `replacementUUID` is required and those jobs move to it. The last open status can't be deleted.
Nécessite la permission ORGANISATIONS_SETTINGS.UPDATE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
IN_USE 409
LAST_OPEN 422
REPLACEMENT_NOT_FOUND 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/maintenance-statuses/delete" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Maintenance priorities
List maintenance job priorities
/api/v1/org/{organisationUUID}/maintenance-priorities/listReturns the organisation's maintenance job priorities, most urgent first unless another sort is asked for.
Nécessite la permission MAINTENANCE_JOBS.VIEW.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/maintenance-priorities/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Create a maintenance job priority
/api/v1/org/{organisationUUID}/maintenance-priorities/createAdds a priority at the end of the list (the least urgent). Names are unique, ignoring case.
Nécessite la permission ORGANISATIONS_SETTINGS.UPDATE.
Entrée
Réponse
Retourne le MaintenancePriority sous data.
Erreurs
Ainsi que les erreurs communes :
NAME_TAKEN 409
TOO_MANY 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/maintenance-priorities/create" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string"}'Update a maintenance job priority
/api/v1/org/{organisationUUID}/maintenance-priorities/updateRenames a priority, changes its colour, or makes it the default for new jobs.
Nécessite la permission ORGANISATIONS_SETTINGS.UPDATE.
Entrée
Réponse
Retourne le MaintenancePriority sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
NAME_TAKEN 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/maintenance-priorities/update" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Reorder a maintenance job priority
/api/v1/org/{organisationUUID}/maintenance-priorities/reorderMoves a priority to a new position (0 is the most urgent) and renumbers the rest.
Nécessite la permission ORGANISATIONS_SETTINGS.UPDATE.
Entrée
Réponse
Retourne le MaintenancePriority sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/maintenance-priorities/reorder" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string","sortOrder":0}'Delete a maintenance job priority
/api/v1/org/{organisationUUID}/maintenance-priorities/deleteDeletes a priority. If any job uses it, `replacementUUID` is required and those jobs move to it. The last priority can't be deleted.
Nécessite la permission ORGANISATIONS_SETTINGS.UPDATE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
IN_USE 409
LAST_ONE 422
REPLACEMENT_NOT_FOUND 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/maintenance-priorities/delete" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Maintenance jobs
List maintenance jobs
/api/v1/org/{organisationUUID}/maintenance-jobs/listReturns maintenance jobs with their assets, open ones only unless `state` says otherwise. Filter by status, priority, assignee or asset, and search by title or number.
Nécessite la permission MAINTENANCE_JOBS.VIEW.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/maintenance-jobs/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Get a maintenance job
/api/v1/org/{organisationUUID}/maintenance-jobs/getReturns one maintenance job, by UUID or by number.
Nécessite la permission MAINTENANCE_JOBS.VIEW.
Entrée
Réponse
Retourne le MaintenanceJob sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/maintenance-jobs/get" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Create a maintenance job
/api/v1/org/{organisationUUID}/maintenance-jobs/createRecords a fault or piece of work on one or more assets. It gets the next job number, the first open status and the default priority unless others are given. Flagging or blocking its assets needs its own permission. The assignee and watchers must be members.
Nécessite la permission MAINTENANCE_JOBS.CREATE.
Entrée
Réponse
Retourne le MaintenanceJob sous data.
Erreurs
Ainsi que les erreurs communes :
PLAN_LIMIT_REACHED 402
ASSET_NOT_FOUND 422
PERSON_NOT_FOUND 422
PRIORITY_NOT_FOUND 422
QUANTITY_TOO_HIGH 422
STATUS_NOT_FOUND 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/maintenance-jobs/create" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"title":"string"}'Update a maintenance job
/api/v1/org/{organisationUUID}/maintenance-jobs/updateChanges a job's details, status, priority, assignee, due date, cost, supplier or outcome. Moving it to a closed status closes it, and its flags and blocks stop applying. Changing whether it flags or blocks needs its own permission. Fields that are omitted are left unchanged.
Nécessite la permission MAINTENANCE_JOBS.UPDATE.
Entrée
Réponse
Retourne le MaintenanceJob sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
COST_ITEMISED 422
PERSON_NOT_FOUND 422
PRIORITY_NOT_FOUND 422
STATUS_NOT_FOUND 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/maintenance-jobs/update" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Add an asset to a maintenance job
/api/v1/org/{organisationUUID}/maintenance-jobs/set-assetAdds an asset to a job, or changes how many of it the job covers. `released` lifts the job's flag and block from the asset while the job stays open.
Nécessite la permission MAINTENANCE_JOBS.UPDATE.
Entrée
Réponse
Retourne le MaintenanceJob sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
ASSET_NOT_FOUND 422
QUANTITY_TOO_HIGH 422
TOO_MANY_ASSETS 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/maintenance-jobs/set-asset" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string","assetUUID":"string"}'Remove an asset from a maintenance job
/api/v1/org/{organisationUUID}/maintenance-jobs/remove-assetTakes an asset off a job. The asset itself isn't changed.
Nécessite la permission MAINTENANCE_JOBS.UPDATE.
Entrée
Réponse
Retourne le MaintenanceJob sous data.
Erreurs
Ainsi que les erreurs communes :
ASSET_NOT_ON_JOB 404
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/maintenance-jobs/remove-asset" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string","assetUUID":"string"}'Watch or stop watching a maintenance job
/api/v1/org/{organisationUUID}/maintenance-jobs/watchStarts or stops a member watching a job. Watchers are emailed when it's commented on or its status changes. Anyone who can see the job can watch it themselves; changing someone else needs permission to edit the job.
Nécessite la permission MAINTENANCE_JOBS.VIEW.
Entrée
Réponse
Retourne le MaintenanceJob sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
PERSON_NOT_FOUND 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/maintenance-jobs/watch" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string","watching":false}'Delete a maintenance job
/api/v1/org/{organisationUUID}/maintenance-jobs/deleteDeletes a job. Its flags and blocks stop applying. Its number isn't reused.
Nécessite la permission MAINTENANCE_JOBS.DELETE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/maintenance-jobs/delete" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Itemise a maintenance job's cost
/api/v1/org/{organisationUUID}/maintenance-jobs/set-costsSets what a job cost, item by item: parts, labour (in hours) and anything else. Replaces the list, and the job's cost becomes their total.
Nécessite la permission MAINTENANCE_JOBS.UPDATE.
Entrée
Réponse
Retourne le MaintenanceJob sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/maintenance-jobs/set-costs" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string","costs":[]}'Charge a maintenance job to a project
/api/v1/org/{organisationUUID}/maintenance-jobs/charge-to-projectAdds a one-off line to a project charging the client for the job, such as a repair after a hire, and links the two. It charges what the job cost unless an amount is given. A job is charged to one project at a time. Needs permission to change the project's lines and see their prices.
Nécessite la permission MAINTENANCE_JOBS.UPDATE.
Entrée
Réponse
Retourne le MaintenanceJob sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
ALREADY_CHARGED 409
ASSETS_OFF 422
NO_AMOUNT 422
PROJECT_NOT_FOUND 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/maintenance-jobs/charge-to-project" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string","projectUUID":"string"}'Stop charging a maintenance job to a project
/api/v1/org/{organisationUUID}/maintenance-jobs/remove-chargeTakes the job's line off the project it's charged to. A line an issued invoice charges for stays: credit the invoice first.
Nécessite la permission MAINTENANCE_JOBS.UPDATE.
Entrée
Réponse
Retourne le MaintenanceJob sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
LINE_INVOICED 409
NOT_CHARGED 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/maintenance-jobs/remove-charge" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'List projects to charge a maintenance job to
/api/v1/org/{organisationUUID}/maintenance-jobs/chargeable-projectsReturns the projects the job's assets have been on, most recent first, as the likely ones to charge for the work.
Nécessite la permission MAINTENANCE_JOBS.VIEW.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/maintenance-jobs/chargeable-projects" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Maintenance
Get an asset's maintenance state
/api/v1/org/{organisationUUID}/maintenance/asset-stateReturns the open maintenance jobs on an asset, how many of it they block from being booked, and whether any shows a warning on it.
Nécessite la permission MAINTENANCE_JOBS.VIEW.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
ASSET_NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/maintenance/asset-state" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assetUUID":"string"}'Project statuses
List project statuses
/api/v1/org/{organisationUUID}/project-statuses/listReturns the organisation's project statuses, such as 'Quote sent' and 'Returned', in the order they're arranged. Each has a stage, which decides what it does to stock.
Nécessite la permission PROJECTS.VIEW.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/project-statuses/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Create a project status
/api/v1/org/{organisationUUID}/project-statuses/createAdds a status at the end of the list. Names are unique, ignoring case. The first status made is the default.
Nécessite la permission ORGANISATIONS_SETTINGS.UPDATE.
Entrée
Réponse
Retourne le ProjectStatus sous data.
Erreurs
Ainsi que les erreurs communes :
NAME_TAKEN 409
TOO_MANY 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/project-statuses/create" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string","stage":"string"}'Update a project status
/api/v1/org/{organisationUUID}/project-statuses/updateRenames a status, changes its stage, or makes it the default for new projects. Projects already in it move stage with it.
Nécessite la permission ORGANISATIONS_SETTINGS.UPDATE.
Entrée
Réponse
Retourne le ProjectStatus sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
NAME_TAKEN 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/project-statuses/update" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Reorder a project status
/api/v1/org/{organisationUUID}/project-statuses/reorderMoves a status to a new position and renumbers the rest.
Nécessite la permission ORGANISATIONS_SETTINGS.UPDATE.
Entrée
Réponse
Retourne le ProjectStatus sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/project-statuses/reorder" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string","sortOrder":0}'Delete a project status
/api/v1/org/{organisationUUID}/project-statuses/deleteDeletes a status. If any project uses it, including projects in trash, `replacementUUID` is required and those projects move to it. The last status can't be deleted.
Nécessite la permission ORGANISATIONS_SETTINGS.UPDATE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
IN_USE 409
LAST_ONE 422
REPLACEMENT_NOT_FOUND 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/project-statuses/delete" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Project types
List project types
/api/v1/org/{organisationUUID}/project-types/listReturns the organisation's project types, such as 'Dry hire', with the sections each one turns on.
Nécessite la permission PROJECTS.VIEW.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/project-types/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Create a project type
/api/v1/org/{organisationUUID}/project-types/createAdds a type. Sections left out are on. Names are unique, ignoring case. The first type made is the default.
Nécessite la permission ORGANISATIONS_SETTINGS.UPDATE.
Entrée
Réponse
Retourne le ProjectType sous data.
Erreurs
Ainsi que les erreurs communes :
PLAN_LIMIT_REACHED 402
NAME_TAKEN 409
TOO_MANY 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/project-types/create" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string"}'Update a project type
/api/v1/org/{organisationUUID}/project-types/updateRenames a type, turns its sections on or off, or makes it the default for new projects. Turning a section off hides it on the type's projects, but keeps what's in it.
Nécessite la permission ORGANISATIONS_SETTINGS.UPDATE.
Entrée
Réponse
Retourne le ProjectType sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
NAME_TAKEN 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/project-types/update" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Delete a project type
/api/v1/org/{organisationUUID}/project-types/deleteDeletes a type. If any project uses it, including projects in trash, `replacementUUID` is required and those projects move to it. The last type can't be deleted.
Nécessite la permission ORGANISATIONS_SETTINGS.UPDATE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
IN_USE 409
LAST_ONE 422
REPLACEMENT_NOT_FOUND 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/project-types/delete" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Projects
List projects
/api/v1/org/{organisationUUID}/projects/listReturns projects, active ones only unless `view` says otherwise. Filter by status, type, client, manager, folder, parent project or dates, and search by name or number. `deleted` lists the projects in trash instead.
Nécessite la permission PROJECTS.VIEW.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/projects/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Get a project
/api/v1/org/{organisationUUID}/projects/getReturns one project, by UUID or by number, with its sub-projects and the dates that apply to it.
Nécessite la permission PROJECTS.VIEW.
Entrée
Réponse
Retourne le Project sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/projects/get" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Create a project
/api/v1/org/{organisationUUID}/projects/createCreates a project, or a sub-project of another. It gets the next project number, and the default status and type unless others are given. You manage it unless someone else is named, and the manager follows it. It can start from a project template, which adds the template's lines, crew roles (as vacancies) and notes. The plan limits how many top-level projects can be active at once.
Nécessite la permission PROJECTS.CREATE.
Entrée
Réponse
Retourne le Project sous data.
Erreurs
Ainsi que les erreurs communes :
PLAN_LIMIT_REACHED 402
CLIENT_NOT_FOUND 422
CLIENT_PRICING_NOT_FOUND 422
CONTACT_NOT_FOUND 422
FOLDER_NOT_FOUND 422
INVALID_DATES 422
PARENT_NOT_FOUND 422
PERSON_NOT_FOUND 422
STATUS_NOT_FOUND 422
TAX_RATE_NOT_FOUND 422
TEMPLATE_NOT_FOUND 422
TOO_DEEP 422
TYPE_NOT_FOUND 422
VENUE_NOT_FOUND 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/projects/create" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string"}'Update a project
/api/v1/org/{organisationUUID}/projects/updateChanges a project's details, status, type, manager, client, venue, folder or dates, or moves it under another project. Sub-projects that follow its status change with it. Fields that are omitted are left unchanged.
Nécessite la permission PROJECTS.UPDATE.
Entrée
Réponse
Retourne le Project sous data.
Erreurs
Ainsi que les erreurs communes :
PLAN_LIMIT_REACHED 402
NOT_FOUND 404
CLIENT_NOT_FOUND 422
CLIENT_PRICING_NOT_FOUND 422
CONTACT_NOT_FOUND 422
FOLDER_NOT_FOUND 422
INVALID_DATES 422
PARENT_IS_DESCENDANT 422
PARENT_NOT_FOUND 422
PERSON_NOT_FOUND 422
STATUS_NOT_FOUND 422
TAX_RATE_NOT_FOUND 422
TOO_DEEP 422
TYPE_NOT_FOUND 422
VENUE_NOT_FOUND 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/projects/update" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Follow or stop following a project
/api/v1/org/{organisationUUID}/projects/followStarts or stops a member following a project. Followers are emailed when it gets a comment or its status changes. Anyone who can see the project can follow it themselves; changing someone else needs permission to edit the project.
Nécessite la permission PROJECTS.VIEW.
Entrée
Réponse
Retourne le Project sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
PERSON_NOT_FOUND 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/projects/follow" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string","following":false}'Move a project to trash
/api/v1/org/{organisationUUID}/projects/deleteMoves a project and its sub-projects to trash. Projects in trash are kept for good, and can be restored. The number isn't reused.
Nécessite la permission PROJECTS.DELETE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/projects/delete" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Restore a project from trash
/api/v1/org/{organisationUUID}/projects/restoreBrings a project back from trash, with the sub-projects that went with it. A sub-project whose parent is still in trash comes back as a top-level project.
Nécessite la permission PROJECTS.RESTORE.
Entrée
Réponse
Retourne le Project sous data.
Erreurs
Ainsi que les erreurs communes :
PLAN_LIMIT_REACHED 402
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/projects/restore" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Read a project's history
/api/v1/org/{organisationUUID}/projects/historyReturns what's been changed on a project in the last 90 days, newest first: the project itself, and its lines, assets, crew, notes, quotes, invoices and payments. Each change says who made it and when. Changes to parts of the project the caller can't see are left out.
Nécessite la permission PROJECTS.VIEW.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
PROJECT_NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/projects/history" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"projectUUID":"string"}'Project notes
List a project's notes
/api/v1/org/{organisationUUID}/project-notes/listReturns the notes on a project, newest first.
Nécessite la permission PROJECTS.VIEW.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
PROJECT_NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/project-notes/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"projectUUID":"string"}'Add a note to a project
/api/v1/org/{organisationUUID}/project-notes/createAdds a titled note, such as meeting notes or a plan, written in Markdown.
Nécessite la permission PROJECTS.UPDATE.
Entrée
Réponse
Retourne le ProjectNote sous data.
Erreurs
Ainsi que les erreurs communes :
PROJECT_NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/project-notes/create" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"projectUUID":"string","title":"string"}'Update a project note
/api/v1/org/{organisationUUID}/project-notes/updateChanges a note's title or text.
Nécessite la permission PROJECTS.UPDATE.
Entrée
Réponse
Retourne le ProjectNote sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/project-notes/update" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Delete a project note
/api/v1/org/{organisationUUID}/project-notes/deleteDeletes a note from a project.
Nécessite la permission PROJECTS.UPDATE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/project-notes/delete" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Project folders
List project folders
/api/v1/org/{organisationUUID}/project-folders/listReturns every folder projects are organised in, such as 'Weddings', with how many projects each holds.
Nécessite la permission PROJECTS.VIEW.
Entrée
Aucun. Envoyez un objet vide.
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/project-folders/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Create a project folder
/api/v1/org/{organisationUUID}/project-folders/createAdds a folder, at the top or inside another folder. Names are unique within a folder, ignoring case.
Nécessite la permission PROJECTS.UPDATE.
Entrée
Réponse
Retourne le ProjectFolder sous data.
Erreurs
Ainsi que les erreurs communes :
NAME_TAKEN 409
PARENT_NOT_FOUND 422
TOO_DEEP 422
TOO_MANY 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/project-folders/create" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string"}'Update a project folder
/api/v1/org/{organisationUUID}/project-folders/updateRenames a folder, or moves it into another folder with everything in it.
Nécessite la permission PROJECTS.UPDATE.
Entrée
Réponse
Retourne le ProjectFolder sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
NAME_TAKEN 409
PARENT_IS_INSIDE 422
PARENT_NOT_FOUND 422
TOO_DEEP 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/project-folders/update" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Delete a project folder
/api/v1/org/{organisationUUID}/project-folders/deleteDeletes a folder. The projects and folders in it move up to the folder it was in, so no project is deleted.
Nécessite la permission PROJECTS.UPDATE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/project-folders/delete" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Inspection templates
List inspection templates
/api/v1/org/{organisationUUID}/inspection-templates/listReturns the organisation's inspection templates, such as PAT and LOLER, with their checklists and the asset types they apply to.
Nécessite la permission INSPECTIONS.VIEW.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/inspection-templates/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Get an inspection template
/api/v1/org/{organisationUUID}/inspection-templates/getReturns one inspection template with its checklist.
Nécessite la permission INSPECTIONS.VIEW.
Entrée
Réponse
Retourne le InspectionTemplate sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/inspection-templates/get" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Create an inspection template
/api/v1/org/{organisationUUID}/inspection-templates/createCreates a regular inspection, such as 'PAT, every 12 months', with its checklist and the asset types it applies to. Only individually tracked asset types can be inspected. Names are unique, ignoring case.
Nécessite la permission ORGANISATIONS_SETTINGS.UPDATE.
Entrée
Réponse
Retourne le InspectionTemplate sous data.
Erreurs
Ainsi que les erreurs communes :
NAME_TAKEN 409
ASSET_TYPE_NOT_FOUND 422
BULK_ASSET_TYPE 422
INVALID_ITEM 422
ITEM_NOT_FOUND 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/inspection-templates/create" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string","intervalValue":1,"intervalUnit":"string"}'Update an inspection template
/api/v1/org/{organisationUUID}/inspection-templates/updateChanges a template's interval, what happens when assets are overdue, its checklist or its asset types. A new interval changes when every asset is next due. Fields that are omitted are left unchanged.
Nécessite la permission ORGANISATIONS_SETTINGS.UPDATE.
Entrée
Réponse
Retourne le InspectionTemplate sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
NAME_TAKEN 409
ASSET_TYPE_NOT_FOUND 422
BULK_ASSET_TYPE 422
INVALID_ITEM 422
ITEM_NOT_FOUND 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/inspection-templates/update" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Delete an inspection template
/api/v1/org/{organisationUUID}/inspection-templates/deleteDeletes a template. Assets stop being due it, and overdue ones stop being flagged or blocked. Results already recorded are kept.
Nécessite la permission ORGANISATIONS_SETTINGS.UPDATE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/inspection-templates/delete" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Inspections
Record an inspection
/api/v1/org/{organisationUUID}/inspections/recordRecords that an asset was inspected, with the checklist answers. A line fails when a reading is outside its limits, a yes or no isn't the expected answer, or a failing choice is picked, and that fails the inspection unless `passOverride` says otherwise. A failure opens a maintenance job that blocks the asset.
Nécessite la permission INSPECTIONS.RECORD.
Entrée
Réponse
Retourne le InspectionResult sous data.
Erreurs
Ainsi que les erreurs communes :
ASSET_NOT_FOUND 422
INVALID_ANSWER 422
MISSING_ANSWER 422
NOT_APPLICABLE 422
OVERRIDE_NOTE_REQUIRED 422
PERSON_NOT_FOUND 422
SCAN_NOT_FOUND 422
TEMPLATE_NOT_FOUND 422
TESTED_IN_FUTURE 422
UNKNOWN_ITEM 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/inspections/record" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assetUUID":"string","templateUUID":"string"}'Get an inspection result
/api/v1/org/{organisationUUID}/inspections/getReturns one inspection result with its checklist answers, who tested it, and the job a failure opened.
Nécessite la permission INSPECTIONS.VIEW.
Entrée
Réponse
Retourne le InspectionResult sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/inspections/get" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'List inspection results
/api/v1/org/{organisationUUID}/inspections/listReturns inspection results, newest first, for an asset, a template, or the whole organisation.
Nécessite la permission INSPECTIONS.VIEW.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/inspections/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Delete an inspection result
/api/v1/org/{organisationUUID}/inspections/deleteDeletes a result recorded by mistake. The asset's due date goes back to what the result before it says. A job the failure opened is left as it is.
Nécessite la permission INSPECTIONS.DELETE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/inspections/delete" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Get an asset's inspections
/api/v1/org/{organisationUUID}/inspections/asset-statusReturns each inspection that applies to an asset: its interval, its latest result, and when it's next due.
Nécessite la permission INSPECTIONS.VIEW.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
ASSET_NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/inspections/asset-status" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assetUUID":"string"}'List assets due an inspection
/api/v1/org/{organisationUUID}/inspections/dueReturns assets that are overdue or due soon (by default, within 14 days), soonest first.
Nécessite la permission INSPECTIONS.VIEW.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/inspections/due" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'List a project's return checks
/api/v1/org/{organisationUUID}/inspections/return-checksReturns the assets on a project that have come back and are due an inspection that checks each asset on return, such as a PAT test. Each stays listed until it's inspected.
Nécessite la permission INSPECTIONS.VIEW.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
PROJECT_NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/inspections/return-checks" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"projectUUID":"string"}'Set an asset's own inspection interval
/api/v1/org/{organisationUUID}/inspections/set-asset-overrideGives one asset its own interval for a template, such as 6 months for a cable that's used hard, or leaves it out of the template. Send neither to go back to the template's.
Nécessite la permission ASSETS.UPDATE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
ASSET_NOT_FOUND 422
INTERVAL_UNIT_REQUIRED 422
TEMPLATE_NOT_FOUND 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/inspections/set-asset-override" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assetUUID":"string","templateUUID":"string"}'Document templates
List document templates
/api/v1/org/{organisationUUID}/document-templates/listReturns the organisation's document templates, optionally of one kind. A kind with none uses its built-in layout.
Nécessite la permission DOCUMENT_TEMPLATES.VIEW.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/document-templates/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Get a document template
/api/v1/org/{organisationUUID}/document-templates/getReturns one document template, with its settings and HTML.
Nécessite la permission DOCUMENT_TEMPLATES.VIEW.
Entrée
Réponse
Retourne le DocumentTemplate sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/document-templates/get" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Create a document template
/api/v1/org/{organisationUUID}/document-templates/createCreates a template for one kind of document. Without HTML it uses the kind's built-in layout, adjusted by its settings. HTML that isn't valid Liquid is refused.
Nécessite la permission DOCUMENT_TEMPLATES.CREATE.
Entrée
Réponse
Retourne le DocumentTemplate sous data.
Erreurs
Ainsi que les erreurs communes :
INVALID_TEMPLATE 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/document-templates/create" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"kind":"string","name":"string"}'Update a document template
/api/v1/org/{organisationUUID}/document-templates/updateChanges a template's name, paper size, settings or HTML, or makes it its kind's default. Fields that are omitted are left unchanged. Documents already made are not changed.
Nécessite la permission DOCUMENT_TEMPLATES.UPDATE.
Entrée
Réponse
Retourne le DocumentTemplate sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
INVALID_TEMPLATE 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/document-templates/update" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Delete a document template
/api/v1/org/{organisationUUID}/document-templates/deleteSoft-deletes a template. Documents already made from it are kept. If it was the default, the oldest remaining template of its kind becomes the default.
Nécessite la permission DOCUMENT_TEMPLATES.DELETE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/document-templates/delete" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Documents
Preview a document
/api/v1/org/{organisationUUID}/documents/previewRenders a saved or unsaved template as HTML, with sample data or a real record, exactly as its PDF would be. Reading a real record needs access to it, as reading it directly would.
Nécessite la permission DOCUMENT_TEMPLATES.VIEW.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
RECORD_NOT_FOUND 404
TEMPLATE_NOT_FOUND 404
INVALID_TEMPLATE 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/documents/preview" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"kind":"string"}'Make a document
/api/v1/org/{organisationUUID}/documents/createMakes a PDF of one record, such as a certificate for an inspection result, from a template, and saves it in the organisation's files on what it is about. It reads the record through its own functions, so it needs access to the record too; for AI-written code and Apps those reads are allowed as part of this call. The file counts towards the storage allowance.
Nécessite la permission DOCUMENT_TEMPLATES.VIEW.
Entrée
Réponse
Retourne le GeneratedDocument sous data.
Erreurs
Ainsi que les erreurs communes :
PLAN_LIMIT_REACHED 402
RECORD_NOT_FOUND 404
TEMPLATE_NOT_FOUND 404
INVALID_TEMPLATE 422
RENDER_FAILED 429
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/documents/create" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"kind":"string","recordUUID":"string"}'List a record's documents
/api/v1/org/{organisationUUID}/documents/listReturns the documents made for one record, such as the certificates made for an inspection result, newest first. Reading them needs access to the record.
Nécessite la permission DOCUMENT_TEMPLATES.VIEW.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
RECORD_NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/documents/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"kind":"string","recordUUID":"string"}'List a project's documents
/api/v1/org/{organisationUUID}/documents/list-for-projectReturns every document kept on a project and its sub-projects, such as quotes, invoices, delivery notes and call sheets, newest first. Reading them needs access to the project.
Nécessite la permission DOCUMENT_TEMPLATES.VIEW.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
RECORD_NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/documents/list-for-project" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"projectUUID":"string"}'Email a document to the client
/api/v1/org/{organisationUUID}/documents/emailEmails a document kept on a project, such as a quote or invoice, to some of the project's client's contacts, with the PDF attached and an optional message. Replies go to the member who sent it. It reads the project and the client's contacts through their own functions, so it needs access to them too; for AI-written code and Apps those reads are allowed as part of this call. The project's history records who it was sent to.
Nécessite la permission DOCUMENT_TEMPLATES.EMAIL_CLIENTS.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
CONTACT_NOT_FOUND 422
NO_CLIENT 422
TOO_LARGE 422
SEND_FAILED 429
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/documents/email" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"fileUUID":"string","contactUUIDs":[]}'Make documents in a batch
/api/v1/org/{organisationUUID}/documents/create-batchStarts making one document of a kind for each of up to 100 records, such as a delivery note for each of tomorrow's projects, in the background. Each is made and kept exactly as documents.create would, as the member who started the batch. Follow it with documents.get-batch.
Nécessite la permission DOCUMENT_TEMPLATES.VIEW.
Entrée
Réponse
Retourne le DocumentBatch sous data.
Erreurs
Ainsi que les erreurs communes :
TEMPLATE_NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/documents/create-batch" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"kind":"string","recordUUIDs":[]}'Get a batch of documents
/api/v1/org/{organisationUUID}/documents/get-batchReturns how a batch from documents.create-batch is going, and each document made so far. Only the member who started a batch can read it.
Nécessite la permission DOCUMENT_TEMPLATES.VIEW.
Entrée
Réponse
Retourne le DocumentBatch sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/documents/get-batch" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Document settings
Get document settings
/api/v1/org/{organisationUUID}/document-settings/getReturns the settings for every document the organisation makes, such as whether each page says it was made with AdamRMS.
Nécessite la permission DOCUMENT_TEMPLATES.VIEW.
Entrée
Aucun. Envoyez un objet vide.
Réponse
Retourne le DocumentSettings sous data.
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/document-settings/get" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Update document settings
/api/v1/org/{organisationUUID}/document-settings/updateChanges the settings for every document, such as whether each page says it was made with AdamRMS. Documents already made are not changed.
Nécessite la permission DOCUMENT_TEMPLATES.UPDATE.
Entrée
Réponse
Retourne le DocumentSettings sous data.
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/document-settings/update" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Certification types
List certification types
/api/v1/org/{organisationUUID}/certification-types/listReturns the organisation's certification types, such as 'IPAF 3a' or 'First aid at work', with how many members currently hold each.
Nécessite la permission CERTIFICATION_TYPES.VIEW.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/certification-types/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Create a certification type
/api/v1/org/{organisationUUID}/certification-types/createCreates a certification type. A name already used by another live type (ignoring case) is refused.
Nécessite la permission CERTIFICATION_TYPES.CREATE.
Entrée
Réponse
Retourne le CertificationType sous data.
Erreurs
Ainsi que les erreurs communes :
NAME_TAKEN 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/certification-types/create" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string"}'Update a certification type
/api/v1/org/{organisationUUID}/certification-types/updateChanges a certification type's name, description or validity. Certifications already recorded keep their expiry dates. Fields that are omitted are left unchanged.
Nécessite la permission CERTIFICATION_TYPES.UPDATE.
Entrée
Réponse
Retourne le CertificationType sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
NAME_TAKEN 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/certification-types/update" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Delete a certification type
/api/v1/org/{organisationUUID}/certification-types/deleteSoft-deletes a certification type. Certifications members already hold keep it. A type that a live training module awards is refused.
Nécessite la permission CERTIFICATION_TYPES.DELETE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
IN_USE 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/certification-types/delete" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Member certifications
List members' certifications
/api/v1/org/{organisationUUID}/member-certifications/listReturns certifications members hold, filtered by member, type or state. Each comes with its status (valid, expiring soon, expired, unverified or revoked) and its evidence files. Anyone can list their own.
Nécessite la permission CERTIFICATION_TYPES.VIEW.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/member-certifications/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Get a certification
/api/v1/org/{organisationUUID}/member-certifications/getReturns one certification a member holds.
Nécessite la permission CERTIFICATION_TYPES.VIEW.
Entrée
Réponse
Retourne le MemberCertification sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/member-certifications/get" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Record a certification
/api/v1/org/{organisationUUID}/member-certifications/createRecords a certification a member holds, such as their IPAF card. One recorded for someone else is verified at once. One a member adds for themselves is unverified, so doesn't count, until someone verifies it. The expiry is worked out from the type's validity unless given.
Nécessite la permission CERTIFICATION_TYPES.VIEW.
Entrée
Réponse
Retourne le MemberCertification sous data.
Erreurs
Ainsi que les erreurs communes :
EXPIRES_BEFORE_GAINED 422
MEMBER_NOT_FOUND 422
TYPE_NOT_FOUND 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/member-certifications/create" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"typeUUID":"string","gainedOn":"string"}'Update a certification
/api/v1/org/{organisationUUID}/member-certifications/updateChanges a certification's type, dates, issuer, reference or comment. Members can change their own while it is unverified. A revoked certification can't be changed. Fields that are omitted are left unchanged.
Nécessite la permission CERTIFICATION_TYPES.VIEW.
Entrée
Réponse
Retourne le MemberCertification sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
REVOKED 409
EXPIRES_BEFORE_GAINED 422
TYPE_NOT_FOUND 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/member-certifications/update" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Verify a certification
/api/v1/org/{organisationUUID}/member-certifications/verifyMarks a certification a member added for themselves as checked, so it counts.
Nécessite la permission MEMBER_CERTIFICATIONS.CREATE.
Entrée
Réponse
Retourne le MemberCertification sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
ALREADY_VERIFIED 409
REVOKED 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/member-certifications/verify" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Revoke a certification
/api/v1/org/{organisationUUID}/member-certifications/revokeStops a certification counting, with a reason. It stays on record as revoked.
Nécessite la permission MEMBER_CERTIFICATIONS.REVOKE.
Entrée
Réponse
Retourne le MemberCertification sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
ALREADY_REVOKED 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/member-certifications/revoke" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string","reason":"string"}'Revoke every certification of a type
/api/v1/org/{organisationUUID}/member-certifications/revoke-allRevokes every member's certification of one type, with a reason, such as when a course changes and everyone must take it again.
Nécessite la permission MEMBER_CERTIFICATIONS.REVOKE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
TYPE_NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/member-certifications/revoke-all" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"typeUUID":"string","reason":"string"}'Delete an unverified certification
/api/v1/org/{organisationUUID}/member-certifications/deleteDeletes a certification that hasn't been verified, such as one a member added by mistake. Its evidence goes to the trash. Verified certifications are revoked instead.
Nécessite la permission CERTIFICATION_TYPES.VIEW.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
VERIFIED 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/member-certifications/delete" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Check members hold certifications
/api/v1/org/{organisationUUID}/member-certifications/checkFor each member, says whether they hold a verified certification of each type that is still valid on a day, such as the last day of a project. Use it to warn before giving someone work that needs a certification.
Nécessite la permission MEMBER_CERTIFICATIONS.VIEW.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/member-certifications/check" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"memberUUIDs":[],"typeUUIDs":[]}'Start uploading a certification's evidence
/api/v1/org/{organisationUUID}/member-certifications/start-evidence-uploadChecks a photo or PDF of the card or certificate can be added to a certification (at most 5 each), and returns a private URL to PUT its bytes to. The file is added once `member-certifications.finish-evidence-upload` is called. Members can add evidence to their own certifications.
Nécessite la permission CERTIFICATION_TYPES.VIEW.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
PLAN_LIMIT_REACHED 402
NOT_FOUND 404
FILE_TOO_LARGE 422
TOO_MANY_FILES 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/member-certifications/start-evidence-upload" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"certificationUUID":"string","fileName":"string","contentType":"string","sizeBytes":1}'Finish uploading a certification's evidence
/api/v1/org/{organisationUUID}/member-certifications/finish-evidence-uploadCompletes an upload begun with `member-certifications.start-evidence-upload` and adds the file to the certification.
Nécessite la permission CERTIFICATION_TYPES.VIEW.
Entrée
Réponse
Retourne le MemberCertification sous data.
Erreurs
Ainsi que les erreurs communes :
PLAN_LIMIT_REACHED 402
NOT_FOUND 404
UPLOAD_NOT_FOUND 404
TOO_MANY_FILES 422
UPLOAD_INCOMPLETE 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/member-certifications/finish-evidence-upload" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uploadToken":"string"}'Remove a certification's evidence
/api/v1/org/{organisationUUID}/member-certifications/remove-evidenceTakes a photo or PDF off a certification. The file goes to the trash, where it waits 30 days. Members can remove evidence from their own certifications until they are verified.
Nécessite la permission CERTIFICATION_TYPES.VIEW.
Entrée
Réponse
Retourne le MemberCertification sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/member-certifications/remove-evidence" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"fileUUID":"string"}'Training modules
List training modules
/api/v1/org/{organisationUUID}/training-modules/listReturns the training modules the caller may see, with how far the caller has got through each and whether they hold the certification it awards.
Nécessite la permission TRAINING_MODULES.VIEW.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/training-modules/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Get a training module
/api/v1/org/{organisationUUID}/training-modules/getReturns a training module with its steps in order, and which of them the caller has done.
Nécessite la permission TRAINING_MODULES.VIEW.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/training-modules/get" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Create a training module
/api/v1/org/{organisationUUID}/training-modules/createCreates a training module, as a draft unless published is set. HYBRID and IN_PERSON modules must award a certification type, because signing someone off records one. Add its steps with `training-steps.create`.
Nécessite la permission TRAINING_MODULES.CREATE.
Entrée
Réponse
Retourne le TrainingModule sous data.
Erreurs
Ainsi que les erreurs communes :
CERTIFICATION_TYPE_NOT_FOUND 422
CERTIFICATION_TYPE_REQUIRED 422
ROLE_NOT_FOUND 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/training-modules/create" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string","type":"string"}'Update a training module
/api/v1/org/{organisationUUID}/training-modules/updateChanges a training module's details, type, what it awards, who can see it, or publishes it. Fields that are omitted are left unchanged.
Nécessite la permission TRAINING_MODULES.UPDATE.
Entrée
Réponse
Retourne le TrainingModule sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
CERTIFICATION_TYPE_NOT_FOUND 422
CERTIFICATION_TYPE_REQUIRED 422
ROLE_NOT_FOUND 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/training-modules/update" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Delete a training module
/api/v1/org/{organisationUUID}/training-modules/deleteSoft-deletes a training module and its steps. Certifications it awarded are kept.
Nécessite la permission TRAINING_MODULES.DELETE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/training-modules/delete" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'See members' progress through a module
/api/v1/org/{organisationUUID}/training-modules/progressReturns every member who has started a training module: how many steps they have done, when they finished, whether they hold its certification, and whether they wait to be signed off.
Nécessite la permission TRAINING_MODULES.VIEW_PROGRESS.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/training-modules/progress" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Sign a member off on a module
/api/v1/org/{organisationUUID}/training-modules/sign-offRecords that a member has shown they can do what a training module teaches, with a comment, by giving them a verified certification of the type it awards. Used for HYBRID and IN_PERSON modules, and to certify someone without the steps.
Nécessite la permission MEMBER_CERTIFICATIONS.CREATE.
Entrée
Réponse
Retourne le MemberCertification sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
MEMBER_NOT_FOUND 422
NO_CERTIFICATION_TYPE 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/training-modules/sign-off" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string","memberUUID":"string","comment":"string"}'Training steps
Add a step to a training module
/api/v1/org/{organisationUUID}/training-steps/createAdds a text or YouTube video step to the end of a training module, which can hold 100 steps.
Nécessite la permission TRAINING_MODULES.UPDATE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
TOO_MANY_STEPS 422
VIDEO_REQUIRED 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/training-steps/create" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"moduleUUID":"string","name":"string","type":"string"}'Update a training step
/api/v1/org/{organisationUUID}/training-steps/updateChanges a step's title, text, video, estimated time, editor notes, or whether members see it. Fields that are omitted are left unchanged.
Nécessite la permission TRAINING_MODULES.UPDATE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
VIDEO_REQUIRED 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/training-steps/update" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Move a training step
/api/v1/org/{organisationUUID}/training-steps/moveMoves a step one place earlier or later in its module.
Nécessite la permission TRAINING_MODULES.UPDATE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/training-steps/move" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string","direction":"string"}'Delete a training step
/api/v1/org/{organisationUUID}/training-steps/deleteSoft-deletes a step. Members who did it keep their progress through the other steps.
Nécessite la permission TRAINING_MODULES.UPDATE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/training-steps/delete" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Mark a training step done
/api/v1/org/{organisationUUID}/training-steps/completeRecords that the caller has done a published step of a module they can see. Finishing every step of an ONLINE module awards its certification; finishing a HYBRID module puts the caller on the list to be signed off.
Nécessite la permission TRAINING_MODULES.VIEW.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
IN_PERSON 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/training-steps/complete" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Finance settings
Get finance settings
/api/v1/org/{organisationUUID}/finance-settings/getReturns how quotes, invoices and credit notes are numbered (prefix, next number and digits), the payment terms, how long quotes are valid, the default deposit, and the discount on what comes in a case.
Nécessite la permission ORGANISATIONS_SETTINGS.VIEW.
Entrée
Aucun. Envoyez un objet vide.
Réponse
Retourne le FinanceSettings sous data.
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/finance-settings/get" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Update finance settings
/api/v1/org/{organisationUUID}/finance-settings/updateChanges how quotes, invoices and credit notes are numbered, the payment terms, quote validity, the default deposit or the discount on what comes in a case. Fields that are omitted are left unchanged. A next number can't go back to one already used, and invoices and credit notes need different prefixes.
Nécessite la permission ORGANISATIONS_SETTINGS.UPDATE.
Entrée
Réponse
Retourne le FinanceSettings sous data.
Erreurs
Ainsi que les erreurs communes :
NUMBER_USED 409
PREFIX_CLASH 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/finance-settings/update" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Project finance
Get a project's money
/api/v1/org/{organisationUUID}/project-finance/getReturns a project's money, with its sub-projects: the total of what's on it, what's been invoiced and paid, what the client still owes, and damage deposits held.
Nécessite la permission INVOICES.VIEW.
Entrée
Réponse
Retourne le ProjectFinance sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/project-finance/get" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"projectUUID":"string"}'Client finance
Get clients' money
/api/v1/org/{organisationUUID}/client-finance/listReturns, for each client asked for, the total of their projects, what's been invoiced and paid, and what they still owe. A project's sub-projects count towards it. Lost and deleted projects, and those of a type without finance, are left out. Sub-clients' projects aren't included in their parent's.
Nécessite la permission INVOICES.VIEW.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/client-finance/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"clientUUIDs":[]}'Client statements
Get a client's statement
/api/v1/org/{organisationUUID}/client-statements/getReturns a client's statement: their issued invoices, deposit invoices and credit notes, and the payments and refunds on their projects, oldest first with a running balance of what they owe. Also returns what's still to pay on each unpaid invoice, and how much of it is overdue. Damage deposits held aren't on it, and nor is work not yet invoiced: client-finance.list has the total of their projects. A project's sub-projects count towards it. Sub-clients' projects don't, and nor do projects in trash.
Nécessite la permission INVOICES.VIEW.
Entrée
Réponse
Retourne le ClientStatement sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/client-statements/get" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"clientUUID":"string"}'Payment methods
List payment methods
/api/v1/org/{organisationUUID}/payment-methods/listReturns the ways the organisation records money being paid, such as bank transfer, card or cash.
Nécessite la permission PAYMENTS.VIEW.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/payment-methods/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Create a payment method
/api/v1/org/{organisationUUID}/payment-methods/createAdds a payment method at the end of the list. A name already used by another method (ignoring case) is refused.
Nécessite la permission ORGANISATIONS_SETTINGS.UPDATE.
Entrée
Réponse
Retourne le PaymentMethod sous data.
Erreurs
Ainsi que les erreurs communes :
NAME_TAKEN 409
TOO_MANY 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/payment-methods/create" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string"}'Rename a payment method
/api/v1/org/{organisationUUID}/payment-methods/updateRenames a payment method. Payments already recorded with it show the new name.
Nécessite la permission ORGANISATIONS_SETTINGS.UPDATE.
Entrée
Réponse
Retourne le PaymentMethod sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
NAME_TAKEN 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/payment-methods/update" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string","name":"string"}'Delete a payment method
/api/v1/org/{organisationUUID}/payment-methods/deleteDeletes a payment method, so it can't be chosen for new payments. Payments already recorded with it keep it.
Nécessite la permission ORGANISATIONS_SETTINGS.UPDATE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/payment-methods/delete" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Payments
List payments
/api/v1/org/{organisationUUID}/payments/listReturns the ledger: payments received, refunds and damage deposits, across the organisation, on one project and its sub-projects, or on one client's projects, newest first by default.
Nécessite la permission PAYMENTS.VIEW.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
CLIENT_NOT_FOUND 404
INVOICE_NOT_FOUND 404
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/payments/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Get a payment
/api/v1/org/{organisationUUID}/payments/getReturns one payment, refund or deposit, with how many files (such as receipts) are attached to it.
Nécessite la permission PAYMENTS.VIEW.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/payments/get" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Record a payment
/api/v1/org/{organisationUUID}/payments/recordRecords money paid on a project, optionally against one of its issued invoices: a payment received, a refund, a damage deposit taken, or a held deposit paid back. Money isn't taken here: this records what already happened.
Nécessite la permission PAYMENTS.RECORD.
Entrée
Réponse
Retourne le Payment sous data.
Erreurs
Ainsi que les erreurs communes :
INVOICE_NOT_FOUND 404
METHOD_NOT_FOUND 404
NOT_FOUND 404
DEPOSIT_EXCEEDED 409
FINANCE_OFF 409
INVOICE_NOT_ISSUED 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/payments/record" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"kind":"string","amount":1}'Keep part of a deposit
/api/v1/org/{organisationUUID}/payments/retain-depositKeeps some of a damage deposit held on a project, such as for damage. Adds a charge to the project for the amount, and records the kept money as the payment for it.
Nécessite la permission PAYMENTS.RECORD.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
METHOD_NOT_FOUND 404
NOT_FOUND 404
TAX_RATE_NOT_FOUND 404
DEPOSIT_EXCEEDED 409
FINANCE_OFF 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/payments/retain-deposit" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"projectUUID":"string","amount":1,"description":"string"}'Delete a payment
/api/v1/org/{organisationUUID}/payments/deleteDeletes a payment recorded by mistake. A retained deposit and its payment go together, and the charge it became stays on the project to remove separately.
Nécessite la permission PAYMENTS.DELETE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
DEPOSIT_EXCEEDED 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/payments/delete" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Invoices
List invoices
/api/v1/org/{organisationUUID}/invoices/listReturns invoices, deposit invoices and credit notes, across the organisation, for one project and its sub-projects, or for one client's projects, with what's been paid on each. Newest first by default.
Nécessite la permission INVOICES.VIEW.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
CLIENT_NOT_FOUND 404
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/invoices/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Get an invoice
/api/v1/org/{organisationUUID}/invoices/getReturns one invoice, deposit invoice or credit note with its lines, who it's made out to, its totals with tax by rate, and what's been paid.
Nécessite la permission INVOICES.VIEW.
Entrée
Réponse
Retourne le InvoiceDetail sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/invoices/get" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Draft an invoice
/api/v1/org/{organisationUUID}/invoices/create-draftDrafts an invoice for a project and its sub-projects. An INVOICE takes every charged line not yet on an invoice, lines that changed since they were invoiced as adjustments, and takes off deposit invoices already issued. A DEPOSIT asks for a share of the project's total, or a fixed amount, split across its tax rates. Drafts can be changed or deleted until they're issued.
Nécessite la permission INVOICES.CREATE.
Entrée
Réponse
Retourne le InvoiceDetail sous data.
Erreurs
Ainsi que les erreurs communes :
DEPOSIT_REQUIRED 400
NOT_FOUND 404
FINANCE_OFF 409
NOTHING_TO_INVOICE 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/invoices/create-draft" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"projectUUID":"string"}'Change a draft invoice
/api/v1/org/{organisationUUID}/invoices/update-draftChanges a draft invoice's reference, notes or due date, or builds its lines again from the project as it is now. Issued invoices never change.
Nécessite la permission INVOICES.CREATE.
Entrée
Réponse
Retourne le InvoiceDetail sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
NOT_DRAFT 409
NOTHING_TO_INVOICE 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/invoices/update-draft" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Delete a draft invoice
/api/v1/org/{organisationUUID}/invoices/delete-draftDeletes a draft invoice, so its lines can go on another. Issued invoices are never deleted: cancel one with a credit note instead.
Nécessite la permission INVOICES.CREATE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
NOT_DRAFT 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/invoices/delete-draft" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Issue an invoice
/api/v1/org/{organisationUUID}/invoices/issueIssues a draft invoice: gives it the next invoice number, sets its due date from the payment terms if it has none, and copies who it's made out to. It can't be changed or deleted afterwards. The PDF is made separately, with documents.create.
Nécessite la permission INVOICES.ISSUE.
Entrée
Réponse
Retourne le InvoiceDetail sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
EMPTY 409
NOT_DRAFT 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/invoices/issue" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Cancel an invoice with a credit note
/api/v1/org/{organisationUUID}/invoices/creditIssues a credit note for an issued invoice, numbered from the credit note sequence. Without `lines` it cancels the whole invoice (less anything partial credit notes took off already). With `lines` it credits only those lines, or part of them, and the invoice stays live with less to pay. Either way, what's credited is free to go on a new invoice, so to give money off, lower the line on the project first and credit the same amount. Only invoices, not deposit invoices, can be partly credited. A deposit invoice already taken off a later invoice can't be credited until that invoice is.
Nécessite la permission INVOICES.CREDIT.
Entrée
Réponse
Retourne le InvoiceDetail sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
ALREADY_CREDITED 409
DEPOSIT_DEDUCTED 409
IS_CREDIT_NOTE 409
NOT_ISSUED 409
NOT_PARTLY_CREDITABLE 409
LINE_NOT_FOUND 422
MORE_THAN_LEFT 422
NO_LINES 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/invoices/credit" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Quotes
List quotes
/api/v1/org/{organisationUUID}/quotes/listReturns quotes issued, across the organisation or for one project and its sub-projects, with whether each was accepted. Newest first by default.
Nécessite la permission QUOTES.VIEW.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/quotes/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Get a quote
/api/v1/org/{organisationUUID}/quotes/getReturns one quote with its lines and totals as they were when it was issued, and whether the project has changed since.
Nécessite la permission QUOTES.VIEW.
Entrée
Réponse
Retourne le QuoteDetail sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/quotes/get" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Issue a quote
/api/v1/org/{organisationUUID}/quotes/issueFreezes what's on a project and its sub-projects now as a numbered quote, the project's next version. Later changes to the project don't change it: issue another to quote again. The PDF is made separately, with documents.create.
Nécessite la permission QUOTES.ISSUE.
Entrée
Réponse
Retourne le QuoteDetail sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
FINANCE_OFF 409
NOTHING_TO_QUOTE 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/quotes/issue" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"projectUUID":"string"}'Record the client's answer to a quote
/api/v1/org/{organisationUUID}/quotes/decideRecords that the client accepted or declined a quote, and who answered. Each quote is answered once. It doesn't change the project's status.
Nécessite la permission QUOTES.UPDATE.
Entrée
Réponse
Retourne le QuoteDetail sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
ALREADY_DECIDED 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/quotes/decide" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string","decision":"string"}'Stop a quote's link working
/api/v1/org/{organisationUUID}/quotes/revoke-linkStops the link from quotes.share working, such as when it went to the wrong person. Sharing again makes a new link.
Nécessite la permission QUOTES.UPDATE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/quotes/revoke-link" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Project crew
List a project's crew
/api/v1/org/{organisationUUID}/project-crew/listReturns the people on a project's crew, in order, each with their role. A member crewed on another live project at the same time has that project listed under clashes.
Nécessite la permission PROJECT_CREW.VIEW.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
PROJECT_NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/project-crew/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"projectUUID":"string"}'List a member's crew roles
/api/v1/org/{organisationUUID}/project-crew/list-for-memberReturns the projects a member is on the crew of, with their role and the project's dates, newest first.
Nécessite la permission PROJECT_CREW.VIEW.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/project-crew/list-for-member" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"memberUUID":"string"}'Add someone to a project's crew
/api/v1/org/{organisationUUID}/project-crew/assignPuts a member, or a named person who isn't a member (such as a freelancer), on a project's crew with a role, optionally charged as a service. The same person can hold several roles. A member already crewed elsewhere at the same time is still added: the clash is shown, not refused. The member is emailed.
Nécessite la permission PROJECT_CREW.UPDATE.
Entrée
Réponse
Retourne le ProjectCrewMember sous data.
Erreurs
Ainsi que les erreurs communes :
PLAN_LIMIT_REACHED 402
PROJECT_NOT_FOUND 404
MEMBER_NOT_FOUND 422
SERVICE_NOT_FOUND 422
TOO_MANY 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/project-crew/assign" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"projectUUID":"string","role":"string"}'Change a crew role
/api/v1/org/{organisationUUID}/project-crew/updateChanges someone's role, comment or the service they're charged as on a project's crew. A member whose role changes is emailed.
Nécessite la permission PROJECT_CREW.UPDATE.
Entrée
Réponse
Retourne le ProjectCrewMember sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
SERVICE_NOT_FOUND 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/project-crew/update" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Take someone off a project's crew
/api/v1/org/{organisationUUID}/project-crew/removeRemoves a place from a project's crew, and the line charging for it, unless an issued invoice charges for that line. A member is emailed. If an accepted application made the place, the vacancy has a place free again.
Nécessite la permission PROJECT_CREW.UPDATE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/project-crew/remove" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Reorder a project's crew
/api/v1/org/{organisationUUID}/project-crew/reorderPuts a project's crew list in a new order, such as the most senior first.
Nécessite la permission PROJECT_CREW.UPDATE.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
PROJECT_NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/project-crew/reorder" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"projectUUID":"string","crewUUIDs":[]}'Get the crew's email addresses
/api/v1/org/{organisationUUID}/project-crew/emailsReturns the email address of every member on a project's crew, once each, to email them all. Named people who aren't members have none, so are listed by name.
Nécessite la permission PROJECT_CREW.EMAIL.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
PROJECT_NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/project-crew/emails" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"projectUUID":"string"}'Crew vacancies
List a project's vacancies
/api/v1/org/{organisationUUID}/crew-vacancies/listReturns the crew vacancies on a project, open or closed, with how many places are filled. Vacancies limited to other roles are left out, except for recruiters.
Nécessite la permission PROJECT_CREW.VIEW.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
PROJECT_NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/crew-vacancies/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"projectUUID":"string"}'List vacancies you can apply for
/api/v1/org/{organisationUUID}/crew-vacancies/openReturns the crew vacancies taking applications that the caller's role may see: open, before their deadline, with places left, on projects that aren't finished. Each says whether the caller has applied.
Nécessite la permission PROJECT_CREW.APPLY.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/crew-vacancies/open" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Get a vacancy
/api/v1/org/{organisationUUID}/crew-vacancies/getReturns one crew vacancy, with its questions and the caller's own application if they have one.
Nécessite la permission PROJECT_CREW.APPLY.
Entrée
Réponse
Retourne le CrewVacancy sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/crew-vacancies/get" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Advertise a crew vacancy
/api/v1/org/{organisationUUID}/crew-vacancies/createAdvertises a role on a project that members can apply for, with how many places there are, an optional deadline and questions. With first come, first served, applicants are accepted as they apply until the places are filled.
Nécessite la permission PROJECT_CREW.RECRUIT.
Entrée
Réponse
Retourne le CrewVacancy sous data.
Erreurs
Ainsi que les erreurs communes :
PROJECT_NOT_FOUND 404
CERTIFICATION_TYPE_NOT_FOUND 422
CREW_ROLE_NOT_FOUND 422
ROLE_NOT_FOUND 422
VIEWER_NOT_FOUND 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/crew-vacancies/create" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"projectUUID":"string","name":"string"}'Change a crew vacancy
/api/v1/org/{organisationUUID}/crew-vacancies/updateChanges a vacancy. Fields that are omitted are left unchanged. Set open to false to stop taking applications.
Nécessite la permission PROJECT_CREW.RECRUIT.
Entrée
Réponse
Retourne le CrewVacancy sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
CERTIFICATION_TYPE_NOT_FOUND 422
CREW_ROLE_NOT_FOUND 422
ROLE_NOT_FOUND 422
VIEWER_NOT_FOUND 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/crew-vacancies/update" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Delete a crew vacancy
/api/v1/org/{organisationUUID}/crew-vacancies/deleteDeletes a vacancy and its applications. People already put on the crew from it stay there.
Nécessite la permission PROJECT_CREW.RECRUIT.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/crew-vacancies/delete" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Crew applications
List a vacancy's applications
/api/v1/org/{organisationUUID}/crew-applications/listReturns the applications for a vacancy, with each applicant's answers, files and whether they hold the certifications the vacancy asks for. Only the project's manager and the vacancy's listed viewers see them, unless the vacancy isn't private, when recruiters do too.
Nécessite la permission PROJECT_CREW.VIEW.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/crew-applications/list" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"vacancyUUID":"string"}'List your applications
/api/v1/org/{organisationUUID}/crew-applications/mineReturns the caller's own applications for crew vacancies, newest first, with where each is up to.
Nécessite la permission PROJECT_CREW.APPLY.
Entrée
Réponse
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/crew-applications/mine" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Apply for a crew vacancy
/api/v1/org/{organisationUUID}/crew-applications/applyApplies for a vacancy as the caller, with their answers to its questions. On a first come, first served vacancy the application is accepted straight away and the caller joins the crew. The project's manager is emailed. Files, such as a CV, are attached afterwards with crew-applications.start-file-upload.
Nécessite la permission PROJECT_CREW.APPLY.
Entrée
Réponse
Retourne le CrewApplication sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
ALREADY_APPLIED 409
CLOSED 409
MEMBER_NOT_FOUND 422
PHONE_REQUIRED 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/crew-applications/apply" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"vacancyUUID":"string"}'Withdraw your application
/api/v1/org/{organisationUUID}/crew-applications/withdrawWithdraws one of the caller's own applications. If it had been accepted, the caller comes off the crew and the place is free again.
Nécessite la permission PROJECT_CREW.APPLY.
Entrée
Réponse
Retourne le CrewApplication sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
ALREADY_WITHDRAWN 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/crew-applications/withdraw" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Accept an application
/api/v1/org/{organisationUUID}/crew-applications/acceptAccepts an application, putting the applicant on the project's crew with the vacancy's role. Refused once every place is filled. The applicant is emailed.
Nécessite la permission PROJECT_CREW.RECRUIT.
Entrée
Réponse
Retourne le CrewApplication sous data.
Erreurs
Ainsi que les erreurs communes :
PLAN_LIMIT_REACHED 402
NOT_FOUND 404
FULL 409
UNCHANGED 409
WITHDRAWN 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/crew-applications/accept" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Reject an application
/api/v1/org/{organisationUUID}/crew-applications/rejectRejects an application. If it had been accepted, the applicant comes off the crew. The applicant is emailed.
Nécessite la permission PROJECT_CREW.RECRUIT.
Entrée
Réponse
Retourne le CrewApplication sous data.
Erreurs
Ainsi que les erreurs communes :
PLAN_LIMIT_REACHED 402
NOT_FOUND 404
FULL 409
UNCHANGED 409
WITHDRAWN 409
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/crew-applications/reject" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uuid":"string"}'Start attaching a file to your application
/api/v1/org/{organisationUUID}/crew-applications/start-file-uploadReturns a short-lived link to PUT a file to, such as a CV, for one of the caller's own applications on a vacancy that takes files. Finish with crew-applications.finish-file-upload.
Nécessite la permission PROJECT_CREW.APPLY.
Entrée
Réponse
Erreurs
Ainsi que les erreurs communes :
NOT_ALLOWED 403
NOT_FOUND 404
FILE_TOO_LARGE 422
PLAN_LIMIT_REACHED 422
TOO_MANY_FILES 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/crew-applications/start-file-upload" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"applicationUUID":"string","fileName":"string","contentType":"string","sizeBytes":1}'Finish attaching a file
/api/v1/org/{organisationUUID}/crew-applications/finish-file-uploadAttaches the uploaded file to the application.
Nécessite la permission PROJECT_CREW.APPLY.
Entrée
Réponse
Retourne le CrewApplication sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_ALLOWED 403
NOT_FOUND 404
UPLOAD_NOT_FOUND 404
UPLOAD_INCOMPLETE 409
PLAN_LIMIT_REACHED 422
TOO_MANY_FILES 422
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/crew-applications/finish-file-upload" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uploadToken":"string"}'Remove a file from your application
/api/v1/org/{organisationUUID}/crew-applications/remove-fileTakes a file off one of the caller's own applications and moves it to the trash.
Nécessite la permission PROJECT_CREW.APPLY.
Entrée
Réponse
Retourne le CrewApplication sous data.
Erreurs
Ainsi que les erreurs communes :
NOT_FOUND 404
Exemple
curl -X POST "https://adam-rms.com/api/v1/org/$ORGANISATION_UUID/crew-applications/remove-file" \
-H "Authorization: Bearer $ADAMRMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"fileUUID":"string"}'Modèles
Accessories
An asset type's accessories: the other asset types that go out with it, such as the clamp, safety bond and colour frame with a lantern
Accessory
One accessory of an asset type
App
An App: code the organisation runs in the platform
AppDetail
An App with all its versions
AppInstallation
An App installed in the organisation
AppListing
An App in the marketplace
AppListingDetail
An App in the marketplace, with its listed versions
AppManifest
What an App version asks to be allowed to do. Installing it shows an administrator exactly this to approve
AppRun
One run of an App's handler, with its input, output and log
AppRunSummary
One run of an App's handler
AppSubmission
A version of an App submitted to the marketplace
AppUiNode
AppUiPanel
One App's panel on a page
AppVersion
An immutable version of an App, with its code
AppVersionSummary
An immutable version of an App
Asset
An asset: one individually tracked unit, or one bulk lot
AssetCategory
An asset category
AssetCategoryTreeNode
An asset category with its children
AssetDetail
An asset with its cases, contents and totals
AssetGroup
A named list of assets, such as the rig for one tour. An asset can be in several groups
AssetIdentifier
An asset ID: a value printed on the asset and scanned
AssetImportIssue
AssetSettings
How the organisation's new asset IDs are numbered
AssetType
An asset type: a catalogue entry whose stock are assets
AttachedFile
A file or link attached to a record
AttachmentFolder
A folder of files attached to a record
AuditEvent
One entry in the organisation's audit log
Billing
Who it's made out to. Copied from the project's client while it's a draft, and frozen when it's issued
CalendarEvent
A project on a calendar, with the dates that apply to it (a sub-project's own, else its parent's)
CalendarFeed
The caller's private calendar feed. Its address is only shown when it's made
CalendarSettings
How the organisation's calendar looks
CalendarWeekLabel
A name for one week, shown in place of its week number
CertificationType
Something a member can hold, such as a qualification, licence or card
Client
A client: a business or person the organisation hires to. The people to contact there are its contacts
ClientContact
A person at a client
ClientFinance
A client's money, over their projects
ClientPricing
Client pricing: named alternative prices, such as 'Trade' or 'Dry hire', that a client's projects can use
ClientPricingDetail
Client pricing with its entries
ClientPricingEntry
Client pricing's price for one asset type, or for every type in a category. An entry with no rate, percentage or structure charges catalogue prices, ignoring the list's own percentage
ClientStatement
A client's statement: what they've been invoiced and paid across their projects, with a running balance, in the smallest currency unit
ClientTimelineEntry
ClientTimelineProject
Comment
A comment on a record
CommentAttachment
A file attached to a comment
CommentPerson
A member of the organisation
CrewApplication
An application for a crew vacancy
CrewProjectRef
The project, with the dates its crew work
CrewRole
A role the organisation recruits crew for again and again, such as a lighting designer, with what it involves
CrewVacancy
A role on a project that members can apply for
CustomField
A custom field definition
CustomFieldValue
Dashboard
The caller's dashboard: the widgets they can see, which they've hidden, and what the shown ones hold
DocumentBatch
Documents being made in the background, one for each record. Each is kept on its record as documents.create keeps it. Batches are kept for 30 days
DocumentDetail
A custom field marked "Show on client documents", with the asset type's value
DocumentSettings
Settings for every document the organisation makes
DocumentTemplate
How one kind of document looks. A kind with no templates uses its built-in layout
DocumentTemplateSettings
Settings that adjust a template's layout. Custom HTML can read them as `settings`
EmailDomain
An email domain whose users can join the organisation once they have verified their email address
FinanceSettings
How quotes, invoices and credit notes are numbered, and the organisation's payment terms
GeneratedDocument
A PDF document AdamRMS made from a template
Icon
An icon uploaded by the organisation
InspectionResult
An inspection result
InspectionTemplate
An inspection template, such as PAT or LOLER
Invitation
A pending invitation to join the organisation
Invoice
An invoice, deposit invoice or credit note for a project. Amounts are in the smallest currency unit; a credit note's are negative
InvoiceDetail
An invoice with its lines
JoinCode
A code anyone can use to join the organisation, with a set role
LabelElement
One thing drawn on the label
LabelSheet
For labels on sheets, such as A4 sticker sheets: how they are laid out. Null for labels on a roll or tape, printed one at a time
LabelTemplate
How a label looks: its size, whether it's on a sheet or a roll, and where the barcode, text, logo and colour bands go
LegacyImportRun
One import from the previous version of AdamRMS
Licence
One of the organisation's licences. Each member needs one
LocalisationSettingsWithLock
The organisation's currency, timezone, language and units, and whether the currency can still change
Location
A location: a venue, a warehouse, a shelf in a warehouse, ...
LocationBarcode
An extra barcode on a location. Every location also answers to its own UUID
LocationTreeNode
A location with the locations inside it
MaintenanceJob
A maintenance job
MaintenancePriority
A maintenance job priority
MaintenanceStatus
A maintenance job status
Manufacturer
A manufacturer of assets
ManufacturerTreeNode
A manufacturer with the manufacturers it owns
Member
A member of the organisation
MemberCertification
A certification a member holds
MemberProfile
A member of the organisation, with details for their profile
MyCalendarEvent
A project on the caller's own calendar
OrganisationDetails
The organisation's name and contact details
OrganisationFile
A file or link in the organisation's files
OrganisationUrl
One of the organisation's URLs, current or former
Package
A bundle of asset types hired out together at one price, such as a small PA package, with what is in it
PackageContent
One asset type in a package
PackageSummary
A bundle of asset types hired out together at one price, such as a small PA package
Payment
Money in or out on a project
PaymentMethod
How money was paid, such as 'Bank transfer' or 'Card'
PriceStructure
A price structure: how the length of a hire becomes a multiple of an item's rate
Project
A project
ProjectAllocation
Stock allocated to a line: a unit, or some of a lot
ProjectCrewMember
Someone on a project's crew
ProjectDates
A project's dates
ProjectDocument
A PDF document kept on a project
ProjectFinance
A project's money, with its sub-projects: what's on it, invoiced and paid, in the smallest currency unit
ProjectFolder
A folder that projects are organised in
ProjectLine
One line on a project's quote
ProjectLineAvailability
How much of a line's asset type is free over its period
ProjectLineCounts
How far a project's assets have got, across all its lines
ProjectLineGroup
A group of a project's lines, such as one asset category
ProjectLinePrices
A line's prices, all in the smallest currency unit
ProjectNote
A note on a project
ProjectSections
Which sections projects of a type show
ProjectStatus
A project status
ProjectTemplate
A project saved to start others from: its lines, crew roles and notes
ProjectTemplateLine
A line the template adds to a project
ProjectTotals
A project's totals, including its sub-projects, all in the smallest currency unit
ProjectType
A project type
PublicSiteSettings
What the organisation's public site shows
Quote
A quote sent for a project: its lines and totals frozen when it was issued. Amounts are in the smallest currency unit
QuoteDetail
A quote with its lines
QuoteLine
A line on a quote, as it was when the quote was issued
QuoteTotals
A quote's totals, as they were when it was issued
Role
A role: a named set of permissions members can be given
Scan
A sighting of an asset
ScannedAsset
The parts of an asset the scanner shows
ScanPhoto
A condition photo taken with a scan
ScanPreset
A saved way to start the scanner
ScanSession
A run of the scanner, with what it scans into
ScanSettings
How the organisation's scanner films and photographs scans
ScanTarget
What a scan session scans into
SearchResult
SecuritySettings
Which roles must use two-factor authentication, and when idle members are signed out
Service
Something the organisation charges for that isn't stock, such as delivery or a technician day
SingleSignOn
The organisation's SAML single sign-on
SingleSignOnDomain
An email domain for single sign-on
StatementEntry
One line of a client's statement
StockMovement
One change to a lot's quantity
SubHire
Stock hired in from a supplier to fill a line
TaxRate
A tax rate
TaxSettings
Tax settings
TaxTotal
One tax rate's share of a project's total
TrainingModule
A training module
TrainingStep
One step of a training module
UnpaidInvoice
An issued invoice with something still to pay
VacancyQuestion
A question applicants answer
Webhook
An address AdamRMS sends signed events to when things change
WebhookDelivery
One event sent to a webhook, with its latest attempt
WikiCard
One box of content on a wiki page
WikiPage
A page in the organisation's wiki, such as a warehouse procedure. Its content is its newest revision
WikiPageWithContent
A wiki page with the content of one of its revisions
WikiRevisionSummary
One saved version of a page, without its content

