POST api/Company/UpdateCompanyManagement

Request Information

URI Parameters

None.

Body Parameters

UpdateCompanyManagementPostVm
NameDescriptionTypeAdditional information
IsLeadManagement

boolean

None.

AutoLeadAssignment

boolean

None.

AutoLeadAssignmentToAllProjectUsers

boolean

None.

AutoLeadAssignmentToAllUsers

boolean

None.

AutoIvrLeadSync

boolean

None.

AutoLeadAssignmentForReturning

boolean

None.

AutoTransferInactiveLeadToContact

boolean

None.

AutoTransferInactiveLead

boolean

None.

AutoTransferInactiveLeadToUserId

integer

None.

AutoRouteUntouchedLead

boolean

None.

HideUnmappedCallLogs

boolean

None.

HasMandatoryFieldForLeadStageChange

boolean

None.

MandatoryFieldForLeadStageId

integer

None.

AutoRouteUntouchedLeadAfterDuration

decimal number

None.

EnableWorkingHoursForLeadAssignment

boolean

None.

AllowDuplicateLeads

boolean

None.

AllowDuplicateLeadsForProjects

boolean

None.

AllowDuplicateLeadsForSources

boolean

None.

CreateLead_On_TransferAndAddOwner

boolean

None.

WorkingHourStart

date

None.

WorkingHourEnd

date

None.

LeadAssignmentUsers

Collection of integer

None.

LeadAssignmentExcludedUsers

Collection of integer

None.

IsAuthentication

boolean

None.

OTPVerificationOnUserLogin

boolean

None.

OTPVerificationOnUserLoginToUserId

integer

None.

IsContactManagement

boolean

None.

AutoTransferUnqualifiedContact

boolean

None.

AutoTransferUnqualifiedContactToUserId

integer

None.

IsInventoryManagement

boolean

None.

ShowUserWiseInventory

boolean

None.

ShowUserWiseFollowUp

boolean

None.

AddOwnerToLead

boolean

None.

AddOwnerToLeadAfterDuration

integer

None.

AddOwnerToLeadUsers

Collection of integer

None.

UpdateAgreementStatus

boolean

None.

IsCallManagement

boolean

None.

HasCallTaskReminder

boolean

None.

HasDailyPendingCallList

boolean

None.

PendingCallTriggerTimes

Collection of PendingCallTriggerTimePostVm

None.

HasCallLeadOnArrival

boolean

None.

HasScheduledAutoCall

boolean

None.

HasMandatoryFormAfterCall

boolean

None.

AutoDialerLeadWaitingTimeInSeconds

integer

None.

AutoDialerContactWaitingTimeInSeconds

integer

None.

ScheduledAutoCalls

Collection of ScheduledAutoCallVm

None.

IsCPManagement

boolean

None.

ShowUserWiseChannelPartner

boolean

None.

HasCPAssignmentLimit

boolean

None.

CPAssigneeLimitInDays

integer

None.

HasAutoUpdateLeadStageOnReturn

boolean

None.

AutoUpdateLeadStageOnReturn_StageId

integer

None.

AllowDuplicateChannelPartners

boolean

None.

AddSourcingManagerOnAddCPToLead

boolean

None.

RemoveSourcingManagerOnRemoveCPFromLead

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "IsLeadManagement": true,
  "AutoLeadAssignment": true,
  "AutoLeadAssignmentToAllProjectUsers": true,
  "AutoLeadAssignmentToAllUsers": true,
  "AutoIvrLeadSync": true,
  "AutoLeadAssignmentForReturning": true,
  "AutoTransferInactiveLeadToContact": true,
  "AutoTransferInactiveLead": true,
  "AutoTransferInactiveLeadToUserId": 1,
  "AutoRouteUntouchedLead": true,
  "HideUnmappedCallLogs": true,
  "HasMandatoryFieldForLeadStageChange": true,
  "MandatoryFieldForLeadStageId": 1,
  "AutoRouteUntouchedLeadAfterDuration": 12.1,
  "EnableWorkingHoursForLeadAssignment": true,
  "AllowDuplicateLeads": true,
  "AllowDuplicateLeadsForProjects": true,
  "AllowDuplicateLeadsForSources": true,
  "CreateLead_On_TransferAndAddOwner": true,
  "WorkingHourStart": "2025-12-07T14:37:50.8714141Z",
  "WorkingHourEnd": "2025-12-07T14:37:50.8714141Z",
  "LeadAssignmentUsers": [
    1,
    2
  ],
  "LeadAssignmentExcludedUsers": [
    1,
    2
  ],
  "IsAuthentication": true,
  "OTPVerificationOnUserLogin": true,
  "OTPVerificationOnUserLoginToUserId": 1,
  "IsContactManagement": true,
  "AutoTransferUnqualifiedContact": true,
  "AutoTransferUnqualifiedContactToUserId": 1,
  "IsInventoryManagement": true,
  "ShowUserWiseInventory": true,
  "ShowUserWiseFollowUp": true,
  "AddOwnerToLead": true,
  "AddOwnerToLeadAfterDuration": 26,
  "AddOwnerToLeadUsers": [
    1,
    2
  ],
  "UpdateAgreementStatus": true,
  "IsCallManagement": true,
  "HasCallTaskReminder": true,
  "HasDailyPendingCallList": true,
  "PendingCallTriggerTimes": [
    {
      "Id": 1,
      "PendingCallStartTime": "2025-12-07T14:37:50.8723988Z"
    },
    {
      "Id": 1,
      "PendingCallStartTime": "2025-12-07T14:37:50.8723988Z"
    }
  ],
  "HasCallLeadOnArrival": true,
  "HasScheduledAutoCall": true,
  "HasMandatoryFormAfterCall": true,
  "AutoDialerLeadWaitingTimeInSeconds": 34,
  "AutoDialerContactWaitingTimeInSeconds": 35,
  "ScheduledAutoCalls": [
    {
      "Id": 1,
      "Name": "sample string 2",
      "ScheduledEntity": "sample string 3",
      "ScheduledEntityId": 1,
      "ScheduledSubEntity": "sample string 4",
      "ScheduledEntityName": "sample string 5",
      "ScheduledSubEntityId": 1,
      "StartDate": "2025-12-07T14:37:50.8723988Z",
      "EndDate": "2025-12-07T14:37:50.8723988Z",
      "IsActive": true,
      "RepeatOn": "sample string 9",
      "ScheduleTime": "2025-12-07T14:37:50.8723988Z",
      "DaysOfWeek": [
        "sample string 1",
        "sample string 2"
      ],
      "WeeksOfMonth": [
        "sample string 1",
        "sample string 2"
      ],
      "ScheduleConfig": "sample string 11"
    },
    {
      "Id": 1,
      "Name": "sample string 2",
      "ScheduledEntity": "sample string 3",
      "ScheduledEntityId": 1,
      "ScheduledSubEntity": "sample string 4",
      "ScheduledEntityName": "sample string 5",
      "ScheduledSubEntityId": 1,
      "StartDate": "2025-12-07T14:37:50.8723988Z",
      "EndDate": "2025-12-07T14:37:50.8723988Z",
      "IsActive": true,
      "RepeatOn": "sample string 9",
      "ScheduleTime": "2025-12-07T14:37:50.8723988Z",
      "DaysOfWeek": [
        "sample string 1",
        "sample string 2"
      ],
      "WeeksOfMonth": [
        "sample string 1",
        "sample string 2"
      ],
      "ScheduleConfig": "sample string 11"
    }
  ],
  "IsCPManagement": true,
  "ShowUserWiseChannelPartner": true,
  "HasCPAssignmentLimit": true,
  "CPAssigneeLimitInDays": 39,
  "HasAutoUpdateLeadStageOnReturn": true,
  "AutoUpdateLeadStageOnReturn_StageId": 1,
  "AllowDuplicateChannelPartners": true,
  "AddSourcingManagerOnAddCPToLead": true,
  "RemoveSourcingManagerOnRemoveCPFromLead": true
}

application/xml, text/xml

