POST api/PlatingTypes

Request Information

URI Parameters

None.

Body Parameters

PlatingType
NameDescriptionTypeAdditional information
ID

integer

None.

Name

string

None.

Platings

Collection of Plating

None.

Request Formats

application/json, text/json

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PlatingType
NameDescriptionTypeAdditional information
ID

integer

None.

Name

string

None.

Platings

Collection of Plating

None.

Response Formats

application/json, text/json

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