POST Vendors/PutVendor/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

VendorTable
NameDescriptionTypeAdditional information
id

integer

None.

name

string

None.

agencyId

integer

None.

contactPerson

string

None.

email

string

None.

phone

string

None.

city

string

None.

address

string

None.

licenseNo

string

None.

commissionRate

decimal number

None.

status

integer

None.

ExpensesTables

Collection of ExpensesTable

None.

AgencyTable

AgencyTable

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "name": "sample string 2",
  "agencyId": 1,
  "contactPerson": "sample string 3",
  "email": "sample string 4",
  "phone": "sample string 5",
  "city": "sample string 6",
  "address": "sample string 7",
  "licenseNo": "sample string 8",
  "commissionRate": 1.0,
  "status": 1,
  "ExpensesTables": [
    {
      "id": 1,
      "agencyid": 1,
      "expid": 1,
      "expdate": "2025-11-21T16:53:01.2868716-08:00",
      "amount": 1.0,
      "empid": 1,
      "exptype": 1,
      "vendorid": 1,
      "description": "sample string 2",
      "ExpenseType": {
        "id": 1,
        "name": "sample string 2",
        "ExpensesTables": []
      }
    },
    {
      "id": 1,
      "agencyid": 1,
      "expid": 1,
      "expdate": "2025-11-21T16:53:01.2868716-08:00",
      "amount": 1.0,
      "empid": 1,
      "exptype": 1,
      "vendorid": 1,
      "description": "sample string 2",
      "ExpenseType": {
        "id": 1,
        "name": "sample string 2",
        "ExpensesTables": []
      }
    }
  ],
  "AgencyTable": {
    "agencyid": 1,
    "Agency_Descrip": "sample string 2",
    "agencyname": "sample string 3",
    "agencylogo": "sample string 4",
    "agencywatermark": "sample string 5",
    "agencywatermarksize": 1,
    "agencytransparency": 1,
    "agencywatermarkposition": 1,
    "agencyregno": "sample string 6",
    "licenseno": "sample string 7",
    "agencylicensepic": "sample string 8",
    "issuedate": "2025-11-21T16:53:01.2868716-08:00",
    "expdate": "2025-11-21T16:53:01.2868716-08:00",
    "agencyphone": "sample string 9",
    "agencyuan": "sample string 10",
    "agencyemail": "sample string 11",
    "agencypassword": "sample string 12",
    "agencyaddress": "sample string 13",
    "agencyjoindate": "2025-11-21T16:53:01.2868716-08:00",
    "agencystatus": 1,
    "cityid": 1,
    "adminid": 1,
    "refnostartingprop": 1,
    "agcRefTag": "sample string 14",
    "adsLimit": 1,
    "confirmationToken": "sample string 15",
    "ofcLat": 1.0,
    "ofcLong": 1.0,
    "listingcount": 1,
    "usercount": 1,
    "added_adrec": "sample string 16",
    "AdminTable": {
      "adminid": 1,
      "adminname": "sample string 2",
      "adminnic": "sample string 3",
      "adminpassword": "sample string 4",
      "adminemail": "sample string 5",
      "AgencyTables": []
    },
    "CityTable": {
      "cityid": 1,
      "cityname": "sample string 2",
      "provid": 1,
      "countryid": 1,
      "ProvinceTable": {
        "provid": 1,
        "provname": "sample string 2",
        "countryid": 1,
        "CityTables": [],
        "CountryTable": {
          "countryid": 1,
          "countryname": "sample string 2",
          "ProvinceTables": []
        }
      },
      "UserProfiles": [
        {
          "userid": 1,
          "firstname": "sample string 2",
          "lastname": "sample string 3",
          "password": "sample string 4",
          "userphone": "sample string 5",
          "useremail": "sample string 6",
          "useractivestatus": true,
          "userjoindate": "2025-11-21T16:53:01.2868716-08:00",
          "userpicture": "sample string 7",
          "fathername": "sample string 8",
          "cityid": 1,
          "resetToken": "sample string 9",
          "userPortal": "sample string 10",
          "usercnic": "sample string 11",
          "agencyid": 1,
          "SavedProperties": [
            {
              "savepropertyid": 1,
              "userid": 1,
              "propertyid": 1
            },
            {
              "savepropertyid": 1,
              "userid": 1,
              "propertyid": 1
            }
          ]
        },
        {
          "userid": 1,
          "firstname": "sample string 2",
          "lastname": "sample string 3",
          "password": "sample string 4",
          "userphone": "sample string 5",
          "useremail": "sample string 6",
          "useractivestatus": true,
          "userjoindate": "2025-11-21T16:53:01.2868716-08:00",
          "userpicture": "sample string 7",
          "fathername": "sample string 8",
          "cityid": 1,
          "resetToken": "sample string 9",
          "userPortal": "sample string 10",
          "usercnic": "sample string 11",
          "agencyid": 1,
          "SavedProperties": [
            {
              "savepropertyid": 1,
              "userid": 1,
              "propertyid": 1
            },
            {
              "savepropertyid": 1,
              "userid": 1,
              "propertyid": 1
            }
          ]
        }
      ],
      "AgencyTables": [],
      "PropertyTables": [
        {
          "propertyid": 1,
          "saluation": "sample string 2",
          "ownfirstname": "sample string 3",
          "ownlastname": "sample string 4",
          "ownemail": "sample string 5",
          "mobileno": "sample string 6",
          "ownrole": 1,
          "duration": 1,
          "nationality": "sample string 7",
          "isverified": true,
          "propertytitle": "sample string 8",
          "propertyprice": 1,
          "securityfee": 1,
          "percentage": 1.1,
          "commission": 1.1,
          "propertyrefnum": "sample string 9",
          "propertytypeid": 10,
          "propertysizekanal": 1.1,
          "propertysizemarla": 1.1,
          "propertysizesqft": 1.1,
          "propertysizeSqmt": 1.1,
          "propertysizeSqyd": 1.1,
          "buildingno": 1,
          "unitno": 1,
          "bedrooms": 1,
          "bathrooms": 1,
          "propertyaddress": "sample string 11",
          "coordinates": "sample string 12",
          "publisheddate": "2025-11-21T16:53:01.2879212-08:00",
          "propertydescription": "sample string 13",
          "cityid": 1,
          "agentid": 1,
          "propertypurposeid": 1,
          "pstatus": 1,
          "propertyvideos": "sample string 14",
          "sublocid": 1,
          "documentfile": "sample string 15",
          "verificationDoc": "sample string 16",
          "notes": "sample string 17",
          "buildingname": "sample string 18",
          "offPlan": 1,
          "furnished": 1,
          "floorPlan": "sample string 19",
          "propertyCoveredArea": 1.1,
          "cheques": 1,
          "lastUpdated": "2025-11-21T16:53:01.2879212-08:00",
          "viewsCount": 1,
          "agencyid": 1,
          "permitno": "sample string 20",
          "Prop_Amen": [
            {
              "propamenid": 1,
              "propertyid": 1,
              "amenitiesid": 1,
              "Amenity": {
                "amenitiesid": 1,
                "amenities": "sample string 2",
                "Prop_Amen": []
              }
            },
            {
              "propamenid": 1,
              "propertyid": 1,
              "amenitiesid": 1,
              "Amenity": {
                "amenitiesid": 1,
                "amenities": "sample string 2",
                "Prop_Amen": []
              }
            }
          ],
          "PropertyImagesTables": [
            {
              "propertyimageid": 1,
              "propertyimages": "sample string 2",
              "propertyid": 1,
              "tag": "sample string 3",
              "imglogo": "sample string 4",
              "imgnologo": "sample string 5",
              "imgindex": "sample string 6"
            },
            {
              "propertyimageid": 1,
              "propertyimages": "sample string 2",
              "propertyid": 1,
              "tag": "sample string 3",
              "imglogo": "sample string 4",
              "imgnologo": "sample string 5",
              "imgindex": "sample string 6"
            }
          ],
          "PropertyPurpose": {
            "propertypurposeid": 1,
            "propertypurpose1": "sample string 2",
            "slug": "sample string 3",
            "PropertyTables": []
          },
          "PropertyType": {
            "propertytypeid": 1,
            "propertytype1": "sample string 2",
            "slug": "sample string 3",
            "description": "sample string 4",
            "PropertyTables": []
          }
        },
        {
          "propertyid": 1,
          "saluation": "sample string 2",
          "ownfirstname": "sample string 3",
          "ownlastname": "sample string 4",
          "ownemail": "sample string 5",
          "mobileno": "sample string 6",
          "ownrole": 1,
          "duration": 1,
          "nationality": "sample string 7",
          "isverified": true,
          "propertytitle": "sample string 8",
          "propertyprice": 1,
          "securityfee": 1,
          "percentage": 1.1,
          "commission": 1.1,
          "propertyrefnum": "sample string 9",
          "propertytypeid": 10,
          "propertysizekanal": 1.1,
          "propertysizemarla": 1.1,
          "propertysizesqft": 1.1,
          "propertysizeSqmt": 1.1,
          "propertysizeSqyd": 1.1,
          "buildingno": 1,
          "unitno": 1,
          "bedrooms": 1,
          "bathrooms": 1,
          "propertyaddress": "sample string 11",
          "coordinates": "sample string 12",
          "publisheddate": "2025-11-21T16:53:01.2879212-08:00",
          "propertydescription": "sample string 13",
          "cityid": 1,
          "agentid": 1,
          "propertypurposeid": 1,
          "pstatus": 1,
          "propertyvideos": "sample string 14",
          "sublocid": 1,
          "documentfile": "sample string 15",
          "verificationDoc": "sample string 16",
          "notes": "sample string 17",
          "buildingname": "sample string 18",
          "offPlan": 1,
          "furnished": 1,
          "floorPlan": "sample string 19",
          "propertyCoveredArea": 1.1,
          "cheques": 1,
          "lastUpdated": "2025-11-21T16:53:01.2879212-08:00",
          "viewsCount": 1,
          "agencyid": 1,
          "permitno": "sample string 20",
          "Prop_Amen": [
            {
              "propamenid": 1,
              "propertyid": 1,
              "amenitiesid": 1,
              "Amenity": {
                "amenitiesid": 1,
                "amenities": "sample string 2",
                "Prop_Amen": []
              }
            },
            {
              "propamenid": 1,
              "propertyid": 1,
              "amenitiesid": 1,
              "Amenity": {
                "amenitiesid": 1,
                "amenities": "sample string 2",
                "Prop_Amen": []
              }
            }
          ],
          "PropertyImagesTables": [
            {
              "propertyimageid": 1,
              "propertyimages": "sample string 2",
              "propertyid": 1,
              "tag": "sample string 3",
              "imglogo": "sample string 4",
              "imgnologo": "sample string 5",
              "imgindex": "sample string 6"
            },
            {
              "propertyimageid": 1,
              "propertyimages": "sample string 2",
              "propertyid": 1,
              "tag": "sample string 3",
              "imglogo": "sample string 4",
              "imgnologo": "sample string 5",
              "imgindex": "sample string 6"
            }
          ],
          "PropertyPurpose": {
            "propertypurposeid": 1,
            "propertypurpose1": "sample string 2",
            "slug": "sample string 3",
            "PropertyTables": []
          },
          "PropertyType": {
            "propertytypeid": 1,
            "propertytype1": "sample string 2",
            "slug": "sample string 3",
            "description": "sample string 4",
            "PropertyTables": []
          }
        }
      ]
    },
    "AgentTables": [
      {
        "agentid": 1,
        "agencyid": 1,
        "agentregno": "sample string 2",
        "firstName": "sample string 3",
        "lastName": "sample string 4",
        "agentemail": "sample string 5",
        "agentpassword": "sample string 6",
        "agentphone": "sample string 7",
        "agentdescription": "sample string 8",
        "agentcareerstarting": "2025-11-21T16:53:01.2879212-08:00",
        "agentactivelistings": 1,
        "cityid": 1,
        "agentimage": "sample string 9",
        "areas": "sample string 10",
        "issuperagent": true,
        "nationality": 1,
        "nicimg": "sample string 11",
        "status": 1,
        "agentFatherName": "sample string 12",
        "agentExperience": 1.1,
        "cnic": "sample string 13",
        "roleId": 1,
        "agentjoiningdate": "2025-11-21T16:53:01.2879212-08:00",
        "baseSalary": 1.0,
        "passportimg": "sample string 14",
        "contractpdf": "sample string 15",
        "idissuedate": "2025-11-21T16:53:01.2879212-08:00",
        "idexpdate": "2025-11-21T16:53:01.2879212-08:00",
        "passportissuedate": "2025-11-21T16:53:01.2879212-08:00",
        "passportexpdate": "2025-11-21T16:53:01.2879212-08:00",
        "brokerLicense": "sample string 16",
        "AdvanceSalaryTables": [
          {
            "AdvanceId": 1,
            "AgentId": 1,
            "Amount": 1.0,
            "RequestDate": "2025-11-21T16:53:01.2879212-08:00",
            "ApprovedDate": "2025-11-21T16:53:01.2879212-08:00",
            "Status": 1,
            "DeductionMonth": "2025-11-21T16:53:01.2879212-08:00",
            "Notes": "sample string 2",
            "Agencyid": 1
          },
          {
            "AdvanceId": 1,
            "AgentId": 1,
            "Amount": 1.0,
            "RequestDate": "2025-11-21T16:53:01.2879212-08:00",
            "ApprovedDate": "2025-11-21T16:53:01.2879212-08:00",
            "Status": 1,
            "DeductionMonth": "2025-11-21T16:53:01.2879212-08:00",
            "Notes": "sample string 2",
            "Agencyid": 1
          }
        ],
        "AgentSalaries": [
          {
            "SalaryId": 1,
            "AgentId": 2,
            "BaseSalary": 3.0,
            "Bonus": 1.0,
            "Commission": 1.0,
            "Allowances": 1.0,
            "Deductions": 1.0,
            "Overtime": 1.0,
            "AdvanceDeductions": 1.0,
            "DueAmount": 1.0,
            "NetSalary": 1.0,
            "MonthYear": "2025-11-21T16:53:01.2879212-08:00",
            "PaymentStatus": "sample string 4",
            "PaidDate": "2025-11-21T16:53:01.2879212-08:00",
            "Userid": 1,
            "AgencyId": 1,
            "Balance": 1.0
          },
          {
            "SalaryId": 1,
            "AgentId": 2,
            "BaseSalary": 3.0,
            "Bonus": 1.0,
            "Commission": 1.0,
            "Allowances": 1.0,
            "Deductions": 1.0,
            "Overtime": 1.0,
            "AdvanceDeductions": 1.0,
            "DueAmount": 1.0,
            "NetSalary": 1.0,
            "MonthYear": "2025-11-21T16:53:01.2879212-08:00",
            "PaymentStatus": "sample string 4",
            "PaidDate": "2025-11-21T16:53:01.2879212-08:00",
            "Userid": 1,
            "AgencyId": 1,
            "Balance": 1.0
          }
        ],
        "AttendanceTables": [
          {
            "id": 1,
            "agentid": 1,
            "agencyid": 1,
            "atDate": "2025-11-21T16:53:01.2879212-08:00",
            "geopoint": "sample string 2",
            "status": 1,
            "intime": "2025-11-21T16:53:01.2879212-08:00",
            "outime": "2025-11-21T16:53:01.2879212-08:00",
            "deduction": 1.0,
            "overtime": 1.0,
            "attendancemethod": 1
          },
          {
            "id": 1,
            "agentid": 1,
            "agencyid": 1,
            "atDate": "2025-11-21T16:53:01.2879212-08:00",
            "geopoint": "sample string 2",
            "status": 1,
            "intime": "2025-11-21T16:53:01.2879212-08:00",
            "outime": "2025-11-21T16:53:01.2879212-08:00",
            "deduction": 1.0,
            "overtime": 1.0,
            "attendancemethod": 1
          }
        ],
        "languagelists": [
          {
            "langlistid": 1,
            "languageid": 1,
            "agentid": 1,
            "AgentLanguage": {
              "languageid": 1,
              "languages": "sample string 2",
              "languagelists": []
            }
          },
          {
            "langlistid": 1,
            "languageid": 1,
            "agentid": 1,
            "AgentLanguage": {
              "languageid": 1,
              "languages": "sample string 2",
              "languagelists": []
            }
          }
        ]
      },
      {
        "agentid": 1,
        "agencyid": 1,
        "agentregno": "sample string 2",
        "firstName": "sample string 3",
        "lastName": "sample string 4",
        "agentemail": "sample string 5",
        "agentpassword": "sample string 6",
        "agentphone": "sample string 7",
        "agentdescription": "sample string 8",
        "agentcareerstarting": "2025-11-21T16:53:01.2879212-08:00",
        "agentactivelistings": 1,
        "cityid": 1,
        "agentimage": "sample string 9",
        "areas": "sample string 10",
        "issuperagent": true,
        "nationality": 1,
        "nicimg": "sample string 11",
        "status": 1,
        "agentFatherName": "sample string 12",
        "agentExperience": 1.1,
        "cnic": "sample string 13",
        "roleId": 1,
        "agentjoiningdate": "2025-11-21T16:53:01.2879212-08:00",
        "baseSalary": 1.0,
        "passportimg": "sample string 14",
        "contractpdf": "sample string 15",
        "idissuedate": "2025-11-21T16:53:01.2879212-08:00",
        "idexpdate": "2025-11-21T16:53:01.2879212-08:00",
        "passportissuedate": "2025-11-21T16:53:01.2879212-08:00",
        "passportexpdate": "2025-11-21T16:53:01.2879212-08:00",
        "brokerLicense": "sample string 16",
        "AdvanceSalaryTables": [
          {
            "AdvanceId": 1,
            "AgentId": 1,
            "Amount": 1.0,
            "RequestDate": "2025-11-21T16:53:01.2879212-08:00",
            "ApprovedDate": "2025-11-21T16:53:01.2879212-08:00",
            "Status": 1,
            "DeductionMonth": "2025-11-21T16:53:01.2879212-08:00",
            "Notes": "sample string 2",
            "Agencyid": 1
          },
          {
            "AdvanceId": 1,
            "AgentId": 1,
            "Amount": 1.0,
            "RequestDate": "2025-11-21T16:53:01.2879212-08:00",
            "ApprovedDate": "2025-11-21T16:53:01.2879212-08:00",
            "Status": 1,
            "DeductionMonth": "2025-11-21T16:53:01.2879212-08:00",
            "Notes": "sample string 2",
            "Agencyid": 1
          }
        ],
        "AgentSalaries": [
          {
            "SalaryId": 1,
            "AgentId": 2,
            "BaseSalary": 3.0,
            "Bonus": 1.0,
            "Commission": 1.0,
            "Allowances": 1.0,
            "Deductions": 1.0,
            "Overtime": 1.0,
            "AdvanceDeductions": 1.0,
            "DueAmount": 1.0,
            "NetSalary": 1.0,
            "MonthYear": "2025-11-21T16:53:01.2879212-08:00",
            "PaymentStatus": "sample string 4",
            "PaidDate": "2025-11-21T16:53:01.2879212-08:00",
            "Userid": 1,
            "AgencyId": 1,
            "Balance": 1.0
          },
          {
            "SalaryId": 1,
            "AgentId": 2,
            "BaseSalary": 3.0,
            "Bonus": 1.0,
            "Commission": 1.0,
            "Allowances": 1.0,
            "Deductions": 1.0,
            "Overtime": 1.0,
            "AdvanceDeductions": 1.0,
            "DueAmount": 1.0,
            "NetSalary": 1.0,
            "MonthYear": "2025-11-21T16:53:01.2879212-08:00",
            "PaymentStatus": "sample string 4",
            "PaidDate": "2025-11-21T16:53:01.2879212-08:00",
            "Userid": 1,
            "AgencyId": 1,
            "Balance": 1.0
          }
        ],
        "AttendanceTables": [
          {
            "id": 1,
            "agentid": 1,
            "agencyid": 1,
            "atDate": "2025-11-21T16:53:01.2879212-08:00",
            "geopoint": "sample string 2",
            "status": 1,
            "intime": "2025-11-21T16:53:01.2879212-08:00",
            "outime": "2025-11-21T16:53:01.2879212-08:00",
            "deduction": 1.0,
            "overtime": 1.0,
            "attendancemethod": 1
          },
          {
            "id": 1,
            "agentid": 1,
            "agencyid": 1,
            "atDate": "2025-11-21T16:53:01.2879212-08:00",
            "geopoint": "sample string 2",
            "status": 1,
            "intime": "2025-11-21T16:53:01.2879212-08:00",
            "outime": "2025-11-21T16:53:01.2879212-08:00",
            "deduction": 1.0,
            "overtime": 1.0,
            "attendancemethod": 1
          }
        ],
        "languagelists": [
          {
            "langlistid": 1,
            "languageid": 1,
            "agentid": 1,
            "AgentLanguage": {
              "languageid": 1,
              "languages": "sample string 2",
              "languagelists": []
            }
          },
          {
            "langlistid": 1,
            "languageid": 1,
            "agentid": 1,
            "AgentLanguage": {
              "languageid": 1,
              "languages": "sample string 2",
              "languagelists": []
            }
          }
        ]
      }
    ],
    "FacebookForms": [
      {
        "Id": 1,
        "PageId": "sample string 2",
        "FormId": "sample string 3",
        "FormName": "sample string 4",
        "AgencyId": 1
      },
      {
        "Id": 1,
        "PageId": "sample string 2",
        "FormId": "sample string 3",
        "FormName": "sample string 4",
        "AgencyId": 1
      }
    ],
    "FacebookPages": [
      {
        "Id": 1,
        "AgencyId": 1,
        "PageId": "sample string 2",
        "PageName": "sample string 3",
        "PageAccessToken": "sample string 4",
        "ConnectedAt": "2025-11-21T16:53:01.2879212-08:00"
      },
      {
        "Id": 1,
        "AgencyId": 1,
        "PageId": "sample string 2",
        "PageName": "sample string 3",
        "PageAccessToken": "sample string 4",
        "ConnectedAt": "2025-11-21T16:53:01.2879212-08:00"
      }
    ],
    "LeadTablePermissions": [
      {
        "Id": 1,
        "agencyid": 2,
        "role": 3,
        "firstname": true,
        "lastname": true,
        "history": true,
        "propertydata": true,
        "description": true,
        "leadtype": true,
        "leadTime": true,
        "lastUpdatedDate": true,
        "leadTag": true,
        "leadStatus": true,
        "source": true,
        "medium": true,
        "priority": true,
        "companyName": true,
        "designation": true,
        "budget": true,
        "location": true,
        "leadSerialNo": true,
        "propertyRefNo": true,
        "societyName": true,
        "fileNo": true,
        "block": true,
        "plotNo": true,
        "plotSize": true,
        "propertyType": true,
        "additionalNo": true,
        "email": true,
        "membershipId": true,
        "type": true,
        "whatsappNo": true,
        "moreinfo": true,
        "RoleTable": {
          "roleId": 1,
          "roleName": "sample string 2",
          "LeadTablePermissions": []
        }
      },
      {
        "Id": 1,
        "agencyid": 2,
        "role": 3,
        "firstname": true,
        "lastname": true,
        "history": true,
        "propertydata": true,
        "description": true,
        "leadtype": true,
        "leadTime": true,
        "lastUpdatedDate": true,
        "leadTag": true,
        "leadStatus": true,
        "source": true,
        "medium": true,
        "priority": true,
        "companyName": true,
        "designation": true,
        "budget": true,
        "location": true,
        "leadSerialNo": true,
        "propertyRefNo": true,
        "societyName": true,
        "fileNo": true,
        "block": true,
        "plotNo": true,
        "plotSize": true,
        "propertyType": true,
        "additionalNo": true,
        "email": true,
        "membershipId": true,
        "type": true,
        "whatsappNo": true,
        "moreinfo": true,
        "RoleTable": {
          "roleId": 1,
          "roleName": "sample string 2",
          "LeadTablePermissions": []
        }
      }
    ],
    "PackagePurchaseDetails": [
      {
        "id": 1,
        "pkgid": 1,
        "agencyid": 1,
        "purchaseDate": "2025-11-21T16:53:01.2879212-08:00",
        "purchaseSource": 1,
        "PackageDetail": {
          "id": 1,
          "name": "sample string 2",
          "countryid": 1,
          "amount": 1.0,
          "description": "sample string 3",
          "addcount": 1,
          "usercount": 1,
          "offamount": 1.0,
          "PackagePurchaseDetails": []
        }
      },
      {
        "id": 1,
        "pkgid": 1,
        "agencyid": 1,
        "purchaseDate": "2025-11-21T16:53:01.2879212-08:00",
        "purchaseSource": 1,
        "PackageDetail": {
          "id": 1,
          "name": "sample string 2",
          "countryid": 1,
          "amount": 1.0,
          "description": "sample string 3",
          "addcount": 1,
          "usercount": 1,
          "offamount": 1.0,
          "PackagePurchaseDetails": []
        }
      }
    ],
    "TableRights": [
      {
        "rightId": 1,
        "roleId": 1,
        "agencyId": 1,
        "addProperty": true,
        "viewProperty": true,
        "updateProperty": true,
        "addLead": true,
        "updateLead": true,
        "genLead": true,
        "genVoucher": true,
        "viewContacts": true,
        "viewAccounts": true,
        "salesTarget": true,
        "agentid": 1,
        "viewlead": true,
        "assigntask": true,
        "assignlead": true,
        "uploadleads": true,
        "addstaff": true,
        "viewpool": true,
        "viewalltask": true,
        "viewalllead": true,
        "smssending": true,
        "emailsending": true,
        "propertylocation": true,
        "ownercontact": true
      },
      {
        "rightId": 1,
        "roleId": 1,
        "agencyId": 1,
        "addProperty": true,
        "viewProperty": true,
        "updateProperty": true,
        "addLead": true,
        "updateLead": true,
        "genLead": true,
        "genVoucher": true,
        "viewContacts": true,
        "viewAccounts": true,
        "salesTarget": true,
        "agentid": 1,
        "viewlead": true,
        "assigntask": true,
        "assignlead": true,
        "uploadleads": true,
        "addstaff": true,
        "viewpool": true,
        "viewalltask": true,
        "viewalllead": true,
        "smssending": true,
        "emailsending": true,
        "propertylocation": true,
        "ownercontact": true
      }
    ],
    "TaskTables": [
      {
        "taskId": 1,
        "senderAgent": 1,
        "receiverAgent": 1,
        "description": "sample string 2",
        "status": 1,
        "taskReceivedDate": "2025-11-21T16:53:01.2879212-08:00",
        "taskCompletedDate": "2025-11-21T16:53:01.2879212-08:00",
        "agencyId": 1,
        "deadLine": "2025-11-21T16:53:01.2879212-08:00"
      },
      {
        "taskId": 1,
        "senderAgent": 1,
        "receiverAgent": 1,
        "description": "sample string 2",
        "status": 1,
        "taskReceivedDate": "2025-11-21T16:53:01.2879212-08:00",
        "taskCompletedDate": "2025-11-21T16:53:01.2879212-08:00",
        "agencyId": 1,
        "deadLine": "2025-11-21T16:53:01.2879212-08:00"
      }
    ],
    "VendorTables": []
  }
}

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 'projectalminha.Models.AdminTable' 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 'projectalminha.Models.AdminTable' 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 'VendorTable'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.