-
-
Save aries-ts-indo/2e95c6060c5a1f7ea2ba11b72e3e540a to your computer and use it in GitHub Desktop.
Dynamics 365 Business Central APIs Postman v2.1 Collection
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"info": { | |
"_postman_id": "9c95eb06-8cce-45cc-8d19-b22e123c2982", | |
"name": "BC APIs", | |
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", | |
"_exporter_id": "31724588" | |
}, | |
"item": [ | |
{ | |
"name": "API List", | |
"request": { | |
"method": "GET", | |
"header": [], | |
"url": { | |
"raw": "https://api.businesscentral.dynamics.com/v2.0/{{BCTenantId}}/{{BCEnviName}}/api/v2.0", | |
"protocol": "https", | |
"host": [ | |
"api", | |
"businesscentral", | |
"dynamics", | |
"com" | |
], | |
"path": [ | |
"v2.0", | |
"{{BCTenantId}}", | |
"{{BCEnviName}}", | |
"api", | |
"v2.0" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Extension List", | |
"request": { | |
"method": "GET", | |
"header": [], | |
"url": { | |
"raw": "https://api.businesscentral.dynamics.com/v2.0/{{BCTenantId}}/{{BCEnviName}}/api/microsoft/automation/v1.0/companies({{CompanyId}})/extensions", | |
"protocol": "https", | |
"host": [ | |
"api", | |
"businesscentral", | |
"dynamics", | |
"com" | |
], | |
"path": [ | |
"v2.0", | |
"{{BCTenantId}}", | |
"{{BCEnviName}}", | |
"api", | |
"microsoft", | |
"automation", | |
"v1.0", | |
"companies({{CompanyId}})", | |
"extensions" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Upload Extension", | |
"request": { | |
"method": "PATCH", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/octet-stream", | |
"type": "text" | |
}, | |
{ | |
"key": "If-Match", | |
"value": "*", | |
"type": "text" | |
} | |
], | |
"body": { | |
"mode": "file", | |
"file": { | |
"src": "" | |
} | |
}, | |
"url": { | |
"raw": "https://api.businesscentral.dynamics.com/v2.0/{{BCTenantId}}/{{BCEnviName}}/api/microsoft/automation/v1.0/companies({{CompanyId}})/extensionUpload(0)/content", | |
"protocol": "https", | |
"host": [ | |
"api", | |
"businesscentral", | |
"dynamics", | |
"com" | |
], | |
"path": [ | |
"v2.0", | |
"{{BCTenantId}}", | |
"{{BCEnviName}}", | |
"api", | |
"microsoft", | |
"automation", | |
"v1.0", | |
"companies({{CompanyId}})", | |
"extensionUpload(0)", | |
"content" | |
] | |
} | |
}, | |
"response": [] | |
}, | |
{ | |
"name": "Get Extension Update Status", | |
"request": { | |
"method": "GET", | |
"header": [], | |
"url": { | |
"raw": "https://api.businesscentral.dynamics.com/v2.0/{{BCTenantId}}/{{BCEnviName}}/api/microsoft/automation/v1.0/companies({{CompanyId}})/extensionDeploymentStatus", | |
"protocol": "https", | |
"host": [ | |
"api", | |
"businesscentral", | |
"dynamics", | |
"com" | |
], | |
"path": [ | |
"v2.0", | |
"{{BCTenantId}}", | |
"{{BCEnviName}}", | |
"api", | |
"microsoft", | |
"automation", | |
"v1.0", | |
"companies({{CompanyId}})", | |
"extensionDeploymentStatus" | |
] | |
} | |
}, | |
"response": [] | |
} | |
], | |
"auth": { | |
"type": "oauth2", | |
"oauth2": [ | |
{ | |
"key": "authUrl", | |
"value": "https://login.windows.net/{{BCTenantId}}/oauth2/authorize?resource=https://api.businesscentral.dynamics.com", | |
"type": "string" | |
}, | |
{ | |
"key": "accessTokenUrl", | |
"value": "https://login.windows.net/{{BCTenantId}}/oauth2/token?resource=https://api.businesscentral.dynamics.com", | |
"type": "string" | |
}, | |
{ | |
"key": "clientId", | |
"value": "{{AzureAppId}}", | |
"type": "string" | |
}, | |
{ | |
"key": "clientSecret", | |
"value": "{{AzureClientSecret}}", | |
"type": "string" | |
}, | |
{ | |
"key": "redirect_uri", | |
"value": "https://businesscentral.dynamics.com/OAuthLanding.htm", | |
"type": "string" | |
}, | |
{ | |
"key": "grant_type", | |
"value": "authorization_code", | |
"type": "string" | |
}, | |
{ | |
"key": "tokenName", | |
"value": "AuthToken", | |
"type": "string" | |
}, | |
{ | |
"key": "scope", | |
"value": "https://api.businesscentral.dynamics.com/.default", | |
"type": "string" | |
}, | |
{ | |
"key": "addTokenTo", | |
"value": "header", | |
"type": "string" | |
} | |
] | |
}, | |
"event": [ | |
{ | |
"listen": "prerequest", | |
"script": { | |
"type": "text/javascript", | |
"exec": [ | |
"" | |
] | |
} | |
}, | |
{ | |
"listen": "test", | |
"script": { | |
"type": "text/javascript", | |
"exec": [ | |
"" | |
] | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment