POST PurchaseDetails/DeletePurchaseDtlsById

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.

MetalCategory

MetalCategory

None.

PurchaseOrder

PurchaseOrder

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-11T01:43:59.9054026-05:00",
    "CreatedBy": 5,
    "Pricedate": "2025-12-11T01:43:59.9054026-05:00",
    "UpdatedOn": "2025-12-11T01:43:59.9054026-05:00",
    "UpdatedBy": 1,
    "ItemGroupMaster": {
      "$id": "3",
      "ID": 1,
      "ItemGroup": "sample string 2",
      "CreatedOn": "2025-12-11T01:43:59.9054026-05:00",
      "CreatedBy": 1,
      "ClientID": 1,
      "SortNo": 1,
      "SystemUser": {
        "$id": "4",
        "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:43:59.9054026-05:00",
        "LastUpdateDate": "2025-12-11T01:43:59.9054026-05:00",
        "EmailSigntuare": "sample string 13",
        "PasswordUpdatedDate": "2025-12-11T01:43:59.9054026-05:00",
        "OTP": "sample string 14",
        "IsVerified": true,
        "ActivationCode": "a7cbf219-8282-4fc4-94a4-244bc652ee7e",
        "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:43:59.9054026-05:00",
        "LeavingDate": "2025-12-11T01:43:59.9054026-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": [
          {
            "$id": "5",
            "ID": 1,
            "VendorID": 1,
            "AdjustmentDate": "2025-12-11T01:43:59.9054026-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:43:59.9054026-05:00",
            "CreatedBy": 5,
            "UpdatedOn": "2025-12-11T01:43:59.9054026-05:00",
            "UpdatedBy": 1,
            "MetalCategory": {
              "$id": "6",
              "ID": 1,
              "Name": "sample string 2",
              "CreatedOn": "2025-12-11T01:43:59.9054026-05:00",
              "CreatedBy": 4,
              "UpdatedOn": "2025-12-11T01:43:59.9054026-05:00",
              "UpdatedBy": 1,
              "Adjustments": [
                {
                  "$ref": "5"
                },
                {
                  "$ref": "5"
                }
              ],
              "PurchaseDetails": [
                {
                  "$id": "7",
                  "ID": 1,
                  "POID": 1,
                  "VendorID": 1,
                  "MetalCategoryID": 1,
                  "Weight": 1.0,
                  "UOMID": 1,
                  "Rate": 1.0,
                  "CreatedOn": "2025-12-11T01:43:59.9054026-05:00",
                  "CreatedBy": 1,
                  "UpdatedOn": "2025-12-11T01:43:59.9054026-05:00",
                  "UpdatedBy": 1,
                  "MetalCategory": {
                    "$ref": "6"
                  },
                  "UOMMaster": {
                    "$id": "8",
                    "ID": 1,
                    "UnitOfMeasurement": "sample string 2",
                    "CreatedOn": "2025-12-11T01:43:59.9054026-05:00",
                    "CreatedBy": 1,
                    "PurchaseDetails": [
                      {
                        "$ref": "7"
                      },
                      {
                        "$ref": "7"
                      }
                    ]
                  },
                  "VendorMaster": {
                    "$id": "9",
                    "ID": 1,
                    "Name": "sample string 2",
                    "Address": "sample string 3",
                    "ContactPerson": "sample string 4",
                    "Mobile": "sample string 5",
                    "CreatedOn": "2025-12-11T01:43:59.9054026-05:00",
                    "CreatedBy": 1,
                    "UpdatedOn": "2025-12-11T01:43:59.9054026-05:00",
                    "UpdatedBy": 1,
                    "BankDetailsId": 1,
                    "Type": "sample string 6",
                    "StateID": 1,
                    "BankDetail": {
                      "$id": "10",
                      "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": "9"
                        },
                        {
                          "$ref": "9"
                        }
                      ],
                      "SystemUsers": [
                        {
                          "$ref": "4"
                        },
                        {
                          "$ref": "4"
                        }
                      ]
                    },
                    "MIS": [
                      {
                        "$id": "11",
                        "ID": 1,
                        "Date": "2025-12-11T01:43:59.9054026-05:00",
                        "Amount": 1.0,
                        "Remarks": "sample string 2",
                        "SiteID": 1,
                        "CategoryID": 1,
                        "CreatedOn": "2025-12-11T01:43:59.9054026-05:00",
                        "CreatedBy": 1,
                        "UpdatedOn": "2025-12-11T01:43:59.9054026-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": "12",
                          "ID": 1,
                          "CategoryName": "sample string 2",
                          "CreatedOn": "2025-12-11T01:43:59.9054026-05:00",
                          "CreatedBy": 1,
                          "UpdatedOn": "2025-12-11T01:43:59.9054026-05:00",
                          "UpdatedBy": 1,
                          "MIS": [
                            {
                              "$ref": "11"
                            },
                            {
                              "$ref": "11"
                            }
                          ],
                          "PVCTrackings": [
                            {
                              "$id": "13",
                              "ID": 1,
                              "UpdateBy": 1,
                              "UpdatedOn": "2025-12-11T01:43:59.9054026-05:00",
                              "CreatedBy": 1,
                              "CreatedOn": "2025-12-11T01:43:59.9054026-05:00",
                              "Amount": 1.0,
                              "Status": true,
                              "SiteID": 1,
                              "VendorID": 1,
                              "CategoryID": 1,
                              "PaymentType": "sample string 2",
                              "PaymentDate": "2025-12-11T01:43:59.9054026-05:00",
                              "Remark": "sample string 3",
                              "CategoryMaster": {
                                "$ref": "12"
                              },
                              "SiteMaster": {
                                "$id": "14",
                                "ID": 1,
                                "Name": "sample string 2",
                                "Address": "sample string 3",
                                "Location": "sample string 4",
                                "Work": "sample string 5",
                                "MIS": [
                                  {
                                    "$ref": "11"
                                  },
                                  {
                                    "$ref": "11"
                                  }
                                ],
                                "PVCTrackings": [
                                  {
                                    "$ref": "13"
                                  },
                                  {
                                    "$ref": "13"
                                  }
                                ]
                              },
                              "VendorMaster": {
                                "$ref": "9"
                              }
                            },
                            {
                              "$ref": "13"
                            }
                          ]
                        },
                        "SiteMaster": {
                          "$ref": "14"
                        },
                        "StateMaster": {
                          "$id": "15",
                          "StateID": 1,
                          "StateName": "sample string 2",
                          "CountryID": 3,
                          "Latitude": 4.1,
                          "Longitude": 5.1,
                          "IsActive": true,
                          "CityMasters": [
                            {
                              "$id": "16",
                              "CityID": 1,
                              "CityName": "sample string 2",
                              "StateID": 1,
                              "CountryID": 3,
                              "Latitude": 4.1,
                              "Longitude": 5.1,
                              "IsActive": true,
                              "Organizations": [
                                {
                                  "$id": "17",
                                  "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:43:59.9054026-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": "16"
                                  },
                                  "IndustryMaster": {
                                    "$id": "18",
                                    "ID": 1,
                                    "IndustryName": "sample string 2",
                                    "ClientID": 1,
                                    "Organizations": [
                                      {
                                        "$ref": "17"
                                      },
                                      {
                                        "$ref": "17"
                                      }
                                    ]
                                  },
                                  "SystemUser": {
                                    "$ref": "4"
                                  },
                                  "SystemUser1": {
                                    "$ref": "4"
                                  },
                                  "People": [
                                    {
                                      "$id": "19",
                                      "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:43:59.9054026-05:00",
                                      "CreatedBy": 1,
                                      "ProjectTypeID": 1,
                                      "AnniversaryDate": "2025-12-11T01:43:59.9054026-05:00",
                                      "BirthDate": "2025-12-11T01:43:59.9054026-05:00",
                                      "LeadOwnerID": 1,
                                      "Phone1": "sample string 16",
                                      "Phone2": "sample string 17",
                                      "DepartmentID": 1,
                                      "DepartmentMaster": {
                                        "$id": "20",
                                        "ID": 1,
                                        "DepartmentName": "sample string 2",
                                        "ClientID": 1,
                                        "CreatedBy": 1,
                                        "CreatedOn": "2025-12-11T01:43:59.9054026-05:00",
                                        "People": [
                                          {
                                            "$ref": "19"
                                          },
                                          {
                                            "$ref": "19"
                                          }
                                        ]
                                      },
                                      "Email_SentEmails": [
                                        {
                                          "$id": "21",
                                          "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:43:59.9054026-05:00",
                                          "CreatedBy": 1,
                                          "PersonID": 1,
                                          "ProjectID": 1,
                                          "ActionTaken": "sample string 6",
                                          "Email_Client": {
                                            "$id": "22",
                                            "ID": 1,
                                            "MasterID": 1,
                                            "FrequencyID": 1,
                                            "StartDate": "2025-12-11T01:43:59.9054026-05:00",
                                            "EndDate": "2025-12-11T01:43:59.9054026-05:00",
                                            "DefaultStarttime": "00:00:00.1234567",
                                            "ClientID": 1,
                                            "UIDs": "sample string 2",
                                            "CreatedOn": "2025-12-11T01:43:59.9054026-05:00",
                                            "EmailMaster": {
                                              "$id": "23",
                                              "ID": 1,
                                              "EmailUserTypeID": 1,
                                              "FrequencyID": 2,
                                              "Name": "sample string 3",
                                              "DefaultStartDate": "2025-12-11T01:43:59.9054026-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:43:59.9054026-05:00",
                                              "CreatedBy": 1,
                                              "Email_Client": [
                                                {
                                                  "$ref": "22"
                                                },
                                                {
                                                  "$ref": "22"
                                                }
                                              ],
                                              "Email_SentEmails": [
                                                {
                                                  "$ref": "21"
                                                },
                                                {
                                                  "$ref": "21"
                                                }
                                              ],
                                              "SystemUser": {
                                                "$ref": "4"
                                              },
                                              "FrequencyMaster": {
                                                "$id": "24",
                                                "ID": 1,
                                                "Frequency": "sample string 2",
                                                "NumDays": 1,
                                                "Email_Client": [
                                                  {
                                                    "$ref": "22"
                                                  },
                                                  {
                                                    "$ref": "22"
                                                  }
                                                ],
                                                "EmailMasters": [
                                                  {
                                                    "$ref": "23"
                                                  },
                                                  {
                                                    "$ref": "23"
                                                  }
                                                ]
                                              }
                                            },
                                            "FrequencyMaster": {
                                              "$ref": "24"
                                            },
                                            "Email_SentEmails": [
                                              {
                                                "$ref": "21"
                                              },
                                              {
                                                "$ref": "21"
                                              }
                                            ]
                                          },
                                          "Person": {
                                            "$ref": "19"
                                          },
                                          "Project": {
                                            "$id": "25",
                                            "ID": 1,
                                            "PeopleID": 2,
                                            "ProjectName": "sample string 3",
                                            "ProjectTypeID": 1,
                                            "StartDate": "2025-12-11T01:43:59.9054026-05:00",
                                            "EndDate": "2025-12-11T01:43:59.9054026-05:00",
                                            "Amount": 1.0,
                                            "Status": 1,
                                            "CreatedOn": "2025-12-11T01:43:59.9054026-05:00",
                                            "CreatedBy": 1,
                                            "Description": "sample string 4",
                                            "Remarks": "sample string 5",
                                            "IsStar": true,
                                            "Email_SentEmails": [
                                              {
                                                "$ref": "21"
                                              },
                                              {
                                                "$ref": "21"
                                              }
                                            ],
                                            "Person": {
                                              "$ref": "19"
                                            },
                                            "ProjectType": {
                                              "$id": "26",
                                              "ID": 1,
                                              "TypeName": "sample string 2",
                                              "ShowOnWebsite": true,
                                              "Sortnum": 1,
                                              "ClientID": 4,
                                              "Logo": "sample string 5",
                                              "CreatedOn": "2025-12-11T01:43:59.9054026-05:00",
                                              "CreatedBy": 1,
                                              "Projects": [
                                                {
                                                  "$ref": "25"
                                                },
                                                {
                                                  "$ref": "25"
                                                }
                                              ]
                                            },
                                            "ProjectDocuments": [
                                              {
                                                "$id": "27",
                                                "ID": 1,
                                                "ProjectID": 2,
                                                "DocumentID": 1,
                                                "Document": {
                                                  "$id": "28",
                                                  "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:43:59.9054026-05:00",
                                                  "CreatedBy": 10,
                                                  "IPAddress": "sample string 11",
                                                  "Size": 1,
                                                  "EmpID": 1,
                                                  "UploadDate": "2025-12-11T01:43:59.9054026-05:00",
                                                  "ProjectDocuments": [
                                                    {
                                                      "$ref": "27"
                                                    },
                                                    {
                                                      "$ref": "27"
                                                    }
                                                  ],
                                                  "DocumentType": {
                                                    "$id": "29",
                                                    "ID": 1,
                                                    "Name": "sample string 2",
                                                    "Icon": "sample string 3",
                                                    "Sortno": 1,
                                                    "ClientID": 4,
                                                    "Documents": [
                                                      {
                                                        "$ref": "28"
                                                      },
                                                      {
                                                        "$ref": "28"
                                                      }
                                                    ]
                                                  },
                                                  "EmailTemplateDocuments": [
                                                    {
                                                      "$id": "30",
                                                      "ID": 1,
                                                      "EmailTempID": 2,
                                                      "DocumentID": 1,
                                                      "Document": {
                                                        "$ref": "28"
                                                      },
                                                      "EmailTemplate": {
                                                        "$id": "31",
                                                        "ID": 1,
                                                        "Key": "sample string 2",
                                                        "EmailSubject": "sample string 3",
                                                        "EmailBody": "sample string 4",
                                                        "AttachmentFile": "sample string 5",
                                                        "ClientID": 6,
                                                        "CreatedOn": "2025-12-11T01:43:59.9054026-05:00",
                                                        "CreatedBy": 1,
                                                        "EmailQueues": [
                                                          {
                                                            "$id": "32",
                                                            "ID": 1,
                                                            "TemplateID": 1,
                                                            "Subject": "sample string 2",
                                                            "Body": "sample string 3",
                                                            "Attachment": "sample string 4",
                                                            "Receiver": "sample string 5",
                                                            "CreatedOn": "2025-12-11T01:43:59.9054026-05:00",
                                                            "EmailTemplate": {
                                                              "$ref": "31"
                                                            }
                                                          },
                                                          {
                                                            "$ref": "32"
                                                          }
                                                        ],
                                                        "SystemUser": {
                                                          "$ref": "4"
                                                        },
                                                        "EmailTemplateDocuments": [
                                                          {
                                                            "$ref": "30"
                                                          },
                                                          {
                                                            "$ref": "30"
                                                          }
                                                        ]
                                                      }
                                                    },
                                                    {
                                                      "$ref": "30"
                                                    }
                                                  ],
                                                  "PeopleDocuments": [
                                                    {
                                                      "$id": "33",
                                                      "ID": 1,
                                                      "PeopleID": 1,
                                                      "DocumentID": 1,
                                                      "Document": {
                                                        "$ref": "28"
                                                      },
                                                      "Person": {
                                                        "$ref": "19"
                                                      }
                                                    },
                                                    {
                                                      "$ref": "33"
                                                    }
                                                  ],
                                                  "UserDocuments": [
                                                    {
                                                      "$id": "34",
                                                      "ID": 1,
                                                      "UID": 2,
                                                      "DocumentID": 1,
                                                      "CreatedBy": 1,
                                                      "CreatedOn": "2025-12-11T01:43:59.9054026-05:00",
                                                      "Document": {
                                                        "$ref": "28"
                                                      }
                                                    },
                                                    {
                                                      "$ref": "34"
                                                    }
                                                  ]
                                                },
                                                "Project": {
                                                  "$ref": "25"
                                                }
                                              },
                                              {
                                                "$ref": "27"
                                              }
                                            ],
                                            "ProjectFollowUps": [
                                              {
                                                "$id": "35",
                                                "ID": 1,
                                                "ProjectID": 1,
                                                "FollowUpTypeID": 1,
                                                "Date": "2025-12-11T01:43:59.9054026-05:00",
                                                "FollowUpDate": "2025-12-11T01:43:59.9054026-05:00",
                                                "Remarks": "sample string 2",
                                                "CreatedOn": "2025-12-11T01:43:59.9054026-05:00",
                                                "CreatedBy": 1,
                                                "Isclosed": true,
                                                "PersonID": 1,
                                                "FollowUpTypeMaster": {
                                                  "$id": "36",
                                                  "ID": 1,
                                                  "Name": "sample string 2",
                                                  "Icon": "sample string 3",
                                                  "CreatedOn": "2025-12-11T01:43:59.9054026-05:00",
                                                  "CreatedBy": 1,
                                                  "ClientID": 4,
                                                  "ProjectFollowUps": [
                                                    {
                                                      "$ref": "35"
                                                    },
                                                    {
                                                      "$ref": "35"
                                                    }
                                                  ]
                                                },
                                                "Person": {
                                                  "$ref": "19"
                                                },
                                                "Project": {
                                                  "$ref": "25"
                                                }
                                              },
                                              {
                                                "$ref": "35"
                                              }
                                            ],
                                            "ProjectNotes": [
                                              {
                                                "$id": "37",
                                                "ID": 1,
                                                "PID": 1,
                                                "Note": "sample string 2",
                                                "CreatedOn": "2025-12-11T01:43:59.9054026-05:00",
                                                "CreatedBy": "sample string 3",
                                                "Project": {
                                                  "$ref": "25"
                                                }
                                              },
                                              {
                                                "$ref": "37"
                                              }
                                            ],
                                            "ProjectPersons": [
                                              {
                                                "$id": "38",
                                                "ID": 1,
                                                "ProjectID": 1,
                                                "PersonID": 1,
                                                "Person": {
                                                  "$ref": "19"
                                                },
                                                "Project": {
                                                  "$ref": "25"
                                                }
                                              },
                                              {
                                                "$ref": "38"
                                              }
                                            ],
                                            "QuotationMasters": [
                                              {
                                                "$id": "39",
                                                "ID": 1,
                                                "ProjectID": 1,
                                                "EnquiryRef": "sample string 2",
                                                "EnquiryDate": "2025-12-11T01:43:59.9054026-05:00",
                                                "OfferNo": "sample string 3",
                                                "OfferDate": "2025-12-11T01:43:59.9054026-05:00",
                                                "Type": "sample string 4",
                                                "CreatedOn": "2025-12-11T01:43:59.9054026-05:00",
                                                "CreatedBy": 1,
                                                "TechnoCommercial": "sample string 5",
                                                "CommercialTerms": [
                                                  {
                                                    "$id": "40",
                                                    "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:43:59.9054026-05:00",
                                                    "CreatedBy": 1,
                                                    "QuotationID": 1,
                                                    "QuotationMaster": {
                                                      "$ref": "39"
                                                    },
                                                    "SystemUser": {
                                                      "$ref": "4"
                                                    }
                                                  },
                                                  {
                                                    "$ref": "40"
                                                  }
                                                ],
                                                "Project": {
                                                  "$ref": "25"
                                                },
                                                "QuotationItems": [
                                                  {
                                                    "$id": "41",
                                                    "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": {
                                                      "$ref": "39"
                                                    }
                                                  },
                                                  {
                                                    "$ref": "41"
                                                  }
                                                ],
                                                "SystemUser": {
                                                  "$ref": "4"
                                                }
                                              },
                                              {
                                                "$ref": "39"
                                              }
                                            ],
                                            "TaskDetails": [
                                              {
                                                "$id": "42",
                                                "ID": 1,
                                                "Description": "sample string 2",
                                                "ProjectID": 1,
                                                "TaskDateTime": "2025-12-11T01:43:59.9054026-05:00",
                                                "ClosedDateTime": "2025-12-11T01:43:59.9054026-05:00",
                                                "CreatedOn": "2025-12-11T01:43:59.9054026-05:00",
                                                "CreatedBy": 4,
                                                "Isclosed": true,
                                                "UserID": 1,
                                                "Title": "sample string 6",
                                                "PriorityID": 1,
                                                "Remark": "sample string 7",
                                                "PriorityMaster": {
                                                  "$id": "43",
                                                  "ID": 1,
                                                  "Priority": "sample string 2",
                                                  "ColorCode": "sample string 3",
                                                  "CreatedOn": "2025-12-11T01:43:59.9054026-05:00",
                                                  "CreatedBy": 1,
                                                  "ClientID": 1,
                                                  "TaskDetails": [
                                                    {
                                                      "$ref": "42"
                                                    },
                                                    {
                                                      "$ref": "42"
                                                    }
                                                  ],
                                                  "SystemUser": {
                                                    "$ref": "4"
                                                  }
                                                },
                                                "Project": {
                                                  "$ref": "25"
                                                },
                                                "SystemUser": {
                                                  "$ref": "4"
                                                }
                                              },
                                              {
                                                "$ref": "42"
                                              }
                                            ]
                                          },
                                          "EmailMaster": {
                                            "$ref": "23"
                                          },
                                          "SystemUser": {
                                            "$ref": "4"
                                          }
                                        },
                                        {
                                          "$ref": "21"
                                        }
                                      ],
                                      "Organization": {
                                        "$ref": "17"
                                      },
                                      "ProjectFollowUps": [
                                        {
                                          "$ref": "35"
                                        },
                                        {
                                          "$ref": "35"
                                        }
                                      ],
                                      "SystemUser": {
                                        "$ref": "4"
                                      },
                                      "SystemUser1": {
                                        "$ref": "4"
                                      },
                                      "ReferralSource": {
                                        "$id": "44",
                                        "ID": 1,
                                        "Name": "sample string 2",
                                        "IsActive": true,
                                        "ClientID": 4,
                                        "People": [
                                          {
                                            "$ref": "19"
                                          },
                                          {
                                            "$ref": "19"
                                          }
                                        ]
                                      },
                                      "PeopleDocuments": [
                                        {
                                          "$ref": "33"
                                        },
                                        {
                                          "$ref": "33"
                                        }
                                      ],
                                      "Projects": [
                                        {
                                          "$ref": "25"
                                        },
                                        {
                                          "$ref": "25"
                                        }
                                      ],
                                      "ProjectPersons": [
                                        {
                                          "$ref": "38"
                                        },
                                        {
                                          "$ref": "38"
                                        }
                                      ]
                                    },
                                    {
                                      "$ref": "19"
                                    }
                                  ]
                                },
                                {
                                  "$ref": "17"
                                }
                              ],
                              "CountryMaster": {
                                "$id": "45",
                                "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": "16"
                                  },
                                  {
                                    "$ref": "16"
                                  }
                                ],
                                "StateMasters": [
                                  {
                                    "$ref": "15"
                                  },
                                  {
                                    "$ref": "15"
                                  }
                                ]
                              },
                              "StateMaster": {
                                "$ref": "15"
                              },
                              "SystemUsers": [
                                {
                                  "$ref": "4"
                                },
                                {
                                  "$ref": "4"
                                }
                              ]
                            },
                            {
                              "$ref": "16"
                            }
                          ],
                          "CountryMaster": {
                            "$ref": "45"
                          },
                          "MIS": [
                            {
                              "$ref": "11"
                            },
                            {
                              "$ref": "11"
                            }
                          ],
                          "VendorMasters": [
                            {
                              "$ref": "9"
                            },
                            {
                              "$ref": "9"
                            }
                          ]
                        },
                        "VendorMaster": {
                          "$ref": "9"
                        }
                      },
                      {
                        "$ref": "11"
                      }
                    ],
                    "PurchaseDetails": [
                      {
                        "$ref": "7"
                      },
                      {
                        "$ref": "7"
                      }
                    ],
                    "PVCTrackings": [
                      {
                        "$ref": "13"
                      },
                      {
                        "$ref": "13"
                      }
                    ],
                    "StateMaster": {
                      "$ref": "15"
                    }
                  }
                },
                {
                  "$ref": "7"
                }
              ],
              "SystemUser": {
                "$ref": "4"
              },
              "PaymentDetails": [
                {
                  "$id": "46",
                  "ID": 1,
                  "PaymentID": 1,
                  "CashAmt": 1.0,
                  "MetalType": 1,
                  "GrossWt": 1.0,
                  "RatePerGram": 1.0,
                  "MetalCashAmt": 1.0,
                  "MetalCategory": {
                    "$ref": "6"
                  },
                  "Payment": {
                    "$id": "47",
                    "ID": 1,
                    "VendorID": 1,
                    "PaymentDate": "2025-12-11T01:43:59.9054026-05:00",
                    "Narration": "sample string 2",
                    "TotalAmt": 1.0,
                    "CreatedOn": "2025-12-11T01:43:59.9054026-05:00",
                    "CreatedBy": 1,
                    "UpdatedOn": "2025-12-11T01:43:59.9054026-05:00",
                    "UpdatedBy": 1,
                    "SystemUser": {
                      "$ref": "4"
                    },
                    "PaymentDetails": [
                      {
                        "$ref": "46"
                      },
                      {
                        "$ref": "46"
                      }
                    ],
                    "PartyMaster": {
                      "$id": "48",
                      "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:43:59.9054026-05:00",
                      "CreatedBy": 7,
                      "UpdatedOn": "2025-12-11T01:43:59.9054026-05:00",
                      "UpdatedBy": 1,
                      "Adjustments": [
                        {
                          "$ref": "5"
                        },
                        {
                          "$ref": "5"
                        }
                      ],
                      "BillMasters": [
                        {
                          "$id": "49",
                          "ID": 1,
                          "SelfDate": "2025-12-11T01:43:59.9054026-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:43:59.9054026-05:00",
                          "CreatedBy": 1,
                          "UpdatedOn": "2025-12-11T01:43:59.9054026-05:00",
                          "UpdatedBy": 1,
                          "PartyMaster": {
                            "$ref": "48"
                          }
                        },
                        {
                          "$ref": "49"
                        }
                      ],
                      "PaymentMasters": [
                        {
                          "$id": "50",
                          "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:43:59.9054026-05:00",
                          "CreatedBy": 1,
                          "UpdatedOn": "2025-12-11T01:43:59.9054026-05:00",
                          "UpdatedBy": 1,
                          "PartyMaster": {
                            "$ref": "48"
                          }
                        },
                        {
                          "$ref": "50"
                        }
                      ],
                      "Payments": [
                        {
                          "$ref": "47"
                        },
                        {
                          "$ref": "47"
                        }
                      ],
                      "PurchaseOrders": [
                        {
                          "$id": "51",
                          "ID": 1,
                          "VendorID": 1,
                          "PurchaseDate": "2025-12-11T01:43:59.9054026-05:00",
                          "CreatedOn": "2025-12-11T01:43:59.9054026-05:00",
                          "CreatedBy": 3,
                          "UpdatedOn": "2025-12-11T01:43:59.9054026-05:00",
                          "UpdatedBy": 1,
                          "SystemUser": {
                            "$ref": "4"
                          },
                          "PurchaseOrderDetails": [
                            {
                              "$ref": "1"
                            },
                            {
                              "$ref": "1"
                            }
                          ],
                          "PartyMaster": {
                            "$ref": "48"
                          }
                        },
                        {
                          "$ref": "51"
                        }
                      ],
                      "SaleDetails": [
                        {
                          "$id": "52",
                          "ID": 1,
                          "VendorID": 1,
                          "SelfDate": "2025-12-11T01:43:59.9054026-05:00",
                          "SelfTime": "sample string 2",
                          "Amount": 1.0,
                          "Remarks": "sample string 3",
                          "TransactionMode": "sample string 4",
                          "IsLedgerReport": true,
                          "CreatedOn": "2025-12-11T01:43:59.9054026-05:00",
                          "CreatedBy": 1,
                          "UpdatedOn": "2025-12-11T01:43:59.9054026-05:00",
                          "UpdatedBy": 1,
                          "PartyMaster": {
                            "$ref": "48"
                          },
                          "SystemUser": {
                            "$ref": "4"
                          }
                        },
                        {
                          "$ref": "52"
                        }
                      ]
                    }
                  }
                },
                {
                  "$ref": "46"
                }
              ],
              "PurchaseOrderDetails": [
                {
                  "$ref": "1"
                },
                {
                  "$ref": "1"
                }
              ]
            },
            "SystemUser": {
              "$ref": "4"
            },
            "PartyMaster": {
              "$ref": "48"
            }
          },
          {
            "$ref": "5"
          }
        ],
        "AuditTrails": [
          {
            "$id": "53",
            "ID": 1,
            "Description": "sample string 2",
            "UID": 1,
            "RecordedDate": "2025-12-11T01:43:59.9054026-05:00",
            "IPADDRESS": "sample string 3",
            "SystemUser": {
              "$ref": "4"
            }
          },
          {
            "$ref": "53"
          }
        ],
        "BankDetail": {
          "$ref": "10"
        },
        "CityMaster": {
          "$ref": "16"
        },
        "CommercialTerms": [
          {
            "$ref": "40"
          },
          {
            "$ref": "40"
          }
        ],
        "Designation": {
          "$id": "54",
          "ID": 1,
          "DesignationName": "sample string 2",
          "ClientID": 3,
          "EmployeeMasters": [
            {
              "$id": "55",
              "ID": 1,
              "EmployeeID": "sample string 2",
              "FirstName": "sample string 3",
              "CreatedOn": "2025-12-11T01:43:59.9054026-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:43:59.9054026-05:00",
              "UpdatedBy": 1,
              "RoleID": 1,
              "JoiningDate": "2025-12-11T01:43:59.9054026-05:00",
              "ConfirmDate": "2025-12-11T01:43:59.9054026-05:00",
              "Grade": "sample string 9",
              "IsConfirm": true,
              "OutStation": true,
              "Active": true,
              "Attendances": [
                {
                  "$id": "56",
                  "ID": 1,
                  "AttenDate": "2025-12-11T01:43:59.9054026-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": "55"
                  }
                },
                {
                  "$ref": "56"
                }
              ],
              "Designation": {
                "$ref": "54"
              },
              "SystemUser": {
                "$ref": "4"
              },
              "RoleMaster": {
                "$id": "57",
                "ID": 1,
                "RoleName": "sample string 2",
                "ClientID": 3,
                "EmployeeMasters": [
                  {
                    "$ref": "55"
                  },
                  {
                    "$ref": "55"
                  }
                ],
                "RoleAcesses": [
                  {
                    "$id": "58",
                    "ID": 1,
                    "PageID": 1,
                    "RoleID": 1,
                    "Checked": true,
                    "PageMaster": {
                      "$id": "59",
                      "ID": 1,
                      "GroupID": 1,
                      "AccessName": "sample string 2",
                      "PageAccess_URL": "sample string 3",
                      "ToValidate": true,
                      "CreatedOn": "2025-12-11T01:43:59.9054026-05:00",
                      "PageGroupMaster": {
                        "$id": "60",
                        "ID": 1,
                        "GroupName": "sample string 2",
                        "PageMasters": [
                          {
                            "$ref": "59"
                          },
                          {
                            "$ref": "59"
                          }
                        ]
                      },
                      "RoleAcesses": [
                        {
                          "$ref": "58"
                        },
                        {
                          "$ref": "58"
                        }
                      ]
                    },
                    "RoleMaster": {
                      "$ref": "57"
                    }
                  },
                  {
                    "$ref": "58"
                  }
                ]
              }
            },
            {
              "$ref": "55"
            }
          ],
          "SystemUsers": [
            {
              "$ref": "4"
            },
            {
              "$ref": "4"
            }
          ]
        },
        "Email_ClientUserGroup": [
          {
            "$id": "61",
            "ID": 1,
            "GroupName": "sample string 2",
            "PeopleID": "sample string 3",
            "SystemUserID": "sample string 4",
            "CreatedOn": "2025-12-11T01:43:59.9054026-05:00",
            "CreatedBy": 1,
            "SystemUser": {
              "$ref": "4"
            }
          },
          {
            "$ref": "61"
          }
        ],
        "Email_SentEmails": [
          {
            "$ref": "21"
          },
          {
            "$ref": "21"
          }
        ],
        "Email_UserTypeMaster": [
          {
            "$id": "62",
            "ID": 1,
            "UserTypeName": "sample string 2",
            "CreatedOn": "2025-12-11T01:43:59.9054026-05:00",
            "CreatedBy": 1,
            "Description": "sample string 3",
            "SystemUser": {
              "$ref": "4"
            }
          },
          {
            "$ref": "62"
          }
        ],
        "EmailMasters": [
          {
            "$ref": "23"
          },
          {
            "$ref": "23"
          }
        ],
        "EmailTemplates": [
          {
            "$ref": "31"
          },
          {
            "$ref": "31"
          }
        ],
        "EmployeeMasters": [
          {
            "$ref": "55"
          },
          {
            "$ref": "55"
          }
        ],
        "ItemGroupMasters": [
          {
            "$ref": "3"
          },
          {
            "$ref": "3"
          }
        ],
        "ItemGroupProperties": [
          {
            "$id": "63",
            "ID": 1,
            "ItemGroupID": 1,
            "Property": "sample string 2",
            "CreatedOn": "2025-12-11T01:43:59.9054026-05:00",
            "CreatedBy": 1,
            "ItemGroupMaster": {
              "$ref": "3"
            },
            "SystemUser": {
              "$ref": "4"
            },
            "ItemProperties": [
              {
                "$id": "64",
                "ID": 1,
                "ItemID": 1,
                "ItemPropertyID": 1,
                "Value": "sample string 2",
                "CreatedOn": "2025-12-11T01:43:59.9054026-05:00",
                "CreatedBy": 1,
                "ClientID": 1,
                "ItemGroupProperty": {
                  "$ref": "63"
                },
                "ItemMaster": {
                  "$ref": "2"
                },
                "SystemUser": {
                  "$ref": "4"
                }
              },
              {
                "$ref": "64"
              }
            ]
          },
          {
            "$ref": "63"
          }
        ],
        "ItemMasters": [
          {
            "$ref": "2"
          },
          {
            "$ref": "2"
          }
        ],
        "ItemProperties": [
          {
            "$ref": "64"
          },
          {
            "$ref": "64"
          }
        ],
        "MetalCategories": [
          {
            "$ref": "6"
          },
          {
            "$ref": "6"
          }
        ],
        "Organizations": [
          {
            "$ref": "17"
          },
          {
            "$ref": "17"
          }
        ],
        "Organizations1": [
          {
            "$ref": "17"
          },
          {
            "$ref": "17"
          }
        ],
        "Payments": [
          {
            "$ref": "47"
          },
          {
            "$ref": "47"
          }
        ],
        "People": [
          {
            "$ref": "19"
          },
          {
            "$ref": "19"
          }
        ],
        "People1": [
          {
            "$ref": "19"
          },
          {
            "$ref": "19"
          }
        ],
        "PriorityMasters": [
          {
            "$ref": "43"
          },
          {
            "$ref": "43"
          }
        ],
        "PurchaseOrders": [
          {
            "$ref": "51"
          },
          {
            "$ref": "51"
          }
        ],
        "QuotationMasters": [
          {
            "$ref": "39"
          },
          {
            "$ref": "39"
          }
        ],
        "UserSalaries": [
          {
            "$id": "65",
            "ID": 1,
            "UserID": 2,
            "Salary": 1.0,
            "SystemUser": {
              "$ref": "4"
            }
          },
          {
            "$ref": "65"
          }
        ],
        "TaskDetails": [
          {
            "$ref": "42"
          },
          {
            "$ref": "42"
          }
        ],
        "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:43:59.9054026-05:00",
            "CreatedBy": 10,
            "SystemUser": {
              "$ref": "4"
            }
          },
          {
            "$ref": "66"
          }
        ],
        "SaleDetails": [
          {
            "$ref": "52"
          },
          {
            "$ref": "52"
          }
        ]
      },
      "ItemGroupProperties": [
        {
          "$ref": "63"
        },
        {
          "$ref": "63"
        }
      ],
      "ItemMasters": [
        {
          "$ref": "2"
        },
        {
          "$ref": "2"
        }
      ]
    },
    "SystemUser": {
      "$ref": "4"
    },
    "ItemProperties": [
      {
        "$ref": "64"
      },
      {
        "$ref": "64"
      }
    ],
    "PurchaseOrderDetails": [
      {
        "$ref": "1"
      },
      {
        "$ref": "1"
      }
    ],
    "QuotationItems": [
      {
        "$ref": "41"
      },
      {
        "$ref": "41"
      }
    ]
  },
  "MetalCategory": {
    "$ref": "6"
  },
  "PurchaseOrder": {
    "$ref": "51"
  }
}

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.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_Ledger.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.