POST PurchaseDetails/UpdatePurchaseDtlsById

Request Information

URI Parameters

None.

Body Parameters

PurchaseOrderDetail
NameDescriptionTypeAdditional information
ID

integer

None.

PurchaseID

integer

None.

MetalCategoryID

integer

None.

ItemID

integer

None.

Pcs

integer

None.

GrossWeight

decimal number

None.

BeadWeight

decimal number

None.

NetWeight

decimal number

None.

TounchPercentage

decimal number

None.

WastagePercentage

decimal number

None.

FinePercentage

decimal number

None.

FinalFineWeight

decimal number

None.

MakingType

string

None.

MakingRate

decimal number

None.

MetalRate

decimal number

None.

ItemMaster

ItemMaster

None.

PurchaseOrder

PurchaseOrder

None.

MetalCategory

MetalCategory

None.

Request Formats

application/json, text/json

Sample:
{
  "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": {
    "$id": "2",
    "ID": 1,
    "Item": "sample string 2",
    "Code": "sample string 3",
    "ItemGroupID": 1,
    "Price": 1.0,
    "CreatedOn": "2025-12-11T07:43:57.9205823-05:00",
    "CreatedBy": 5,
    "Pricedate": "2025-12-11T07:43:57.9205823-05:00",
    "UpdatedOn": "2025-12-11T07:43:57.9205823-05:00",
    "UpdatedBy": 1,
    "ItemGroupMaster": {
      "$id": "3",
      "ID": 1,
      "ItemGroup": "sample string 2",
      "CreatedOn": "2025-12-11T07:43:57.9205823-05:00",
      "CreatedBy": 1,
      "ClientID": 1,
      "SortNo": 1,
      "ItemGroupProperties": [
        {
          "$id": "4",
          "ID": 1,
          "ItemGroupID": 1,
          "Property": "sample string 2",
          "CreatedOn": "2025-12-11T07:43:57.9205823-05:00",
          "CreatedBy": 1,
          "ItemGroupMaster": {
            "$ref": "3"
          },
          "ItemProperties": [
            {
              "$id": "5",
              "ID": 1,
              "ItemID": 1,
              "ItemPropertyID": 1,
              "Value": "sample string 2",
              "CreatedOn": "2025-12-11T07:43:57.9205823-05:00",
              "CreatedBy": 1,
              "ClientID": 1,
              "ItemGroupProperty": {
                "$ref": "4"
              },
              "ItemMaster": {
                "$ref": "2"
              }
            },
            {
              "$ref": "5"
            }
          ]
        },
        {
          "$ref": "4"
        }
      ],
      "ItemMasters": [
        {
          "$ref": "2"
        },
        {
          "$ref": "2"
        }
      ]
    },
    "ItemProperties": [
      {
        "$ref": "5"
      },
      {
        "$ref": "5"
      }
    ],
    "PurchaseOrderDetails": [
      {
        "$ref": "1"
      },
      {
        "$ref": "1"
      }
    ],
    "QuotationItems": [
      {
        "$id": "6",
        "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": {
          "$ref": "2"
        },
        "QuotationMaster": {
          "$id": "7",
          "ID": 1,
          "ProjectID": 1,
          "EnquiryRef": "sample string 2",
          "EnquiryDate": "2025-12-11T07:43:57.9205823-05:00",
          "OfferNo": "sample string 3",
          "OfferDate": "2025-12-11T07:43:57.9205823-05:00",
          "Type": "sample string 4",
          "CreatedOn": "2025-12-11T07:43:57.9205823-05:00",
          "CreatedBy": 1,
          "TechnoCommercial": "sample string 5",
          "CommercialTerms": [
            {
              "$id": "8",
              "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-11T07:43:57.9205823-05:00",
              "CreatedBy": 1,
              "QuotationID": 1,
              "QuotationMaster": {
                "$ref": "7"
              }
            },
            {
              "$ref": "8"
            }
          ],
          "Project": {
            "$id": "9",
            "ID": 1,
            "PeopleID": 2,
            "ProjectName": "sample string 3",
            "ProjectTypeID": 1,
            "StartDate": "2025-12-11T07:43:57.9205823-05:00",
            "EndDate": "2025-12-11T07:43:57.9205823-05:00",
            "Amount": 1.0,
            "Status": 1,
            "CreatedOn": "2025-12-11T07:43:57.9205823-05:00",
            "CreatedBy": 1,
            "Description": "sample string 4",
            "Remarks": "sample string 5",
            "IsStar": true,
            "Email_SentEmails": [
              {
                "$id": "10",
                "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-11T07:43:57.9205823-05:00",
                "CreatedBy": 1,
                "PersonID": 1,
                "ProjectID": 1,
                "ActionTaken": "sample string 6",
                "Email_Client": {
                  "$id": "11",
                  "ID": 1,
                  "MasterID": 1,
                  "FrequencyID": 1,
                  "StartDate": "2025-12-11T07:43:57.9205823-05:00",
                  "EndDate": "2025-12-11T07:43:57.9205823-05:00",
                  "DefaultStarttime": "00:00:00.1234567",
                  "ClientID": 1,
                  "UIDs": "sample string 2",
                  "CreatedOn": "2025-12-11T07:43:57.9205823-05:00",
                  "EmailMaster": {
                    "$id": "12",
                    "ID": 1,
                    "EmailUserTypeID": 1,
                    "FrequencyID": 2,
                    "Name": "sample string 3",
                    "DefaultStartDate": "2025-12-11T07:43:57.9205823-05:00",
                    "DefaultStarttime": "00:00:00.1234567",
                    "Description": "sample string 4",
                    "EmailSubject": "sample string 5",
                    "EmailBody": "sample string 6",
                    "ClientID": 1,
                    "CreatedOn": "2025-12-11T07:43:57.9205823-05:00",
                    "CreatedBy": 1,
                    "Email_Client": [
                      {
                        "$ref": "11"
                      },
                      {
                        "$ref": "11"
                      }
                    ],
                    "Email_SentEmails": [
                      {
                        "$ref": "10"
                      },
                      {
                        "$ref": "10"
                      }
                    ],
                    "FrequencyMaster": {
                      "$id": "13",
                      "ID": 1,
                      "Frequency": "sample string 2",
                      "NumDays": 1,
                      "Email_Client": [
                        {
                          "$ref": "11"
                        },
                        {
                          "$ref": "11"
                        }
                      ],
                      "EmailMasters": [
                        {
                          "$ref": "12"
                        },
                        {
                          "$ref": "12"
                        }
                      ]
                    }
                  },
                  "FrequencyMaster": {
                    "$ref": "13"
                  },
                  "Email_SentEmails": [
                    {
                      "$ref": "10"
                    },
                    {
                      "$ref": "10"
                    }
                  ]
                },
                "Person": {
                  "$id": "14",
                  "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-11T07:43:57.9362077-05:00",
                  "CreatedBy": 1,
                  "ProjectTypeID": 1,
                  "AnniversaryDate": "2025-12-11T07:43:57.9362077-05:00",
                  "BirthDate": "2025-12-11T07:43:57.9362077-05:00",
                  "LeadOwnerID": 1,
                  "Phone1": "sample string 16",
                  "Phone2": "sample string 17",
                  "DepartmentID": 1,
                  "DepartmentMaster": {
                    "$id": "15",
                    "ID": 1,
                    "DepartmentName": "sample string 2",
                    "ClientID": 1,
                    "CreatedBy": 1,
                    "CreatedOn": "2025-12-11T07:43:57.9362077-05:00",
                    "People": [
                      {
                        "$ref": "14"
                      },
                      {
                        "$ref": "14"
                      }
                    ]
                  },
                  "Email_SentEmails": [
                    {
                      "$ref": "10"
                    },
                    {
                      "$ref": "10"
                    }
                  ],
                  "Organization": {
                    "$id": "16",
                    "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-11T07:43:57.9362077-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": {
                      "$id": "17",
                      "CityID": 1,
                      "CityName": "sample string 2",
                      "StateID": 1,
                      "CountryID": 3,
                      "Latitude": 4.1,
                      "Longitude": 5.1,
                      "IsActive": true,
                      "Organizations": [
                        {
                          "$ref": "16"
                        },
                        {
                          "$ref": "16"
                        }
                      ],
                      "CountryMaster": {
                        "$id": "18",
                        "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": "17"
                          },
                          {
                            "$ref": "17"
                          }
                        ],
                        "StateMasters": [
                          {
                            "$id": "19",
                            "StateID": 1,
                            "StateName": "sample string 2",
                            "CountryID": 3,
                            "Latitude": 1.0,
                            "Longitude": 1.0,
                            "IsActive": true,
                            "StateCode": 1,
                            "CountryMaster": {
                              "$ref": "18"
                            }
                          },
                          {
                            "$ref": "19"
                          }
                        ],
                        "StoreMasters": [
                          {
                            "$id": "20",
                            "ID": 1,
                            "Name": "sample string 2",
                            "StoreCode": "sample string 3",
                            "Email": "sample string 4",
                            "Mobile": "sample string 5",
                            "Address": "sample string 6",
                            "CountryID": 1,
                            "StateID": 1,
                            "CityID": 1,
                            "GSTN": "sample string 7",
                            "SortNum": 1,
                            "IsActive": true,
                            "CreatedBy": 1,
                            "CreatedOn": "2025-12-11T07:43:57.9362077-05:00",
                            "UpdatedBy": 1,
                            "UpdatedOn": "2025-12-11T07:43:57.9362077-05:00",
                            "SelfOwned": true,
                            "FranchiseDiscount": 1.0,
                            "CountryMaster": {
                              "$ref": "18"
                            },
                            "PO_GRN": [
                              {
                                "$id": "21",
                                "ID": 1,
                                "StoreID": 1,
                                "VendorID": 1,
                                "ReceivedDate": "2025-12-11T07:43:57.9362077-05:00",
                                "Status": "sample string 2",
                                "IsActive": true,
                                "CreatedOn": "2025-12-11T07:43:57.9362077-05:00",
                                "CreatedBy": 1,
                                "UpdatedOn": "2025-12-11T07:43:57.9362077-05:00",
                                "UpdatedBy": 1,
                                "StoreMaster": {
                                  "$ref": "20"
                                },
                                "SystemUser": {
                                  "$id": "22",
                                  "DocumentUpload": {
                                    "$id": "23",
                                    "ID": 1,
                                    "UserId": 2,
                                    "Tablename": "sample string 3",
                                    "DocumentTypeId": "sample string 4",
                                    "OriginalFileName": "sample string 5",
                                    "Name": "sample string 6",
                                    "Extension": "sample string 7",
                                    "SmallThumbnail": "sample string 8",
                                    "MediumThumbnail": "sample string 9",
                                    "LargeThumbnail": "sample string 10",
                                    "CreatedOn": "2025-12-11T07:43:57.9362077-05:00",
                                    "CreatedBy": 12,
                                    "AllDocument": [
                                      {
                                        "$id": "24",
                                        "ID": 1,
                                        "DocumentType": "sample string 1",
                                        "DocumentTypeId": 1,
                                        "OriginalFileName": "sample string 2",
                                        "FileName": "sample string 3",
                                        "Extension": "sample string 4",
                                        "SmallThumbnail": "sample string 5",
                                        "MediumThumbnail": "sample string 6",
                                        "LargeThumbnail": "sample string 7",
                                        "CreatedOn": "2025-12-11T07:43:57.9362077-05:00",
                                        "CreatedBy": "sample string 8",
                                        "Icon": "sample string 9"
                                      },
                                      {
                                        "$ref": "24"
                                      }
                                    ],
                                    "AllDocumentType": [
                                      {
                                        "$id": "25",
                                        "ID": 1,
                                        "Name": "sample string 2",
                                        "Sortno": 1,
                                        "ClientID": 3
                                      },
                                      {
                                        "$ref": "25"
                                      }
                                    ],
                                    "ActionURL": "sample string 13"
                                  },
                                  "CreateDocumentUpload": "sample string 1",
                                  "multvalue": "sample string 2",
                                  "multvalueForrm": "sample string 3",
                                  "StepID": "sample string 4",
                                  "RawMaterialTypeID": "sample string 5",
                                  "ID": 6,
                                  "FirstName": "sample string 7",
                                  "LastName": "sample string 8",
                                  "Mobile": "sample string 9",
                                  "Email": "sample string 10",
                                  "Password": "sample string 11",
                                  "Active": true,
                                  "RoleID": 13,
                                  "AddressLine1": "sample string 14",
                                  "CityID": 1,
                                  "PostCode": "sample string 15",
                                  "LastUpdateDate": "2025-12-11T07:43:57.9362077-05:00",
                                  "EmailSigntuare": "sample string 17",
                                  "PasswordUpdatedDate": "2025-12-11T07:43:57.9362077-05:00",
                                  "OTP": "sample string 18",
                                  "IsVerified": true,
                                  "ActivationCode": "094e9b3f-061b-400a-975a-3ff9653bb3c4",
                                  "CreatedOn": "2025-12-11T07:43:57.9362077-05:00",
                                  "StoreID": 1,
                                  "ClientID": 1,
                                  "PO_GRN": [
                                    {
                                      "$ref": "21"
                                    },
                                    {
                                      "$ref": "21"
                                    }
                                  ]
                                },
                                "VendorMaster": {
                                  "$id": "26",
                                  "ID": 1,
                                  "Name": "sample string 2",
                                  "Address": "sample string 3",
                                  "ContactPerson": "sample string 4",
                                  "Mobile": "sample string 5",
                                  "CreatedOn": "2025-12-11T07:43:57.9518332-05:00",
                                  "CreatedBy": 1,
                                  "UpdatedOn": "2025-12-11T07:43:57.9518332-05:00",
                                  "UpdatedBy": 1,
                                  "BankDetailsId": 1,
                                  "Type": "sample string 6",
                                  "StateID": 1,
                                  "BankDetail": {
                                    "$id": "27",
                                    "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": [
                                      {
                                        "$ref": "26"
                                      },
                                      {
                                        "$ref": "26"
                                      }
                                    ]
                                  },
                                  "MIS": [
                                    {
                                      "$id": "28",
                                      "ID": 1,
                                      "Date": "2025-12-11T07:43:57.9518332-05:00",
                                      "Amount": 1.0,
                                      "Remarks": "sample string 2",
                                      "SiteID": 1,
                                      "CategoryID": 1,
                                      "CreatedOn": "2025-12-11T07:43:57.9518332-05:00",
                                      "CreatedBy": 1,
                                      "UpdatedOn": "2025-12-11T07:43:57.9518332-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": "29",
                                        "ID": 1,
                                        "CategoryName": "sample string 2",
                                        "CreatedOn": "2025-12-11T07:43:57.9518332-05:00",
                                        "CreatedBy": 1,
                                        "UpdatedOn": "2025-12-11T07:43:57.9518332-05:00",
                                        "UpdatedBy": 1,
                                        "MIS": [
                                          {
                                            "$ref": "28"
                                          },
                                          {
                                            "$ref": "28"
                                          }
                                        ],
                                        "PVCTrackings": [
                                          {
                                            "$id": "30",
                                            "ID": 1,
                                            "UpdateBy": 1,
                                            "UpdatedOn": "2025-12-11T07:43:57.9518332-05:00",
                                            "CreatedBy": 1,
                                            "CreatedOn": "2025-12-11T07:43:57.9518332-05:00",
                                            "Amount": 1.0,
                                            "Status": true,
                                            "SiteID": 1,
                                            "VendorID": 1,
                                            "CategoryID": 1,
                                            "PaymentType": "sample string 2",
                                            "PaymentDate": "2025-12-11T07:43:57.9518332-05:00",
                                            "Remark": "sample string 3",
                                            "CategoryMaster": {
                                              "$ref": "29"
                                            },
                                            "SiteMaster": {
                                              "$id": "31",
                                              "ID": 1,
                                              "Name": "sample string 2",
                                              "Address": "sample string 3",
                                              "Location": "sample string 4",
                                              "Work": "sample string 5",
                                              "MIS": [
                                                {
                                                  "$ref": "28"
                                                },
                                                {
                                                  "$ref": "28"
                                                }
                                              ],
                                              "PVCTrackings": [
                                                {
                                                  "$ref": "30"
                                                },
                                                {
                                                  "$ref": "30"
                                                }
                                              ]
                                            },
                                            "VendorMaster": {
                                              "$ref": "26"
                                            }
                                          },
                                          {
                                            "$ref": "30"
                                          }
                                        ]
                                      },
                                      "SiteMaster": {
                                        "$ref": "31"
                                      },
                                      "VendorMaster": {
                                        "$ref": "26"
                                      }
                                    },
                                    {
                                      "$ref": "28"
                                    }
                                  ],
                                  "PurchaseDetails": [
                                    {
                                      "$id": "32",
                                      "ID": 1,
                                      "POID": 1,
                                      "VendorID": 1,
                                      "MetalCategoryID": 1,
                                      "Weight": 1.0,
                                      "UOMID": 1,
                                      "Rate": 1.0,
                                      "CreatedOn": "2025-12-11T07:43:57.9518332-05:00",
                                      "CreatedBy": 1,
                                      "UpdatedOn": "2025-12-11T07:43:57.9518332-05:00",
                                      "UpdatedBy": 1,
                                      "UOMMaster": {
                                        "$id": "33",
                                        "ID": 1,
                                        "UnitOfMeasurement": "sample string 2",
                                        "CreatedOn": "2025-12-11T07:43:57.9518332-05:00",
                                        "CreatedBy": 1,
                                        "PurchaseDetails": [
                                          {
                                            "$ref": "32"
                                          },
                                          {
                                            "$ref": "32"
                                          }
                                        ]
                                      },
                                      "VendorMaster": {
                                        "$ref": "26"
                                      },
                                      "MetalCategory": {
                                        "$id": "34",
                                        "ID": 1,
                                        "Name": "sample string 2",
                                        "Rate": 1.0,
                                        "CreatedOn": "2025-12-11T07:43:57.9518332-05:00",
                                        "CreatedBy": 4,
                                        "UpdatedOn": "2025-12-11T07:43:57.9518332-05:00",
                                        "UpdatedBy": 1,
                                        "Adjustments": [
                                          {
                                            "$id": "35",
                                            "ID": 1,
                                            "VendorID": 1,
                                            "AdjustmentDate": "2025-12-11T07:43:57.9518332-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-11T07:43:57.9518332-05:00",
                                            "CreatedBy": 5,
                                            "UpdatedOn": "2025-12-11T07:43:57.9518332-05:00",
                                            "UpdatedBy": 1,
                                            "PartyMaster": {
                                              "$id": "36",
                                              "ID": 1,
                                              "Name": "sample string 2",
                                              "Email": "sample string 3",
                                              "Phone": "sample string 4",
                                              "Password": "sample string 5",
                                              "IsLedger": true,
                                              "IsActive": true,
                                              "IsLedgerReport": true,
                                              "CreatedOn": "2025-12-11T07:43:57.9518332-05:00",
                                              "CreatedBy": 7,
                                              "UpdatedOn": "2025-12-11T07:43:57.9518332-05:00",
                                              "UpdatedBy": 1,
                                              "Adjustments": [
                                                {
                                                  "$ref": "35"
                                                },
                                                {
                                                  "$ref": "35"
                                                }
                                              ],
                                              "BillMasters": [
                                                {
                                                  "$id": "37",
                                                  "ID": 1,
                                                  "SelfDate": "2025-12-11T07:43:57.9518332-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-11T07:43:57.9518332-05:00",
                                                  "CreatedBy": 1,
                                                  "UpdatedOn": "2025-12-11T07:43:57.9518332-05:00",
                                                  "UpdatedBy": 1,
                                                  "PartyMaster": {
                                                    "$ref": "36"
                                                  }
                                                },
                                                {
                                                  "$ref": "37"
                                                }
                                              ],
                                              "PaymentMasters": [
                                                {
                                                  "$id": "38",
                                                  "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-11T07:43:57.9518332-05:00",
                                                  "CreatedBy": 1,
                                                  "UpdatedOn": "2025-12-11T07:43:57.9518332-05:00",
                                                  "UpdatedBy": 1,
                                                  "PartyMaster": {
                                                    "$ref": "36"
                                                  }
                                                },
                                                {
                                                  "$ref": "38"
                                                }
                                              ],
                                              "Payments": [
                                                {
                                                  "$id": "39",
                                                  "ID": 1,
                                                  "VendorID": 1,
                                                  "PaymentDate": "2025-12-11T07:43:57.9518332-05:00",
                                                  "Narration": "sample string 2",
                                                  "TotalAmt": 1.0,
                                                  "CreatedOn": "2025-12-11T07:43:57.9518332-05:00",
                                                  "CreatedBy": 1,
                                                  "UpdatedOn": "2025-12-11T07:43:57.9518332-05:00",
                                                  "UpdatedBy": 1,
                                                  "PartyMaster": {
                                                    "$ref": "36"
                                                  },
                                                  "PaymentDetails": [
                                                    {
                                                      "$id": "40",
                                                      "ID": 1,
                                                      "PaymentID": 1,
                                                      "CashAmt": 1.0,
                                                      "MetalType": 1,
                                                      "GrossWt": 1.0,
                                                      "RatePerGram": 1.0,
                                                      "MetalCashAmt": 1.0,
                                                      "Payment": {
                                                        "$ref": "39"
                                                      },
                                                      "MetalCategory": {
                                                        "$ref": "34"
                                                      }
                                                    },
                                                    {
                                                      "$ref": "40"
                                                    }
                                                  ]
                                                },
                                                {
                                                  "$ref": "39"
                                                }
                                              ],
                                              "PurchaseOrders": [
                                                {
                                                  "$id": "41",
                                                  "ID": 1,
                                                  "VendorID": 1,
                                                  "PurchaseDate": "2025-12-11T07:43:57.9674579-05:00",
                                                  "CreatedOn": "2025-12-11T07:43:57.9674579-05:00",
                                                  "CreatedBy": 3,
                                                  "UpdatedOn": "2025-12-11T07:43:57.9674579-05:00",
                                                  "UpdatedBy": 1,
                                                  "PartyMaster": {
                                                    "$ref": "36"
                                                  },
                                                  "PurchaseOrderDetails": [
                                                    {
                                                      "$ref": "1"
                                                    },
                                                    {
                                                      "$ref": "1"
                                                    }
                                                  ]
                                                },
                                                {
                                                  "$ref": "41"
                                                }
                                              ]
                                            },
                                            "MetalCategory": {
                                              "$ref": "34"
                                            }
                                          },
                                          {
                                            "$ref": "35"
                                          }
                                        ],
                                        "PurchaseDetails": [
                                          {
                                            "$ref": "32"
                                          },
                                          {
                                            "$ref": "32"
                                          }
                                        ],
                                        "PaymentDetails": [
                                          {
                                            "$ref": "40"
                                          },
                                          {
                                            "$ref": "40"
                                          }
                                        ],
                                        "PurchaseOrderDetails": [
                                          {
                                            "$ref": "1"
                                          },
                                          {
                                            "$ref": "1"
                                          }
                                        ],
                                        "SaleDetails": [
                                          {
                                            "$id": "42",
                                            "ID": 1,
                                            "MetalID": 1,
                                            "Weight": 1.0,
                                            "UOM": "sample string 2",
                                            "Qty": 1,
                                            "PaymentModeID": 1,
                                            "Name": "sample string 3",
                                            "MobileNo": "sample string 4",
                                            "TotalPrice": 1.0,
                                            "CreatedOn": "2025-12-11T07:43:57.9674579-05:00",
                                            "CreatedBy": 1,
                                            "UpdatedOn": "2025-12-11T07:43:57.9674579-05:00",
                                            "UpdatedBy": 1,
                                            "PaymentMode": {
                                              "$id": "43",
                                              "ID": 1,
                                              "Mode": "sample string 2",
                                              "IsActive": true,
                                              "CreatedOn": "2025-12-11T07:43:57.9674579-05:00",
                                              "CreatedBy": 1,
                                              "UpdatedOn": "2025-12-11T07:43:57.9674579-05:00",
                                              "UpdatedBy": 1,
                                              "SaleDetails": [
                                                {
                                                  "$ref": "42"
                                                },
                                                {
                                                  "$ref": "42"
                                                }
                                              ]
                                            },
                                            "MetalCategory": {
                                              "$ref": "34"
                                            }
                                          },
                                          {
                                            "$ref": "42"
                                          }
                                        ],
                                        "MetalMakingPrices": [
                                          {
                                            "$id": "44",
                                            "ID": 1,
                                            "MetalID": 1,
                                            "Weight": 1.0,
                                            "UOM": "sample string 2",
                                            "MakingChargesPerGm": 1.0,
                                            "MakingPrice": 1.0,
                                            "CreatedOn": "2025-12-11T07:43:57.9674579-05:00",
                                            "CreatedBy": 1,
                                            "UpdatedOn": "2025-12-11T07:43:57.9674579-05:00",
                                            "UpdatedBy": 1,
                                            "MetalCategory": {
                                              "$ref": "34"
                                            }
                                          },
                                          {
                                            "$ref": "44"
                                          }
                                        ]
                                      }
                                    },
                                    {
                                      "$ref": "32"
                                    }
                                  ],
                                  "PVCTrackings": [
                                    {
                                      "$ref": "30"
                                    },
                                    {
                                      "$ref": "30"
                                    }
                                  ],
                                  "PO_GRN": [
                                    {
                                      "$ref": "21"
                                    },
                                    {
                                      "$ref": "21"
                                    }
                                  ]
                                },
                                "PO_GRNDetails": [
                                  {
                                    "$id": "45",
                                    "ID": 1,
                                    "PO_GRNID": 1,
                                    "JewelleryTypeID": 1,
                                    "Carat": "sample string 2",
                                    "Purity": 1.0,
                                    "ItemName": "sample string 3",
                                    "ItemCode": "sample string 4",
                                    "Weight": 1.0,
                                    "Qty": 1,
                                    "RatePerGm": 1.0,
                                    "TotalPrice": 1.0,
                                    "JewelleryType": {
                                      "$id": "46",
                                      "ID": 1,
                                      "Type": "sample string 2",
                                      "CreatedOn": "2025-12-11T07:43:57.9674579-05:00",
                                      "CreatedBy": 1,
                                      "UpdatedOn": "2025-12-11T07:43:57.9674579-05:00",
                                      "UpdatedBy": 1,
                                      "PO_GRNDetails": [
                                        {
                                          "$ref": "45"
                                        },
                                        {
                                          "$ref": "45"
                                        }
                                      ]
                                    },
                                    "PO_GRN": {
                                      "$ref": "21"
                                    },
                                    "PO_GRNDocumentDetails": [
                                      {
                                        "$id": "47",
                                        "ID": 1,
                                        "PO_GRNID": 1,
                                        "PO_GRNDetailID": 1,
                                        "FileName": "sample string 2",
                                        "FilePath": "sample string 3",
                                        "FileSize": 1.0,
                                        "FileExtension": "sample string 4",
                                        "PO_GRN": {
                                          "$ref": "21"
                                        },
                                        "PO_GRNDetails": {
                                          "$ref": "45"
                                        }
                                      },
                                      {
                                        "$ref": "47"
                                      }
                                    ]
                                  },
                                  {
                                    "$ref": "45"
                                  }
                                ],
                                "PO_GRNDocumentDetails": [
                                  {
                                    "$ref": "47"
                                  },
                                  {
                                    "$ref": "47"
                                  }
                                ]
                              },
                              {
                                "$ref": "21"
                              }
                            ]
                          },
                          {
                            "$ref": "20"
                          }
                        ]
                      }
                    },
                    "IndustryMaster": {
                      "$id": "48",
                      "ID": 1,
                      "IndustryName": "sample string 2",
                      "ClientID": 1,
                      "Organizations": [
                        {
                          "$ref": "16"
                        },
                        {
                          "$ref": "16"
                        }
                      ]
                    },
                    "People": [
                      {
                        "$ref": "14"
                      },
                      {
                        "$ref": "14"
                      }
                    ]
                  },
                  "ProjectFollowUps": [
                    {
                      "$id": "49",
                      "ID": 1,
                      "ProjectID": 1,
                      "FollowUpTypeID": 1,
                      "Date": "2025-12-11T07:43:57.9674579-05:00",
                      "FollowUpDate": "2025-12-11T07:43:57.9674579-05:00",
                      "Remarks": "sample string 2",
                      "CreatedOn": "2025-12-11T07:43:57.9674579-05:00",
                      "CreatedBy": 1,
                      "Isclosed": true,
                      "PersonID": 1,
                      "FollowUpTypeMaster": {
                        "$id": "50",
                        "ID": 1,
                        "Name": "sample string 2",
                        "Icon": "sample string 3",
                        "CreatedOn": "2025-12-11T07:43:57.9674579-05:00",
                        "CreatedBy": 1,
                        "ClientID": 4,
                        "ProjectFollowUps": [
                          {
                            "$ref": "49"
                          },
                          {
                            "$ref": "49"
                          }
                        ]
                      },
                      "Person": {
                        "$ref": "14"
                      },
                      "Project": {
                        "$ref": "9"
                      }
                    },
                    {
                      "$ref": "49"
                    }
                  ],
                  "ReferralSource": {
                    "$id": "51",
                    "ID": 1,
                    "Name": "sample string 2",
                    "IsActive": true,
                    "ClientID": 4,
                    "People": [
                      {
                        "$ref": "14"
                      },
                      {
                        "$ref": "14"
                      }
                    ]
                  },
                  "PeopleDocuments": [
                    {
                      "$id": "52",
                      "ID": 1,
                      "PeopleID": 1,
                      "DocumentID": 1,
                      "Document": {
                        "$id": "53",
                        "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-11T07:43:57.9674579-05:00",
                        "CreatedBy": 10,
                        "IPAddress": "sample string 11",
                        "Size": 1,
                        "EmpID": 1,
                        "UploadDate": "2025-12-11T07:43:57.9674579-05:00",
                        "ProjectDocuments": [
                          {
                            "$id": "54",
                            "ID": 1,
                            "ProjectID": 2,
                            "DocumentID": 1,
                            "Document": {
                              "$ref": "53"
                            },
                            "Project": {
                              "$ref": "9"
                            }
                          },
                          {
                            "$ref": "54"
                          }
                        ],
                        "DocumentType": {
                          "$id": "55",
                          "ID": 1,
                          "Name": "sample string 2",
                          "Icon": "sample string 3",
                          "Sortno": 1,
                          "ClientID": 4,
                          "Documents": [
                            {
                              "$ref": "53"
                            },
                            {
                              "$ref": "53"
                            }
                          ]
                        },
                        "EmailTemplateDocuments": [
                          {
                            "$id": "56",
                            "ID": 1,
                            "EmailTempID": 2,
                            "DocumentID": 1,
                            "Document": {
                              "$ref": "53"
                            },
                            "EmailTemplate": {
                              "$id": "57",
                              "ID": 1,
                              "Key": "sample string 2",
                              "EmailSubject": "sample string 3",
                              "EmailBody": "sample string 4",
                              "AttachmentFile": "sample string 5",
                              "ClientID": 6,
                              "CreatedOn": "2025-12-11T07:43:57.9674579-05:00",
                              "CreatedBy": 1,
                              "EmailQueues": [
                                {
                                  "$id": "58",
                                  "ID": 1,
                                  "TemplateID": 1,
                                  "Subject": "sample string 2",
                                  "Body": "sample string 3",
                                  "Attachment": "sample string 4",
                                  "Receiver": "sample string 5",
                                  "CreatedOn": "2025-12-11T07:43:57.9674579-05:00",
                                  "EmailTemplate": {
                                    "$ref": "57"
                                  }
                                },
                                {
                                  "$ref": "58"
                                }
                              ],
                              "EmailTemplateDocuments": [
                                {
                                  "$ref": "56"
                                },
                                {
                                  "$ref": "56"
                                }
                              ]
                            }
                          },
                          {
                            "$ref": "56"
                          }
                        ],
                        "PeopleDocuments": [
                          {
                            "$ref": "52"
                          },
                          {
                            "$ref": "52"
                          }
                        ],
                        "UserDocuments": [
                          {
                            "$id": "59",
                            "ID": 1,
                            "UID": 2,
                            "DocumentID": 1,
                            "CreatedBy": 1,
                            "CreatedOn": "2025-12-11T07:43:57.9674579-05:00",
                            "Document": {
                              "$ref": "53"
                            }
                          },
                          {
                            "$ref": "59"
                          }
                        ]
                      },
                      "Person": {
                        "$ref": "14"
                      }
                    },
                    {
                      "$ref": "52"
                    }
                  ],
                  "Projects": [
                    {
                      "$ref": "9"
                    },
                    {
                      "$ref": "9"
                    }
                  ],
                  "ProjectPersons": [
                    {
                      "$id": "60",
                      "ID": 1,
                      "ProjectID": 1,
                      "PersonID": 1,
                      "Person": {
                        "$ref": "14"
                      },
                      "Project": {
                        "$ref": "9"
                      }
                    },
                    {
                      "$ref": "60"
                    }
                  ]
                },
                "Project": {
                  "$ref": "9"
                },
                "EmailMaster": {
                  "$ref": "12"
                }
              },
              {
                "$ref": "10"
              }
            ],
            "Person": {
              "$ref": "14"
            },
            "ProjectType": {
              "$id": "61",
              "ID": 1,
              "TypeName": "sample string 2",
              "ShowOnWebsite": true,
              "Sortnum": 1,
              "ClientID": 4,
              "Logo": "sample string 5",
              "CreatedOn": "2025-12-11T07:43:57.9830829-05:00",
              "CreatedBy": 1,
              "Projects": [
                {
                  "$ref": "9"
                },
                {
                  "$ref": "9"
                }
              ]
            },
            "ProjectDocuments": [
              {
                "$ref": "54"
              },
              {
                "$ref": "54"
              }
            ],
            "ProjectFollowUps": [
              {
                "$ref": "49"
              },
              {
                "$ref": "49"
              }
            ],
            "ProjectNotes": [
              {
                "$id": "62",
                "ID": 1,
                "PID": 1,
                "Note": "sample string 2",
                "CreatedOn": "2025-12-11T07:43:57.9830829-05:00",
                "CreatedBy": "sample string 3",
                "Project": {
                  "$ref": "9"
                }
              },
              {
                "$ref": "62"
              }
            ],
            "ProjectPersons": [
              {
                "$ref": "60"
              },
              {
                "$ref": "60"
              }
            ],
            "QuotationMasters": [
              {
                "$ref": "7"
              },
              {
                "$ref": "7"
              }
            ],
            "TaskDetails": [
              {
                "$id": "63",
                "ID": 1,
                "Description": "sample string 2",
                "ProjectID": 1,
                "TaskDateTime": "2025-12-11T07:43:57.9830829-05:00",
                "ClosedDateTime": "2025-12-11T07:43:57.9830829-05:00",
                "CreatedOn": "2025-12-11T07:43:57.9830829-05:00",
                "CreatedBy": 4,
                "Isclosed": true,
                "UserID": 1,
                "Title": "sample string 6",
                "PriorityID": 1,
                "Remark": "sample string 7",
                "PriorityMaster": {
                  "$id": "64",
                  "ID": 1,
                  "Priority": "sample string 2",
                  "ColorCode": "sample string 3",
                  "CreatedOn": "2025-12-11T07:43:57.9830829-05:00",
                  "CreatedBy": 1,
                  "ClientID": 1,
                  "TaskDetails": [
                    {
                      "$ref": "63"
                    },
                    {
                      "$ref": "63"
                    }
                  ]
                },
                "Project": {
                  "$ref": "9"
                }
              },
              {
                "$ref": "63"
              }
            ]
          },
          "QuotationItems": [
            {
              "$ref": "6"
            },
            {
              "$ref": "6"
            }
          ]
        }
      },
      {
        "$ref": "6"
      }
    ]
  },
  "PurchaseOrder": {
    "$ref": "41"
  },
  "MetalCategory": {
    "$ref": "34"
  }
}

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_ERP.Models.ItemGroupMaster' 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_ERP.Models.ItemGroupMaster' 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 'PurchaseOrderDetail'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.