Difference between revisions of "Clients"
From Advice Local Wiki
(→The client object) |
(→The client object) |
||
| Line 12: | Line 12: | ||
|name | |name | ||
|string (maxLength=128) | |string (maxLength=128) | ||
| + | |required | ||
|The busniess name. | |The busniess name. | ||
|- | |- | ||
|owner | |owner | ||
| + | |string (maxLength=128) | ||
| + | |optional | ||
|The business owner name. | |The business owner name. | ||
|- | |- | ||
|street | |street | ||
|string (maxLength=128) | |string (maxLength=128) | ||
| + | |required | ||
|The business street. | |The business street. | ||
|- | |- | ||
|suite | |suite | ||
| + | |string (maxLength=32) | ||
| + | |optional | ||
|The business suite. | |The business suite. | ||
|- | |- | ||
| Line 29: | Line 35: | ||
|city | |city | ||
|string (maxLength=128) | |string (maxLength=128) | ||
| − | |The business | + | |required |
| + | |The business city. | ||
|- | |- | ||
|state | |state | ||
|string (maxLength=64) | |string (maxLength=64) | ||
| + | |required | ||
|The business state. | |The business state. | ||
|- | |- | ||
|zipcode | |zipcode | ||
|string (maxLength=32) | |string (maxLength=32) | ||
| + | |required | ||
|The business zipcode. | |The business zipcode. | ||
|} | |} | ||
== Updating a Client == | == Updating a Client == | ||
Revision as of 22:55, 12 December 2017
Adding a Client
The client object
| Attributes | |||||
|---|---|---|---|---|---|
| id | integer | Unique identifier for the object. | |||
| name | string (maxLength=128) | required | The busniess name. | ||
| owner | string (maxLength=128) | optional | The business owner name. | ||
| street | string (maxLength=128) | required | The business street. | ||
| suite | string (maxLength=32) | optional | The business suite. | ||
| hours | The business hours. | ||||
| city | string (maxLength=128) | required | The business city. | ||
| state | string (maxLength=64) | required | The business state. | ||
| zipcode | string (maxLength=32) | required | The business zipcode. | ||