GET api/Buys

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Buy
NameDescriptionTypeAdditional information
ID

integer

None.

GoldType

integer

None.

Cutie

integer

None.

Weight

decimal number

None.

AmountPerGeram

decimal number

None.

Amount

decimal number

None.

Description

string

None.

Date

date

None.

GoldType1

GoldType

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "ID": 1,
    "GoldType": 2,
    "Cutie": 3,
    "Weight": 4.1,
    "AmountPerGeram": 5.1,
    "Amount": 6.0,
    "Description": "sample string 7",
    "Date": "2026-01-01T04:11:38.4726768+03:30",
    "GoldType1": {
      "$id": "2",
      "ID": 1,
      "Name": "sample string 2",
      "BuildGolds": [
        {
          "$id": "3",
          "ID": 1,
          "CustomerID": 2,
          "GoldTypeID": 3,
          "GoldModelID": 4,
          "Cutie": 5,
          "Weight": 6.1,
          "Wage": 7.1,
          "Benefit": 8.1,
          "AmountPerUnit": 9.1,
          "Amount": 10.0,
          "Description": "sample string 11",
          "Count": 12,
          "ReceiptAmount": 1.0,
          "ReceiptGold": 1.0,
          "ReceiptDate": "2026-01-01T04:11:38.4726768+03:30",
          "Date": "2026-01-01T04:11:38.4726768+03:30",
          "Customer": {
            "$id": "4",
            "ID": 1,
            "Name": "sample string 2",
            "Family": "sample string 3",
            "TelNumber": "sample string 4",
            "MobileNumber": "sample string 5",
            "Address": "sample string 6",
            "Date": "2026-01-01T04:11:38.4726768+03:30",
            "BuildGolds": [
              {
                "$ref": "3"
              },
              {
                "$ref": "3"
              }
            ],
            "Fusions": [
              {
                "$id": "5",
                "ID": 1,
                "CustomerID": 2,
                "FusionAmount": 3.1,
                "RayAmount": 1.1,
                "Weight": 4.0,
                "TotalAmount": 5.0,
                "RayNumber": "sample string 6",
                "isWithDevice": true,
                "ReceiptAmount": 1.0,
                "ReceiptDate": "2026-01-01T04:11:38.4726768+03:30",
                "Date": "2026-01-01T04:11:38.4726768+03:30",
                "Customer": {
                  "$ref": "4"
                }
              },
              {
                "$ref": "5"
              }
            ],
            "Platings": [
              {
                "$id": "6",
                "ID": 1,
                "GoldType": 2,
                "PlatingType": 3,
                "CustomerID": 4,
                "Weight": 5.0,
                "Amount": 6.0,
                "Description": "sample string 7",
                "ReceiptAmount": 1.0,
                "ReceiptDate": "2026-01-01T04:11:38.4726768+03:30",
                "Date": "2026-01-01T04:11:38.4726768+03:30",
                "Customer": {
                  "$ref": "4"
                },
                "GoldType1": {
                  "$ref": "2"
                },
                "PlatingType1": {
                  "$id": "7",
                  "ID": 1,
                  "Name": "sample string 2",
                  "Platings": [
                    {
                      "$ref": "6"
                    },
                    {
                      "$ref": "6"
                    }
                  ]
                }
              },
              {
                "$ref": "6"
              }
            ],
            "Receives": [
              {
                "$id": "8",
                "ID": 1,
                "CustomerID": 2,
                "TotalAmountDebt": 3.0,
                "TotalGoldDebt": 4.0,
                "AmountReceived": 5.0,
                "GoldReceived": 6.0,
                "Date": "2026-01-01T04:11:38.4726768+03:30",
                "Type": 64,
                "Customer": {
                  "$ref": "4"
                },
                "ReceiveDetails": [
                  {
                    "$id": "9",
                    "ID": 1,
                    "ReceiveID": 2,
                    "Type": 3,
                    "TableID": 4,
                    "Amount": 5.0,
                    "Gold": 6.0,
                    "CreateDate": "2026-01-01T04:11:38.4726768+03:30",
                    "CreateUserID": 8,
                    "UpdateDate": "2026-01-01T04:11:38.4726768+03:30",
                    "UpdateUserID": 1,
                    "Ver": 9,
                    "Receive": {
                      "$ref": "8"
                    }
                  },
                  {
                    "$ref": "9"
                  }
                ]
              },
              {
                "$ref": "8"
              }
            ],
            "Repaires": [
              {
                "$id": "10",
                "ID": 1,
                "GoldType": 2,
                "PersonID": 3,
                "AddedGold": 1.0,
                "NumberGoldenBoiling": 1,
                "PricePerBoilling": 1.1,
                "Wage": 1.0,
                "Benefit": 1.1,
                "PricePerGram": 1.1,
                "AmountOfAddedGold": 1.0,
                "GoldDeficit": 1.0,
                "AmountOfGoldDeficit": 1.0,
                "BuyPricePerGram": 1.1,
                "ReceiptAmount": 1.0,
                "ReceiptGold": 1.0,
                "ReceiptDate": "2026-01-01T04:11:38.4726768+03:30",
                "Date": "2026-01-01T04:11:38.4726768+03:30",
                "Customer": {
                  "$ref": "4"
                },
                "GoldType1": {
                  "$ref": "2"
                }
              },
              {
                "$ref": "10"
              }
            ]
          },
          "GoldModel": {
            "$id": "11",
            "ID": 1,
            "GoldTypeID": 2,
            "Name": "sample string 3",
            "Wage": 1.1,
            "BuildGolds": [
              {
                "$ref": "3"
              },
              {
                "$ref": "3"
              }
            ]
          },
          "GoldType": {
            "$ref": "2"
          }
        },
        {
          "$ref": "3"
        }
      ],
      "Buys": [
        {
          "$ref": "1"
        },
        {
          "$ref": "1"
        }
      ],
      "Platings": [
        {
          "$ref": "6"
        },
        {
          "$ref": "6"
        }
      ],
      "Repaires": [
        {
          "$ref": "10"
        },
        {
          "$ref": "10"
        }
      ]
    }
  },
  {
    "$ref": "1"
  }
]