GET api/WorldsGreatestBonus/GetReportDatesInAgency?officeId={officeId}&date={date}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
officeId

integer

Required

date

string

Required

Body Parameters

None.

Response Information

Resource Description

WorldsGreatestBonusDTO
NameDescriptionTypeAdditional information
DateAndBonus

Collection of SupportModelForWorldsGreatestBonusDTO

None.

OfficeList

Collection of OfficeDTO

None.

ReportDates

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "DateAndBonus": [
    {
      "date": "2025-10-14T02:44:45.8934695-07:00",
      "BonusPercentage": 1.0,
      "AgentName": "sample string 2",
      "AgentCode": "sample string 3",
      "Amount": 4.0
    },
    {
      "date": "2025-10-14T02:44:45.8934695-07:00",
      "BonusPercentage": 1.0,
      "AgentName": "sample string 2",
      "AgentCode": "sample string 3",
      "Amount": 4.0
    }
  ],
  "OfficeList": [
    {
      "TotalGroupLeadCount": "sample string 1",
      "groupName": "sample string 2",
      "groupCode": "sample string 3",
      "OfficeId": 4,
      "AgencyId": 5,
      "AgencyName": "sample string 6",
      "OfficeName": "sample string 7",
      "Phone": "sample string 8",
      "FormattedPhone": "sample string 8",
      "Address": "sample string 9",
      "FullAddress": "sample string 9, sample string 14, sample string 12, sample string 15, sample string 17",
      "StateId": 10,
      "StateName": "sample string 11",
      "StateCode": "sample string 12",
      "CityId": 13,
      "CityName": "sample string 14",
      "Zip": "sample string 15",
      "CountryId": 16,
      "CountryName": "sample string 17",
      "GeoAddress": "sample string 18",
      "Lat": 19.1,
      "Lng": 20.1,
      "CreatedById": 21,
      "UpdatedById": 22,
      "isDisable": true,
      "TotalLeadCount": 24,
      "TotalAssignedLeadCount": 25,
      "TotalLeadOnHandCount": 26,
      "Default": true,
      "RowIndex": 28,
      "ClientTimeZone": 1,
      "LeadAssigmentSummary": [
        {
          "AssociateContractId": 1,
          "AssociateId": 2,
          "AssociateName": "sample string 3",
          "TotalLeadsAssigned": 4,
          "NumberOfLeadsToAssign": 5,
          "Zip": "sample string 6",
          "CityName": "sample string 7",
          "LeadBankCharge": {
            "InTown": {
              "ChargeableCount": 1,
              "NonChargeableCount": 2
            },
            "RoadTrip": {
              "ChargeableCount": 1,
              "NonChargeableCount": 2
            },
            "LapsePool": {
              "ChargeableCount": 1,
              "NonChargeableCount": 2
            },
            "ListPool": {
              "ChargeableCount": 1,
              "NonChargeableCount": 2
            }
          },
          "LeadOriginTotal": {
            "ResponseCard": 1,
            "Referral": 2,
            "POS": 3,
            "ListLead": 4
          },
          "AssignedLeadsDetail": [
            {
              "Zip": "sample string 1",
              "CityName": "sample string 2",
              "LeadOriginTotal": {
                "ResponseCard": 1,
                "Referral": 2,
                "POS": 3,
                "ListLead": 4
              }
            },
            {
              "Zip": "sample string 1",
              "CityName": "sample string 2",
              "LeadOriginTotal": {
                "ResponseCard": 1,
                "Referral": 2,
                "POS": 3,
                "ListLead": 4
              }
            }
          ]
        },
        {
          "AssociateContractId": 1,
          "AssociateId": 2,
          "AssociateName": "sample string 3",
          "TotalLeadsAssigned": 4,
          "NumberOfLeadsToAssign": 5,
          "Zip": "sample string 6",
          "CityName": "sample string 7",
          "LeadBankCharge": {
            "InTown": {
              "ChargeableCount": 1,
              "NonChargeableCount": 2
            },
            "RoadTrip": {
              "ChargeableCount": 1,
              "NonChargeableCount": 2
            },
            "LapsePool": {
              "ChargeableCount": 1,
              "NonChargeableCount": 2
            },
            "ListPool": {
              "ChargeableCount": 1,
              "NonChargeableCount": 2
            }
          },
          "LeadOriginTotal": {
            "ResponseCard": 1,
            "Referral": 2,
            "POS": 3,
            "ListLead": 4
          },
          "AssignedLeadsDetail": [
            {
              "Zip": "sample string 1",
              "CityName": "sample string 2",
              "LeadOriginTotal": {
                "ResponseCard": 1,
                "Referral": 2,
                "POS": 3,
                "ListLead": 4
              }
            },
            {
              "Zip": "sample string 1",
              "CityName": "sample string 2",
              "LeadOriginTotal": {
                "ResponseCard": 1,
                "Referral": 2,
                "POS": 3,
                "ListLead": 4
              }
            }
          ]
        }
      ],
      "IsPosCertificate": true,
      "IsCertificate": true,
      "IsFreshen": true,
      "IsPreApproch": true,
      "IsGroupDatasheet": true,
      "IsCorporate": true,
      "HasOfficeGeoCoded": true,
      "SplittedOfficeName": "sample string 7",
      "UserRoleDictionary": {
        "1": 2,
        "3": 4
      },
      "AgentList": [
        1,
        2
      ],
      "IsAgentExistForCertificateAccess": true
    },
    {
      "TotalGroupLeadCount": "sample string 1",
      "groupName": "sample string 2",
      "groupCode": "sample string 3",
      "OfficeId": 4,
      "AgencyId": 5,
      "AgencyName": "sample string 6",
      "OfficeName": "sample string 7",
      "Phone": "sample string 8",
      "FormattedPhone": "sample string 8",
      "Address": "sample string 9",
      "FullAddress": "sample string 9, sample string 14, sample string 12, sample string 15, sample string 17",
      "StateId": 10,
      "StateName": "sample string 11",
      "StateCode": "sample string 12",
      "CityId": 13,
      "CityName": "sample string 14",
      "Zip": "sample string 15",
      "CountryId": 16,
      "CountryName": "sample string 17",
      "GeoAddress": "sample string 18",
      "Lat": 19.1,
      "Lng": 20.1,
      "CreatedById": 21,
      "UpdatedById": 22,
      "isDisable": true,
      "TotalLeadCount": 24,
      "TotalAssignedLeadCount": 25,
      "TotalLeadOnHandCount": 26,
      "Default": true,
      "RowIndex": 28,
      "ClientTimeZone": 1,
      "LeadAssigmentSummary": [
        {
          "AssociateContractId": 1,
          "AssociateId": 2,
          "AssociateName": "sample string 3",
          "TotalLeadsAssigned": 4,
          "NumberOfLeadsToAssign": 5,
          "Zip": "sample string 6",
          "CityName": "sample string 7",
          "LeadBankCharge": {
            "InTown": {
              "ChargeableCount": 1,
              "NonChargeableCount": 2
            },
            "RoadTrip": {
              "ChargeableCount": 1,
              "NonChargeableCount": 2
            },
            "LapsePool": {
              "ChargeableCount": 1,
              "NonChargeableCount": 2
            },
            "ListPool": {
              "ChargeableCount": 1,
              "NonChargeableCount": 2
            }
          },
          "LeadOriginTotal": {
            "ResponseCard": 1,
            "Referral": 2,
            "POS": 3,
            "ListLead": 4
          },
          "AssignedLeadsDetail": [
            {
              "Zip": "sample string 1",
              "CityName": "sample string 2",
              "LeadOriginTotal": {
                "ResponseCard": 1,
                "Referral": 2,
                "POS": 3,
                "ListLead": 4
              }
            },
            {
              "Zip": "sample string 1",
              "CityName": "sample string 2",
              "LeadOriginTotal": {
                "ResponseCard": 1,
                "Referral": 2,
                "POS": 3,
                "ListLead": 4
              }
            }
          ]
        },
        {
          "AssociateContractId": 1,
          "AssociateId": 2,
          "AssociateName": "sample string 3",
          "TotalLeadsAssigned": 4,
          "NumberOfLeadsToAssign": 5,
          "Zip": "sample string 6",
          "CityName": "sample string 7",
          "LeadBankCharge": {
            "InTown": {
              "ChargeableCount": 1,
              "NonChargeableCount": 2
            },
            "RoadTrip": {
              "ChargeableCount": 1,
              "NonChargeableCount": 2
            },
            "LapsePool": {
              "ChargeableCount": 1,
              "NonChargeableCount": 2
            },
            "ListPool": {
              "ChargeableCount": 1,
              "NonChargeableCount": 2
            }
          },
          "LeadOriginTotal": {
            "ResponseCard": 1,
            "Referral": 2,
            "POS": 3,
            "ListLead": 4
          },
          "AssignedLeadsDetail": [
            {
              "Zip": "sample string 1",
              "CityName": "sample string 2",
              "LeadOriginTotal": {
                "ResponseCard": 1,
                "Referral": 2,
                "POS": 3,
                "ListLead": 4
              }
            },
            {
              "Zip": "sample string 1",
              "CityName": "sample string 2",
              "LeadOriginTotal": {
                "ResponseCard": 1,
                "Referral": 2,
                "POS": 3,
                "ListLead": 4
              }
            }
          ]
        }
      ],
      "IsPosCertificate": true,
      "IsCertificate": true,
      "IsFreshen": true,
      "IsPreApproch": true,
      "IsGroupDatasheet": true,
      "IsCorporate": true,
      "HasOfficeGeoCoded": true,
      "SplittedOfficeName": "sample string 7",
      "UserRoleDictionary": {
        "1": 2,
        "3": 4
      },
      "AgentList": [
        1,
        2
      ],
      "IsAgentExistForCertificateAccess": true
    }
  ],
  "ReportDates": [
    "sample string 1",
    "sample string 2"
  ]
}