POST Unit/PostUnit

Request Information

URI Parameters

None.

Body Parameters

UnitMaster
NameDescriptionTypeAdditional information
ID

integer

None.

UnitName

string

None.

Projects

Collection of Project

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "UnitName": "sample string 2",
  "Projects": [
    {
      "$id": "2",
      "ID": 1,
      "PeopleID": 2,
      "ProjectName": "sample string 3",
      "ProjectTypeID": 1,
      "StartDate": "2025-12-11T02:26:06.0514666-05:00",
      "EndDate": "2025-12-11T02:26:06.0514666-05:00",
      "Amount": 1.0,
      "Status": 1,
      "CreatedOn": "2025-12-11T02:26:06.0514666-05:00",
      "CreatedBy": 1,
      "Description": "sample string 4",
      "Remarks": "sample string 5",
      "IsStar": true,
      "Location": "sample string 7",
      "ProjectMasterId": 1,
      "LeadOwnerID": 1,
      "UnitMasterID": 1,
      "UpdatedBy": 1,
      "UpdatedOn": "2025-12-11T02:26:06.0514666-05:00",
      "PlotNo": "sample string 8",
      "Email_SentEmails": [
        {
          "$id": "3",
          "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-11T02:26:06.0514666-05:00",
          "CreatedBy": 1,
          "PersonID": 1,
          "ProjectID": 1,
          "ActionTaken": "sample string 6",
          "Email_Client": {
            "$id": "4",
            "ID": 1,
            "MasterID": 1,
            "FrequencyID": 1,
            "StartDate": "2025-12-11T02:26:06.0514666-05:00",
            "EndDate": "2025-12-11T02:26:06.0514666-05:00",
            "DefaultStarttime": "00:00:00.1234567",
            "ClientID": 1,
            "UIDs": "sample string 2",
            "CreatedOn": "2025-12-11T02:26:06.0514666-05:00",
            "EmailMaster": {
              "$id": "5",
              "ID": 1,
              "EmailUserTypeID": 1,
              "FrequencyID": 2,
              "Name": "sample string 3",
              "DefaultStartDate": "2025-12-11T02:26:06.0514666-05:00",
              "DefaultStarttime": "00:00:00.1234567",
              "Description": "sample string 4",
              "EmailSubject": "sample string 5",
              "EmailBody": "sample string 6",
              "ClientID": 1,
              "CreatedOn": "2025-12-11T02:26:06.0514666-05:00",
              "CreatedBy": 1,
              "Email_Client": [
                {
                  "$ref": "4"
                },
                {
                  "$ref": "4"
                }
              ],
              "Email_SentEmails": [
                {
                  "$ref": "3"
                },
                {
                  "$ref": "3"
                }
              ],
              "FrequencyMaster": {
                "$id": "6",
                "ID": 1,
                "Frequency": "sample string 2",
                "NumDays": 1,
                "Email_Client": [
                  {
                    "$ref": "4"
                  },
                  {
                    "$ref": "4"
                  }
                ],
                "EmailMasters": [
                  {
                    "$ref": "5"
                  },
                  {
                    "$ref": "5"
                  }
                ]
              },
              "SystemUser": {
                "$id": "7",
                "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-11T02:26:06.0514666-05:00",
                "LastUpdateDate": "2025-12-11T02:26:06.0514666-05:00",
                "EmailSigntuare": "sample string 13",
                "PasswordUpdatedDate": "2025-12-11T02:26:06.0514666-05:00",
                "OTP": "sample string 14",
                "IsVerified": true,
                "ActivationCode": "8ca503fb-1f93-4d9a-b912-09a6c2fe6299",
                "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-11T02:26:06.0514666-05:00",
                "LeavingDate": "2025-12-11T02:26:06.0514666-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",
                "ManagerID": 1,
                "ProjectTypeID": "sample string 33",
                "AuditTrails": [
                  {
                    "$id": "8",
                    "ID": 1,
                    "Description": "sample string 2",
                    "UID": 1,
                    "RecordedDate": "2025-12-11T02:26:06.0514666-05:00",
                    "IPADDRESS": "sample string 3",
                    "SystemUser": {
                      "$ref": "7"
                    }
                  },
                  {
                    "$ref": "8"
                  }
                ],
                "BankDetail": {
                  "$id": "9",
                  "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",
                  "SystemUsers": [
                    {
                      "$ref": "7"
                    },
                    {
                      "$ref": "7"
                    }
                  ]
                },
                "CityMaster": {
                  "$id": "10",
                  "CityID": 1,
                  "CityName": "sample string 2",
                  "StateID": 1,
                  "CountryID": 3,
                  "Latitude": 4.1,
                  "Longitude": 5.1,
                  "IsActive": true,
                  "CountryMaster": {
                    "$id": "11",
                    "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": "10"
                      },
                      {
                        "$ref": "10"
                      }
                    ],
                    "StateMasters": [
                      {
                        "$id": "12",
                        "StateID": 1,
                        "StateName": "sample string 2",
                        "CountryID": 3,
                        "Latitude": 4.1,
                        "Longitude": 5.1,
                        "IsActive": true,
                        "CityMasters": [
                          {
                            "$ref": "10"
                          },
                          {
                            "$ref": "10"
                          }
                        ],
                        "CountryMaster": {
                          "$ref": "11"
                        }
                      },
                      {
                        "$ref": "12"
                      }
                    ]
                  },
                  "StateMaster": {
                    "$ref": "12"
                  },
                  "Organizations": [
                    {
                      "$id": "13",
                      "ID": 1,
                      "BrandName": "sample string 2",
                      "CompanyName": "sample string 3",
                      "Logo": "sample string 4",
                      "Profession": "sample string 5",
                      "Phone": "sample string 6",
                      "Mobile2": "sample string 7",
                      "Fax": "sample string 8",
                      "PrimaryEmail": "sample string 9",
                      "Email2": "sample string 10",
                      "AddressLine1": "sample string 11",
                      "AddressLine2": "sample string 12",
                      "CityId": 1,
                      "PinCode": 1,
                      "BillingAddress": "sample string 13",
                      "WebsiteAddress": "sample string 14",
                      "Remarks": "sample string 15",
                      "CreatedOn": "2025-12-11T02:26:06.0514666-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,
                      "EmployeeType": "sample string 22",
                      "CityMaster": {
                        "$ref": "10"
                      },
                      "IndustryMaster": {
                        "$id": "14",
                        "ID": 1,
                        "IndustryName": "sample string 2",
                        "ClientID": 1,
                        "Organizations": [
                          {
                            "$ref": "13"
                          },
                          {
                            "$ref": "13"
                          }
                        ]
                      },
                      "OrganizationInstallers": [
                        {
                          "$id": "15",
                          "ID": 1,
                          "CustomerID": 1,
                          "Qty": 1,
                          "TagNo": "sample string 2",
                          "SerialNo": "sample string 3",
                          "Model": "sample string 4",
                          "Description": "sample string 5",
                          "Size": "sample string 6",
                          "PersonID": 1,
                          "Phone": "sample string 7",
                          "Email": "sample string 8",
                          "Seller": "sample string 9",
                          "InstallationYear": 1,
                          "Remark": "sample string 10",
                          "CreatedBy": 1,
                          "CreatedOn": "2025-12-11T02:26:06.0670918-05:00",
                          "UpdatedBy": 1,
                          "UpdatedOn": "2025-12-11T02:26:06.0670918-05:00",
                          "FileUpload": "sample string 11",
                          "Class": "sample string 12",
                          "SellerID": 1,
                          "Organization": {
                            "$ref": "13"
                          },
                          "Organization1": {
                            "$ref": "13"
                          },
                          "Organization2": {
                            "$ref": "13"
                          },
                          "Organization3": {
                            "$ref": "13"
                          },
                          "Seller1": {
                            "$id": "16",
                            "ID": 1,
                            "Seller1": "sample string 2",
                            "CreatedOn": "2025-12-11T02:26:06.0670918-05:00",
                            "CreatedBy": 1,
                            "UpdatedOn": "2025-12-11T02:26:06.0670918-05:00",
                            "UpdatedBy": 1,
                            "OrganizationInstallers": [
                              {
                                "$ref": "15"
                              },
                              {
                                "$ref": "15"
                              }
                            ]
                          },
                          "Person": {
                            "$id": "17",
                            "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-11T02:26:06.0670918-05:00",
                            "CreatedBy": 1,
                            "ProjectTypeID": 1,
                            "AnniversaryDate": "2025-12-11T02:26:06.0670918-05:00",
                            "BirthDate": "2025-12-11T02:26:06.0670918-05:00",
                            "LeadOwnerID": 1,
                            "Phone1": "sample string 16",
                            "Phone2": "sample string 17",
                            "DepartmentID": 1,
                            "EmployeeType": "sample string 18",
                            "ChannelPartnerId": 1,
                            "ContactPerson": "sample string 19",
                            "DepartmentMaster": {
                              "$id": "18",
                              "ID": 1,
                              "DepartmentName": "sample string 2",
                              "ClientID": 1,
                              "CreatedBy": 1,
                              "CreatedOn": "2025-12-11T02:26:06.0670918-05:00",
                              "People": [
                                {
                                  "$ref": "17"
                                },
                                {
                                  "$ref": "17"
                                }
                              ]
                            },
                            "Email_SentEmails": [
                              {
                                "$ref": "3"
                              },
                              {
                                "$ref": "3"
                              }
                            ],
                            "Organization": {
                              "$ref": "13"
                            },
                            "OrganizationInstallers": [
                              {
                                "$ref": "15"
                              },
                              {
                                "$ref": "15"
                              }
                            ],
                            "OrganizationInstallers1": [
                              {
                                "$ref": "15"
                              },
                              {
                                "$ref": "15"
                              }
                            ],
                            "OrganizationInstallers2": [
                              {
                                "$ref": "15"
                              },
                              {
                                "$ref": "15"
                              }
                            ],
                            "OrganizationInstallers3": [
                              {
                                "$ref": "15"
                              },
                              {
                                "$ref": "15"
                              }
                            ],
                            "ProjectFollowUps": [
                              {
                                "$id": "19",
                                "ID": 1,
                                "ProjectID": 1,
                                "FollowUpTypeID": 1,
                                "Date": "2025-12-11T02:26:06.0670918-05:00",
                                "FollowUpDate": "2025-12-11T02:26:06.0670918-05:00",
                                "Remarks": "sample string 2",
                                "CreatedOn": "2025-12-11T02:26:06.0670918-05:00",
                                "CreatedBy": 1,
                                "Isclosed": true,
                                "PersonID": 1,
                                "FollowUpTypeMaster": {
                                  "$id": "20",
                                  "ID": 1,
                                  "Name": "sample string 2",
                                  "Icon": "sample string 3",
                                  "CreatedOn": "2025-12-11T02:26:06.0670918-05:00",
                                  "CreatedBy": 1,
                                  "ClientID": 4,
                                  "ProjectFollowUps": [
                                    {
                                      "$ref": "19"
                                    },
                                    {
                                      "$ref": "19"
                                    }
                                  ],
                                  "ProspectFollowUps": [
                                    {
                                      "$id": "21",
                                      "ID": 1,
                                      "FollowUpTypeID": 1,
                                      "Date": "2025-12-11T02:26:06.0670918-05:00",
                                      "FollowUpDate": "2025-12-11T02:26:06.0670918-05:00",
                                      "Remarks": "sample string 2",
                                      "CreatedOn": "2025-12-11T02:26:06.0670918-05:00",
                                      "CreatedBy": 1,
                                      "Isclosed": true,
                                      "PersonID": 1,
                                      "FollowUpTypeMaster": {
                                        "$ref": "20"
                                      },
                                      "Person": {
                                        "$ref": "17"
                                      }
                                    },
                                    {
                                      "$ref": "21"
                                    }
                                  ]
                                },
                                "Person": {
                                  "$ref": "17"
                                },
                                "Project": {
                                  "$ref": "2"
                                }
                              },
                              {
                                "$ref": "19"
                              }
                            ],
                            "ProspectFollowUps": [
                              {
                                "$ref": "21"
                              },
                              {
                                "$ref": "21"
                              }
                            ],
                            "SystemUser": {
                              "$ref": "7"
                            },
                            "SystemUser1": {
                              "$ref": "7"
                            },
                            "ReferralSource": {
                              "$id": "22",
                              "ID": 1,
                              "Name": "sample string 2",
                              "IsActive": true,
                              "ClientID": 4,
                              "People": [
                                {
                                  "$ref": "17"
                                },
                                {
                                  "$ref": "17"
                                }
                              ]
                            },
                            "PeopleDocuments": [
                              {
                                "$id": "23",
                                "ID": 1,
                                "PeopleID": 1,
                                "DocumentID": 1,
                                "Document": {
                                  "$id": "24",
                                  "ID": 1,
                                  "DocumentTypeId": 2,
                                  "OriginalFileName": "sample string 3",
                                  "Name": "sample string 4",
                                  "Extension": "sample string 5",
                                  "SmallThumbnail": "sample string 6",
                                  "MediumThumbnail": "sample string 7",
                                  "LargeThumbnail": "sample string 8",
                                  "CreatedOn": "2025-12-11T02:26:06.0670918-05:00",
                                  "CreatedBy": 10,
                                  "IPAddress": "sample string 11",
                                  "Size": 1,
                                  "ProjectDocuments": [
                                    {
                                      "$id": "25",
                                      "ID": 1,
                                      "ProjectID": 2,
                                      "DocumentID": 1,
                                      "Document": {
                                        "$ref": "24"
                                      },
                                      "Project": {
                                        "$ref": "2"
                                      }
                                    },
                                    {
                                      "$ref": "25"
                                    }
                                  ],
                                  "DocumentType": {
                                    "$id": "26",
                                    "ID": 1,
                                    "Name": "sample string 2",
                                    "Icon": "sample string 3",
                                    "Sortno": 1,
                                    "ClientID": 4,
                                    "Documents": [
                                      {
                                        "$ref": "24"
                                      },
                                      {
                                        "$ref": "24"
                                      }
                                    ]
                                  },
                                  "EmailTemplateDocuments": [
                                    {
                                      "$id": "27",
                                      "ID": 1,
                                      "EmailTempID": 2,
                                      "DocumentID": 1,
                                      "Document": {
                                        "$ref": "24"
                                      },
                                      "EmailTemplate": {
                                        "$id": "28",
                                        "ID": 1,
                                        "Key": "sample string 2",
                                        "EmailSubject": "sample string 3",
                                        "EmailBody": "sample string 4",
                                        "AttachmentFile": "sample string 5",
                                        "ClientID": 6,
                                        "CreatedOn": "2025-12-11T02:26:06.0670918-05:00",
                                        "CreatedBy": 1,
                                        "EmailQueues": [
                                          {
                                            "$id": "29",
                                            "ID": 1,
                                            "TemplateID": 1,
                                            "Subject": "sample string 2",
                                            "Body": "sample string 3",
                                            "Attachment": "sample string 4",
                                            "Receiver": "sample string 5",
                                            "CreatedOn": "2025-12-11T02:26:06.0670918-05:00",
                                            "EmailTemplate": {
                                              "$ref": "28"
                                            }
                                          },
                                          {
                                            "$ref": "29"
                                          }
                                        ],
                                        "EmailTemplateDocuments": [
                                          {
                                            "$ref": "27"
                                          },
                                          {
                                            "$ref": "27"
                                          }
                                        ],
                                        "SystemUser": {
                                          "$ref": "7"
                                        }
                                      }
                                    },
                                    {
                                      "$ref": "27"
                                    }
                                  ],
                                  "PeopleDocuments": [
                                    {
                                      "$ref": "23"
                                    },
                                    {
                                      "$ref": "23"
                                    }
                                  ],
                                  "UserDocuments": [
                                    {
                                      "$id": "30",
                                      "ID": 1,
                                      "UID": 2,
                                      "DocumentID": 1,
                                      "Document": {
                                        "$ref": "24"
                                      }
                                    },
                                    {
                                      "$ref": "30"
                                    }
                                  ]
                                },
                                "Person": {
                                  "$ref": "17"
                                }
                              },
                              {
                                "$ref": "23"
                              }
                            ],
                            "ProjectPersons": [
                              {
                                "$id": "31",
                                "ID": 1,
                                "ProjectID": 1,
                                "PersonID": 1,
                                "Person": {
                                  "$ref": "17"
                                },
                                "Project": {
                                  "$ref": "2"
                                }
                              },
                              {
                                "$ref": "31"
                              }
                            ],
                            "ChannelPartnerMaster": {
                              "$id": "32",
                              "ID": 1,
                              "Name": "sample string 2",
                              "MobileNumber": "sample string 3",
                              "IsActive": true,
                              "CreatedOn": "2025-12-11T02:26:06.0827161-05:00",
                              "CreatedBy": 1,
                              "UpdatedOn": "2025-12-11T02:26:06.0827161-05:00",
                              "UpdatedBy": 1,
                              "Email": "sample string 6",
                              "Mobile2": "sample string 7",
                              "AadhaarNo": "sample string 8",
                              "PanNo": "sample string 9",
                              "FatherOrSpouseName": "sample string 10",
                              "Address": "sample string 11",
                              "DateOfBirth": "2025-12-11T02:26:06.0827161-05:00",
                              "NomineeName": "sample string 12",
                              "NomineeRelation": "sample string 13",
                              "IntroducerName": "sample string 14",
                              "IntroducerCode": "sample string 15",
                              "People": [
                                {
                                  "$ref": "17"
                                },
                                {
                                  "$ref": "17"
                                }
                              ],
                              "ChannelPartnerCommissions": [
                                {
                                  "$id": "33",
                                  "ID": 1,
                                  "ChannelPartnerID": 1,
                                  "ProjectNameID": 1,
                                  "PercentOfCommission": 1.0,
                                  "ChannelPartnerMaster": {
                                    "$ref": "32"
                                  },
                                  "ProjectNameMaster": {
                                    "$id": "34",
                                    "ID": 1,
                                    "ProjectName": "sample string 2",
                                    "CreatedOn": "2025-12-11T02:26:06.0827161-05:00",
                                    "CreatedBy": 1,
                                    "SortNum": 1,
                                    "ClientID": 3,
                                    "StartDate": "2025-12-11T02:26:06.0827161-05:00",
                                    "EndDate": "2025-12-11T02:26:06.0827161-05:00",
                                    "ProjectTypeId": 1,
                                    "ModifiedOn": "2025-12-11T02:26:06.0827161-05:00",
                                    "ModifiedBy": 1,
                                    "ProjectHeadId": 1,
                                    "ChannelPartnerCommissions": [
                                      {
                                        "$ref": "33"
                                      },
                                      {
                                        "$ref": "33"
                                      }
                                    ],
                                    "ProjectType": {
                                      "$id": "35",
                                      "ID": 1,
                                      "TypeName": "sample string 2",
                                      "ShowOnWebsite": true,
                                      "Sortnum": 1,
                                      "ClientID": 4,
                                      "Logo": "sample string 5",
                                      "CreatedOn": "2025-12-11T02:26:06.0827161-05:00",
                                      "CreatedBy": 1,
                                      "IsActive": true,
                                      "Projects": [
                                        {
                                          "$ref": "2"
                                        },
                                        {
                                          "$ref": "2"
                                        }
                                      ],
                                      "ProjectNameMasters": [
                                        {
                                          "$ref": "34"
                                        },
                                        {
                                          "$ref": "34"
                                        }
                                      ]
                                    },
                                    "SystemUser": {
                                      "$ref": "7"
                                    }
                                  }
                                },
                                {
                                  "$ref": "33"
                                }
                              ]
                            },
                            "Projects": [
                              {
                                "$ref": "2"
                              },
                              {
                                "$ref": "2"
                              }
                            ]
                          },
                          "Person1": {
                            "$ref": "17"
                          },
                          "Person2": {
                            "$ref": "17"
                          },
                          "Person3": {
                            "$ref": "17"
                          }
                        },
                        {
                          "$ref": "15"
                        }
                      ],
                      "OrganizationInstallers1": [
                        {
                          "$ref": "15"
                        },
                        {
                          "$ref": "15"
                        }
                      ],
                      "OrganizationInstallers2": [
                        {
                          "$ref": "15"
                        },
                        {
                          "$ref": "15"
                        }
                      ],
                      "OrganizationInstallers3": [
                        {
                          "$ref": "15"
                        },
                        {
                          "$ref": "15"
                        }
                      ],
                      "SystemUser": {
                        "$ref": "7"
                      },
                      "SystemUser1": {
                        "$ref": "7"
                      },
                      "People": [
                        {
                          "$ref": "17"
                        },
                        {
                          "$ref": "17"
                        }
                      ]
                    },
                    {
                      "$ref": "13"
                    }
                  ],
                  "SystemUsers": [
                    {
                      "$ref": "7"
                    },
                    {
                      "$ref": "7"
                    }
                  ]
                },
                "Designation": {
                  "$id": "36",
                  "ID": 1,
                  "DesignationName": "sample string 2",
                  "ClientID": 3,
                  "EmployeeMasters": [
                    {
                      "$id": "37",
                      "ID": 1,
                      "EmployeeID": "sample string 2",
                      "FirstName": "sample string 3",
                      "CreatedOn": "2025-12-11T02:26:06.0827161-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-11T02:26:06.0827161-05:00",
                      "UpdatedBy": 1,
                      "RoleID": 1,
                      "Designation": {
                        "$ref": "36"
                      },
                      "RoleMaster": {
                        "$id": "38",
                        "ID": 1,
                        "RoleName": "sample string 2",
                        "ClientID": 3,
                        "EmployeeMasters": [
                          {
                            "$ref": "37"
                          },
                          {
                            "$ref": "37"
                          }
                        ],
                        "RoleAcesses": [
                          {
                            "$id": "39",
                            "ID": 1,
                            "PageID": 1,
                            "RoleID": 1,
                            "Checked": true,
                            "PageMaster": {
                              "$id": "40",
                              "ID": 1,
                              "GroupID": 1,
                              "AccessName": "sample string 2",
                              "PageAccess_URL": "sample string 3",
                              "ToValidate": true,
                              "CreatedOn": "2025-12-11T02:26:06.0827161-05:00",
                              "PageGroupMaster": {
                                "$id": "41",
                                "ID": 1,
                                "GroupName": "sample string 2",
                                "PageMasters": [
                                  {
                                    "$ref": "40"
                                  },
                                  {
                                    "$ref": "40"
                                  }
                                ]
                              },
                              "RoleAcesses": [
                                {
                                  "$ref": "39"
                                },
                                {
                                  "$ref": "39"
                                }
                              ]
                            },
                            "RoleMaster": {
                              "$ref": "38"
                            }
                          },
                          {
                            "$ref": "39"
                          }
                        ]
                      },
                      "SystemUser": {
                        "$ref": "7"
                      }
                    },
                    {
                      "$ref": "37"
                    }
                  ],
                  "SystemUsers": [
                    {
                      "$ref": "7"
                    },
                    {
                      "$ref": "7"
                    }
                  ]
                },
                "Email_ClientUserGroup": [
                  {
                    "$id": "42",
                    "ID": 1,
                    "GroupName": "sample string 2",
                    "PeopleID": "sample string 3",
                    "SystemUserID": "sample string 4",
                    "CreatedOn": "2025-12-11T02:26:06.0827161-05:00",
                    "CreatedBy": 1,
                    "SystemUser": {
                      "$ref": "7"
                    }
                  },
                  {
                    "$ref": "42"
                  }
                ],
                "Email_SentEmails": [
                  {
                    "$ref": "3"
                  },
                  {
                    "$ref": "3"
                  }
                ],
                "Email_UserTypeMaster": [
                  {
                    "$id": "43",
                    "ID": 1,
                    "UserTypeName": "sample string 2",
                    "CreatedOn": "2025-12-11T02:26:06.0827161-05:00",
                    "CreatedBy": 1,
                    "Description": "sample string 3",
                    "SystemUser": {
                      "$ref": "7"
                    }
                  },
                  {
                    "$ref": "43"
                  }
                ],
                "EmailMasters": [
                  {
                    "$ref": "5"
                  },
                  {
                    "$ref": "5"
                  }
                ],
                "EmailTemplates": [
                  {
                    "$ref": "28"
                  },
                  {
                    "$ref": "28"
                  }
                ],
                "EmployeeMasters": [
                  {
                    "$ref": "37"
                  },
                  {
                    "$ref": "37"
                  }
                ],
                "Organizations": [
                  {
                    "$ref": "13"
                  },
                  {
                    "$ref": "13"
                  }
                ],
                "Organizations1": [
                  {
                    "$ref": "13"
                  },
                  {
                    "$ref": "13"
                  }
                ],
                "PriorityMasters": [
                  {
                    "$id": "44",
                    "ID": 1,
                    "Priority": "sample string 2",
                    "ColorCode": "sample string 3",
                    "CreatedOn": "2025-12-11T02:26:06.0827161-05:00",
                    "CreatedBy": 1,
                    "ClientID": 1,
                    "TaskDetails": [
                      {
                        "$id": "45",
                        "ID": 1,
                        "Description": "sample string 2",
                        "ProjectID": 1,
                        "TaskDateTime": "2025-12-11T02:26:06.0827161-05:00",
                        "ClosedDateTime": "2025-12-11T02:26:06.0827161-05:00",
                        "CreatedOn": "2025-12-11T02:26:06.0827161-05:00",
                        "CreatedBy": 4,
                        "Isclosed": true,
                        "UserID": 1,
                        "Title": "sample string 6",
                        "PriorityID": 1,
                        "Remark": "sample string 7",
                        "PriorityMaster": {
                          "$ref": "44"
                        },
                        "SystemUser": {
                          "$ref": "7"
                        },
                        "Project": {
                          "$ref": "2"
                        }
                      },
                      {
                        "$ref": "45"
                      }
                    ],
                    "SystemUser": {
                      "$ref": "7"
                    }
                  },
                  {
                    "$ref": "44"
                  }
                ],
                "UserSalaries": [
                  {
                    "$id": "46",
                    "ID": 1,
                    "UserID": 2,
                    "Salary": 1.0,
                    "SystemUser": {
                      "$ref": "7"
                    }
                  },
                  {
                    "$ref": "46"
                  }
                ],
                "TaskDetails": [
                  {
                    "$ref": "45"
                  },
                  {
                    "$ref": "45"
                  }
                ],
                "Visitors": [
                  {
                    "$id": "47",
                    "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-11T02:26:06.0827161-05:00",
                    "CreatedBy": 10,
                    "SystemUser": {
                      "$ref": "7"
                    }
                  },
                  {
                    "$ref": "47"
                  }
                ],
                "People": [
                  {
                    "$ref": "17"
                  },
                  {
                    "$ref": "17"
                  }
                ],
                "People1": [
                  {
                    "$ref": "17"
                  },
                  {
                    "$ref": "17"
                  }
                ],
                "Projects": [
                  {
                    "$ref": "2"
                  },
                  {
                    "$ref": "2"
                  }
                ],
                "ProjectNameMasters": [
                  {
                    "$ref": "34"
                  },
                  {
                    "$ref": "34"
                  }
                ]
              }
            },
            "FrequencyMaster": {
              "$ref": "6"
            },
            "Email_SentEmails": [
              {
                "$ref": "3"
              },
              {
                "$ref": "3"
              }
            ]
          },
          "EmailMaster": {
            "$ref": "5"
          },
          "SystemUser": {
            "$ref": "7"
          },
          "Person": {
            "$ref": "17"
          },
          "Project": {
            "$ref": "2"
          }
        },
        {
          "$ref": "3"
        }
      ],
      "Person": {
        "$ref": "17"
      },
      "SystemUser": {
        "$ref": "7"
      },
      "ProjectType": {
        "$ref": "35"
      },
      "UnitMaster": {
        "$ref": "1"
      },
      "ProjectDocuments": [
        {
          "$ref": "25"
        },
        {
          "$ref": "25"
        }
      ],
      "ProjectFollowUps": [
        {
          "$ref": "19"
        },
        {
          "$ref": "19"
        }
      ],
      "ProjectNotes": [
        {
          "$id": "48",
          "ID": 1,
          "PID": 1,
          "Note": "sample string 2",
          "CreatedOn": "2025-12-11T02:26:06.0827161-05:00",
          "CreatedBy": "sample string 3",
          "Project": {
            "$ref": "2"
          }
        },
        {
          "$ref": "48"
        }
      ],
      "ProjectPersons": [
        {
          "$ref": "31"
        },
        {
          "$ref": "31"
        }
      ],
      "TaskDetails": [
        {
          "$ref": "45"
        },
        {
          "$ref": "45"
        }
      ]
    },
    {
      "$ref": "2"
    }
  ]
}

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 'MF.Models.EmailMaster' 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 'MF.Models.EmailMaster' 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 'UnitMaster'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.