online-help.platform.features.premier_subscription.connectors.inbound-rest-api.endpoints.user.title
Edit User Training Services
Overview
Editing training services to a user profile.
URL Format
https://{domain}.mobiwork.com/api/rest/{clientId}/{versionNumber}/user/{userId}/trainingService/{maintenanceId}/edit.html?token=XXXXXXXX
Arguments
clientId
required
MobiWork assigned unique ID of the company
versionNumber
required
Version number of MobiWork API SDK release. Current version is: 10.0.78
token
required
Part of URL as a request parameter and is required in every call to verify access to API calls
userId
optional
If provided, this User ID will be taken as a logged in user
Body
<request>
<maintenanceServiceTypeId></maintenanceServiceTypeId>
<intervalDays></intervalDays>
<warningDayCount></warningDayCount>
<tardyDayCount></tardyDayCount>
<lastMaintenanceDate>YYYY/MM/DD</lastMaintenanceDate>
</request>
Response
<?xml version="1.0" encoding="UTF-8" ?>
<response version="5.0.176" statusCode="1">
<Result>
<trainingService>
<name>Training Type 1</name>
<frequencyType>DAILY</frequencyType>
<frequency>1</frequency>
<lastMaintenanceDate>2021/10/14</lastMaintenanceDate>
<status>red</status>
<id>2</id>
</trainingService>
</Result>
</response>