GET api/Currency/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

TblCurrency
NameDescriptionTypeAdditional information
id

integer

None.

name

string

None.

country

string

None.

TblOrders

Collection of TblOrder

None.

Response Formats

application/json, text/json

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