ASP.NET VETtrak API web services
ContentsIndexHome
PreviousUpNext
VT_API.AssignWebEmployerToWebClient Method

Assigns a loose web employer as the employer for the client. 

Will fail if the enrolment passed in is not a client enrolment 

A Client Web Enrolment ID (webEnrolId) is passed as a parameter. This should be the ID returned by the AddClientWebEnrolment or AddClientWebReservation function. 

A Web Employer ID (webEmployerId) is passed as a parameter. This should be the ID returned by the AddLooseWebEmployer function. 

Requires a valid registration key entry for the Short Courses feature. 

This function has security level "Protected", and can only be accessed by users that have explicitly been granted permission to the API.

C#
[WebMethod(Description = "Assigns a web employer as the employer for a client in a web enrolment")]
public TAuthenticate AssignWebEmployerToWebClient(string token, int webEnrolId, int webEmployerId);
Parameters 
Description 
string token 
String Token. 
int webEnrolId 
Identifier for the client web enrolment. 
int webEmployerId 
Identifier for the loose web employer to attach to this client. 

TAuthenticate : an Authenticate Object containing the result of the modification.

Copyright (c) VETtrak 2022. All rights reserved.