RMIS Documentation Addendum - AttachDetach API 072814
RMIS Documentation Addendum - AttachDetach API 072814
RMIS Transportation
Carrier Attach / Detach API Documentation
Updated 7/28/2014
Note: the RMIS system allows clients to monitor a single carrier with multiple mapping IDs
(ClientsCarrierID). That means that a single carrier can be added twice (or more times) to RMIS, but can
An RMIS Monitoring Only client has RMIS monitor only insurance and DOT information, but not the
onboarding data which is unique to the CRS+ information. The same RMIS Transportation API supports
both monitoring and CRS+ accounts.
The Attach/Detach API works for BOTH types of RMIS clients. NOTE: if a carrier is attached via API to a
CRS+ client’s account, RMIS will begin monitoring the carrier for the client, BUT the carrier will NOT
automatically be registered through the onboarding process. The Attach API will ONLY add the carrier
for basic monitoring services.
Using the Detach API will make the carrier invisible to the client in the RMIS system. If the client needs
to preserve historical information about a carrier (agreements, certificates, W9s, certification status,
etc.) the client would be advised NOT to use the Detach API since that information will be removed from
their system.
Replace <domainname> with the RMIS provided custom client domain name.
Required Arguments
There are 3 required static arguments that must ALWAYS be provided in the URL:
The RMIS attach API allows the carrier that is to be attached to be identified several ways. Any of the
options below can be used, but ONE and ONLY ONE can be provided at a time. The carrier identifier can
be:
Any of the above choices can be used, but ONE and ONLY ONE can be used at one time.
Note: the carrier identified using one of the above arguments MUST exist in the RMIS database for the
attach API to be successful. If the carrier does not exist in the RMIS system, please contact customer
service for assistance.
Note: if the carrier is ALREADY attached to the client in the RMIS system, the API will return an error.
Clients can attach carriers in the RMIS system using this unique ID. If used, the RMIS system will
maintain a SEPARATE mapping for each carrier / ClientInsured ID pair. For example, if a client attaches
the following carriers in the RMIS system using the API:
The RMIS system will allow the client to attach the same carrier TWICE, once as TEST and once as T123.
The RMIS system will from that point forward monitor that single carrier’s information, but report it
back to the client under TEST and T123.
IMPORTANT: if in the future, the client wishes to DETACH that carrier, BOTH versions must be explicitly
detached. That means if the client wants to remove Test Trucking from being monitored, the client
must run the Detach API for both versions, as they are treated as separate in the RMIS system for that
client.
If the client does NOT wish to deal with adding multiple mappings for a single carrier, the
ClientInsuredID can be safely omitted, or left blank.
Examples of ClientInsuredID:
ClientID=12345
Pwd=pass
attachMode=Attach
Below are examples by carrier identifier type (and using the generic/http URL base), and NO
ClientInsuredID special mapping. The carrier IDs shown below are examples only.
To attach a carrier WITH custom client mapping, just add the associated ID in with the clientsCarrierID
argument.
o http://api.registrymonitoring.com/_c/std/api/AttachCarrier.aspx?clientID=12345&pwd=
pass&MCNumber=111111&clientsCarrierID=TEST&attachMode=Attach
Note: the only difference is that we have added TEST as the unique client ID. It is possible to add the
same carrier multiple times as long as the clientsCarrierID is unique each time. The combination of the
carrier’s ID (MC/DOT/Intrastate Permit/RMIS ID) and the clientsCarrierID form a compound key in the
RMIS system.
Note: If a carrier is attached with a clientsCarrierID, then any future updates or Detaches MUST include
the same clientsCarrierID since it is now part of the carrier’s key in the RMIS system.
Note: If a carrier is ALREADY attached with the same carrier identifier AND clientsCarrierID, the API will
return an error.
The <Result> node will contain either “Attach SUCCESS” or “ERROR”. If ERROR, there will be an <Errors>
node containing the reason for the failure.
If successful, the <ConfirmationID> node will contain the ID of the added mapping.
Success Example:
<RMISAttachCarrier>
<Header>
Error Example #2 (API tried to add a carrier that does not exist in the RMIS system)
Error Example #3 (API tried to add a carrier that already exists for this client in the RMIS system)
By MC# (MC111111)
o http://api.registrymonitoring.com/_c/std/api/AttachCarrier.aspx?clientID=12345&pwd=
pass&MCNumber=MC111111&clientsCarrierID=&attachMode=Detach
By DOT# (US DOT 1111111)
o http://api.registrymonitoring.com/_c/std/api/AttachCarrier.aspx?clientID=12345&pwd=
pass&DOTNumber=1111111&clientsCarrierID=&attachMode=Detach
By Intrastate Permit (California, permit number 11111111)
o http://api.registrymonitoring.com/_c/std/api/AttachCarrier.aspx?clientID=12345&pwd=
pass&IntrastateNumber=11111111&State=CA&clientsCarrierID=&attachMode=Detach
By RMIS Insured ID (RMIS ID 999999)
o http://api.registrymonitoring.com/_c/std/api/AttachCarrier.aspx?clientID=12345&pwd=
pass&insdID=999999&clientsCarrierID=&attachMode=Detach
The above samples will only work if there is NO clientCarrierID mappings. If clientCarrierID are present
in the client’s mapping of a carrier, then the related clientCarrierID MUST be provided. If there are
multiple clientCarrierIDs then they must be detached using MULTIPLE API calls.
To detach a carrier WITH custom client mapping, just add the associated ID in with the clientsCarrierID
argument.
o http://api.registrymonitoring.com/_c/std/api/AttachCarrier.aspx?clientID=12345&pwd=
pass&MCNumber=111111&clientsCarrierID=TEST&attachMode=Detach
The <Result> node will contain either “Detach SUCCESS” or “ERROR”. If ERROR, there will be an <Errors>
node containing the reason for the failure.
If successful, the <ConfirmationID> node will contain the RMIS ID of the carrier that was detached.
Success Example:
In addition to the bad credential errors which will appear the same as with the Attach API, the Detach
API has an additional error case. If the API call attempts to remove a carrier or carrier/clientsCarrierID
that does NOT exist in the RMIS system, the following error will be returned:
The attachMode will be set to “Update”, and the new argument “clientsCarrierIDNew” must be supplied
with the ID that will replace the existing clientsCarrierID.
http://api.registrymonitoring.com/_c/std/api/AttachCarrier.aspx?clientID=12345&pwd=pass&M
CNumber=111111&clientsCarrierID=TEST&clientsCarrierIDNew=NEWID&attachMode=Update