cobi.wms:postman
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| cobi.wms:postman [2021/07/09 06:45] – created tkammer | cobi.wms:postman [2022/02/24 11:26] (current) – tkammer | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| Once you've installed and started the program for the first time, you can **skip the account creation process** by clicking the small button at the bottom of the login screen of Postman. | Once you've installed and started the program for the first time, you can **skip the account creation process** by clicking the small button at the bottom of the login screen of Postman. | ||
| - | Afterwards you can import this Service Layer **Collection** file into Postman: {{COBI.wms: | + | ===== Importing the Service Layer Collection |
| - | (To open the Import screen of Postman, go to File -> Import or press Ctrl + O.) | + | Afterwards you can import this Service Layer **Collection** file into Postman: |
| - | For the Service Layer collection | + | {{COBI.wms: |
| + | |||
| + | To open the Import screen of Postman, go to File -> Import or press Ctrl + O. | ||
| + | |||
| + | ===== Creating an Environment for Service Layer ===== | ||
| + | |||
| + | For the Service Layer Collection | ||
| You can name the environment however you like, for example " | You can name the environment however you like, for example " | ||
| ^ Name ^ Value ^ | ^ Name ^ Value ^ | ||
| - | | SLROOT | + | | SLROOT |
| | COMPANY | | COMPANY | ||
| | USERNAME | The username of a valid SAP Business One user | | | USERNAME | The username of a valid SAP Business One user | | ||
| | PASSWORD | The password of the SAP Business One user | | | PASSWORD | The password of the SAP Business One user | | ||
| + | |||
| + | **Note:** If any value contains a back-slash " **\** " symbol in it, you have to duplicate each back-slash to be two back-slashes. | ||
| After saving the environment, | After saving the environment, | ||
| - | You can then open the Service Layer collection by opening the **Collections** tab from the left side of the Postman window, and choosing Service Layer. | + | ===== Logging in to Service Layer ===== |
| - | If you've done everything correctly, you should be able to select the **POST Login** request in the Service Layer collection and click on the blue **Send** button to test the login process. | + | You can now open the Service Layer Collection by opening the **Collections** tab from the left side of the Postman window, and choosing **Service Layer**. |
| + | |||
| + | If you've done everything correctly, you should be able to select the **Login** request in the Service Layer collection and click on the blue **Send** button to test the login process. | ||
| A successful login to Service Layer will yield an output such as the following: | A successful login to Service Layer will yield an output such as the following: | ||
| Line 36: | Line 46: | ||
| } | } | ||
| - | Afterwards | + | ===== Testing attachment upload ===== |
| + | |||
| + | Sometimes uploading attachments with Service Layer doesn' | ||
| + | |||
| + | To test attachment uploads, just select | ||
| + | |||
| + | A successful attachment upload will result in a response such as the following: | ||
| { | { | ||
| Line 53: | Line 69: | ||
| ] | ] | ||
| } | } | ||
| + | |||
| + | If you receive an error instead, it means attachment uploading doesn' | ||
cobi.wms/postman.1625805914.txt.gz · Last modified: by tkammer