Skip to main content

Resource

A resource in Dime.Scheduler is someone or something that needs to be allocated during a certain timeframe in order for a task to be performed or fulfilled. This can be a service technician, a sales person, an employee, a car, a machine or equipment, a hotel or meeting room, etc.

The following entities are exposed through the API.

Resource

Upsert

Inserts or updates a resource record.

NameData TypeDefaultRequiredDescription
SourceAppnvarchar(30)See API reference
SourceTypenvarchar(10)See API reference
ResourceTypenvarchar(100)The resource type's name
ResourceTypeIdintThe resource type's internal id
ResourceNamenvarchar(100)
DisplayNamenvarchar(100)
Departmentnvarchar(50)
ResourceNonvarchar(50)✔️The resource's external identifier.
Emailnvarchar(100)
Phonenvarchar(50)
MobilePhonenvarchar(50)
ReplacementResourcebit
FieldServiceEmailnvarchar(100)
PersonalEmailnvarchar(100)
GpsTrackingResourceNonvarchar(50)
HomeAddressnvarchar(max)
HomeAddressGeoLongfloat
HomeAddressGeoLatfloat
HomePhonenvarchar(50)
HomeEmailnvarchar(50)
HomeRegionnvarchar(10)
HomePostcodenvarchar(20)
HomeCitynvarchar(50)
HomeCountynvarchar(50)
HomeStatenvarchar(50)
HomeCountrynvarchar(50)
TeamCodenvarchar(20)
TeamNamenvarchar(100)
TeamTypenvarchar(20)
TeamSortint
TeamMemberTypenvarchar(20)
TeamMemberSortint
FreeText1nvarchar(100)See API reference
FreeText2nvarchar(100)See API reference
FreeText3nvarchar(100)See API reference
FreeText4nvarchar(100)See API reference
FreeText5nvarchar(100)See API reference
FreeText6nvarchar(100)See API reference
FreeText7nvarchar(100)See API reference
FreeText8nvarchar(100)See API reference
FreeText9nvarchar(100)See API reference
FreeText10nvarchar(100)See API reference
FreeText11nvarchar(100)See API reference
FreeText12nvarchar(100)See API reference
FreeText13nvarchar(100)See API reference
FreeText14nvarchar(100)See API reference
FreeText15nvarchar(100)See API reference
FreeText16nvarchar(100)See API reference
FreeText17nvarchar(100)See API reference
FreeText18nvarchar(100)See API reference
FreeText19nvarchar(100)See API reference
FreeText20nvarchar(100)See API reference
FreeDecimal1decimal(18, 6)See API reference
FreeDecimal2decimal(18, 6)See API reference
FreeDecimal3decimal(18, 6)See API reference
FreeDecimal4decimal(18, 6)See API reference
FreeDecimal5decimal(18, 6)See API reference
FreeDate1datetimeSee API reference
FreeDate2datetimeSee API reference
FreeDate3datetimeSee API reference
FreeDate4datetimeSee API reference
FreeDate5datetimeSee API reference
FreeBit1bit0See API reference
FreeBit2bit0See API reference
FreeBit3bit0See API reference
FreeBit4bit0See API reference
FreeBit5bit0See API reference
DoNotShowbitSee API reference
InServiceFromdate
InServiceTilldate
ExchangeIntegrationEnabledbitSee API reference
url1nvarchar(1000)
urldesc1nvarchar(255)
url2nvarchar(1000)
urldesc2nvarchar(255)
url3nvarchar(1000)
urldesc3nvarchar(255)
BulkPlanningbit
BulkCapacitydecimal(18,6)
ResourceGpsTrackingEnabledbitSee API reference
Pinnvarchar(100)See API reference
  • This endpoint is available in the import API endpoint /import via the procedure mboc_upsertResource.
  • Example body:
    [
    {
    "StoredProcedureName": "mboc_upsertResource",
    "ParameterNames": ["ResourceNo", "DisplayName"],
    "ParameterValues": ["LINDA", "Linda Martin"]
    }
    ]

