Perform an API call in ERPNext.
โ
API doc:https://docs.erpnext.com/docs/user/manual/en/introduction
Application
ERPNext
Inputs (what you have)
Name | Description | Data Type | Required? | Example |
Endpoint | The URL of the API endpoint to access | Text (Long) | Yes |
|
Method | The HTTP method to be used for the request | Text (Short) | Yes |
|
Request headers | Additional headers to include in the request in JSON format | Text (Long) | No |
|
Request body | The data to be included in the request body | Text (Long) | No |
|
File | A file to be included in the request | File | No |
|
Output response as a file? | Select this as true when your API call returns a file as an output | True/False | No |
|
Outputs (what you get)
Name | Description | Data Type | Required? | Example |
Response status code | The HTTP status code returned in the response | Number | No |
|
Response headers | Additional information provided in the response headers | Text (Long) | No |
|
Response body | The main content of the response | Text (Long) | No |
|
File |
| File | No |
|
Outcomes
Name | Description |
Success | This status is selected if the job has successfuly completed. |
Unsuccessful | This status is selected if the job has completed unsuccesfully. |
Impossible to Complete | This status is selected if the job has encountered an error and has not completed. |
Requirements
N/A