PUT api/Fusions/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Fusion
NameDescriptionTypeAdditional information
ID

integer

None.

CustomerID

integer

None.

FusionAmount

decimal number

None.

RayAmount

decimal number

None.

Weight

decimal number

None.

TotalAmount

decimal number

None.

RayNumber

string

None.

isWithDevice

boolean

None.

ReceiptAmount

decimal number

None.

ReceiptDate

date

None.

Date

date

None.

Customer

Customer

None.

Request Formats

application/json, text/json

Sample:
{
  "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:37.4686873+03:30",
  "Date": "2026-01-01T04:11:37.4686873+03:30",
  "Customer": {
    "$id": "2",
    "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:37.4686873+03:30",
    "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:37.4686873+03:30",
        "Date": "2026-01-01T04:11:37.4686873+03:30",
        "Customer": {
          "$ref": "2"
        },
        "GoldModel": {
          "$id": "4",
          "ID": 1,
          "GoldTypeID": 2,
          "Name": "sample string 3",
          "Wage": 1.1,
          "BuildGolds": [
            {
              "$ref": "3"
            },
            {
              "$ref": "3"
            }
          ]
        },
        "GoldType": {
          "$id": "5",
          "ID": 1,
          "Name": "sample string 2",
          "BuildGolds": [
            {
              "$ref": "3"
            },
            {
              "$ref": "3"
            }
          ],
          "Buys": [
            {
              "$id": "6",
              "ID": 1,
              "GoldType": 2,
              "Cutie": 3,
              "Weight": 4.1,
              "AmountPerGeram": 5.1,
              "Amount": 6.0,
              "Description": "sample string 7",
              "Date": "2026-01-01T04:11:37.4686873+03:30",
              "GoldType1": {
                "$ref": "5"
              }
            },
            {
              "$ref": "6"
            }
          ],
          "Platings": [
            {
              "$id": "7",
              "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:37.4686873+03:30",
              "Date": "2026-01-01T04:11:37.4686873+03:30",
              "Customer": {
                "$ref": "2"
              },
              "GoldType1": {
                "$ref": "5"
              },
              "PlatingType1": {
                "$id": "8",
                "ID": 1,
                "Name": "sample string 2",
                "Platings": [
                  {
                    "$ref": "7"
                  },
                  {
                    "$ref": "7"
                  }
                ]
              }
            },
            {
              "$ref": "7"
            }
          ],
          "Repaires": [
            {
              "$id": "9",
              "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:37.4686873+03:30",
              "Date": "2026-01-01T04:11:37.4686873+03:30",
              "Customer": {
                "$ref": "2"
              },
              "GoldType1": {
                "$ref": "5"
              }
            },
            {
              "$ref": "9"
            }
          ]
        }
      },
      {
        "$ref": "3"
      }
    ],
    "Fusions": [
      {
        "$ref": "1"
      },
      {
        "$ref": "1"
      }
    ],
    "Platings": [
      {
        "$ref": "7"
      },
      {
        "$ref": "7"
      }
    ],
    "Receives": [
      {
        "$id": "10",
        "ID": 1,
        "CustomerID": 2,
        "TotalAmountDebt": 3.0,
        "TotalGoldDebt": 4.0,
        "AmountReceived": 5.0,
        "GoldReceived": 6.0,
        "Date": "2026-01-01T04:11:37.4686873+03:30",
        "Type": 64,
        "Customer": {
          "$ref": "2"
        },
        "ReceiveDetails": [
          {
            "$id": "11",
            "ID": 1,
            "ReceiveID": 2,
            "Type": 3,
            "TableID": 4,
            "Amount": 5.0,
            "Gold": 6.0,
            "CreateDate": "2026-01-01T04:11:37.4686873+03:30",
            "CreateUserID": 8,
            "UpdateDate": "2026-01-01T04:11:37.4686873+03:30",
            "UpdateUserID": 1,
            "Ver": 9,
            "Receive": {
              "$ref": "10"
            }
          },
          {
            "$ref": "11"
          }
        ]
      },
      {
        "$ref": "10"
      }
    ],
    "Repaires": [
      {
        "$ref": "9"
      },
      {
        "$ref": "9"
      }
    ]
  }
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.