FUNCTION ConnectionStringTemplate$()
Provides the .NET adapter with information it can use to connect directly to the database.
|
Returns |
[string]. First three or four characters are "SQL" or "ODBC" indicating the type of database. For "SQL" the rest is the SQL Server containing the databases. For "ODBC" the rest is an ODBC connection string. Substitute appropriate values for UID=, PWD=, Company=, and Server=. |
|
FUNCTION ServeCheckSelect(credentials$, company$, resourceName$)
Checks security for reading.
|
Parameter | Description |
credentials$ |
[input, string] Username and password, separated by a semicolon |
company$ |
[input, string] Company code |
resourceName$ |
[input, string] Name of the resource being requested |
|
Returns |
nothing. Check HttpStatusCode and HttpResponseBody$ properties for results. |
|
FUNCTION ServeCreate(credentials$, company$, resourceName$, properties$)
Creates new data.
|
Parameter | Description |
credentials$ |
[input, string] Username and password, separated by a semicolon |
company$ |
[input, string] Company code |
resourceName$ |
[input, string] Name of the resource being created |
properties$ |
[input and output, string] Special serialized string representation of the data to be created (input) and that was created (output) |
|
Returns |
nothing. Check HttpStatusCode and HttpResponseBody$ properties for results. |
|
FUNCTION ServeDelete(credentials$, company$, resourceName$, whereProperties$)
Deletes data.
|
Parameter | Description |
credentials$ |
[input, string] Username and password, separated by a semicolon |
company$ |
[input, string] Company code |
resourceName$ |
[input, string] Name of the resource being deleted |
whereProperties$ |
[input, string] Special serialized string describing the data to be deleted |
|
Returns |
nothing. Check HttpStatusCode and HttpResponseBody$ properties for results. |
|
FUNCTION ServeGetTemplate(credentials$, company$, resourceName$, properties$)
Retrieves a resource template
|
Parameter | Description |
credentials$ |
[input, string] Username and password, separated by a semicolon |
company$ |
[input, string] Company code |
resourceName$ |
[input, string] Name of the resource that a template is being requested for |
properties$ |
[output, string] Special serialized string representation of the resource template |
|
Returns |
nothing. Check HttpStatusCode and HttpResponseBody$ properties for results. |
|
FUNCTION ServeUpdate(credentials$, company$, resourceName$, properties$, whereProperties$)
Updates existing data.
|
Parameter | Description |
credentials$ |
[input, string] Username and password, separated by a semicolon |
company$ |
[input, string] Company code |
resourceName$ |
[input, string] Name of the resource being updated |
properties$ |
[input and output, string] Special serialized string representation of the data to be updated (input) and that was updated (output) |
whereProperties$ |
[input, string] Special serialized string describing the data to be deleted |
|
Returns |
nothing. Check HttpStatusCode and HttpResponseBody$ properties for results. |
|