GET user/…/contract
Retrieves the details of a user's contract.
⚠️ Warning
This is for internal use only!
Resource URL
https://www.drillster.com/api/2.1.1/user/{user_id}/contract
Parameters
Field | Description |
---|---|
user_id required |
The user ID of the user to retrieve details for. As a reference to the own user account, the value self may also be used.Example value: 7OuHq-RcQO_snGWR58TnBw |
Response
A 2.1.1 Contract object with the details of a user's contract.
Error responses
The following error situations are possible:
ID | Response code | Description |
---|---|---|
not_permitted |
403 (Forbidden) | Caller does not have access to given account. |
not_found |
404 (Not found) | Requested account not found. |
Last updated on