Conversation
| { | ||
| payments: call('parse_xml_to_hash', | ||
| 'xml' => response, | ||
| 'array_fields' => ['Payment']). |
There was a problem hiding this comment.
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']). |
There was a problem hiding this comment.
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]). |
There was a problem hiding this comment.
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'). |
There was a problem hiding this comment.
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]). |
There was a problem hiding this comment.
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'). |
There was a problem hiding this comment.
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']). |
There was a problem hiding this comment.
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]). |
There was a problem hiding this comment.
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'). |
There was a problem hiding this comment.
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]). |
There was a problem hiding this comment.
Layout/DotPosition: Place the . on the next line, together with the method name.
Authentication type
Actions
More Details
Issue: /workato/issues#12703