Skip to content

User API Schemas

User response (Usered)

Represents a user entity returned by the instantCMR API

{
    "copid": "LogisticsGmbH",
    "ouxtid": "BusinessUnit1",
    "userxtid": "494922944810349",
    "usern": "Bertram Friedrich",
    "ocontact": {
        "ousern": "Bertram Friedrich",
        "email": "bertram.friedrich@logisticsgmbh.de",
    },
    "oaccn": "betram.friedrich",
    "locale": "de-DE",
    "tz": "Europe/Berlin",
    "ofDeleted": true,
    "usermeta": {
        "ostEmployeeId": "494922944810349",
        "ostVoicePhone": "+49-155-5558-878",
        "ostHaulerPlate": "FM682RK",
        "ostTrailerPlate": "OB462PY",
        "extraValues": [
            {
                "name": "DRIVING LICENSE",
                "value": "AB298373",
                "expiresAt": "2035-02-13"
            },
            {
                "name": "IDENTITY CARD",
                "value": "952697AE"
            }
        ]
    },
    "dboxc": {
        "oshrn": "Bertram",
        "rguserxtidFollow": [
            "49492294481526", … ,
            "4949222382123"
        ]
    },
    "roles": {
        "odriver": {
            "rgcontactCmr": [
                {
                    "ousern": "Harald Weber",
                    "email": "harald.weber@logisticsgmbh.de",
                },  
                …
            ],
            "rgcontactAcc": […
            ],
            "rgcontactGdam": […
            ],
            "rgcontactMisc": […
            ]
        },
        "odisp": {},
        "orev": {},
        "odia": {},
        "ochedit": {},
        "ochadmin": {},
        "ocampaignadmin": {},
        "oiep": {}
    },
    "rgulic": [
        {
            "kid": "oh91tDqJySK8wur2V6ZNhg",
            "ostDeviceModel": "SAMSUNG J330F",
            "ostDeviceImei": "302828644031295",
            "ostPin": "1111",
            "ostPhone": "+49-152-5552-942",
            "ostImsi": "082926209143692255",
            "ostSubscription": "Vodafone Red",
        },  

        …
    ]
}

Fields

copidstringCompany identifier assigned by instantCMR.
ouxtidstringOrganization unit identifier.
userxtidstringClient-generated user identifier.
usernstringName of user.

ocontact

contact (optional)

Email address of user. instantCMR uses this contact information to send license invitation and password renewal emails to this user.

If omitted, user will not receive invitation or password reset emails.

oaccn

string (optional)

Account name of user. Used to form the login name of the user on the instantCMR Hub. Users can login to the instantCMR Hub with the login name oaccn@copid (e.g. betram.friedrich@LogisticsGmbH). The account name may only consist of letters, numbers and the ‘.’ (dot) and ‘-’ (dash) characters.

If omitted, an account name will be generated from the value of the usern field for each user whose roles provide access to the instantCMR Hub (disp, rev, dia, chedit, campaignadmin, chadmin). The generated account name will contain all valid characters from usern, with letters converted to lowercase, whitespaces replaced with ‘.’ (dot) character. E.g. the user name “Betram Friedrich-Strauss+69” will be converted to an account name of “bertram.friedrich-strauss69”. The account name (both if present or generated from user name) must be unique for each user of the company denoted by copid.

localestringISO 639 alpha-2 or alpha-3 language code identifying the language of email notifications sent to this user.
tzstringThe IANA time zone database name of the time zone used to format date and time info in email correspondence with this user.
ofDeletedboolean (optional)Only present (with a value of true), if the user has been deactivated. Deactivated users are unable to use instantCMR but their historic data is kept around.
usermetausermetaUser information.
dboxcdboxcConfiguration of the user’s document storage.
rolesrolesRoles assigned to the user.
rguliclist of ulicList of licenses assigned to the user.

User update (Usereu)

Represents a user update sent to the instantCMR API.

