Skip to content

Conversation

@nirmalrajsp
Copy link

Authentication type

  • oauth2

Actions

  • Get all suppliers
  • Get client details by UUID
  • Get current invoices
  • Get current quotes
  • Get invoice by number
  • Get invoice payments
  • Get job invoices
  • Get quote by number
  • Get supplier contact by UUID
  • Get supplier details by UUID
  • Search clients
  • Search invoices
  • Search quotes

More Details

Issue: /workato/issues#12703

{
payments: call('parse_xml_to_hash',
'xml' => response,
'array_fields' => ['Payment']).
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Layout/DotPosition: Place the . on the next line, together with the method name.

]
end,
execute: lambda do |_connection, input|
response = get('invoice.api/payments/' + input['invoice_number']).
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Layout/DotPosition: Place the . on the next line, together with the method name.

{
invoices: call('parse_xml_to_hash',
'xml' => response,
'array_fields' => %w[Invoice Task Cost Job]).
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Layout/DotPosition: Place the . on the next line, together with the method name.

]
end,
sample_output: lambda do |_connection|
response = get('invoice.api/current?detailed=true').
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Layout/DotPosition: Place the . on the next line, together with the method name.

{
invoices: call('parse_xml_to_hash',
'xml' => response,
'array_fields' => %w[Invoice Task Cost Job]).
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Layout/DotPosition: Place the . on the next line, together with the method name.

object_definitions['invoice']
end,
sample_output: lambda do |_connections|
response = get('invoice.api/current?detailed=true').
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Layout/DotPosition: Place the . on the next line, together with the method name.

]
end,
execute: lambda do |_connection, input|
response = get('invoice.api/get/' + input['invoice_number']).
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Layout/DotPosition: Place the . on the next line, together with the method name.

{
invoices: call('parse_xml_to_hash',
'xml' => response,
'array_fields' => %w[Invoice Task Cost Job]).
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Layout/DotPosition: Place the . on the next line, together with the method name.

]
end,
sample_output: lambda do |_connection|
response = get('invoice.api/current?detailed=true').
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Layout/DotPosition: Place the . on the next line, together with the method name.

{
invoices: call('parse_xml_to_hash',
'xml' => response,
'array_fields' => %w[Invoice Job Task Cost]).
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Layout/DotPosition: Place the . on the next line, together with the method name.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants