Vendor
JSON Format
Name | Type | Read-only | Mandatory | Comment |
|---|---|---|---|---|
| id | integer | yes | no | |
| name | string | no | yes | |
| contactName | string | no | no | |
| primaryPhone | string | no | no | |
| fax | string | |||
| string | ||||
| notes | string | |||
| street1 | string | |||
street2 | string | |||
| city | string | |||
| state | string | |||
| postalCode | string | |||
| country | string |
|
URIs
Uri | Method | Request Data | Success Response Code | Description |
|---|---|---|---|---|
| /api/vendors | GET | 200 | Returns an Array of all Vendors | |
| /api/vendors/{id} | GET | 200 | Returns one Vendor | |
| /api/vendors | POST | Vendor | 201 | Create new Vendor |
| /api/vendors/{id} | PUT | Vendor | 204 | Update an existing Vendor |
| /api/vendors/{id} | DELETE | 200 | Delete a Vendor |
