Create Resource Note
Creates a resource note.
Path Parameters
- resourceId
- clientId
Describes the clientId of the tenant
Request Body
application/json
- subject
Subject of the resource note.
- description
Description of the resource note.
- expiryDateType
Type of expiry. Supported Values: Never Expire, Validity Period: - expiryDateType=1 to create resource note that would never expire. - expiryDateType=2 to create resource note with a validity period. Both startTime and endTime are mandatory to create a note with a validity period.
Minimum: 1
Maximum: 3
- startTime
Start time of resource note.
- expiryTime
Expiry time of resource note.
- id
- createdTime
- updatedTime
- createdBy
Request Body Samples
{
"subject": "Device created for maintain logs-updated",
"description": "The Device is for auditing purpose only-updated",
"expiryDateType": 1
}
Responses
- subject
Subject of the resource note.
- description
Description of the resource note.
- expiryDateType
Type of expiry. Supported Values: Never Expire, Validity Period: - expiryDateType=1 to create resource note that would never expire. - expiryDateType=2 to create resource note with a validity period. Both startTime and endTime are mandatory to create a note with a validity period.
Minimum: 1
Maximum: 3
- startTime
Start time of resource note.
- expiryTime
Expiry time of resource note.
- id
- createdTime
- updatedTime
- createdBy
Response Samples
{
"id": 50,
"subject": "Device created for maintain logs",
"description": "The Device is for auditing purpose only",
"createdTime": "2016-03-21T12:02:11+0000",
"updatedTime": "2016-03-21T12:02:11+0000",
"startTime": "2016-03-25T15:40:10+0000",
"expiryTime": "2016-04-25T15:40:10+0000",
"createdBy": {
"id": "USR0000002095",
"loginName": "John.Smith",
"lastName": "Smith",
"firstName": "John",
"email": "john.smith@opsramp.com",
"changePassword": false
}
}