POST MetalCategory/CreateMetalCategory

Request Information

URI Parameters

None.

Body Parameters

MetalCategory
NameDescriptionTypeAdditional information
ID

integer

None.

Name

string

None.

CreatedOn

date

None.

CreatedBy

integer

None.

UpdatedOn

date

None.

UpdatedBy

integer

None.

Adjustments

Collection of Adjustment

None.

PurchaseDetails

Collection of PurchaseDetail

None.

SystemUser

SystemUser

None.

PaymentDetails

Collection of PaymentDetail

None.

PurchaseOrderDetails

Collection of PurchaseOrderDetail

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Name": "sample string 2",
  "CreatedOn": "2025-12-11T01:42:59.3478131-05:00",
  "CreatedBy": 4,
  "UpdatedOn": "2025-12-11T01:42:59.3478131-05:00",
  "UpdatedBy": 1,
  "Adjustments": [
    {
      "$id": "2",
      "ID": 1,
      "VendorID": 1,
      "AdjustmentDate": "2025-12-11T01:42:59.3478131-05:00",
      "AdjustmentType": "sample string 2",
      "CashAmt": 1.0,
      "MetalID": 1,
      "GrossWt": 1.0,
      "Purity": 1.0,
      "FineWt": 1.0,
      "MetalRate": 1.0,
      "Narration": "sample string 3",
      "CreatedOn": "2025-12-11T01:42:59.3478131-05:00",
      "CreatedBy": 5,
      "UpdatedOn": "2025-12-11T01:42:59.3478131-05:00",
      "UpdatedBy": 1,
      "MetalCategory": {
        "$ref": "1"
      },
      "SystemUser": {
        "$id": "3",
        "ID": 1,
        "FirstName": "sample string 2",
        "LastName": "sample string 3",
        "Mobile": "sample string 4",
        "Email": "sample string 5",
        "Password": "sample string 6",
        "AddressLine1": "sample string 7",
        "CityID": 1,
        "PostCode": "sample string 8",
        "RoleID": 9,
        "Active": true,
        "CreatedOn": "2025-12-11T01:42:59.3478131-05:00",
        "LastUpdateDate": "2025-12-11T01:42:59.3478131-05:00",
        "EmailSigntuare": "sample string 13",
        "PasswordUpdatedDate": "2025-12-11T01:42:59.3478131-05:00",
        "OTP": "sample string 14",
        "IsVerified": true,
        "ActivationCode": "0cb09aa5-881a-470e-85c6-b612d953d64b",
        "AddressLine2": "sample string 16",
        "Email2": "sample string 17",
        "DesId": 1,
        "MemberCode": "sample string 18",
        "Mobile1": "sample string 19",
        "PAN": "sample string 20",
        "Aadhaar": "sample string 21",
        "JoiningDate": "2025-12-11T01:42:59.3478131-05:00",
        "LeavingDate": "2025-12-11T01:42:59.3478131-05:00",
        "BankDetailsId": 1,
        "EmergencyName1": "sample string 22",
        "EmergencyRelation1": "sample string 23",
        "EmergencyNumber1": "sample string 24",
        "EmergencyName2": "sample string 25",
        "EmergencyRelation2": "sample string 26",
        "EmergencyNumber2": "sample string 27",
        "EmergencyName3": "sample string 28",
        "EmergencyRelation3": "sample string 29",
        "EmergencyNumber3": "sample string 30",
        "ClientID": 31,
        "FcmToken": "sample string 32",
        "Adjustments": [
          {
            "$ref": "2"
          },
          {
            "$ref": "2"
          }
        ],
        "AuditTrails": [
          {
            "$id": "4",
            "ID": 1,
            "Description": "sample string 2",
            "UID": 1,
            "RecordedDate": "2025-12-11T01:42:59.3478131-05:00",
            "IPADDRESS": "sample string 3",
            "SystemUser": {
              "$ref": "3"
            }
          },
          {
            "$ref": "4"
          }
        ],
        "BankDetail": {
          "$id": "5",
          "ID": 1,
          "BeneficiaryName": "sample string 2",
          "BankName": "sample string 3",
          "BranchName": "sample string 4",
          "Ac_No": "sample string 5",
          "IFSC_Code": "sample string 6",
          "Address": "sample string 7",
          "City": "sample string 8",
          "VendorMasters": [
            {
              "$id": "6",
              "ID": 1,
              "Name": "sample string 2",
              "Address": "sample string 3",
              "ContactPerson": "sample string 4",
              "Mobile": "sample string 5",
              "CreatedOn": "2025-12-11T01:42:59.3478131-05:00",
              "CreatedBy": 1,
              "UpdatedOn": "2025-12-11T01:42:59.3478131-05:00",
              "UpdatedBy": 1,
              "BankDetailsId": 1,
              "Type": "sample string 6",
              "StateID": 1,
              "BankDetail": {
                "$ref": "5"
              },
              "MIS": [
                {
                  "$id": "7",
                  "ID": 1,
                  "Date": "2025-12-11T01:42:59.3478131-05:00",
                  "Amount": 1.0,
                  "Remarks": "sample string 2",
                  "SiteID": 1,
                  "CategoryID": 1,
                  "CreatedOn": "2025-12-11T01:42:59.3478131-05:00",
                  "CreatedBy": 1,
                  "UpdatedOn": "2025-12-11T01:42:59.3478131-05:00",
                  "UpdatedBy": 1,
                  "StateID": 1,
                  "SGST": 1.0,
                  "CGST": 1.0,
                  "IGST": 1.0,
                  "VendorID": 1,
                  "InvoiceNo": "sample string 3",
                  "SelectGST": "sample string 4",
                  "CategoryMaster": {
                    "$id": "8",
                    "ID": 1,
                    "CategoryName": "sample string 2",
                    "CreatedOn": "2025-12-11T01:42:59.3478131-05:00",
                    "CreatedBy": 1,
                    "UpdatedOn": "2025-12-11T01:42:59.3478131-05:00",
                    "UpdatedBy": 1,
                    "MIS": [
                      {
                        "$ref": "7"
                      },
                      {
                        "$ref": "7"
                      }
                    ],
                    "PVCTrackings": [
                      {
                        "$id": "9",
                        "ID": 1,
                        "UpdateBy": 1,
                        "UpdatedOn": "2025-12-11T01:42:59.3478131-05:00",
                        "CreatedBy": 1,
                        "CreatedOn": "2025-12-11T01:42:59.3478131-05:00",
                        "Amount": 1.0,
                        "Status": true,
                        "SiteID": 1,
                        "VendorID": 1,
                        "CategoryID": 1,
                        "PaymentType": "sample string 2",
                        "PaymentDate": "2025-12-11T01:42:59.3478131-05:00",
                        "Remark": "sample string 3",
                        "CategoryMaster": {
                          "$ref": "8"
                        },
                        "SiteMaster": {
                          "$id": "10",
                          "ID": 1,
                          "Name": "sample string 2",
                          "Address": "sample string 3",
                          "Location": "sample string 4",
                          "Work": "sample string 5",
                          "MIS": [
                            {
                              "$ref": "7"
                            },
                            {
                              "$ref": "7"
                            }
                          ],
                          "PVCTrackings": [
                            {
                              "$ref": "9"
                            },
                            {
                              "$ref": "9"
                            }
                          ]
                        },
                        "VendorMaster": {
                          "$ref": "6"
                        }
                      },
                      {
                        "$ref": "9"
                      }
                    ]
                  },
                  "SiteMaster": {
                    "$ref": "10"
                  },
                  "StateMaster": {
                    "$id": "11",
                    "StateID": 1,
                    "StateName": "sample string 2",
                    "CountryID": 3,
                    "Latitude": 4.1,
                    "Longitude": 5.1,
                    "IsActive": true,
                    "CityMasters": [
                      {
                        "$id": "12",
                        "CityID": 1,
                        "CityName": "sample string 2",
                        "StateID": 1,
                        "CountryID": 3,
                        "Latitude": 4.1,
                        "Longitude": 5.1,
                        "IsActive": true,
                        "Organizations": [
                          {
                            "$id": "13",
                            "ID": 1,
                            "BrandName": "sample string 2",
                            "CompanyName": "sample string 3",
                            "Logo": "sample string 4",
                            "Profession": "sample string 5",
                            "Phone": "sample string 6",
                            "Mobile2": "sample string 7",
                            "Fax": "sample string 8",
                            "PrimaryEmail": "sample string 9",
                            "Email2": "sample string 10",
                            "AddressLine1": "sample string 11",
                            "AddressLine2": "sample string 12",
                            "CityId": 1,
                            "PinCode": 1,
                            "BillingAddress": "sample string 13",
                            "WebsiteAddress": "sample string 14",
                            "Remarks": "sample string 15",
                            "CreatedOn": "2025-12-11T01:42:59.3478131-05:00",
                            "CreatedBy": 1,
                            "ClientID": 16,
                            "IndustryID": 1,
                            "Phone2": "sample string 17",
                            "Potential": "sample string 18",
                            "ParentGroup": "sample string 19",
                            "ShippingAddress": "sample string 20",
                            "ShippingCode": "sample string 21",
                            "LeadOwnerID": 1,
                            "LeadOwnerID2": 1,
                            "CityMaster": {
                              "$ref": "12"
                            },
                            "IndustryMaster": {
                              "$id": "14",
                              "ID": 1,
                              "IndustryName": "sample string 2",
                              "ClientID": 1,
                              "Organizations": [
                                {
                                  "$ref": "13"
                                },
                                {
                                  "$ref": "13"
                                }
                              ]
                            },
                            "SystemUser": {
                              "$ref": "3"
                            },
                            "SystemUser1": {
                              "$ref": "3"
                            },
                            "People": [
                              {
                                "$id": "15",
                                "ID": 1,
                                "Title": "sample string 2",
                                "FirstName": "sample string 3",
                                "LastName": "sample string 4",
                                "ProfileImage": "sample string 5",
                                "OrganizationId": 6,
                                "Mobile1": "sample string 7",
                                "Mobile2": "sample string 8",
                                "WorkEmail": "sample string 9",
                                "PersonalEmail": "sample string 10",
                                "Designation": "sample string 11",
                                "ReferralSourceId": 1,
                                "ReferredBy": "sample string 12",
                                "BNIRegion": "sample string 13",
                                "Remarks": "sample string 14",
                                "IsProspect": true,
                                "CreatedOn": "2025-12-11T01:42:59.3478131-05:00",
                                "CreatedBy": 1,
                                "ProjectTypeID": 1,
                                "AnniversaryDate": "2025-12-11T01:42:59.3478131-05:00",
                                "BirthDate": "2025-12-11T01:42:59.3478131-05:00",
                                "LeadOwnerID": 1,
                                "Phone1": "sample string 16",
                                "Phone2": "sample string 17",
                                "DepartmentID": 1,
                                "DepartmentMaster": {
                                  "$id": "16",
                                  "ID": 1,
                                  "DepartmentName": "sample string 2",
                                  "ClientID": 1,
                                  "CreatedBy": 1,
                                  "CreatedOn": "2025-12-11T01:42:59.3478131-05:00",
                                  "People": [
                                    {
                                      "$ref": "15"
                                    },
                                    {
                                      "$ref": "15"
                                    }
                                  ]
                                },
                                "Email_SentEmails": [
                                  {
                                    "$id": "17",
                                    "ID": 1,
                                    "EmailMasterID": 1,
                                    "EmailClientMasterID": 1,
                                    "To": "sample string 2",
                                    "Subject": "sample string 3",
                                    "Body": "sample string 4",
                                    "Attachment": "sample string 5",
                                    "SentOn": "2025-12-11T01:42:59.3478131-05:00",
                                    "CreatedBy": 1,
                                    "PersonID": 1,
                                    "ProjectID": 1,
                                    "ActionTaken": "sample string 6",
                                    "Email_Client": {
                                      "$id": "18",
                                      "ID": 1,
                                      "MasterID": 1,
                                      "FrequencyID": 1,
                                      "StartDate": "2025-12-11T01:42:59.3478131-05:00",
                                      "EndDate": "2025-12-11T01:42:59.3478131-05:00",
                                      "DefaultStarttime": "00:00:00.1234567",
                                      "ClientID": 1,
                                      "UIDs": "sample string 2",
                                      "CreatedOn": "2025-12-11T01:42:59.3478131-05:00",
                                      "EmailMaster": {
                                        "$id": "19",
                                        "ID": 1,
                                        "EmailUserTypeID": 1,
                                        "FrequencyID": 2,
                                        "Name": "sample string 3",
                                        "DefaultStartDate": "2025-12-11T01:42:59.3478131-05:00",
                                        "DefaultStarttime": "00:00:00.1234567",
                                        "Description": "sample string 4",
                                        "EmailSubject": "sample string 5",
                                        "EmailBody": "sample string 6",
                                        "ClientID": 1,
                                        "CreatedOn": "2025-12-11T01:42:59.3478131-05:00",
                                        "CreatedBy": 1,
                                        "Email_Client": [
                                          {
                                            "$ref": "18"
                                          },
                                          {
                                            "$ref": "18"
                                          }
                                        ],
                                        "Email_SentEmails": [
                                          {
                                            "$ref": "17"
                                          },
                                          {
                                            "$ref": "17"
                                          }
                                        ],
                                        "SystemUser": {
                                          "$ref": "3"
                                        },
                                        "FrequencyMaster": {
                                          "$id": "20",
                                          "ID": 1,
                                          "Frequency": "sample string 2",
                                          "NumDays": 1,
                                          "Email_Client": [
                                            {
                                              "$ref": "18"
                                            },
                                            {
                                              "$ref": "18"
                                            }
                                          ],
                                          "EmailMasters": [
                                            {
                                              "$ref": "19"
                                            },
                                            {
                                              "$ref": "19"
                                            }
                                          ]
                                        }
                                      },
                                      "FrequencyMaster": {
                                        "$ref": "20"
                                      },
                                      "Email_SentEmails": [
                                        {
                                          "$ref": "17"
                                        },
                                        {
                                          "$ref": "17"
                                        }
                                      ]
                                    },
                                    "Person": {
                                      "$ref": "15"
                                    },
                                    "Project": {
                                      "$id": "21",
                                      "ID": 1,
                                      "PeopleID": 2,
                                      "ProjectName": "sample string 3",
                                      "ProjectTypeID": 1,
                                      "StartDate": "2025-12-11T01:42:59.3478131-05:00",
                                      "EndDate": "2025-12-11T01:42:59.3478131-05:00",
                                      "Amount": 1.0,
                                      "Status": 1,
                                      "CreatedOn": "2025-12-11T01:42:59.3478131-05:00",
                                      "CreatedBy": 1,
                                      "Description": "sample string 4",
                                      "Remarks": "sample string 5",
                                      "IsStar": true,
                                      "Email_SentEmails": [
                                        {
                                          "$ref": "17"
                                        },
                                        {
                                          "$ref": "17"
                                        }
                                      ],
                                      "Person": {
                                        "$ref": "15"
                                      },
                                      "ProjectType": {
                                        "$id": "22",
                                        "ID": 1,
                                        "TypeName": "sample string 2",
                                        "ShowOnWebsite": true,
                                        "Sortnum": 1,
                                        "ClientID": 4,
                                        "Logo": "sample string 5",
                                        "CreatedOn": "2025-12-11T01:42:59.3478131-05:00",
                                        "CreatedBy": 1,
                                        "Projects": [
                                          {
                                            "$ref": "21"
                                          },
                                          {
                                            "$ref": "21"
                                          }
                                        ]
                                      },
                                      "ProjectDocuments": [
                                        {
                                          "$id": "23",
                                          "ID": 1,
                                          "ProjectID": 2,
                                          "DocumentID": 1,
                                          "Document": {
                                            "$id": "24",
                                            "ID": 1,
                                            "DocumentTypeId": 2,
                                            "OriginalFileName": "sample string 3",
                                            "Name": "sample string 4",
                                            "Extension": "sample string 5",
                                            "SmallThumbnail": "sample string 6",
                                            "MediumThumbnail": "sample string 7",
                                            "LargeThumbnail": "sample string 8",
                                            "CreatedOn": "2025-12-11T01:42:59.3478131-05:00",
                                            "CreatedBy": 10,
                                            "IPAddress": "sample string 11",
                                            "Size": 1,
                                            "EmpID": 1,
                                            "UploadDate": "2025-12-11T01:42:59.3478131-05:00",
                                            "ProjectDocuments": [
                                              {
                                                "$ref": "23"
                                              },
                                              {
                                                "$ref": "23"
                                              }
                                            ],
                                            "DocumentType": {
                                              "$id": "25",
                                              "ID": 1,
                                              "Name": "sample string 2",
                                              "Icon": "sample string 3",
                                              "Sortno": 1,
                                              "ClientID": 4,
                                              "Documents": [
                                                {
                                                  "$ref": "24"
                                                },
                                                {
                                                  "$ref": "24"
                                                }
                                              ]
                                            },
                                            "EmailTemplateDocuments": [
                                              {
                                                "$id": "26",
                                                "ID": 1,
                                                "EmailTempID": 2,
                                                "DocumentID": 1,
                                                "Document": {
                                                  "$ref": "24"
                                                },
                                                "EmailTemplate": {
                                                  "$id": "27",
                                                  "ID": 1,
                                                  "Key": "sample string 2",
                                                  "EmailSubject": "sample string 3",
                                                  "EmailBody": "sample string 4",
                                                  "AttachmentFile": "sample string 5",
                                                  "ClientID": 6,
                                                  "CreatedOn": "2025-12-11T01:42:59.3478131-05:00",
                                                  "CreatedBy": 1,
                                                  "EmailQueues": [
                                                    {
                                                      "$id": "28",
                                                      "ID": 1,
                                                      "TemplateID": 1,
                                                      "Subject": "sample string 2",
                                                      "Body": "sample string 3",
                                                      "Attachment": "sample string 4",
                                                      "Receiver": "sample string 5",
                                                      "CreatedOn": "2025-12-11T01:42:59.3478131-05:00",
                                                      "EmailTemplate": {
                                                        "$ref": "27"
                                                      }
                                                    },
                                                    {
                                                      "$ref": "28"
                                                    }
                                                  ],
                                                  "SystemUser": {
                                                    "$ref": "3"
                                                  },
                                                  "EmailTemplateDocuments": [
                                                    {
                                                      "$ref": "26"
                                                    },
                                                    {
                                                      "$ref": "26"
                                                    }
                                                  ]
                                                }
                                              },
                                              {
                                                "$ref": "26"
                                              }
                                            ],
                                            "PeopleDocuments": [
                                              {
                                                "$id": "29",
                                                "ID": 1,
                                                "PeopleID": 1,
                                                "DocumentID": 1,
                                                "Document": {
                                                  "$ref": "24"
                                                },
                                                "Person": {
                                                  "$ref": "15"
                                                }
                                              },
                                              {
                                                "$ref": "29"
                                              }
                                            ],
                                            "UserDocuments": [
                                              {
                                                "$id": "30",
                                                "ID": 1,
                                                "UID": 2,
                                                "DocumentID": 1,
                                                "CreatedBy": 1,
                                                "CreatedOn": "2025-12-11T01:42:59.3478131-05:00",
                                                "Document": {
                                                  "$ref": "24"
                                                }
                                              },
                                              {
                                                "$ref": "30"
                                              }
                                            ]
                                          },
                                          "Project": {
                                            "$ref": "21"
                                          }
                                        },
                                        {
                                          "$ref": "23"
                                        }
                                      ],
                                      "ProjectFollowUps": [
                                        {
                                          "$id": "31",
                                          "ID": 1,
                                          "ProjectID": 1,
                                          "FollowUpTypeID": 1,
                                          "Date": "2025-12-11T01:42:59.3478131-05:00",
                                          "FollowUpDate": "2025-12-11T01:42:59.3478131-05:00",
                                          "Remarks": "sample string 2",
                                          "CreatedOn": "2025-12-11T01:42:59.3478131-05:00",
                                          "CreatedBy": 1,
                                          "Isclosed": true,
                                          "PersonID": 1,
                                          "FollowUpTypeMaster": {
                                            "$id": "32",
                                            "ID": 1,
                                            "Name": "sample string 2",
                                            "Icon": "sample string 3",
                                            "CreatedOn": "2025-12-11T01:42:59.3478131-05:00",
                                            "CreatedBy": 1,
                                            "ClientID": 4,
                                            "ProjectFollowUps": [
                                              {
                                                "$ref": "31"
                                              },
                                              {
                                                "$ref": "31"
                                              }
                                            ]
                                          },
                                          "Person": {
                                            "$ref": "15"
                                          },
                                          "Project": {
                                            "$ref": "21"
                                          }
                                        },
                                        {
                                          "$ref": "31"
                                        }
                                      ],
                                      "ProjectNotes": [
                                        {
                                          "$id": "33",
                                          "ID": 1,
                                          "PID": 1,
                                          "Note": "sample string 2",
                                          "CreatedOn": "2025-12-11T01:42:59.3478131-05:00",
                                          "CreatedBy": "sample string 3",
                                          "Project": {
                                            "$ref": "21"
                                          }
                                        },
                                        {
                                          "$ref": "33"
                                        }
                                      ],
                                      "ProjectPersons": [
                                        {
                                          "$id": "34",
                                          "ID": 1,
                                          "ProjectID": 1,
                                          "PersonID": 1,
                                          "Person": {
                                            "$ref": "15"
                                          },
                                          "Project": {
                                            "$ref": "21"
                                          }
                                        },
                                        {
                                          "$ref": "34"
                                        }
                                      ],
                                      "QuotationMasters": [
                                        {
                                          "$id": "35",
                                          "ID": 1,
                                          "ProjectID": 1,
                                          "EnquiryRef": "sample string 2",
                                          "EnquiryDate": "2025-12-11T01:42:59.3478131-05:00",
                                          "OfferNo": "sample string 3",
                                          "OfferDate": "2025-12-11T01:42:59.3478131-05:00",
                                          "Type": "sample string 4",
                                          "CreatedOn": "2025-12-11T01:42:59.3478131-05:00",
                                          "CreatedBy": 1,
                                          "TechnoCommercial": "sample string 5",
                                          "CommercialTerms": [
                                            {
                                              "$id": "36",
                                              "ID": 1,
                                              "IncoTerm": "sample string 2",
                                              "Freight": "sample string 3",
                                              "Insurance": "sample string 4",
                                              "Packing_and_Forwarding": 1.1,
                                              "Offer_Validity": 1,
                                              "Minimum_Order_Value": 1.1,
                                              "Payment_Term": "sample string 5",
                                              "GST_EXTRA": 1.1,
                                              "INSPECTION": "sample string 6",
                                              "Documentation": "sample string 7",
                                              "Liquidated_Damage": "sample string 8",
                                              "Bank_Guarantee": "sample string 9",
                                              "Warranty": "sample string 10",
                                              "ClientID": 1,
                                              "CreatedOn": "2025-12-11T01:42:59.3478131-05:00",
                                              "CreatedBy": 1,
                                              "QuotationID": 1,
                                              "QuotationMaster": {
                                                "$ref": "35"
                                              },
                                              "SystemUser": {
                                                "$ref": "3"
                                              }
                                            },
                                            {
                                              "$ref": "36"
                                            }
                                          ],
                                          "Project": {
                                            "$ref": "21"
                                          },
                                          "QuotationItems": [
                                            {
                                              "$id": "37",
                                              "ID": 1,
                                              "QuotationID": 1,
                                              "ItemID": 1,
                                              "Qty": 1,
                                              "RatePerUnit": 1.0,
                                              "Currency": "sample string 2",
                                              "Discount": 1.1,
                                              "ShowOnQuotation": true,
                                              "Customitem": "sample string 4",
                                              "Delivery": "sample string 5",
                                              "Remarks": "sample string 6",
                                              "Reference": "sample string 7",
                                              "ItemMaster": {
                                                "$id": "38",
                                                "ID": 1,
                                                "Item": "sample string 2",
                                                "Code": "sample string 3",
                                                "ItemGroupID": 1,
                                                "Price": 1.0,
                                                "CreatedOn": "2025-12-11T01:42:59.3478131-05:00",
                                                "CreatedBy": 5,
                                                "Pricedate": "2025-12-11T01:42:59.3478131-05:00",
                                                "UpdatedOn": "2025-12-11T01:42:59.3478131-05:00",
                                                "UpdatedBy": 1,
                                                "ItemGroupMaster": {
                                                  "$id": "39",
                                                  "ID": 1,
                                                  "ItemGroup": "sample string 2",
                                                  "CreatedOn": "2025-12-11T01:42:59.3478131-05:00",
                                                  "CreatedBy": 1,
                                                  "ClientID": 1,
                                                  "SortNo": 1,
                                                  "SystemUser": {
                                                    "$ref": "3"
                                                  },
                                                  "ItemGroupProperties": [
                                                    {
                                                      "$id": "40",
                                                      "ID": 1,
                                                      "ItemGroupID": 1,
                                                      "Property": "sample string 2",
                                                      "CreatedOn": "2025-12-11T01:42:59.3478131-05:00",
                                                      "CreatedBy": 1,
                                                      "ItemGroupMaster": {
                                                        "$ref": "39"
                                                      },
                                                      "SystemUser": {
                                                        "$ref": "3"
                                                      },
                                                      "ItemProperties": [
                                                        {
                                                          "$id": "41",
                                                          "ID": 1,
                                                          "ItemID": 1,
                                                          "ItemPropertyID": 1,
                                                          "Value": "sample string 2",
                                                          "CreatedOn": "2025-12-11T01:42:59.3478131-05:00",
                                                          "CreatedBy": 1,
                                                          "ClientID": 1,
                                                          "ItemGroupProperty": {
                                                            "$ref": "40"
                                                          },
                                                          "ItemMaster": {
                                                            "$ref": "38"
                                                          },
                                                          "SystemUser": {
                                                            "$ref": "3"
                                                          }
                                                        },
                                                        {
                                                          "$ref": "41"
                                                        }
                                                      ]
                                                    },
                                                    {
                                                      "$ref": "40"
                                                    }
                                                  ],
                                                  "ItemMasters": [
                                                    {
                                                      "$ref": "38"
                                                    },
                                                    {
                                                      "$ref": "38"
                                                    }
                                                  ]
                                                },
                                                "SystemUser": {
                                                  "$ref": "3"
                                                },
                                                "ItemProperties": [
                                                  {
                                                    "$ref": "41"
                                                  },
                                                  {
                                                    "$ref": "41"
                                                  }
                                                ],
                                                "PurchaseOrderDetails": [
                                                  {
                                                    "$id": "42",
                                                    "ID": 1,
                                                    "PurchaseID": 1,
                                                    "MetalCategoryID": 1,
                                                    "ItemID": 1,
                                                    "Pcs": 1,
                                                    "GrossWeight": 1.0,
                                                    "BeadWeight": 1.0,
                                                    "NetWeight": 1.0,
                                                    "TounchPercentage": 1.0,
                                                    "WastagePercentage": 1.0,
                                                    "FinePercentage": 1.0,
                                                    "FinalFineWeight": 1.0,
                                                    "MakingType": "sample string 2",
                                                    "MakingRate": 1.0,
                                                    "MetalRate": 1.0,
                                                    "ItemMaster": {
                                                      "$ref": "38"
                                                    },
                                                    "MetalCategory": {
                                                      "$ref": "1"
                                                    },
                                                    "PurchaseOrder": {
                                                      "$id": "43",
                                                      "ID": 1,
                                                      "VendorID": 1,
                                                      "PurchaseDate": "2025-12-11T01:42:59.3478131-05:00",
                                                      "CreatedOn": "2025-12-11T01:42:59.3478131-05:00",
                                                      "CreatedBy": 3,
                                                      "UpdatedOn": "2025-12-11T01:42:59.3478131-05:00",
                                                      "UpdatedBy": 1,
                                                      "SystemUser": {
                                                        "$ref": "3"
                                                      },
                                                      "PurchaseOrderDetails": [
                                                        {
                                                          "$ref": "42"
                                                        },
                                                        {
                                                          "$ref": "42"
                                                        }
                                                      ],
                                                      "PartyMaster": {
                                                        "$id": "44",
                                                        "ID": 1,
                                                        "Name": "sample string 2",
                                                        "Email": "sample string 3",
                                                        "Phone": "sample string 4",
                                                        "Password": "sample string 5",
                                                        "IsLedger": true,
                                                        "IsActive": true,
                                                        "CreatedOn": "2025-12-11T01:42:59.3478131-05:00",
                                                        "CreatedBy": 7,
                                                        "UpdatedOn": "2025-12-11T01:42:59.3478131-05:00",
                                                        "UpdatedBy": 1,
                                                        "Adjustments": [
                                                          {
                                                            "$ref": "2"
                                                          },
                                                          {
                                                            "$ref": "2"
                                                          }
                                                        ],
                                                        "BillMasters": [
                                                          {
                                                            "$id": "45",
                                                            "ID": 1,
                                                            "SelfDate": "2025-12-11T01:42:59.3478131-05:00",
                                                            "TotalSale": 1.0,
                                                            "Expance": 1.0,
                                                            "NetSale": 1.0,
                                                            "Profit": 1.0,
                                                            "TotalProfit": 1.0,
                                                            "Received": 1.0,
                                                            "Remaining": 1.0,
                                                            "PartyMasterID": 1,
                                                            "CreatedOn": "2025-12-11T01:42:59.3478131-05:00",
                                                            "CreatedBy": 1,
                                                            "UpdatedOn": "2025-12-11T01:42:59.3478131-05:00",
                                                            "UpdatedBy": 1,
                                                            "PartyMaster": {
                                                              "$ref": "44"
                                                            }
                                                          },
                                                          {
                                                            "$ref": "45"
                                                          }
                                                        ],
                                                        "PaymentMasters": [
                                                          {
                                                            "$id": "46",
                                                            "ID": 1,
                                                            "TotalSale": 1.0,
                                                            "Expance": 1.0,
                                                            "NetSale": 1.0,
                                                            "Profit": 1.0,
                                                            "TotalProfit": 1.0,
                                                            "Received": 1.0,
                                                            "Remaining": 1.0,
                                                            "PartyMasterID": 1,
                                                            "CreatedOn": "2025-12-11T01:42:59.3478131-05:00",
                                                            "CreatedBy": 1,
                                                            "UpdatedOn": "2025-12-11T01:42:59.3478131-05:00",
                                                            "UpdatedBy": 1,
                                                            "PartyMaster": {
                                                              "$ref": "44"
                                                            }
                                                          },
                                                          {
                                                            "$ref": "46"
                                                          }
                                                        ],
                                                        "Payments": [
                                                          {
                                                            "$id": "47",
                                                            "ID": 1,
                                                            "VendorID": 1,
                                                            "PaymentDate": "2025-12-11T01:42:59.3634383-05:00",
                                                            "Narration": "sample string 2",
                                                            "TotalAmt": 1.0,
                                                            "CreatedOn": "2025-12-11T01:42:59.3634383-05:00",
                                                            "CreatedBy": 1,
                                                            "UpdatedOn": "2025-12-11T01:42:59.3634383-05:00",
                                                            "UpdatedBy": 1,
                                                            "SystemUser": {
                                                              "$ref": "3"
                                                            },
                                                            "PaymentDetails": [
                                                              {
                                                                "$id": "48",
                                                                "ID": 1,
                                                                "PaymentID": 1,
                                                                "CashAmt": 1.0,
                                                                "MetalType": 1,
                                                                "GrossWt": 1.0,
                                                                "RatePerGram": 1.0,
                                                                "MetalCashAmt": 1.0,
                                                                "MetalCategory": {
                                                                  "$ref": "1"
                                                                },
                                                                "Payment": {
                                                                  "$ref": "47"
                                                                }
                                                              },
                                                              {
                                                                "$ref": "48"
                                                              }
                                                            ],
                                                            "PartyMaster": {
                                                              "$ref": "44"
                                                            }
                                                          },
                                                          {
                                                            "$ref": "47"
                                                          }
                                                        ],
                                                        "PurchaseOrders": [
                                                          {
                                                            "$ref": "43"
                                                          },
                                                          {
                                                            "$ref": "43"
                                                          }
                                                        ],
                                                        "SaleDetails": [
                                                          {
                                                            "$id": "49",
                                                            "ID": 1,
                                                            "VendorID": 1,
                                                            "SelfDate": "2025-12-11T01:42:59.3634383-05:00",
                                                            "SelfTime": "sample string 2",
                                                            "Amount": 1.0,
                                                            "Remarks": "sample string 3",
                                                            "TransactionMode": "sample string 4",
                                                            "IsLedgerReport": true,
                                                            "CreatedOn": "2025-12-11T01:42:59.3634383-05:00",
                                                            "CreatedBy": 1,
                                                            "UpdatedOn": "2025-12-11T01:42:59.3634383-05:00",
                                                            "UpdatedBy": 1,
                                                            "PartyMaster": {
                                                              "$ref": "44"
                                                            },
                                                            "SystemUser": {
                                                              "$ref": "3"
                                                            }
                                                          },
                                                          {
                                                            "$ref": "49"
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  },
                                                  {
                                                    "$ref": "42"
                                                  }
                                                ],
                                                "QuotationItems": [
                                                  {
                                                    "$ref": "37"
                                                  },
                                                  {
                                                    "$ref": "37"
                                                  }
                                                ]
                                              },
                                              "QuotationMaster": {
                                                "$ref": "35"
                                              }
                                            },
                                            {
                                              "$ref": "37"
                                            }
                                          ],
                                          "SystemUser": {
                                            "$ref": "3"
                                          }
                                        },
                                        {
                                          "$ref": "35"
                                        }
                                      ],
                                      "TaskDetails": [
                                        {
                                          "$id": "50",
                                          "ID": 1,
                                          "Description": "sample string 2",
                                          "ProjectID": 1,
                                          "TaskDateTime": "2025-12-11T01:42:59.3634383-05:00",
                                          "ClosedDateTime": "2025-12-11T01:42:59.3634383-05:00",
                                          "CreatedOn": "2025-12-11T01:42:59.3634383-05:00",
                                          "CreatedBy": 4,
                                          "Isclosed": true,
                                          "UserID": 1,
                                          "Title": "sample string 6",
                                          "PriorityID": 1,
                                          "Remark": "sample string 7",
                                          "PriorityMaster": {
                                            "$id": "51",
                                            "ID": 1,
                                            "Priority": "sample string 2",
                                            "ColorCode": "sample string 3",
                                            "CreatedOn": "2025-12-11T01:42:59.3634383-05:00",
                                            "CreatedBy": 1,
                                            "ClientID": 1,
                                            "TaskDetails": [
                                              {
                                                "$ref": "50"
                                              },
                                              {
                                                "$ref": "50"
                                              }
                                            ],
                                            "SystemUser": {
                                              "$ref": "3"
                                            }
                                          },
                                          "Project": {
                                            "$ref": "21"
                                          },
                                          "SystemUser": {
                                            "$ref": "3"
                                          }
                                        },
                                        {
                                          "$ref": "50"
                                        }
                                      ]
                                    },
                                    "EmailMaster": {
                                      "$ref": "19"
                                    },
                                    "SystemUser": {
                                      "$ref": "3"
                                    }
                                  },
                                  {
                                    "$ref": "17"
                                  }
                                ],
                                "Organization": {
                                  "$ref": "13"
                                },
                                "ProjectFollowUps": [
                                  {
                                    "$ref": "31"
                                  },
                                  {
                                    "$ref": "31"
                                  }
                                ],
                                "SystemUser": {
                                  "$ref": "3"
                                },
                                "SystemUser1": {
                                  "$ref": "3"
                                },
                                "ReferralSource": {
                                  "$id": "52",
                                  "ID": 1,
                                  "Name": "sample string 2",
                                  "IsActive": true,
                                  "ClientID": 4,
                                  "People": [
                                    {
                                      "$ref": "15"
                                    },
                                    {
                                      "$ref": "15"
                                    }
                                  ]
                                },
                                "PeopleDocuments": [
                                  {
                                    "$ref": "29"
                                  },
                                  {
                                    "$ref": "29"
                                  }
                                ],
                                "Projects": [
                                  {
                                    "$ref": "21"
                                  },
                                  {
                                    "$ref": "21"
                                  }
                                ],
                                "ProjectPersons": [
                                  {
                                    "$ref": "34"
                                  },
                                  {
                                    "$ref": "34"
                                  }
                                ]
                              },
                              {
                                "$ref": "15"
                              }
                            ]
                          },
                          {
                            "$ref": "13"
                          }
                        ],
                        "CountryMaster": {
                          "$id": "53",
                          "CountryID": 1,
                          "CountryName": "sample string 2",
                          "LocalName": "sample string 3",
                          "WebCode": "sample string 4",
                          "Region": "sample string 5",
                          "Continent": "sample string 6",
                          "Latitude": 7.1,
                          "Longitude": 8.1,
                          "IsActive": true,
                          "CityMasters": [
                            {
                              "$ref": "12"
                            },
                            {
                              "$ref": "12"
                            }
                          ],
                          "StateMasters": [
                            {
                              "$ref": "11"
                            },
                            {
                              "$ref": "11"
                            }
                          ]
                        },
                        "StateMaster": {
                          "$ref": "11"
                        },
                        "SystemUsers": [
                          {
                            "$ref": "3"
                          },
                          {
                            "$ref": "3"
                          }
                        ]
                      },
                      {
                        "$ref": "12"
                      }
                    ],
                    "CountryMaster": {
                      "$ref": "53"
                    },
                    "MIS": [
                      {
                        "$ref": "7"
                      },
                      {
                        "$ref": "7"
                      }
                    ],
                    "VendorMasters": [
                      {
                        "$ref": "6"
                      },
                      {
                        "$ref": "6"
                      }
                    ]
                  },
                  "VendorMaster": {
                    "$ref": "6"
                  }
                },
                {
                  "$ref": "7"
                }
              ],
              "PurchaseDetails": [
                {
                  "$id": "54",
                  "ID": 1,
                  "POID": 1,
                  "VendorID": 1,
                  "MetalCategoryID": 1,
                  "Weight": 1.0,
                  "UOMID": 1,
                  "Rate": 1.0,
                  "CreatedOn": "2025-12-11T01:42:59.3634383-05:00",
                  "CreatedBy": 1,
                  "UpdatedOn": "2025-12-11T01:42:59.3634383-05:00",
                  "UpdatedBy": 1,
                  "MetalCategory": {
                    "$ref": "1"
                  },
                  "UOMMaster": {
                    "$id": "55",
                    "ID": 1,
                    "UnitOfMeasurement": "sample string 2",
                    "CreatedOn": "2025-12-11T01:42:59.3634383-05:00",
                    "CreatedBy": 1,
                    "PurchaseDetails": [
                      {
                        "$ref": "54"
                      },
                      {
                        "$ref": "54"
                      }
                    ]
                  },
                  "VendorMaster": {
                    "$ref": "6"
                  }
                },
                {
                  "$ref": "54"
                }
              ],
              "PVCTrackings": [
                {
                  "$ref": "9"
                },
                {
                  "$ref": "9"
                }
              ],
              "StateMaster": {
                "$ref": "11"
              }
            },
            {
              "$ref": "6"
            }
          ],
          "SystemUsers": [
            {
              "$ref": "3"
            },
            {
              "$ref": "3"
            }
          ]
        },
        "CityMaster": {
          "$ref": "12"
        },
        "CommercialTerms": [
          {
            "$ref": "36"
          },
          {
            "$ref": "36"
          }
        ],
        "Designation": {
          "$id": "56",
          "ID": 1,
          "DesignationName": "sample string 2",
          "ClientID": 3,
          "EmployeeMasters": [
            {
              "$id": "57",
              "ID": 1,
              "EmployeeID": "sample string 2",
              "FirstName": "sample string 3",
              "CreatedOn": "2025-12-11T01:42:59.3634383-05:00",
              "DesignationID": 1,
              "CreatedBy": 1,
              "ManagerID": 1,
              "Email": "sample string 4",
              "Password": "sample string 5",
              "Mobile": "sample string 6",
              "FcmToken": "sample string 7",
              "ClientID": 1,
              "LastName": "sample string 8",
              "UpdatedOn": "2025-12-11T01:42:59.3634383-05:00",
              "UpdatedBy": 1,
              "RoleID": 1,
              "JoiningDate": "2025-12-11T01:42:59.3634383-05:00",
              "ConfirmDate": "2025-12-11T01:42:59.3634383-05:00",
              "Grade": "sample string 9",
              "IsConfirm": true,
              "OutStation": true,
              "Active": true,
              "Attendances": [
                {
                  "$id": "58",
                  "ID": 1,
                  "AttenDate": "2025-12-11T01:42:59.3634383-05:00",
                  "Time": "00:00:00.1234567",
                  "Longitude": "sample string 2",
                  "Latitude": "sample string 3",
                  "Status": true,
                  "TimeOut": "00:00:00.1234567",
                  "LongitudeOut": "sample string 4",
                  "LatitudeOut": "sample string 5",
                  "EmpID": 1,
                  "EmployeeMaster": {
                    "$ref": "57"
                  }
                },
                {
                  "$ref": "58"
                }
              ],
              "Designation": {
                "$ref": "56"
              },
              "SystemUser": {
                "$ref": "3"
              },
              "RoleMaster": {
                "$id": "59",
                "ID": 1,
                "RoleName": "sample string 2",
                "ClientID": 3,
                "EmployeeMasters": [
                  {
                    "$ref": "57"
                  },
                  {
                    "$ref": "57"
                  }
                ],
                "RoleAcesses": [
                  {
                    "$id": "60",
                    "ID": 1,
                    "PageID": 1,
                    "RoleID": 1,
                    "Checked": true,
                    "PageMaster": {
                      "$id": "61",
                      "ID": 1,
                      "GroupID": 1,
                      "AccessName": "sample string 2",
                      "PageAccess_URL": "sample string 3",
                      "ToValidate": true,
                      "CreatedOn": "2025-12-11T01:42:59.3634383-05:00",
                      "PageGroupMaster": {
                        "$id": "62",
                        "ID": 1,
                        "GroupName": "sample string 2",
                        "PageMasters": [
                          {
                            "$ref": "61"
                          },
                          {
                            "$ref": "61"
                          }
                        ]
                      },
                      "RoleAcesses": [
                        {
                          "$ref": "60"
                        },
                        {
                          "$ref": "60"
                        }
                      ]
                    },
                    "RoleMaster": {
                      "$ref": "59"
                    }
                  },
                  {
                    "$ref": "60"
                  }
                ]
              }
            },
            {
              "$ref": "57"
            }
          ],
          "SystemUsers": [
            {
              "$ref": "3"
            },
            {
              "$ref": "3"
            }
          ]
        },
        "Email_ClientUserGroup": [
          {
            "$id": "63",
            "ID": 1,
            "GroupName": "sample string 2",
            "PeopleID": "sample string 3",
            "SystemUserID": "sample string 4",
            "CreatedOn": "2025-12-11T01:42:59.3634383-05:00",
            "CreatedBy": 1,
            "SystemUser": {
              "$ref": "3"
            }
          },
          {
            "$ref": "63"
          }
        ],
        "Email_SentEmails": [
          {
            "$ref": "17"
          },
          {
            "$ref": "17"
          }
        ],
        "Email_UserTypeMaster": [
          {
            "$id": "64",
            "ID": 1,
            "UserTypeName": "sample string 2",
            "CreatedOn": "2025-12-11T01:42:59.3634383-05:00",
            "CreatedBy": 1,
            "Description": "sample string 3",
            "SystemUser": {
              "$ref": "3"
            }
          },
          {
            "$ref": "64"
          }
        ],
        "EmailMasters": [
          {
            "$ref": "19"
          },
          {
            "$ref": "19"
          }
        ],
        "EmailTemplates": [
          {
            "$ref": "27"
          },
          {
            "$ref": "27"
          }
        ],
        "EmployeeMasters": [
          {
            "$ref": "57"
          },
          {
            "$ref": "57"
          }
        ],
        "ItemGroupMasters": [
          {
            "$ref": "39"
          },
          {
            "$ref": "39"
          }
        ],
        "ItemGroupProperties": [
          {
            "$ref": "40"
          },
          {
            "$ref": "40"
          }
        ],
        "ItemMasters": [
          {
            "$ref": "38"
          },
          {
            "$ref": "38"
          }
        ],
        "ItemProperties": [
          {
            "$ref": "41"
          },
          {
            "$ref": "41"
          }
        ],
        "MetalCategories": [
          {
            "$ref": "1"
          },
          {
            "$ref": "1"
          }
        ],
        "Organizations": [
          {
            "$ref": "13"
          },
          {
            "$ref": "13"
          }
        ],
        "Organizations1": [
          {
            "$ref": "13"
          },
          {
            "$ref": "13"
          }
        ],
        "Payments": [
          {
            "$ref": "47"
          },
          {
            "$ref": "47"
          }
        ],
        "People": [
          {
            "$ref": "15"
          },
          {
            "$ref": "15"
          }
        ],
        "People1": [
          {
            "$ref": "15"
          },
          {
            "$ref": "15"
          }
        ],
        "PriorityMasters": [
          {
            "$ref": "51"
          },
          {
            "$ref": "51"
          }
        ],
        "PurchaseOrders": [
          {
            "$ref": "43"
          },
          {
            "$ref": "43"
          }
        ],
        "QuotationMasters": [
          {
            "$ref": "35"
          },
          {
            "$ref": "35"
          }
        ],
        "UserSalaries": [
          {
            "$id": "65",
            "ID": 1,
            "UserID": 2,
            "Salary": 1.0,
            "SystemUser": {
              "$ref": "3"
            }
          },
          {
            "$ref": "65"
          }
        ],
        "TaskDetails": [
          {
            "$ref": "50"
          },
          {
            "$ref": "50"
          }
        ],
        "Visitors": [
          {
            "$id": "66",
            "ID": 1,
            "VisitorName": "sample string 2",
            "ContactNumber": "sample string 3",
            "VisitorEmail": "sample string 4",
            "CompanyName": "sample string 5",
            "Designation": "sample string 6",
            "PurposeOfVisit": "sample string 7",
            "Remarks": "sample string 8",
            "CreatedOn": "2025-12-11T01:42:59.3634383-05:00",
            "CreatedBy": 10,
            "SystemUser": {
              "$ref": "3"
            }
          },
          {
            "$ref": "66"
          }
        ],
        "SaleDetails": [
          {
            "$ref": "49"
          },
          {
            "$ref": "49"
          }
        ]
      },
      "PartyMaster": {
        "$ref": "44"
      }
    },
    {
      "$ref": "2"
    }
  ],
  "PurchaseDetails": [
    {
      "$ref": "54"
    },
    {
      "$ref": "54"
    }
  ],
  "SystemUser": {
    "$ref": "3"
  },
  "PaymentDetails": [
    {
      "$ref": "48"
    },
    {
      "$ref": "48"
    }
  ],
  "PurchaseOrderDetails": [
    {
      "$ref": "42"
    },
    {
      "$ref": "42"
    }
  ]
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'HLJ_Ledger.Models.Adjustment' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'HLJ_Ledger.Models.Adjustment' contains cycles and cannot be serialized if reference tracking is disabled.

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'MetalCategory'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.