{
    "ouxtid": "BusinessUnit1",
    "usern": "Bertram Friedrich",
    "ocontact": {
        "ousern": "Bertram Friedrich",
        "email": "bertram.friedrich@logisticsgmbh.de",
    },
    "oaccn": "betram.friedrich",
    "locale": "de-DE",
    "tz": "Europe/Berlin",
    "ofDeleted": true,
    "usermeta": {
        "ostEmployeeId": "494922944810349",
        "ostVoicePhone": "+49-155-5558-878",
        "ostHaulerPlate": "FM682RK",
        "ostTrailerPlate": "OB462PY",
        "extraValues": [
            {
                "name": "DRIVING LICENSE",
                "value": "AB298373",
                "expiresAt": "2035-02-13"
            },
            {
                "name": "IDENTITY CARD",
                "value": "952697AE"
            }
        ]
    },
    "dboxc": {
        "oshrn": "Bertram",
        "rguserxtidFollow": [
            "49492294481526", … ,
            "4949222382123"
        ]
    },
    "roles": {
        "odriver": {
            "rgcontactCmr": [
                {
                    "ousern": "Harald Weber",
                    "email": "harald.weber@logisticsgmbh.de",
                },  
                …
            ],
            "rgcontactAcc": […],
            "rgcontactGdam": […],
            "rgcontactMisc": […]
        },
        "odisp": {},
        "orev": {},
        "odia": {},
        "ochedit": {},
        "ochadmin": {},
        "ocampaignadmin": {},
        "oiep": {}
    }
}

Fields

ouxtidstringOrganization unit identifier.
userxtidstringClient-generated user identifier.
usernstringName of user.
ocontactcontact (optional)Email address of user. instantCMR uses this contact information to send license invitation and password renewal emails to this user. If omitted, user will not receive invitation or password reset emails.

oaccn

string (optional)

Account name of user. Used to form the login name of the user on the instantCMR Hub. Users can login to the instantCMR Hub with the login name oaccn@copid (e.g. betram.friedrich@LogisticsGmbH). The account name may only consist of letters, numbers and the ‘.’ (dot) and ‘-’ (dash) characters.

If omitted, an account name will be generated from the value of the usern field for each user whose roles provide access to the instantCMR Hub (disp, rev, dia, chedit, campaignadmin, chadmin). The generated account name will contain all valid characters from usern, with letters converted to lowercase, whitespaces replaced with ‘.’ (dot) character. E.g. the user name “Betram Friedrich-Strauss+69” will be converted to an account name of “bertram.friedrich-strauss69”. The account name (both if present or generated from user name) must be unique for each user of the company denoted by copid.

localestringISO 639 alpha-2 or alpha-3 language code identifying the language of email notifications sent to this user.
tzstringThe IANA time zone database name of the time zone used to format date and time info in email correspondence with this user.
ofDeletedboolean (optional)Only present (with a value of true), if the user has been deactivated. Deactivated users are unable to use instantCMR but their historic data is kept around.
usermetausermetaUser information.
dboxcdboxcConfiguration of the user’s document storage.
rolesrolesRoles assigned to the user.

Email contact (Contact)

Represents an email address.

{
    "ousern": "Harald Weber",
    "email": "harald.weber@logisticsgmbh.de"
}

Fields

ousernstring (optional)Display name of contact.
emailstringEmail address of contact. Please observe Anti-Spam requirements for email contacts.

User description (Usermeta)

Fields describing the user.

{
    "ostEmployeeId": "494922944810349",
    "ostVoicePhone": "+49-155-5558-878",
    "ostHaulerPlate": "FM682RK",
    "ostTrailerPlate": "OB462PY",
    "extraValues": [
        {
            "name": "DRIVING LICENSE",
            "value": "AB298373",
            "expiresAt": "2035-02-13"
        },
        {
            "name": "IDENTITY CARD",
            "value": "952697AE"
        }
    ]
}

Fields

ostEmployeeIdstring (optional)Employee identifier of the user.
ostVoicePhonestring (optional)Voice phone number of the user.
ostHaulerPlatestring (optional)License plate of the user’s hauler.
ostTrailerPlatestring (optional)License plate of the user’s trailer.
extraValueslist of ProfileValue (optional)Additional user information with optional expiration date such as ID card, passport, etc.

Profile value (ProfileValue)

User information with optional expiration date such as ID card, passport, etc.

{
    "name": "DRIVING LICENSE",
    "value": "AB298373",
    "expiresAt": "2035-02-13"
}

