- Previous: Material
- Up: Material
- Next: Create Material
Retrieve Access Token
The Material APIs are protected by the OAuth2.0 authentication protocol. For more details about it you can refer to the [Authentication Overview](https://developer.mycampari.com/docs/read/getting_started/Oauth20) section.
## Request
The token API is exposed at the following endpoint:
In order to build the complete URL you can refer to the following [guide](https://developer.mycampari.com/docs/read/getting_started/How_to_build_Token_API_URL).
As input you need to pass the following information:
as explained in details [here](https://developer.mycampari.com/docs/read/getting_started/oauth20/build_a_request/External_API_Client).
## Response
A typical valid response looks like this:
```
{
"access_token": "fg*********************x",
"token_type": "bearer",
"expires_in": 3600
}
```
which means that the provided access token is valid for 3600 seconds (equivalent to 1 hour).
After the expiration time, this token won't be valid and another access token must be retrieved.
| POST Parameter | Value |
grant_type |
Fixed to: "client_credentials" |
client_id |
Your client application key |
client_secret |
Your client secret |
- Previous: Material
- Up: Material
- Next: Create Material
Docs Navigation
- Campari Open API
- Getting Started
- Connection Tester
- Accises
- Automatic GRC
- Coupa Integration
- Customer Master Data
- Dogana Connector
- EZFocus
- Invoice Verification
- Invoice Management
- InvoicePACloud
- Journal Entries
- Logistics Operators
- Material Master Data
- Material
- Retrieve Access Token
- Create Material
- Retrieve Material by Id
- Retrieve Material Types Information
- Retrieve Specific Material Type
- Retrieve Material Unit of Measures by Id
- Update Material by Id
- Convert Unit of Measure
- Insert New Materials in CTS
- Retrieve Material Details from SAP and Interspec
- Retrieve Material Details from SAP
- Retrieve Product Hierarchy
- Retrieve Material SKU Code
- One Plan
- Payroll
- Picklist
- Plant Utilities
- Purchase Orders
- Product
- Production Order
- Sales Order
- SAP Utils
- SedApta Connector
- SendLinkToSAP
- Shipment
- Transport Management System
- Vendor Purchase Orders
- Vendor
- Payment
- Vulnerability Response
- Warehouse Management
- WBS Automation
0 Comments
Please sign in to post a comment.