
Arbeiten mit der App
| Endpoint URL | Specifies the endpoint URL. |
| Type | Specifies the authorization type. |
| OAuth URL | Specifies the OAuth token endpoint. |
| Client ID | Specifies the client id. |
| Client Secret | Specifies the client secret. |
| Username | Specifies the username. |
| Password | Specifies the password. |
| Bearer Token Login Url | Specifies the Bearer Token Login Url. |
| Requires Encryption | Specifies if the Login Url requires the credentials to be passed encrypted. |
| Bearer Token Json Key | Specifies the Key of the Json Value in the Http Response from the Bearer Token Login, which contains the Bearer Token. |
| Username | Specifies the username. |
| Password | Specifies the password. |
| Encryption Algorithm | Specifies the encryption algorithm to be used. |
| Encryption Key Secret | Specifies the key for a keyed cryptographic function. |
| API Key Header Name | Specifies the name of the request header to be used for the api key. |
| API Key | Specifies the api key. |
| OAuth2 Flow | Specifies which OAuth 2.0 flow you want to use. |
| OAuth URL | Specifies the OAuth token endpoint. |
| Client ID | Specifies the client id. |
| Client Secret | Specifies the client secret. |
| Scope | Specifies the scope of the token. If empty then * will be used. |
| Entry No. | Specifies the number of the record. |
| Date and Time | Specifies the date and time when the record was created. |
| Method | Specifies the web request method. |
| Target URL | Specifies the targeted url. |
| Payload | Specifies the sent payload of the request. |
| Response | Specifies the payload of the received response. |
| Response Reason Phrase | Specifies the http reason phrase of the received response. |
| Response Is Success Status | Specifies if the http request was accepted or denied. |
| Response Status Code | Specifies the http reason status code. |
procedure ExecuteWebService(Payload: Text; WebAuthorization: Record WULWebAuthorizationNVX; EndpointURL: Text)
var
WebMessage: Record WULWebMessageNVX;
ResponseMessage: HttpResponseMessage;
BodyContent: Text;
ResponseText: Text;
begin
WebMessage.CreateMessage("Http Request Type"::POST, EndpointURL, BodyContent);
WebMessage.AddWebMessageHeader(WULWebMessageHeaderTypeNVX::"Content Header", 'Content-Type', 'application/json');
WebMessage.AddWebMessageAuthorization(WULWebMessageHeaderTypeNVX::"Request Header", WebAuthorization);
Commit();
WebMessage.SendMessage(ResponseMessage);
Commit();
ResponseText := WebMessage.GetResponse();
end;
| Name | Specifies the name of the header. |
| Value | Specifies the value of the header. |

![]() | E-Document - ebInterface Create and send e-invoices in accordance with the Austrian standard. More information ![]() |