Skip to content

adicionar acompanhamento #3

Description

@virgiliodantas

no arquivo glpi-sdk-ruby/lib/glpi/sdk/resource.rb :

linha 23:

  #adicionar acompanhamento
  def self.followup(session, id, attributes = {})
    item_type = attributes.key?(:item_type) ? attributes.delete(:item_type) : type_name
    payload = { input: attributes }.to_json
    session.request :post, "/#{item_type}/#{id}/TicketFollowup/", body: payload
    find(session, id, item_type)
  end

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions