Configuring an API Service component
After creating an API Service component in on the Build page, configure it by opening the API Service component and adding endpoints.
Procedure
-
Select the General tab, and specify a Title, Version Number, and Description for the API that you are deploying.
-
In the Base API Path field, type the base portion of the URL for requests to the API defined by the component.
The base portion is appended as you type the Path to REST, Path to SOAP, and Path to OData on the other tabs.
noteOmit the leading slash, which is assumed and shown as the last character in Path to REST, Path to SOAP, and Path to OData.
-
Optional: Under Advanced Settings, specify the names of HTTP headers whose values are potentially passed to the API’s linked listener process execution in the Dynamic Document Property Headers section. The values actually passed are those of headers not designated as protected in the shared web server settings. The values are passed as dynamic document properties with the prefix
inheader_. For example, if you specify Content-Type, and Content-Type is not protected, its value would be passed as a dynamic document property namedinheader_Content-Type.-
Click Add Header.
A field for specifying a header name appears in the list below.
-
In the field, type the header name.
Header names can contain alphanumeric characters and special characters !#$%&'*+.^`~-_. Standard HTTP header names are case-sensitive. You can specify only the following standard HTTP headers:
Request Headers Entity Headers Accept Content-Encoding — the compression method applied to the data Accept-Charset Content-Language Accept-Encoding Content-MD5 Accept-Language Content-Type — the MIME type of any input data, if given For each additional header name you are specifying, repeat steps 1-2.
-
-
If the component will include SOAP API endpoints, configure the general settings for WSDL generation.
-
Generate or create REST, SOAP, OData API endpoints, and configure the endpoints.
-
If any endpoints reference JSON or XML profiles, select the Profiles tab, and if there are profile type conflicts resolve them. See Resolving profile type conflicts in an API Service component.
-
Optional: Boomi only supports XML for Odata APIs. If a JSON response is required, you must use the map step to translate the response from an XML profile to JSON.
-
Optional Specify Published Information:
-
Select the Documentation tab.
-
In the Published Contact Metadata section:
Name
DescriptionPublisher
Select an Organization component to reuse Publisher information across multiple API Service/Proxy components or Trading Partner components.Publisher Name
The name of the person or organization acting as the API publisher.Publisher Email
The email address of the publisher.Publisher URL
The URL, including protocol, of the document containing contact information for the publisher. Make sure you post this document to that URL before you deploy the API Service component. -
In the License Metadata section:
Name
DescriptionLicense Title
The title of the license under which the API is provided.License URL
The URL, including protocol, of the API license document. Make sure you post this document to that URL before you deploy the API Service component.Terms of Service
The URL, including protocol, of the document containing the terms of service. Make sure you post this document to that URL before you deploy the API Service component.
-
-
Click Save or Save and Close.
Next steps
If you are ready to deploy the API Service component, after clicking Save, click the Create Packaged Component button. The Create Packaged Component wizard opens. Complete the steps in the wizard and click the Deploy button on the final confirmation message. Your component now appears in the list of packaged components in the Deploy > Packaged Components page, and in the list of deployed components on the Deploy > Deployments page.