ServiceRequestListing of Supported External Services »
represents a service request built from service, which might be a connected ServiceObject or a valid service name, and request "req".
represents a service request, built from the service service, request "req" and parameters param.
represents a service request, built from association assoc.
- ServiceRequest gives a symbolic representation of a service request; it does not execute the request.
- The following entries must be given in the association:
"Request" request to be made "Parameters" parameters for the request "Service" name of the service or service object
- ServiceRequest[…]["prop"] extracts the value for the property "prop" of the service request.
- Possible properties include all components and additional elements, as well as:
"Service" external service "Request" request name "Parameters" request parameters "Properties" list of all possible properties "PropertyAssociation" association giving values of all properties
Basic Examples (3)
Create a request for "PubChem" service:
List requests supported by the "PubChem" service:
Open a connection to an external service:
Extract properties from the request:
Get request data as "PropertyAssociation":
Submit the request and set result:
Build a request with an association:
Wolfram Research (2019), ServiceRequest, Wolfram Language function, https://reference.wolfram.com/language/ref/ServiceRequest.html.
Wolfram Language. 2019. "ServiceRequest." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ServiceRequest.html.
Wolfram Language. (2019). ServiceRequest. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ServiceRequest.html