How to see the full data pabbly sent to an api

Status: Open · Asked by Phil Hart on · 0 views

Phil Hart — Question ·
Your Workflow URL: IjU3NjUwNTY4MDYzNDA0MzE1MjY5NTUzZCI_3D_pc
Task History ID: IjU3NjEwNTZlMDYzMTA0MzU1MjZhNTUzNjUxMzY1MTY1NTQzMyI_3D_pc

In my workflow, I think I have my settings correct to create a repairshopr invoice. According to the task history, a recent task failed, as it says that we did not send the 'cusomter id' however I have that set to send the customer id in the workflow. so I wanted to see what data did pabbly send, but I dont see how to do that. I wanto see the api call that pabbly made to repairshopr to create the invoice to ensure that it was correct, but in the history, i dont see how. the Data In just shows the endpoint url, and not the data sent.
thank you

Arshil Ahmad — Reply ·

Hi @dataforge,

Based on your Task History, I can see that you are not obtaining the Customer ID from the 'Search Customer' action event. As a result, the Customer ID is not being mapped to the 'Create Invoice' action event, which is causing the error you are encountering.
https://drive.google.com/file/d/1zivXRgQirh1NPQo9tvGahcErWRr4qrod/view?usp=sharing

Attached below is the Endpoint URL and JSON for the Create Invoice action event
https://api-docs.repairshopr.com/#/Invoice/post_invoices

{
"id": 0,
"balance_due": 0,
"customer_id": 0,
"number": "string",
"date": "2023-08-29T18:16:10.545Z",
"customer_business_then_name": "string",
"created_at": "2023-08-29T18:16:10.545Z",
"updated_at": "2023-08-29T18:16:10.545Z",
"due_date": "2023-08-29",
"subtotal": "string",
"total": "string",
"tax": "string",
"verified_paid": true,
"tech_marked_paid": true,
"ticket_id": 0,
"pdf_url": "string",
"is_paid": true,
"location_id": 0,
"po_number": "string",
"contact_id": 0,
"note": "string",
"hardwarecost": 0,
"line_items": [
{
"item": "string",
"name": "string",
"product_id": 0,
"quantity": 0,
"cost": 0,
"price": 0,
"discount_percent": 0,
"taxable": true,
"upc_code": "string",
"tax_note": "string",
"wholesale": 0,
"invoice_bundle_id": 0,
"tax_rate_id": 0,
"user_id": 0,
"position": 0
}
]
}

Back to all forum threads · Log in to reply