GET api/Contact?customerSupplierId={customerSupplierId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
customerSupplierId

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of TblContact
NameDescriptionTypeAdditional information
id

integer

None.

title

string

None.

firstName

string

None.

lastName

string

None.

position

string

None.

directDial

string

None.

extension

integer

None.

email

string

None.

status

string

None.

notes

string

None.

customerSupplierId

integer

None.

TblConfirmedOrderlineChanges

Collection of TblConfirmedOrderlineChange

None.

TblCustomerSupplier

TblCustomerSupplier

None.

TblOrders

Collection of TblOrder

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "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": [
      {
        "$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-18T16:26:57.5458604+00:00",
        "tblContact": {
          "$ref": "1"
        },
        "tblCustomerSupplier": {
          "$id": "3",
          "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-18T16:26:57.5458604+00:00",
          "inactiveDateTime": "2024-05-18T16:26:57.5458604+00:00",
          "active": true,
          "tblConfirmedOrderlineChanges": [
            {
              "$ref": "2"
            },
            {
              "$ref": "2"
            }
          ],
          "tblContacts": [
            {
              "$ref": "1"
            },
            {
              "$ref": "1"
            }
          ]
        },
        "tblOrder": {
          "$id": "4",
          "id": 1,
          "type": "sample string 2",
          "status": "sample string 3",
          "total": 1.0,
          "contactId": 1,
          "creationDateTime": "2024-05-18T16:26:57.5458604+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": "1"
          },
          "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-18T16:26:57.5458604+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-18T16:26:57.5458604+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-18T16:26:57.5458604+00:00",
              "tblConfirmedOrderlineChanges": [
                {
                  "$ref": "2"
                },
                {
                  "$ref": "2"
                }
              ],
              "tblOrder": {
                "$ref": "4"
              }
            },
            {
              "$ref": "7"
            }
          ]
        },
        "tblOrderLine": {
          "$ref": "7"
        },
        "tblProductStock": {
          "$id": "8",
          "productId": 1,
          "quantity": 2,
          "stockCountAmended": "sample string 3",
          "lastAmendedDate": "2024-05-18T16:26:57.5458604+00:00",
          "lastIncrementDate": "2024-05-18T16:26:57.5458604+00:00",
          "tblConfirmedOrderlineChanges": [
            {
              "$ref": "2"
            },
            {
              "$ref": "2"
            }
          ]
        }
      },
      {
        "$ref": "2"
      }
    ],
    "tblCustomerSupplier": {
      "$ref": "3"
    },
    "tblOrders": [
      {
        "$ref": "4"
      },
      {
        "$ref": "4"
      }
    ]
  },
  {
    "$ref": "1"
  }
]