Table of Contents
- API Usage Guide
- API Command Reference
- add_booking
- add_client
- add_invoice
- add_resource
- approve_request
- authenticate_user
- del_booking
- del_bookings
- del_client
- del_invoice
- del_resource
- email_client
- gen_invoice
- get_activity
- get_availability
- get_booking
- get_booking_type
- get_booking_types
- get_bookings
- get_client
- get_consumable_levels
- get_invoice
- get_invoices
- get_messages
- get_reminders
- get_resource
- get_resource_availability
- get_setting
- get_template
- get_user
- get_users_logged_in
- get_venue
- get_venue_groups
- get_venues
- get_venues_in_group
- get_venues_in_use
- get_watches
- mod_booking
- mod_client
- mod_invoice
- mod_resource
- mod_venue
- notify_user
- reject_request
- restore_booking
- set_setting
- set_template
- util_api_usage
- util_from_epoch
- util_to_epoch
- Appendix A - Activity Codes
- Appendix B - Setting Names
- Appendix C - Error Handling
- Code Samples
- Troubleshooting
- Release Notes
← Hide Table of Contents
MIDAS API: add_client
Available in API 2.0+
Adds a new client record
Required Parameters | Possible Values | Description |
client | String | Client Name |
Optional Parameters | Possible Values | Description |
org | String | The client's Organization name |
Email Address | The client's Email address | |
address | String | The client's postal/mailing address |
phone | Number | The client's telephone number |
fax | Number | The client's fax number |
mobile | Number | The client's mobile/cell number |
notes | String | Notes about the client |
tax_exempt | 0 | 1 | Specifies whether the client is exempt from being charged tax on their invoices. If this parameter is omitted a default value of "0 " will be assumed (i.e. client' is not exempt from tax) |
credit | Number | [MIDAS v4.12+] Applies an initial amount of credit to the client. Client credit is then automatically applied to their subsequent invoices and decreased accordingly. If this parameter is omitted no credit is applied |
Example Response |
{ "client_added":"56" } |
Variables Returned | Description |
client_added | A unique client ID corresponding the newly added client record |