ODataRequest
Task to make a request to SAP OData API.
Task version: 2.0.0
Required Frends version: 5.5+
Required .NET version: 6.0
Compatible Agents: Crossplatform
Task Parameters
Method : Method
The HTTP Method to be used.
Possible values:
GET: The HTTP Method to be used.POST: The HTTP Method to be used.PUT: The HTTP Method to be used.PATCH: The HTTP Method to be used.DELETE: The HTTP Method to be used.HEAD: The HTTP Method to be used.OPTIONS: The HTTP Method to be used.CONNECT: The HTTP Method to be used.
Default: 0
Example: GET
HostAddress : String
Host address.
Default: https://example.com
Example: https://example.com
Port : Int32
Port to connect.
Default: 44301
Example: 44301
ServiceName : String
Service name.
Default: FAP_APPROVEBANKPAYMENTS_SRV
Example: PAYMENTS
EntitySetName : String
Entity set name.
Default: C_AbpPaymentBatch
Example: A_Set
QueryString : String
Query string part of the request.
Default: -
Example: $skip=1&$paramAbc=valueXyz
Format : Format
The format for communication.
Possible values:
JSON: The format for communication.XML: The format for communication.
Default: 0
Example: JSON
Message : String
The message text to be sent with the request.
Default: -
Example: { "Body": "Message" }
Username : String
Username used to connect with Basic Auth.
Default: -
Example: user1
🗝Password : String
Password used to connect with Basic Auth.
Default: -
Example: password123
AcceptAnyCertificate : Boolean
Option suppress RemoteCertificateValidationCallback, which accepts any certificate.
Default: False
Example: false
Policies : String[]
Use when your system's default cipher set does not include SAP ciphers by default, for example on Linux with
OpenSSL 1.1.1 default installation.
The full list of supported values can be found on https://learn.microsoft.com/en-us/dotnet/api/system.net.security.tlsciphersuite.
The availability of the ciphers depends on the exact operating system and the .NET version.
For a list of supported ciphers on your system, you can use the following PowerShell command:
(Get-TlsCipherSuite).Name
Default: -
Example: [ "TLS_RSA_WITH_AES_256_CBC_SHA", "TLS_RSA_WITH_AES_128_CBC_SHA" ]
FetchCsrfToken : Boolean
Whether to fetch CSRF token from the SAP before making the request.
Default: True
Example: true
Task Result
StatusCode : Int32
Returned status code.
Example: 200
Data : String
Body of the response
Example: { "id": 123 }
Task Changelog
Changelog is not available for this Task.
Last updated
Was this helpful?

