Create Resource Note

Creates a resource note.

Path Parameters

  • resourceIdstringrequired

  • clientIdstringrequired

    Describes the clientId of the tenant

Request Body

application/json

  • subjectstring

    Subject of the resource note.

  • descriptionstring

    Description of the resource note.

  • expiryDateTypeinteger

    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

  • startTimestring

    Start time of resource note.

  • expiryTimestring

    Expiry time of resource note.

  • idinteger

  • createdTimestring

  • updatedTimestring

  • createdByobject

Request Body Samples

{
  "subject": "Device created for maintain logs-updated",
  "description": "The Device is for auditing purpose only-updated",
  "expiryDateType": 1
}

Responses

  • subjectstring

    Subject of the resource note.

  • descriptionstring

    Description of the resource note.

  • expiryDateTypeinteger

    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

  • startTimestring

    Start time of resource note.

  • expiryTimestring

    Expiry time of resource note.

  • idinteger

  • createdTimestring

  • updatedTimestring

  • createdByobject

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
  }
}