Fields

namestringThe name of the profile value.
valuestringThe value of the profile value.
expiresAtstring (optional)The expiration date of the profile value in the format of 'YYYY-MM-DD'

User roles (Roles)

Roles assigned to a user.

{
    "odriver": {
        "rgcontactCmr": [
            {
                "ousern": "Harald Weber",
                "email": "harald.weber@logisticsgmbh.de",
            },  
            …
        ],
        "rgcontactAcc": […],
        "rgcontactGdam": […],
        "rgcontactMisc": […]
    },
    "odisp": {},
    "orev": {},
    "odia": {},
    "ochedit": {},
    "ochadmin": {},
    "ocampaignadmin": {},
    "oiep": {}
}

Fields

odriverdriverrole (optional)Present if the user is a driver, omitted otherwise. Drivers can be assigned mobile devices and trips and can submit documents.
odispobject (optional)Present if the user is a dispatcher, omitted otherwise. When present, the value is an empty object. Dispatchers can manage other users’ document storages and inboxes on the instantCMR Hub.
orevobject (optional)Present if the user is a reviewer, omitted otherwise. When present, the value is an empty object. Reviewers can manage other users’ trips on the instantCMR Hub.
odiaobject (optional)Present if the user is a device inventory administrator, omitted otherwise. When present, the value is an empty object. Device inventory administrators can manage mobile devices and assign these devices to drivers on the instantCMR Hub.
ocheditobject (optional)Present if the user is a chat editor, omitted otherwise. When present, the value is an empty object. Chat editors can create and manage chat groups in their organization unit that they are also a member of.
campaignadminobject (optional)Present if the user is a campaign administrator, omitted otherwise. When present, the value is an empty object. Campaign administrators can create, edit, archive, gamification campaigns within the company.
chadminobject (optional)Present if the user is a chat administrator, omitted otherwise. When present, the value is an empty object. Chat administrators can create, manage, read and post messages into any chat group within their organization unit.
oiepobject (optional)Present if the user has API access to instantCMR, omitted otherwise. When present, the value is an empty object.

Driver role (Driverrole)

Represents a driver role.

{
    "rgcontactCmr": [
        {
            "ousern": "Harald Weber",
            "email": "harald.weber@logisticsgmbh.de",
        },  
        …
    ],
    "rgcontactAcc": […],
    "rgcontactGdam": […],
    "rgcontactMisc": […]
}

Fields

rgcontactCmrlist of contactList of email contacts to receive email notification whenever this driver submits documents of type cmr, dlvryn, palletn, custd, misc, wbt, thesc, sanid, wayb, wmad, dad, bol, rep.
rgcontactAcclist of contactList of email contacts to receive email notification whenever this driver submits documents of type acc.
rgcontactGdamlist of contactList of email contacts to receive email notification whenever this driver submits documents of type gdam.
rgcontactMisclist of contactList of email contacts to receive email notification whenever this driver submits documents of type miscph.

User license assignment (Ulic)

Represents a license assigned to a user.

{  
    "kid": "oh91tDqJySK8wur2V6ZNhg",  
    "ostDeviceModel": "SAMSUNG J330F",  
    "ostDeviceImei": "302828644031295",  
    "ostPin": "1111",  
    "ostPhone": "+49-152-5552-942",  
    "ostImsi": "082926209143692255",  
    "ostSubscription": "Vodafone Red" 
}  

Fields

kidstringIdentifier of the license assigned to the user.
ostDeviceModelstring (optional)Model name of the mobile device. (only present if this license denotes a mobile device)
ostDeviceImeistring (optional)Imei number of the mobile device. (only present if this license denotes a mobile device)
ostPinstring (optional)Pin code of the mobile device. (only present if this license denotes a mobile device)
ostPhonestring (optional)Phone number of the sim card in the mobile device. (only present if this license denotes a mobile device)
ostImsistring (optional)Imsi number of the sim card in the mobile device. (only present if this license denotes a mobile device)
ostSubscriptionstring (optional)Subscription package name and/or details of the sim card in the mobile device. (only present if this license denotes a mobile device)
© 2025 instantCMR LtdAPI Legal Disclaimer