GET api/Group/GetOfficeListWithLeadsCount?groupId={groupId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
groupId

integer

Required

Body Parameters

None.

Response Information

Resource Description

GroupAdminDTO
NameDescriptionTypeAdditional information
OfficeList

Collection of OfficeDTO

None.

GroupLeadCount

string

None.

Response Formats

application/json, text/json

Sample:
{
  "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
    }
  ],
  "GroupLeadCount": "sample string 1"
}