Filter value

Upsert filter value

Inserts or updates a resource filter value record. This assigns a filter value to a resource.

NameData TypeDefaultRequiredDescription
SourceAppnvarchar(30)See API reference
SourceTypenvarchar(10)See API reference
ResourceNonvarchar(50)✔️
FilterGroupnvarchar(50)✔️
FilterValuenvarchar(100)✔️
TransferToTempbit0See API reference
  • This endpoint is available in the import API endpoint /import via the procedure mboc_upsertResourceFilterValue.
  • Example body:
    [
    {
    "StoredProcedureName": "mboc_upsertResourceFilterValue",
    "ParameterNames": ["ResourceNo", "FilterGroup", "FilterValue"],
    "ParameterValues": ["LINDA", "Skill", "Service management"]
    }
    ]

Delete filter value

Removes a filter value from a resource.

NameData TypeDefaultRequiredDescription
SourceAppnvarchar(30)See API reference
SourceTypenvarchar(10)See API reference
ResourceNonvarchar(50)✔️
FilterGroupnvarchar(20)✔️
FilterValuenvarchar(20)✔️
  • This endpoint is available in the import API endpoint /import via the procedure mboc_deleteResourceFilterValue.
  • Example body:
    [
    {
    "StoredProcedureName": "mboc_deleteResourceFilterValue",
    "ParameterNames": ["ResourceNo", "FilterGroup", "FilterValue"],
    "ParameterValues": ["LINDA", "Skill", "Service management"]
    }
    ]

Clear filter value

Removes all filter values from a resource.

NameData TypeDefaultRequiredDescription
SourceAppnvarchar(30)See API reference
SourceTypenvarchar(10)See API reference
ResourceNonvarchar(50)✔️
  • This endpoint is available in the import API endpoint /import via the procedure mboc_clearResourceFilterValue.
  • Example body:
    [
    {
    "StoredProcedureName": "mboc_clearResourceFilterValue",
    "ParameterNames": ["ResourceNo"],
    "ParameterValues": ["LINDA"]
    }
    ]

Upsert live location

Inserts or updates the live location of a resource. The position on the map in Dime.Scheduler is updated automatically when a record is inserted or updated.

NameData TypeDefaultRequiredDescription
ResourceNonvarchar(50)✔️
GpsTrackingResourceNonvarchar(50)✔️
Latitudefloat✔️
Longitudefloat✔️
SpeedintDeprecated
DatedateDeprecated
RowIdnvarchar(100)Deprecated
Powernvarchar(50)Deprecated

The resource number or the GPS resource tracking number is required in order to successfully insert or update a record.

  • This endpoint is available in the import API endpoint /import via the procedure mboc_upsertResourceGpsTracking.
  • Example body:
    [
    {
    "StoredProcedureName": "mboc_upsertResourceGpsTracking",
    "ParameterNames": ["ResourceNo", "GpsTrackingResourceNo", "Longitude", "Latitude"],
    "ParameterValues": ["LINDA", "LINDA", "50.45545","30.5308981"]
    }
    ]

Upsert capacity

The resource capacity is set per day. If omitted, default values are set for CapacityUOM (hour by default) and CapacityUOMConversion (3600 by default). You need to provide either CapacityInSeconds or CapacityQty. The other value is calculated using CapacityUOMConversion.

The resource's capacity is vital for the capacity pivot grid to generate reliable results.

NameData TypeDefaultRequired
ResourceNonvarchar(50)✔️
CapacityDatedate
CapacityInSecondsbigint
CapacityQtydecimal(18,6)
CapacityUOMnvarchar(20)
CapacityUOMConversiondecimal(18,6)
  • This endpoint is available in the import API endpoint /import via the procedure mboc_upsertResourceCapacity.
  • Example body:
    [
    {
    "StoredProcedureName": "mboc_upsertResourceCapacity",
    "ParameterNames": ["ResourceNo", "CapacityDate","CapacityQty" ],
    "ParameterValues": ["LINDA", "2024-01-01", "8"]
    }
    ]

