POST api/SalesForce/AddConsolidatedSalesforce
Request Information
URI Parameters
None.
Body Parameters
ConsolidatedSalesforceModelName | Description | Type | Additional information |
---|---|---|---|
FTRList | Collection of FTEModel |
None. |
|
CompensationList | Collection of CompensationModel |
None. |
|
ReachList | Collection of ReachModel |
None. |
|
OrgChartList | Collection of OrgChartModel |
None. |
|
CountryID | integer |
None. |
|
CompanyID | integer |
None. |
|
SalesforceId | integer |
None. |
|
Periods | string |
None. |
|
AdminLogID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "FTRList": [ { "ID": 1, "CountryID": 2, "CompanyID": 3, "BrandID": 4, "SalesforceGroupID": 5, "SalesForceNameID": 6, "TherapeuticCategoryID": 7, "FTR": 8.1, "ShowFTR": true, "Weak": true, "PeriodID": 11, "AdminLogID": 12, "UserID": 13, "LastUpdate": "2024-11-28T00:34:04.6058121-05:00" }, { "ID": 1, "CountryID": 2, "CompanyID": 3, "BrandID": 4, "SalesforceGroupID": 5, "SalesForceNameID": 6, "TherapeuticCategoryID": 7, "FTR": 8.1, "ShowFTR": true, "Weak": true, "PeriodID": 11, "AdminLogID": 12, "UserID": 13, "LastUpdate": "2024-11-28T00:34:04.6058121-05:00" } ], "CompensationList": [ { "SalesforceNameId": 1, "CompanyId": 2, "CountryId": 3, "LowSalary": 4, "HighSalary": 5, "TargetBonus": 6, "PeriodId": 7, "EmployeeTypeID": 8, "AdminLogID": 9, "ID": 10 }, { "SalesforceNameId": 1, "CompanyId": 2, "CountryId": 3, "LowSalary": 4, "HighSalary": 5, "TargetBonus": 6, "PeriodId": 7, "EmployeeTypeID": 8, "AdminLogID": 9, "ID": 10 } ], "ReachList": [ { "CountryId": 1, "CompanyId": 2, "PeriodId": 3, "SalesforceId": 4, "Num_HCP": 5, "Calls": 6, "Tier1": 7.1, "Tier2": 8.1, "Tier3": 9.1, "Tier4": 10.1, "Tier5": 11.1, "Tier6": 12.1, "Tier7": 13.1, "Tier8": 14.1, "Tier9": 15.1, "Tier10": 16.1, "ID": 17, "AdminLogID": 18, "PerPC": 19, "PerHSP": 20 }, { "CountryId": 1, "CompanyId": 2, "PeriodId": 3, "SalesforceId": 4, "Num_HCP": 5, "Calls": 6, "Tier1": 7.1, "Tier2": 8.1, "Tier3": 9.1, "Tier4": 10.1, "Tier5": 11.1, "Tier6": 12.1, "Tier7": 13.1, "Tier8": 14.1, "Tier9": 15.1, "Tier10": 16.1, "ID": 17, "AdminLogID": 18, "PerPC": 19, "PerHSP": 20 } ], "OrgChartList": [ { "CompanyId": 1, "SalesforceNameId": 2, "CountryId": 3, "TherapeuticCategoryId": 4, "RegionalManagers": "sample string 5", "DistrictManagers": "sample string 6", "PeriodId": 7, "OrgChartLink": "sample string 8", "BranchManager": "sample string 9", "TeamLeaders": "sample string 10", "SalesRepresentatives": "sample string 11", "Parent": true, "Footnote": true, "ID": 14 }, { "CompanyId": 1, "SalesforceNameId": 2, "CountryId": 3, "TherapeuticCategoryId": 4, "RegionalManagers": "sample string 5", "DistrictManagers": "sample string 6", "PeriodId": 7, "OrgChartLink": "sample string 8", "BranchManager": "sample string 9", "TeamLeaders": "sample string 10", "SalesRepresentatives": "sample string 11", "Parent": true, "Footnote": true, "ID": 14 } ], "CountryID": 1, "CompanyID": 2, "SalesforceId": 3, "Periods": "sample string 4", "AdminLogID": 5 }
application/xml, text/xml
Sample:
<ConsolidatedSalesforceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAWebAPI.Models"> <AdminLogID>5</AdminLogID> <CompanyID>2</CompanyID> <CompensationList> <CompensationModel> <AdminLogID>9</AdminLogID> <CompanyId>2</CompanyId> <CountryId>3</CountryId> <EmployeeTypeID>8</EmployeeTypeID> <HighSalary>5</HighSalary> <ID>10</ID> <LowSalary>4</LowSalary> <PeriodId>7</PeriodId> <SalesforceNameId>1</SalesforceNameId> <TargetBonus>6</TargetBonus> </CompensationModel> <CompensationModel> <AdminLogID>9</AdminLogID> <CompanyId>2</CompanyId> <CountryId>3</CountryId> <EmployeeTypeID>8</EmployeeTypeID> <HighSalary>5</HighSalary> <ID>10</ID> <LowSalary>4</LowSalary> <PeriodId>7</PeriodId> <SalesforceNameId>1</SalesforceNameId> <TargetBonus>6</TargetBonus> </CompensationModel> </CompensationList> <CountryID>1</CountryID> <FTRList> <FTEModel> <AdminLogID>12</AdminLogID> <BrandID>4</BrandID> <CompanyID>3</CompanyID> <CountryID>2</CountryID> <FTR>8.1</FTR> <ID>1</ID> <LastUpdate>2024-11-28T00:34:04.6058121-05:00</LastUpdate> <PeriodID>11</PeriodID> <SalesForceNameID>6</SalesForceNameID> <SalesforceGroupID>5</SalesforceGroupID> <ShowFTR>true</ShowFTR> <TherapeuticCategoryID>7</TherapeuticCategoryID> <UserID>13</UserID> <Weak>true</Weak> </FTEModel> <FTEModel> <AdminLogID>12</AdminLogID> <BrandID>4</BrandID> <CompanyID>3</CompanyID> <CountryID>2</CountryID> <FTR>8.1</FTR> <ID>1</ID> <LastUpdate>2024-11-28T00:34:04.6058121-05:00</LastUpdate> <PeriodID>11</PeriodID> <SalesForceNameID>6</SalesForceNameID> <SalesforceGroupID>5</SalesforceGroupID> <ShowFTR>true</ShowFTR> <TherapeuticCategoryID>7</TherapeuticCategoryID> <UserID>13</UserID> <Weak>true</Weak> </FTEModel> </FTRList> <OrgChartList> <OrgChartModel> <BranchManager>sample string 9</BranchManager> <CompanyId>1</CompanyId> <CountryId>3</CountryId> <DistrictManagers>sample string 6</DistrictManagers> <Footnote>true</Footnote> <ID>14</ID> <OrgChartLink>sample string 8</OrgChartLink> <Parent>true</Parent> <PeriodId>7</PeriodId> <RegionalManagers>sample string 5</RegionalManagers> <SalesRepresentatives>sample string 11</SalesRepresentatives> <SalesforceNameId>2</SalesforceNameId> <TeamLeaders>sample string 10</TeamLeaders> <TherapeuticCategoryId>4</TherapeuticCategoryId> </OrgChartModel> <OrgChartModel> <BranchManager>sample string 9</BranchManager> <CompanyId>1</CompanyId> <CountryId>3</CountryId> <DistrictManagers>sample string 6</DistrictManagers> <Footnote>true</Footnote> <ID>14</ID> <OrgChartLink>sample string 8</OrgChartLink> <Parent>true</Parent> <PeriodId>7</PeriodId> <RegionalManagers>sample string 5</RegionalManagers> <SalesRepresentatives>sample string 11</SalesRepresentatives> <SalesforceNameId>2</SalesforceNameId> <TeamLeaders>sample string 10</TeamLeaders> <TherapeuticCategoryId>4</TherapeuticCategoryId> </OrgChartModel> </OrgChartList> <Periods>sample string 4</Periods> <ReachList> <ReachModel> <AdminLogID>18</AdminLogID> <Calls>6</Calls> <CompanyId>2</CompanyId> <CountryId>1</CountryId> <ID>17</ID> <Num_HCP>5</Num_HCP> <PerHSP>20</PerHSP> <PerPC>19</PerPC> <PeriodId>3</PeriodId> <SalesforceId>4</SalesforceId> <Tier1>7.1</Tier1> <Tier10>16.1</Tier10> <Tier2>8.1</Tier2> <Tier3>9.1</Tier3> <Tier4>10.1</Tier4> <Tier5>11.1</Tier5> <Tier6>12.1</Tier6> <Tier7>13.1</Tier7> <Tier8>14.1</Tier8> <Tier9>15.1</Tier9> </ReachModel> <ReachModel> <AdminLogID>18</AdminLogID> <Calls>6</Calls> <CompanyId>2</CompanyId> <CountryId>1</CountryId> <ID>17</ID> <Num_HCP>5</Num_HCP> <PerHSP>20</PerHSP> <PerPC>19</PerPC> <PeriodId>3</PeriodId> <SalesforceId>4</SalesforceId> <Tier1>7.1</Tier1> <Tier10>16.1</Tier10> <Tier2>8.1</Tier2> <Tier3>9.1</Tier3> <Tier4>10.1</Tier4> <Tier5>11.1</Tier5> <Tier6>12.1</Tier6> <Tier7>13.1</Tier7> <Tier8>14.1</Tier8> <Tier9>15.1</Tier9> </ReachModel> </ReachList> <SalesforceId>3</SalesforceId> </ConsolidatedSalesforceModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.