Skip to main content

Add or Update a Resource

Add a new Resource, or update an existing resource.

Query String Parameters

NameTypeDescriptionRequired
ActionStringResourceSaveRequired
ResUpdateBool1 to set as an update.Required
ResIdIntId of the resource.Required
ResNameStringResource name, takes precedence over reference and code when updating.Required for a new resource
ResReferenceStringResource reference, takes precedence over code when updating.Optional
ResCodeStringResource code.Optional
ResGroupNameStringGroup name.Required for a new resource
ResTachoCardStringResource tacho card.Optional
ResMobileStringResource mobile number.Optional
ResOutOfShiftPrivateBoolSet Out of Shift Private. 1 or 0Optional
ResTimeZoneStringSet time zone.Optional
ResHasTrackingAlertBoolSet Has Tracking Alert. 1 or 0Optional
ResKeyWorkStringSet Business Key.Optional
ResKeyPrivateStringSet Private Key.Optional
Res4TrackingBoolSet if resource is tracked. 1 or 0Optional
ResFuelCardStringSet Fuel Card.Optional
ResMaxTravelDistIntSet Maximum Travel Distance for a Job.Optional
Resource4ScheduleIntSet JobWatch Setting.Optional
ResDefaultRateDecimal (6.2)Set Default Hourly Rate.Optional
ResRateCurrencyStringSet Default Hourly Rate Currency.Optional
ResPassengerOKBoolSet if resource can wet themselves as a passenger. 1 or 0Optional
ResHolidayStartDateSet start of holiday year.Optional
ResPayrollStringSet payroll number.Optional
ResManagerIdIntId of manager.Optional
ResDaysHolidayIntSet number of days vacation.Optional
ResHideParentInfoBoolHide contact’s parent information on the device. 1 or 0Optional
ResLinkedToUserBoolLinked to User. 1 or 0 (See notes below)Optional
ResUserIdIntUser Id to link to, use with ResLinkedToUser.Optional
ResUserEmailStringUser email to create new basic user, use with ResLinkedToUser.Optional
ResCanSeeOwnOnlyBool1 or 0.Optional
cust_custom field nameStringPass cust_ followed by the caption of an existing custom field.Optional

Notes

To update a resource, set ResUpdate = 1 and supply, in order of precedence, ResId, ResReference or the ResCode.

ResLinkedToUser

  • ‘true’ links to existing user, ResUserId must be supplied
  • ‘false’ with ResUserEmail creates and links to new Basic User

Response Codes

Example

Request URL

https://webservice.bigchange.com/v01/services.ashx?action=ResourceSave&ResUpdate=0&ResName=Joe Bloggs&ResReference=JB1&ResGroupName=Engineers