Adds a new position which can be used for client employment.
[WebMethod(Description = "Creates a new position")] public TAuthenticate AddPosition(string token, string name, string code);
Parameters |
Description |
string token |
String containing a token. |
string name |
Name of the new position. Maximum length 100 characters. |
string code |
Optional code of the new position. Maximum length 10 characters. Specify empty or null to not include a code. |
Creates a new position with the specified name and optionally code.
Name is mandatory. If a position already exists with the specified name, this function will do nothing and return success.
Code is optional. If specified, and a position already exists with that code, this function will do nothing and return success.
A token is passed for authentication. If the authentication fails, or other errors occur, no position is added. The result of the authentication is represented by a TAuthenticate object.
This function has security level "Protected", and can only be accessed by users that have explicitly been granted permission to the API.
Copyright (c) VETtrak 2022. All rights reserved.
|