Nexus
Nexus APIs
GET
/v1/subscriptions/{subscriptionId}/logs/{logId}
Gets a list of subscription logs
Requires the subscription.read permission
Parameters
| Name | In | Required | Description |
|---|---|---|---|
subscriptionId |
path | Yes | — |
logId |
path | Yes | — |
select |
query | No | One or more comma separated fields to select. |
expand |
query | No | Indicates if the response should expand nested objects. |
Responses
200
Example
{
"id": 0,
"created": "string",
"modified": "string",
"severity": "string",
"createdBy": "string",
"logMessage": "string",
"modifiedBy": "string",
"subscription": {
"id": 0,
"logs": [
{
"id": 0,
"created": "string",
"modified": "string",
"severity": null,
"createdBy": "string",
"logMessage": "string",
"modifiedBy": "string",
"subscription": null,
"subscriptionId": 0
}
],
"type": "string",
"status": "string",
"created": "string",
"details": "string",
"expires": "string",
"product": {
"id": 0,
"url": "string",
"name": "string",
"created": "string",
"isActive": false,
"metadata": {},
"modified": "string",
"createdBy": "string",
"modifiedBy": "string",
"displayName": "string",
"applications": [],
"organization": {
"type": null
},
"subscriptions": [],
"organizationId": 0,
"publicMetadata": {},
"longDescription": "string"
},
"modified": "string",
"createdBy": "string",
"isEnabled": false,
"productId": 0,
"modifiedBy": "string",
"statusText": "string",
"description": "string",
"sfLicenseId": "string",
"organization": {
"id": 0,
"name": "string",
"type": "string",
"aliases": [],
"contact": "string",
"created": "string",
"domains": [],
"members": [],
"isActive": false,
"modified": "string",
"products": [],
"createdBy": "string",
"modifiedBy": "string",
"displayName": "string",
"applications": [],
"crmAccountId": "string",
"isMfaRequired": false,
"isSelfService": false,
"subscriptions": [],
"technicalContact": "string",
"isEnabledForPreviewFeatures": false,
"isDomainVerificationRequired": false
},
"sfContractId": "string",
"customMetadata": {},
"organizationId": 0,
"readonlyMetadata": {},
"sfSubscriptionId": "string",
"applicationDeployments": [
{
"id": 0,
"name": "string",
"steps": [],
"status": "string",
"created": "string",
"modified": "string",
"createdBy": "string",
"modifiedBy": "string",
"application": null,
"displayName": "string",
"maxUserCount": 0,
"subscription": null,
"applicationId": 0,
"configuration": "string",
"customMetadata": null,
"subscriptionId": 0,
"deploymentTarget": null,
"readonlyMetadata": null,
"statusResolution": "string",
"deploymentTargetId": 0
}
]
},
"subscriptionId": 0
}
Schema
| Name | Type | Attributes | Description | Extensions | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
created
|
string (date-time)
|
nullable | The date/time the record was created (UTC). | — | ||||||||||||||||
createdBy
|
string
|
nullable | The user or user that created the record. | — | ||||||||||||||||
id
|
integer (int64)
|
nullable | A system assigned unique identifier. | — | ||||||||||||||||
logMessage
|
string
|
nullable | JSON string of the line item details | — | ||||||||||||||||
modified
|
string (date-time)
|
nullable | The date/time the record was last modified (UTC). | — | ||||||||||||||||
modifiedBy
|
string
|
nullable | The user or user that last modified the record. | — | ||||||||||||||||
severity
|
LogLevel
|
— |
—
|
— | ||||||||||||||||
subscription
|
— | Represents a subscription | — | |||||||||||||||||
subscriptionId
|
integer (int64)
|
nullable | Id of the subscription the log belongs to | — |
Example
{
"id": 0,
"created": "string",
"modified": "string",
"severity": "string",
"createdBy": "string",
"logMessage": "string",
"modifiedBy": "string",
"subscription": {
"id": 0,
"logs": [
{
"id": 0,
"created": "string",
"modified": "string",
"severity": null,
"createdBy": "string",
"logMessage": "string",
"modifiedBy": "string",
"subscription": null,
"subscriptionId": 0
}
],
"type": "string",
"status": "string",
"created": "string",
"details": "string",
"expires": "string",
"product": {
"id": 0,
"url": "string",
"name": "string",
"created": "string",
"isActive": false,
"metadata": {},
"modified": "string",
"createdBy": "string",
"modifiedBy": "string",
"displayName": "string",
"applications": [],
"organization": {
"type": null
},
"subscriptions": [],
"organizationId": 0,
"publicMetadata": {},
"longDescription": "string"
},
"modified": "string",
"createdBy": "string",
"isEnabled": false,
"productId": 0,
"modifiedBy": "string",
"statusText": "string",
"description": "string",
"sfLicenseId": "string",
"organization": {
"id": 0,
"name": "string",
"type": "string",
"aliases": [],
"contact": "string",
"created": "string",
"domains": [],
"members": [],
"isActive": false,
"modified": "string",
"products": [],
"createdBy": "string",
"modifiedBy": "string",
"displayName": "string",
"applications": [],
"crmAccountId": "string",
"isMfaRequired": false,
"isSelfService": false,
"subscriptions": [],
"technicalContact": "string",
"isEnabledForPreviewFeatures": false,
"isDomainVerificationRequired": false
},
"sfContractId": "string",
"customMetadata": {},
"organizationId": 0,
"readonlyMetadata": {},
"sfSubscriptionId": "string",
"applicationDeployments": [
{
"id": 0,
"name": "string",
"steps": [],
"status": "string",
"created": "string",
"modified": "string",
"createdBy": "string",
"modifiedBy": "string",
"application": null,
"displayName": "string",
"maxUserCount": 0,
"subscription": null,
"applicationId": 0,
"configuration": "string",
"customMetadata": null,
"subscriptionId": 0,
"deploymentTarget": null,
"readonlyMetadata": null,
"statusResolution": "string",
"deploymentTargetId": 0
}
]
},
"subscriptionId": 0
}
Schema
| Name | Type | Attributes | Description | Extensions | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
created
|
string (date-time)
|
nullable | The date/time the record was created (UTC). | — | ||||||||||||||||
createdBy
|
string
|
nullable | The user or user that created the record. | — | ||||||||||||||||
id
|
integer (int64)
|
nullable | A system assigned unique identifier. | — | ||||||||||||||||
logMessage
|
string
|
nullable | JSON string of the line item details | — | ||||||||||||||||
modified
|
string (date-time)
|
nullable | The date/time the record was last modified (UTC). | — | ||||||||||||||||
modifiedBy
|
string
|
nullable | The user or user that last modified the record. | — | ||||||||||||||||
severity
|
LogLevel
|
— |
—
|
— | ||||||||||||||||
subscription
|
— | Represents a subscription | — | |||||||||||||||||
subscriptionId
|
integer (int64)
|
nullable | Id of the subscription the log belongs to | — |
Example
{
"id": 0,
"created": "string",
"modified": "string",
"severity": "string",
"createdBy": "string",
"logMessage": "string",
"modifiedBy": "string",
"subscription": {
"id": 0,
"logs": [
{
"id": 0,
"created": "string",
"modified": "string",
"severity": null,
"createdBy": "string",
"logMessage": "string",
"modifiedBy": "string",
"subscription": null,
"subscriptionId": 0
}
],
"type": "string",
"status": "string",
"created": "string",
"details": "string",
"expires": "string",
"product": {
"id": 0,
"url": "string",
"name": "string",
"created": "string",
"isActive": false,
"metadata": {},
"modified": "string",
"createdBy": "string",
"modifiedBy": "string",
"displayName": "string",
"applications": [],
"organization": {
"type": null
},
"subscriptions": [],
"organizationId": 0,
"publicMetadata": {},
"longDescription": "string"
},
"modified": "string",
"createdBy": "string",
"isEnabled": false,
"productId": 0,
"modifiedBy": "string",
"statusText": "string",
"description": "string",
"sfLicenseId": "string",
"organization": {
"id": 0,
"name": "string",
"type": "string",
"aliases": [],
"contact": "string",
"created": "string",
"domains": [],
"members": [],
"isActive": false,
"modified": "string",
"products": [],
"createdBy": "string",
"modifiedBy": "string",
"displayName": "string",
"applications": [],
"crmAccountId": "string",
"isMfaRequired": false,
"isSelfService": false,
"subscriptions": [],
"technicalContact": "string",
"isEnabledForPreviewFeatures": false,
"isDomainVerificationRequired": false
},
"sfContractId": "string",
"customMetadata": {},
"organizationId": 0,
"readonlyMetadata": {},
"sfSubscriptionId": "string",
"applicationDeployments": [
{
"id": 0,
"name": "string",
"steps": [],
"status": "string",
"created": "string",
"modified": "string",
"createdBy": "string",
"modifiedBy": "string",
"application": null,
"displayName": "string",
"maxUserCount": 0,
"subscription": null,
"applicationId": 0,
"configuration": "string",
"customMetadata": null,
"subscriptionId": 0,
"deploymentTarget": null,
"readonlyMetadata": null,
"statusResolution": "string",
"deploymentTargetId": 0
}
]
},
"subscriptionId": 0
}
Schema
| Name | Type | Attributes | Description | Extensions | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
created
|
string (date-time)
|
nullable | The date/time the record was created (UTC). | — | ||||||||||||||||
createdBy
|
string
|
nullable | The user or user that created the record. | — | ||||||||||||||||
id
|
integer (int64)
|
nullable | A system assigned unique identifier. | — | ||||||||||||||||
logMessage
|
string
|
nullable | JSON string of the line item details | — | ||||||||||||||||
modified
|
string (date-time)
|
nullable | The date/time the record was last modified (UTC). | — | ||||||||||||||||
modifiedBy
|
string
|
nullable | The user or user that last modified the record. | — | ||||||||||||||||
severity
|
LogLevel
|
— |
—
|
— | ||||||||||||||||
subscription
|
— | Represents a subscription | — | |||||||||||||||||
subscriptionId
|
integer (int64)
|
nullable | Id of the subscription the log belongs to | — |
Security
Authentication is required for this operation.
Source: default
Requirements (any one option may satisfy)
- Bearer and ApplicationToken
- Basic