getWaitingApprovalBatch
curl --request GET \
--url https://app.ezzydoc.com/EzzyService.svc/Rest/getWaitingApprovalBatch \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.ezzydoc.com/EzzyService.svc/Rest/getWaitingApprovalBatch"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.ezzydoc.com/EzzyService.svc/Rest/getWaitingApprovalBatch', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.ezzydoc.com/EzzyService.svc/Rest/getWaitingApprovalBatch",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.ezzydoc.com/EzzyService.svc/Rest/getWaitingApprovalBatch"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.ezzydoc.com/EzzyService.svc/Rest/getWaitingApprovalBatch")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.ezzydoc.com/EzzyService.svc/Rest/getWaitingApprovalBatch")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"batch": [
{
"blob_url": "<string>",
"pdf_url": "<string>",
"create_time": "2023-11-07T05:31:56Z",
"data": "<string>",
"file_name": "<string>",
"form": {
"purchaseOrder": "<string>",
"invoiceNumber": "<string>",
"invoiceDate": "2023-11-07T05:31:56Z",
"paymentDate": "2023-11-07T05:31:56Z",
"supplier": "<string>",
"supplier_id": "<string>",
"total": 123,
"tax": 123,
"charge": 123,
"discount": 123,
"abn": "<string>",
"description": "<string>",
"from_email": "<string>",
"delivery_to": "<string>",
"invoice_to": "<string>",
"company_invoiced": "<string>",
"delivery_to_address": "<string>",
"invoice_to_address": "<string>",
"supplier_address": "<string>",
"bankBranch": "<string>",
"bankAccount": "<string>",
"bPaycode": "<string>",
"bPayRef": "<string>",
"customField1": "<string>",
"customField2": "<string>",
"customField3": "<string>",
"customField4": "<string>",
"customValues": {
"name": "<string>",
"value": "<string>",
"hint": "<string>"
},
"wfsettings": "<string>",
"location": "<string>",
"tracking": "<string>",
"tracking_option": "<string>",
"glcode_option": "<string>",
"glcode_text": "<string>",
"expense_claim": "<string>",
"email_to": "<string>",
"document_subtype": 123,
"switch_workflow": 123,
"approver": "<string>",
"approver_email": "<string>",
"additional_request": "<string>",
"require_email": true,
"require_bank_details": true,
"email": "<string>",
"bank_details": "<string>",
"changed": true
},
"invoice_id": 123,
"locale": 123
}
],
"service_status": {
"invoice_id": 123,
"message": "<string>"
}
}EzzyRest
getWaitingApprovalBatch
GET
/
getWaitingApprovalBatch
getWaitingApprovalBatch
curl --request GET \
--url https://app.ezzydoc.com/EzzyService.svc/Rest/getWaitingApprovalBatch \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.ezzydoc.com/EzzyService.svc/Rest/getWaitingApprovalBatch"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.ezzydoc.com/EzzyService.svc/Rest/getWaitingApprovalBatch', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.ezzydoc.com/EzzyService.svc/Rest/getWaitingApprovalBatch",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.ezzydoc.com/EzzyService.svc/Rest/getWaitingApprovalBatch"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.ezzydoc.com/EzzyService.svc/Rest/getWaitingApprovalBatch")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.ezzydoc.com/EzzyService.svc/Rest/getWaitingApprovalBatch")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"batch": [
{
"blob_url": "<string>",
"pdf_url": "<string>",
"create_time": "2023-11-07T05:31:56Z",
"data": "<string>",
"file_name": "<string>",
"form": {
"purchaseOrder": "<string>",
"invoiceNumber": "<string>",
"invoiceDate": "2023-11-07T05:31:56Z",
"paymentDate": "2023-11-07T05:31:56Z",
"supplier": "<string>",
"supplier_id": "<string>",
"total": 123,
"tax": 123,
"charge": 123,
"discount": 123,
"abn": "<string>",
"description": "<string>",
"from_email": "<string>",
"delivery_to": "<string>",
"invoice_to": "<string>",
"company_invoiced": "<string>",
"delivery_to_address": "<string>",
"invoice_to_address": "<string>",
"supplier_address": "<string>",
"bankBranch": "<string>",
"bankAccount": "<string>",
"bPaycode": "<string>",
"bPayRef": "<string>",
"customField1": "<string>",
"customField2": "<string>",
"customField3": "<string>",
"customField4": "<string>",
"customValues": {
"name": "<string>",
"value": "<string>",
"hint": "<string>"
},
"wfsettings": "<string>",
"location": "<string>",
"tracking": "<string>",
"tracking_option": "<string>",
"glcode_option": "<string>",
"glcode_text": "<string>",
"expense_claim": "<string>",
"email_to": "<string>",
"document_subtype": 123,
"switch_workflow": 123,
"approver": "<string>",
"approver_email": "<string>",
"additional_request": "<string>",
"require_email": true,
"require_bank_details": true,
"email": "<string>",
"bank_details": "<string>",
"changed": true
},
"invoice_id": 123,
"locale": 123
}
],
"service_status": {
"invoice_id": 123,
"message": "<string>"
}
}⌘I