Sample:
<UpdateCompanyManagementPostVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BrokerServer.Services.SuperAdmin">
  <AddOwnerToLead>true</AddOwnerToLead>
  <AddOwnerToLeadAfterDuration>26</AddOwnerToLeadAfterDuration>
  <AddOwnerToLeadUsers xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:long>1</d2p1:long>
    <d2p1:long>2</d2p1:long>
  </AddOwnerToLeadUsers>
  <AddSourcingManagerOnAddCPToLead>true</AddSourcingManagerOnAddCPToLead>
  <AllowDuplicateChannelPartners>true</AllowDuplicateChannelPartners>
  <AllowDuplicateLeads>true</AllowDuplicateLeads>
  <AllowDuplicateLeadsForProjects>true</AllowDuplicateLeadsForProjects>
  <AllowDuplicateLeadsForSources>true</AllowDuplicateLeadsForSources>
  <AutoDialerContactWaitingTimeInSeconds>35</AutoDialerContactWaitingTimeInSeconds>
  <AutoDialerLeadWaitingTimeInSeconds>34</AutoDialerLeadWaitingTimeInSeconds>
  <AutoIvrLeadSync>true</AutoIvrLeadSync>
  <AutoLeadAssignment>true</AutoLeadAssignment>
  <AutoLeadAssignmentForReturning>true</AutoLeadAssignmentForReturning>
  <AutoLeadAssignmentToAllProjectUsers>true</AutoLeadAssignmentToAllProjectUsers>
  <AutoLeadAssignmentToAllUsers>true</AutoLeadAssignmentToAllUsers>
  <AutoRouteUntouchedLead>true</AutoRouteUntouchedLead>
  <AutoRouteUntouchedLeadAfterDuration>12.1</AutoRouteUntouchedLeadAfterDuration>
  <AutoTransferInactiveLead>true</AutoTransferInactiveLead>
  <AutoTransferInactiveLeadToContact>true</AutoTransferInactiveLeadToContact>
  <AutoTransferInactiveLeadToUserId>1</AutoTransferInactiveLeadToUserId>
  <AutoTransferUnqualifiedContact>true</AutoTransferUnqualifiedContact>
  <AutoTransferUnqualifiedContactToUserId>1</AutoTransferUnqualifiedContactToUserId>
  <AutoUpdateLeadStageOnReturn_StageId>1</AutoUpdateLeadStageOnReturn_StageId>
  <CPAssigneeLimitInDays>39</CPAssigneeLimitInDays>
  <CreateLead_On_TransferAndAddOwner>true</CreateLead_On_TransferAndAddOwner>
  <EnableWorkingHoursForLeadAssignment>true</EnableWorkingHoursForLeadAssignment>
  <HasAutoUpdateLeadStageOnReturn>true</HasAutoUpdateLeadStageOnReturn>
  <HasCPAssignmentLimit>true</HasCPAssignmentLimit>
  <HasCallLeadOnArrival>true</HasCallLeadOnArrival>
  <HasCallTaskReminder>true</HasCallTaskReminder>
  <HasDailyPendingCallList>true</HasDailyPendingCallList>
  <HasMandatoryFieldForLeadStageChange>true</HasMandatoryFieldForLeadStageChange>
  <HasMandatoryFormAfterCall>true</HasMandatoryFormAfterCall>
  <HasScheduledAutoCall>true</HasScheduledAutoCall>
  <HideUnmappedCallLogs>true</HideUnmappedCallLogs>
  <IsAuthentication>true</IsAuthentication>
  <IsCPManagement>true</IsCPManagement>
  <IsCallManagement>true</IsCallManagement>
  <IsContactManagement>true</IsContactManagement>
  <IsInventoryManagement>true</IsInventoryManagement>
  <IsLeadManagement>true</IsLeadManagement>
  <LeadAssignmentExcludedUsers xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:long>1</d2p1:long>
    <d2p1:long>2</d2p1:long>
  </LeadAssignmentExcludedUsers>
  <LeadAssignmentUsers xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:long>1</d2p1:long>
    <d2p1:long>2</d2p1:long>
  </LeadAssignmentUsers>
  <MandatoryFieldForLeadStageId>1</MandatoryFieldForLeadStageId>
  <OTPVerificationOnUserLogin>true</OTPVerificationOnUserLogin>
  <OTPVerificationOnUserLoginToUserId>1</OTPVerificationOnUserLoginToUserId>
  <PendingCallTriggerTimes>
    <PendingCallTriggerTimePostVm>
      <Id>1</Id>
      <PendingCallStartTime>2025-12-07T20:07:50.8723988+05:30</PendingCallStartTime>
    </PendingCallTriggerTimePostVm>
    <PendingCallTriggerTimePostVm>
      <Id>1</Id>
      <PendingCallStartTime>2025-12-07T20:07:50.8723988+05:30</PendingCallStartTime>
    </PendingCallTriggerTimePostVm>
  </PendingCallTriggerTimes>
  <RemoveSourcingManagerOnRemoveCPFromLead>true</RemoveSourcingManagerOnRemoveCPFromLead>
  <ScheduledAutoCalls xmlns:d2p1="http://schemas.datacontract.org/2004/07/BrokerServer.Services.AutoDialerCore">
    <d2p1:ScheduledAutoCallVm>
      <d2p1:Company_Id>1</d2p1:Company_Id>
      <d2p1:DaysOfWeek xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </d2p1:DaysOfWeek>
      <d2p1:EndDate>2025-12-07T20:07:50.8723988+05:30</d2p1:EndDate>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsActive>true</d2p1:IsActive>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:RepeatOn>sample string 9</d2p1:RepeatOn>
      <d2p1:ScheduleConfig>sample string 11</d2p1:ScheduleConfig>
      <d2p1:ScheduleTime>2025-12-07T20:07:50.8723988+05:30</d2p1:ScheduleTime>
      <d2p1:ScheduledEntity>sample string 3</d2p1:ScheduledEntity>
      <d2p1:ScheduledEntityId>1</d2p1:ScheduledEntityId>
      <d2p1:ScheduledEntityName>sample string 5</d2p1:ScheduledEntityName>
      <d2p1:ScheduledSubEntity>sample string 4</d2p1:ScheduledSubEntity>
      <d2p1:ScheduledSubEntityId>1</d2p1:ScheduledSubEntityId>
      <d2p1:StartDate>2025-12-07T20:07:50.8723988+05:30</d2p1:StartDate>
      <d2p1:WeeksOfMonth xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </d2p1:WeeksOfMonth>
    </d2p1:ScheduledAutoCallVm>
    <d2p1:ScheduledAutoCallVm>
      <d2p1:Company_Id>1</d2p1:Company_Id>
      <d2p1:DaysOfWeek xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </d2p1:DaysOfWeek>
      <d2p1:EndDate>2025-12-07T20:07:50.8723988+05:30</d2p1:EndDate>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsActive>true</d2p1:IsActive>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:RepeatOn>sample string 9</d2p1:RepeatOn>
      <d2p1:ScheduleConfig>sample string 11</d2p1:ScheduleConfig>
      <d2p1:ScheduleTime>2025-12-07T20:07:50.8723988+05:30</d2p1:ScheduleTime>
      <d2p1:ScheduledEntity>sample string 3</d2p1:ScheduledEntity>
      <d2p1:ScheduledEntityId>1</d2p1:ScheduledEntityId>
      <d2p1:ScheduledEntityName>sample string 5</d2p1:ScheduledEntityName>
      <d2p1:ScheduledSubEntity>sample string 4</d2p1:ScheduledSubEntity>
      <d2p1:ScheduledSubEntityId>1</d2p1:ScheduledSubEntityId>
      <d2p1:StartDate>2025-12-07T20:07:50.8723988+05:30</d2p1:StartDate>
      <d2p1:WeeksOfMonth xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </d2p1:WeeksOfMonth>
    </d2p1:ScheduledAutoCallVm>
  </ScheduledAutoCalls>
  <ShowUserWiseChannelPartner>true</ShowUserWiseChannelPartner>
  <ShowUserWiseFollowUp>true</ShowUserWiseFollowUp>
  <ShowUserWiseInventory>true</ShowUserWiseInventory>
  <UpdateAgreementStatus>true</UpdateAgreementStatus>
  <WorkingHourEnd>2025-12-07T20:07:50.8714141+05:30</WorkingHourEnd>
  <WorkingHourStart>2025-12-07T20:07:50.8714141+05:30</WorkingHourStart>
</UpdateCompanyManagementPostVm>

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 'UpdateCompanyManagementPostVm'.

Response Information

Resource Description

Response
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

Description

string

None.

Data

Object

None.

Count

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Message": "sample string 2",
  "Description": "sample string 3",
  "Data": {},
  "Count": 5
}

application/xml, text/xml

Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BrokerServer.Models">
  <Count>5</Count>
  <Data />
  <Description>sample string 3</Description>
  <Message>sample string 2</Message>
  <Success>true</Success>
</Response>