Retrieves an agreement given its ID.
Changed onRetrieves an agreement with a specific ID.
Request
- Base URLhttps://app.ninjarmm.com (the document declares no server; this is the origin it was published from)
- Auth
- HTTP bearer
- or API key in cookie sessionKey
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Agreement ID
Response
Found agreement.
Example response
{
"client": {
"id": 789,
"name": "Acme Corporation"
},
"products": [
{
"productUserRole": {
"allowAllTechnicians": true,
"userRoles": [
{
"id": 1,
"name": "Admin"
}
]
}
}
],
"deviceCountsProducts": [
{
"productUserRole": {
"allowAllTechnicians": true,
"userRoles": [
{
"id": 1,
"name": "Admin"
}
]
}
}
],
"timeEntriesProducts": [
{
"productUserRole": {
"allowAllTechnicians": true,
"userRoles": [
{
"id": 1,
"name": "Admin"
}
]
}
}
],
"endUserCountsProducts": [
{
"productUserRole": {
"allowAllTechnicians": true,
"userRoles": [
{
"id": 1,
"name": "Admin"
}
]
}
}
],
"backupStorageCountsProducts": [
{
"productUserRole": {
"allowAllTechnicians": true,
"userRoles": [
{
"id": 1,
"name": "Admin"
}
]
}
}
],
"softwareLicenseProducts": [
{
"productUserRole": {
"allowAllTechnicians": true,
"userRoles": [
{
"id": 1,
"name": "Admin"
}
]
}
}
]
}Changes
- warning
added the new
ONE_OFFenum value to theresponse property for the response status
- warning
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info