Upsert URI

Inserts or updates a resource URI record. Resource URIs contain links to documents, web pages and the back-office system.

NameData TypeDefaultRequired
ResourceNonvarchar(50)✔️
Urlnvarchar(1000)
UrlDescnvarchar(255)
  • This endpoint is available in the import API endpoint /import via the procedure mboc_upsertResourceUrl.
  • Example body:
    [
    {
    "StoredProcedureName": "mboc_upsertResourceUrl",
    "ParameterNames": ["ResourceNo", "Url"],
    "ParameterValues": ["LINDA", "https://docs.dimescheduler.com"]
    }
    ]

Resource calendar

Upsert

Assigns a calendar to a resource.

NameData TypeDefaultRequired
ResourceCalendarCodenvarchar(50)✔️
ResourceNonvarchar(50)✔️
CalendarCodenvarchar(255)✔️
StartDatedate✔️
EndDatedate✔️

The ResourceCalendarCode identifies the particular assignment of a given resource to a certain calendar for a certain date range.

Delete

Deletes a resource calendar assignment.

NameData TypeDefaultRequired
ResourceCalendarCodenvarchar(50)✔️

Resource certificate

caution

This feature is deprecated and will be removed in a future version.

Upsert certificate

Inserts or updates a resource certificate record. A resource certificate contains information on certificates/exams/scores held or passed by the resource. Resource certificates can be searched and matched against a task's certificate in the resource and appointment page when UseCertificate is activated on the resource types.

NameData TypeDefaultRequired
ResourceNonvarchar(50)✔️
CertificateNonvarchar(50)✔️
Scorenvarchar(100)''
LastScoreDatedatetime
ValidUntildatetime

Delete certificate

Deletes a resource certificate record.

NameData TypeDefaultRequired
ResourceNonvarchar(50)✔️
CertificateNonvarchar(50)✔️

API reference

Source

Dime.Scheduler is a centralized planning application. One of its key tenets is the ability to accommodate data from different origins. For instance, it is perfectly acceptable to plan work orders from Business Central, CRM, imported Excel sheets, etc., and Dime.Scheduler won't break a sweat because of the existence of the Source App and Source Type fields in the data model.

Source App

When the planner creates an appointment for a resource or task, Dime.Scheduler knows which system to notify. Through the connector setup, Dime.Scheduler will find a matching SourceApp and subsequently send the appointment to the corresponding URI.

The source app field is a unique identifier that identifies a back-office instance such as a tenant of Business Central, a test environment, an instance of CRM cloud, or any other application you wish to use to feed data into Dime.Scheduler.

Source Type

The SourceType is used inside the back-office system itself. A source type represents a distinct entity such as a service order, production order, assembly order, etc.

The standard connectors that Dime Software provides make it possible to plan different types of resources and tasks. When Dime.Scheduler posts an appointment to a standard connector, it ends up in a staging table, which is then processed by the connector to ensure the appointment produced in Dime.Scheduler is traced back to the original record using the externally identifiable fields (JobNo, TaskNo, ResourceNo) that identify the record.

Exchange Integration Enabled

This field determines whether to synchronize the appointment with the resource's Outlook calendar.

GPS Tracking Enabled

This field determines whether to enable live location tracking. To use this feature, the 'Advanced map' optional modules must be acquired.

Do not show

This field determines if the resource should be visible in the planning board. The number of resources with this field switched off (i.e. they are shown on the planning board) determines the license validity.

Pin

Controls the visual indicator of the planned task in the map. Read more about this topic here.

Free fields

Free fields are unmapped fields that you can link custom fields to.

The caption can be changed through the captions localization system. Either use the GUI and look for the corresponding field of the corresponding source table for the 'DATABASEFIELD' context, or use the API.

Transfer to temp

The TransferToTemp field indicates whether the resource filter value(s) are being sent to Dime.Scheduler before (value = 1 or True) or after (value = 0 or False) the resource is sent.