Get Contacts
GET
https://us-central1-appgregator.cloudfunctions.net/jurnalID/contacts/
Query Parameters
Name
Type
Description
name*
String
ft-4
connection_name*
String
intrapreneur-jurnalid-1
Headers
Name
Type
Description
x-api-key*
String
U2Fsd...
{
"contact_list": {
"contact_data": {
"person_data": [
{
"person_id": 47364512,
"display_name": "bimo",
"associate_company": null,
"address": null,
"email": "",
"mobile": null,
"balance": 0,
"receivables_balance": 0,
"payables_balance": 0,
"color_coding": [
3
],
"phone": null,
"tax_no": null,
"fax": null,
"is_archived": false,
"other_detail": null,
"authorization": {
"archive": true
}
},
{
"person_id": 47164113,
"display_name": "BUDI",
"associate_company": null,
"address": null,
"email": "",
"mobile": null,
"balance": "400000.0",
"receivables_balance": 0,
"payables_balance": "400000.0",
"color_coding": [
2,
3
],
"phone": null,
"tax_no": null,
"fax": null,
"is_archived": false,
"other_detail": null,
"authorization": {
"archive": true
}
},
{
"person_id": 47285589,
"display_name": "dina",
"associate_company": null,
"address": null,
"email": "",
"mobile": null,
"balance": 0,
"receivables_balance": 0,
"payables_balance": 0,
"color_coding": [
1,
3
],
"phone": null,
"tax_no": null,
"fax": null,
"is_archived": false,
"other_detail": null,
"authorization": {
"archive": true
}
},
{
"person_id": 47364344,
"display_name": "dira",
"associate_company": null,
"address": null,
"email": "",
"mobile": null,
"balance": 0,
"receivables_balance": 0,
"payables_balance": 0,
"color_coding": [
1,
3
],
"phone": null,
"tax_no": null,
"fax": null,
"is_archived": false,
"other_detail": null,
"authorization": {
"archive": true
}
},
{
"person_id": 47285780,
"display_name": "dita",
"associate_company": null,
"address": null,
"email": "",
"mobile": null,
"balance": 0,
"receivables_balance": 0,
"payables_balance": 0,
"color_coding": [
1
],
"phone": null,
"tax_no": null,
"fax": null,
"is_archived": false,
"other_detail": null,
"authorization": {
"archive": true
}
},
{
"person_id": 47285527,
"display_name": "dono",
"associate_company": null,
"address": null,
"email": "",
"mobile": null,
"balance": 0,
"receivables_balance": 0,
"payables_balance": 0,
"color_coding": [
1
],
"phone": null,
"tax_no": null,
"fax": null,
"is_archived": false,
"other_detail": null,
"authorization": {
"archive": true
}
},
{
"person_id": 47161278,
"display_name": "PT.BAHAGIA",
"associate_company": null,
"address": "",
"email": "",
"mobile": null,
"balance": "900.0",
"receivables_balance": 0,
"payables_balance": "900.0",
"color_coding": [
2
],
"phone": "",
"tax_no": null,
"fax": null,
"is_archived": false,
"other_detail": null,
"authorization": {
"archive": true
}
},
{
"person_id": 47156809,
"display_name": "PT.MAJU",
"associate_company": null,
"address": null,
"email": "",
"mobile": null,
"balance": "10000.0",
"receivables_balance": 0,
"payables_balance": "10000.0",
"color_coding": [
3
],
"phone": null,
"tax_no": null,
"fax": null,
"is_archived": false,
"other_detail": null,
"authorization": {
"archive": true
}
},
{
"person_id": 47365768,
"display_name": "rini",
"associate_company": null,
"address": null,
"email": "",
"mobile": null,
"balance": 0,
"receivables_balance": 0,
"payables_balance": 0,
"color_coding": [
1,
3
],
"phone": null,
"tax_no": null,
"fax": null,
"is_archived": false,
"other_detail": null,
"authorization": {
"archive": true
}
},
{
"person_id": 47145876,
"display_name": "RONALD",
"associate_company": null,
"address": "",
"email": "",
"mobile": null,
"balance": "16000.0",
"receivables_balance": 0,
"payables_balance": "16000.0",
"color_coding": [
3
],
"phone": "",
"tax_no": null,
"fax": null,
"is_archived": false,
"other_detail": null,
"authorization": {
"archive": true
}
}
],
"authorization_by_role": {
"create_new": true,
"bulk_delete": true,
"customize_column": true
},
"current_page": 0,
"max_page": 1,
"total": 10,
"customer": true,
"vendor": true,
"employee": true,
"others": true
}
},
"currency_symbol": "Rp.",
"restricted_user": false
}
curl --location --request GET 'https://us-central1-appgregator.cloudfunctions.net/jurnalID/contacts?name=ft-4&connection_name=intrapreneur-jurnalid-1' \
--header 'x-api-key: U2FsdG...'
var axios = require('axios');
var config = {
method: 'get',
url: 'https://us-central1-appgregator.cloudfunctions.net/jurnalID/contacts?name=ft-4&connection_name=intrapreneur-jurnalid-1',
headers: {
'x-api-key': 'U2Fsd...'
}
};
axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://us-central1-appgregator.cloudfunctions.net/jurnalID/contacts?name=ft-4&connection_name=intrapreneur-jurnalid-1',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'x-api-key: U2Fsd...'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
Last updated