GET api/CustomerSupplier
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of TblCustomerSupplierName | Description | Type | Additional information |
---|---|---|---|
id | integer |
None. |
|
name | string |
None. |
|
logo | string |
None. |
|
addressLine1 | string |
None. |
|
addressLine2 | string |
None. |
|
addressLine3 | string |
None. |
|
town | string |
None. |
|
county | string |
None. |
|
postcode | string |
None. |
|
country | string |
None. |
|
telephone | string |
None. |
|
bank | string |
None. |
|
vatNumber | string |
None. |
|
accountNumber | string |
None. |
|
sortcode | string |
None. |
|
iban | string |
None. |
|
swift | string |
None. |
|
creationDateTime | date |
None. |
|
inactiveDateTime | date |
None. |
|
active | boolean |
None. |
|
TblConfirmedOrderlineChanges | Collection of TblConfirmedOrderlineChange |
None. |
|
TblContacts | Collection of TblContact |
None. |
Response Formats
application/json, text/json
Sample:
[ { "$id": "1", "id": 1, "name": "sample string 2", "logo": "sample string 3", "addressLine1": "sample string 4", "addressLine2": "sample string 5", "addressLine3": "sample string 6", "town": "sample string 7", "county": "sample string 8", "postcode": "sample string 9", "country": "sample string 10", "telephone": "sample string 11", "bank": "sample string 12", "vatNumber": "sample string 13", "accountNumber": "sample string 14", "sortcode": "sample string 15", "iban": "sample string 16", "swift": "sample string 17", "creationDateTime": "2024-05-18T17:39:45.371713+00:00", "inactiveDateTime": "2024-05-18T17:39:45.371713+00:00", "active": true, "tblConfirmedOrderlineChanges": [ { "$id": "2", "id": 1, "orderId": 2, "orderlineId": 3, "productlistId": 4, "model": "sample string 5", "customerId": 6, "customerName": "sample string 7", "contactId": 8, "contactFullName": "sample string 9", "promisedQuantity": 10, "promisedPricePerItem": 11.0, "promisedTotal": 12.0, "newQuantity": 13, "newPricePerItem": 14.0, "newTotal": 15.0, "updateStockStatus": "sample string 16", "updateCount": 17, "userRecorded": "sample string 18", "discrepancy": 1, "changeDateTime": "2024-05-18T17:39:45.371713+00:00", "tblContact": { "$id": "3", "id": 1, "title": "sample string 2", "firstName": "sample string 3", "lastName": "sample string 4", "position": "sample string 5", "directDial": "sample string 6", "extension": 1, "email": "sample string 7", "status": "sample string 8", "notes": "sample string 9", "customerSupplierId": 1, "tblConfirmedOrderlineChanges": [ { "$ref": "2" }, { "$ref": "2" } ], "tblCustomerSupplier": { "$ref": "1" }, "tblOrders": [ { "$id": "4", "id": 1, "type": "sample string 2", "status": "sample string 3", "total": 1.0, "contactId": 1, "creationDateTime": "2024-05-18T17:39:45.371713+00:00", "currencyId": 1, "vat": "sample string 5", "pastOrder": "sample string 6", "user": "sample string 7", "extraDetails": "sample string 8", "linnworksOrderId": "sample string 9", "shipped_status": 1, "tblConfirmedOrderlineChanges": [ { "$ref": "2" }, { "$ref": "2" } ], "tblContact": { "$ref": "3" }, "tblCurrency": { "$id": "5", "id": 1, "name": "sample string 2", "country": "sample string 3", "tblOrders": [ { "$ref": "4" }, { "$ref": "4" } ] }, "tblNegotiations": [ { "$id": "6", "id": 1, "productId": 2, "quantity": 1.0, "negotiatedPricePerItem": 1.0, "totalAmount": 1.0, "status": "sample string 3", "negotiationDateTime": "2024-05-18T17:39:45.371713+00:00", "orderId": 1, "tblOrder": { "$ref": "4" } }, { "$ref": "6" } ], "tblOrderLines": [ { "$id": "7", "id": 1, "productId": 2, "quantity": 1.0, "negotiatedPricePerItem": 1.0, "totalAmount": 1.0, "status": "sample string 3", "orderLineQuantityStatus": "sample string 4", "orderlineDateTime": "2024-05-18T17:39:45.371713+00:00", "orderId": 1, "fulfillmentQuantity": 1, "fulfilmentStatus": "sample string 6", "colour": "sample string 7", "capacity": "sample string 8", "brandId": 1, "manufacture": 1, "expiry": "2024-05-18T17:39:45.371713+00:00", "tblConfirmedOrderlineChanges": [ { "$ref": "2" }, { "$ref": "2" } ], "tblOrder": { "$ref": "4" } }, { "$ref": "7" } ] }, { "$ref": "4" } ] }, "tblCustomerSupplier": { "$ref": "1" }, "tblOrder": { "$ref": "4" }, "tblOrderLine": { "$ref": "7" }, "tblProductStock": { "$id": "8", "productId": 1, "quantity": 2, "stockCountAmended": "sample string 3", "lastAmendedDate": "2024-05-18T17:39:45.371713+00:00", "lastIncrementDate": "2024-05-18T17:39:45.371713+00:00", "tblConfirmedOrderlineChanges": [ { "$ref": "2" }, { "$ref": "2" } ] } }, { "$ref": "2" } ], "tblContacts": [ { "$ref": "3" }, { "$ref": "3" } ] }, { "$ref": "1" } ]