Table of Contents | ||||
---|---|---|---|---|
|
...
Link | |
Resource | /oauth/tokens |
Scope | API paragraph not found |
Components | |
Using Dictionaries | API paragraph not found |
Using Microservices | API paragraph not found |
Protocol type | REST |
Request type | POST |
Sync/Async | Sync |
Page Properties | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||
|
Logic
...
Preconditions
API paragraph not found
...
Attribute | Values | Type | Description | Example |
---|---|---|---|---|
client_id (required) | String | Medical Service provider ID issued after legal_entity registration. Used to identify the context of the MSP/Pharmacy | 6498d88e-97fb-47e2-85a5-99e884f888aa | |
client_secret (required) | String | Medical Service provider secret key issued upon integration request. Used to identify MSP | msp-001-secret-key | |
refresh_token (required) | String | oAuth refresh token | my-oauth-refresh-token | |
grant_type(required) | String | oAuth Grant Type. Currently only | refresh_token |
...
Expand | ||
---|---|---|
| ||
|
Authorize
API paragraph not found
Headers
Example
...
title | Header example |
---|
...
:
Content-Type:
...
application/json
...
Validate request (JSON schema)
API paragraph not found
Validation data request
API paragraph not found
...
Code Block |
---|
{ "meta": { "code": 201, "url": "https://example.com/resource", "type": "object", "request_id": "req-adasdoijasdojsda6617aeec-15e2-4d6f-b9bd-53559c358f97#17810" }, "data": { "value": "SnNRdCtvU0tTOENBV2dLRUZwNmIzZz09", "user_id": "3ff33ced-69dc-415a-b231-c6446898335a", "name": "change_password_token", "id": "3ff33ced-69dc-415a-b231-c6446898335a", "expires_at": 1498749591, "details": { "scope": "capitation_contracts:view capitation_contracts:create patients:view patients:create", "grant_type": "refresh_token", "client_id": "d290f1ee-6c54-4b01-90e6-d701748f0851" } } } |
...
HTTP status code | Message | What caused the error |
---|---|---|
201 | Response |
|
Backward compatibility
API paragraph not found
...