Create Contact

POST 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...

{
  "person": {
    "id": null,
    "display_name": "rana",
    "title": null,
    "first_name": null,
    "middle_name": null,
    "last_name": null,
    "mobile": null,
    "identity_type": null,
    "identity_number": null,
    "email": null,
    "other_detail": null,
    "associate_company": null,
    "phone": null,
    "fax": null,
    "tax_no": null,
    "archive": false,
    "billing_address": null,
    "billing_address_no": null,
    "billing_address_rt": null,
    "billing_address_rw": null,
    "billing_address_post_code": null,
    "billing_address_kelurahan": null,
    "billing_address_kecamatan": null,
    "billing_address_kabupaten": null,
    "billing_address_provinsi": null,
    "address": null,
    "bank_account_details": [
      {
        "bank_name": null,
        "bank_branch": "",
        "bank_account_holder_name": "",
        "bank_account_number": ""
      }
    ],
    "default_ar_account_id": null,
    "default_ap_account_id": null,
    "disable_max_credit_limit": true,
    "disable_max_debit_limit": true,
    "max_credit_limit": null,
    "max_debit_limit": null,
    "term_id": null,
    "is_customer": true,
    "is_vendor": false,
    "is_employee": true,
    "is_others": false,
    "contact_group_ids": [
      81504
    ],
    "people_type": "employee",
    "contact_group_names": [
      "accounting"
    ]
  }
}
curl --location --request POST 'https://us-central1-appgregator.cloudfunctions.net/jurnalID/contacts?name=ft-4&connection_name=intrapreneur-jurnalid-1' \
--header 'x-api-key: U2Fsd...' \
--header 'Content-Type: application/json' \
--data-raw '{
  "person": {
    "id": null,
    "display_name": "rana",
    "title": null,
    "first_name": null,
    "middle_name": null,
    "last_name": null,
    "mobile": null,
    "identity_type": null,
    "identity_number": null,
    "email": null,
    "other_detail": null,
    "associate_company": null,
    "phone": null,
    "fax": null,
    "tax_no": null,
    "archive": false,
    "billing_address": null,
    "billing_address_no": null,
    "billing_address_rt": null,
    "billing_address_rw": null,
    "billing_address_post_code": null,
    "billing_address_kelurahan": null,
    "billing_address_kecamatan": null,
    "billing_address_kabupaten": null,
    "billing_address_provinsi": null,
    "address": null,
    "bank_account_details": [
      {
        "bank_name": null,
        "bank_branch": "",
        "bank_account_holder_name": "",
        "bank_account_number": ""
      }
    ],
    "default_ar_account_id": null,
    "default_ap_account_id": null,
    "disable_max_credit_limit": true,
    "disable_max_debit_limit": true,
    "max_credit_limit": null,
    "max_debit_limit": null,
    "term_id": null,
    "is_customer": true,
    "is_vendor": false,
    "is_employee": true,
    "is_others": false,
    "contact_group_ids": [
      81504
    ],
    "people_type": "employee",
    "contact_group_names": [
      "accounting"
    ]
  }
}'

Last updated