POST Transaction/SaveTransaction

Request Information

URI Parameters

None.

Body Parameters

SaleDetail
NameDescriptionTypeAdditional information
ID

integer

None.

VendorID

integer

None.

SelfDate

date

None.

SelfTime

string

None.

Amount

decimal number

None.

Remarks

string

None.

TransactionMode

string

None.

IsLedgerReport

boolean

None.

CreatedOn

date

None.

CreatedBy

integer

None.

UpdatedOn

date

None.

UpdatedBy

integer

None.

PartyMaster

PartyMaster

None.

SystemUser

SystemUser

None.

Request Formats

application/json, text/json

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

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 'System.Collections.Generic.List`1[[HLJ_Ledger.Models.Adjustment, HLJ_Ledger.Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' 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 'System.Collections.Generic.List`1[[HLJ_Ledger.Models.Adjustment, HLJ_Ledger.Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' 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 'SaleDetail'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.