GET api/Order/GetCustomerById/{id}

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
id
No documentation available.

Define this parameter in the request URI.

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{
  "Id": 1,
  "CustomerName": "sample string 2",
  "PhoneNumber": "sample string 3",
  "Email": "sample string 4",
  "BalanceAmount": 5.1,
  "CustomerAddress": "sample string 6",
  "DrivingLisence": "sample string 7",
  "DrivingLisenceExpiry": "2025-04-11T02:14:13.6931855-07:00",
  "SocialSecurity": "sample string 9",
  "DateOfBirth": "2025-04-11T02:14:13.6931855-07:00",
  "FollowUpPhone": "sample string 10",
  "PremisesType": "sample string 11",
  "CustomerDescription": "sample string 12",
  "UserId": "sample string 13",
  "FullName": "sample string 14",
  "TransferedBy": "sample string 15",
  "TFullName": "sample string 16",
  "Gender": "sample string 17",
  "Orders": [
    {
      "$id": "2",
      "Id": 1,
      "CustomerName": "sample string 2",
      "PhoneNumber": "sample string 3",
      "Email": "sample string 4",
      "Gender": "sample string 5",
      "BalanceAmount": 6.1,
      "CustomerAddress": "sample string 7",
      "DrivingLisence": "sample string 8",
      "DrivingLisenceExpiry": "2025-04-11T02:14:13.6931855-07:00",
      "SocialSecurity": "sample string 10",
      "DateOfBirth": "2025-04-11T02:14:13.6931855-07:00",
      "FollowUpPhone": "sample string 11",
      "PremisesType": "sample string 12",
      "CustomerDescription": "sample string 13",
      "UserId": "sample string 14",
      "FullName": "sample string 15",
      "TransferedBy": "sample string 16",
      "TFullName": "sample string 17",
      "OrderDate": "2025-04-11T02:14:13.6931855-07:00",
      "OrderTime": "sample string 19",
      "OrderNumber": "sample string 20",
      "OrderStatus": "sample string 21",
      "FilePath": "sample string 22",
      "PaymentRecieved": true,
      "TotalAmount": 24.1,
      "Tax": 25.1,
      "Discount": 26.1,
      "ShippingAddress": "sample string 27",
      "ShipCity": "sample string 28",
      "ShipRegion": "sample string 29",
      "ShipPostalCode": "sample string 30",
      "ShipCountry": "sample string 31",
      "CustomerId": 32,
      "ShipperId": "sample string 33",
      "ShipperName": "sample string 34",
      "MacAddress": "sample string 35",
      "ShippingInvoice": "sample string 36",
      "ShippedDate": "2025-04-11T02:14:13.6931855-07:00",
      "ShippingDate": "2025-04-11T02:14:13.6931855-07:00",
      "TrackingId": "sample string 39",
      "IsCompleted": true,
      "PaidAmount": 41.1,
      "RemainingAmount": 42.1,
      "NextBillingDate": "2025-04-11T02:14:13.6931855-07:00",
      "ShippingDescription": "sample string 44",
      "OrderDescription": "sample string 45",
      "InvoiceSent": true,
      "NetAmount": 47.1,
      "CustomerBalance": 48.1,
      "MonthlyBill": 49.1,
      "ToEmail": "sample string 50",
      "Subject": "sample string 51",
      "Message": "sample string 52",
      "Attachment": "sample string 53",
      "PaymentMethod": "sample string 54",
      "DaysDiff": 55,
      "ChequeTrackingId": "sample string 56",
      "ChequeNo": "sample string 57",
      "AccountNo": "sample string 58",
      "RoutingNo": "sample string 59",
      "AccountType": "sample string 60",
      "BankName": "sample string 61",
      "CardNo": "sample string 62",
      "ExpirationDate": "sample string 63",
      "CardCVC": "sample string 64",
      "Status": "sample string 65",
      "Amount": 66.1,
      "CardType": "sample string 67",
      "ShippmentCost": 68.0,
      "Quantity": 69,
      "BillPaid": true,
      "SelectedProducts": [
        {
          "$id": "3",
          "Id": 1,
          "OrderId": 2,
          "OrderNumber": "sample string 3",
          "ProductId": 4,
          "ProductName": "sample string 5",
          "Quantity": 6,
          "SalePrice": 7.1,
          "IsMonthlyBillActive": true
        },
        {
          "$ref": "3"
        },
        {
          "$ref": "3"
        }
      ],
      "SelectedApps": [
        {
          "$id": "4",
          "Id": 1,
          "AppId": 2,
          "AppName": "sample string 3",
          "OrderId": 4,
          "Description": "sample string 5",
          "Username": "sample string 6",
          "Password": "sample string 7",
          "Pin": "sample string 8"
        },
        {
          "$ref": "4"
        },
        {
          "$ref": "4"
        }
      ],
      "Addresses": [
        {
          "$id": "5",
          "ID": 1,
          "PhysicalAddress": "sample string 2",
          "OrderID": 3,
          "CustomerName": "sample string 4",
          "OrderNumber": "sample string 5",
          "PhoneNumber": "sample string 6",
          "Address": "sample string 7"
        },
        {
          "$ref": "5"
        },
        {
          "$ref": "5"
        }
      ]
    },
    {
      "$ref": "2"
    },
    {
      "$ref": "2"
    }
  ],
  "Payments": [
    {
      "$id": "6",
      "Id": 1,
      "CustomerId": 2,
      "CustomerName": "sample string 3",
      "PaymentAmount": 4.1,
      "PaymentDate": "2025-04-11T02:14:13.6931855-07:00",
      "PaymentDescription": "sample string 6",
      "UserId": "sample string 7",
      "FullName": "sample string 8",
      "Status": "sample string 9"
    },
    {
      "$ref": "6"
    },
    {
      "$ref": "6"
    }
  ],
  "SelectedProducts": [
    {
      "$ref": "3"
    },
    {
      "$ref": "3"
    },
    {
      "$ref": "3"
    }
  ]
}