AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Api postman collection11/29/2023 When working with production code, you should always send a getAPISession request to get a session ID and uniqueĮndpoint for your interaction. Open the File menu and click Import, then choose the your-first-api-calls.json file you downloaded. Note: If you have trouble downloading, try a browser other than Chrome. The Web Services Tutorial collection loads:Īlternatively, you can manually import the collection (the end result is the same):ĭownload the collection, which is in a JSON file. Select your new workspace to import into: The requests used in this tutorial are available as a Postman collection.Ĭlick the button to load the tutorial collection into Postman:Ĭhoose how you want to open the collection, for example: Note: See the Postman docs for more usage information. Select the new environment from the drop down menu in the top right corner. Give your environment an intuitive name and set these environment variables:Ĭlose the environment tab and save your changes. Both values are case-sensitive.Ĭlose the Globals tab and save your changes.Ĭlick Environments, then click + to add a new environment to your workspace. In the new workspace, click Environments and then click Globals to set global variables.Ĭreate these global variables with your Web Services sender ID and password. Give your new workspace a name, and select the appropriate Visibility for your project. On the top left of Postman, click the Workspaces drop-down and select Create Workspace. Warning: If you update a collection and sign up/log in after that point, you run the risk of losing your work.Ĭreate an environment and define global variables You can simply open the application, but it is strongly recommended that you either sign in or create an account if you don’t already have one. Postman is available as a Chrome app or a full packaged application-using the full application is recommended.ĭownload the installer for your platform and run it. You will then import a collection of requests and modify/run them. This tutorial will show you how to store your Web Services credentials and the gateway endpoint as global variables, then create an environment for your company that stores your login credentials and other information. Finally, you can create a collection of commonly-used requests that rely on these variables. You can also create global variables that apply across all your environments. Postman lets you create environments to store frequently used settings for your requests. If you haven’t already done some preliminary reading, consider looking at the Web Services overview before continuing.īefore getting started, it’s helpful to understand some of the capabilities of Postman. See Web Services users in the Sage Intacct product help for details. You must have login credentials for the company, and it is strongly recommended that you use a Web Services user. The company to which you will be sending API calls must authorize your sender ID. If you need a developer license, contact your account manager. You must have a Web Services developer license, which includes a Web Services sender ID. Postman is a popular API test tool that lets you send HTTP requests to a server and review the responses.Īlready familiar with Postman and Web Services? Skip the tutorial and download the API collection for Postman: This tutorial shows you how to send your first XML API calls to the Web Services gateway using the Postman application.
0 Comments
Read More
Leave a Reply. |