Method that opens DOCUframe.
Media type: application/json
Type: object
Properties:Example
{
"rashost": "your remoce access server host",
"dbshost": "your database host",
"dbname": "your database name",
"username": "your user name",
"userpwhash": "your password",
"timeout": 3000,
"readtimeout": 3000
}
Media type: application/json
Type: object
PropertiesExample
{
"retcode": 200,
"data": "7691a637-b48f-487a-bbb1-202b7c55ss21"
}
Method that opens ERPframe.
Media type: application/json
Possible types:
OpenERPframeDB
Items: ERPParameterTO
id | Description |
---|---|
N | Number |
C | String |
L | Boolean |
U | Nested ERPParameterTO value |
OpenERPframeDB
Items: ERPParameterTO
id | Description |
---|---|
0 | Number |
1 | String |
2 | Boolean |
3 | Nested ERPParameterTO value |
Example
{
"rashost": "your remote access server address",
"username": "your user name",
"userpwhash": "your password",
"clientname": "your client name",
"appcontext": 1,
"timeout": 120,
"readtimeout": 60,
"parameters": [
{
"name": "Mandant",
"value": "1",
"type": "C"
}
]
}
Media type: application/json
Type: object
PropertiesExample
{
"retcode": 200,
"data": "d832f329-42ff-4907-8c3d-0712f13a863f"
}
Method that executes DOCUframe request
Media type: application/json
Type: object
Properties:Example
{
"requestname": "InterfaceTestMakro",
"readtimeout": 3000,
"request": "{ 'myInput' : 'example input' }"
}
Media type: application/json
Type: object
PropertiesExample
{
"retcode": 200,
"data": "{ 'httpStatus': '200', 'result' : 'JSON result from DOCUframe' }"
}
Method that executes ERPframe request
Media type: application/json
Possible types:
ExecuteERPframeRequest
Items: ERPParameterTO
id | Description |
---|---|
N | Number |
C | String |
L | Boolean |
U | Nested ERPParameterTO value |
ExecuteERPframeRequest
Items: ERPParameterTO
id | Description |
---|---|
0 | Number |
1 | String |
2 | Boolean |
3 | Nested ERPParameterTO value |
Example
{
"idxm": "GETARTIKELDATEN",
"readtimeout": 60,
"parameters": [
{
"name": "artikelids",
"type": "C",
"value": "1713"
},
{
"name": "artikelvkpreise",
"type": "U",
"value": [
{
"name": "vk1",
"type": "L",
"value": true
},
{
"name": "vk2",
"type": "L",
"value": true
}
]
}
]
}
Media type: application/json
Type: object
PropertiesExample
{
"retcode": 200,
"data": {
"content": "response in XML format",
"object": "response in JSON format"
}
}
Method that logs sent data
Media type: application/json
Type: object
Properties:Example
{
"severity": 1,
"time": "2018-01-01 12:00:00",
"origin": "example origin",
"caller": "caller",
"method": "method",
"message": "message to log",
"error": "error to log"
}
Media type: application/json
Type: object
PropertiesExample
{
"retcode": 200,
"data": "OK"
}
Method that closes given session
Media type: application/json
Type: object
Properties:Example
{
"readtimeout": 2000
}
Media type: application/json
Type: object
PropertiesExample
{
"retcode": 200,
"data": "OK"
}
Allows to check WebService and RAS servers connection. If something returns "connectionEstablished
Media type: application/json
Type: object
PropertiesItems: items
Allows to check current session's state.
Media type: application/json
Type: object
PropertiesExample
{
"status": {
"internalStatus": "0",
"statusMessage": "ok"
},
"data": {
"username": "gsdwebservice",
"appNames": [
"..."
],
"reservedLicenses": [
"\\GSD\\Docuframe\\AnyUser"
],
"sessionLoad": 0,
"loginTime": "2019-07-22T13:56:48.207Z",
"lastActivity": "2019-07-22T13:57:26.159Z",
"sessionTimeout": "2019-07-22T14:12:26.159Z"
}
}
Missing Session ID.
Session ID is invalid.
Allows to check current session's state and also refreshes session's last activity.
Media type: application/json
Type: object
PropertiesExample
{
"status": {
"internalStatus": "0",
"statusMessage": "ok"
},
"data": {
"username": "gsdwebservice",
"appNames": [
"..."
],
"reservedLicenses": [
"\\GSD\\Docuframe\\AnyUser"
],
"sessionLoad": 0,
"loginTime": "2019-07-22T13:56:48.207Z",
"lastActivity": "2019-07-22T13:57:26.159Z",
"sessionTimeout": "2019-07-22T14:12:26.159Z"
}
}
Missing Session ID.
Session ID is invalid.